CN108156556B - Intelligent control method for microphone equipment external amplifier and microphone equipment - Google Patents

Intelligent control method for microphone equipment external amplifier and microphone equipment Download PDF

Info

Publication number
CN108156556B
CN108156556B CN201711463113.5A CN201711463113A CN108156556B CN 108156556 B CN108156556 B CN 108156556B CN 201711463113 A CN201711463113 A CN 201711463113A CN 108156556 B CN108156556 B CN 108156556B
Authority
CN
China
Prior art keywords
microphone
angle
acceleration sensor
microphone device
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711463113.5A
Other languages
Chinese (zh)
Other versions
CN108156556A (en
Inventor
高云芝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201711463113.5A priority Critical patent/CN108156556B/en
Publication of CN108156556A publication Critical patent/CN108156556A/en
Application granted granted Critical
Publication of CN108156556B publication Critical patent/CN108156556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

An intelligent control method for microphone equipment external playing and the microphone equipment comprise: the microphone device judges whether the microphone device is in a horizontal state or not by controlling the acceleration sensor to detect the included angle between the acceleration sensor and the horizontal plane, judges whether the microphone device is in a static state or not by controlling the gyroscope sensor to detect the angular velocity parameter, and further judges whether the microphone device is used by a user or not. By implementing the embodiment of the invention, the external sound quality of the microphone equipment can be improved.

Description

Intelligent control method for microphone equipment external amplifier and microphone equipment
Technical Field
The invention relates to the technical field of electronic equipment, in particular to an intelligent control method for microphone equipment and microphone equipment.
Background
At present, many microphone devices in the market are provided with a microphone and a loudspeaker, so that the effects of sound reception and external release can be realized. However, when the microphone device is in a situation that only external playing is needed and no sound reception is needed, if the microphone is still in an open state, the microphone of the microphone device may receive more environmental noise, which causes the speaker to emit more environmental noise while playing sound, thereby reducing the external sound quality of the microphone device.
Disclosure of Invention
The embodiment of the invention discloses an intelligent control method for microphone equipment external playing and microphone equipment, which can improve the external playing tone quality of the microphone equipment.
The first aspect of the embodiment of the invention discloses an intelligent control method for the outward playing of microphone equipment, wherein the microphone equipment comprises a gyroscope sensor, an acceleration sensor, a microphone and a loudspeaker, and the method comprises the following steps:
when the microphone and the loudspeaker are both in an open state, the microphone equipment judges whether the microphone equipment is in a standard placement state or not according to an included angle between the acceleration sensor and a horizontal plane, which is detected by the acceleration sensor; the standard placing state is a placing state in which an included angle between the acceleration sensor in the microphone device and the horizontal plane is smaller than or equal to a preset standard included angle;
if the microphone equipment judges that the microphone equipment is in a standard placing state, the microphone equipment judges whether the microphone equipment is in a static state or not according to the angular velocity parameter detected by the gyroscope sensor;
and if the microphone equipment judges that the microphone equipment is in a static state, the microphone equipment closes the microphone head.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, when both the microphone and the speaker are in the on state, the determining, by the microphone device, whether the microphone device is in the standard placement state according to an angle between the horizontal plane and the acceleration sensor, which is detected by the acceleration sensor, includes:
when the microphone device and the loudspeaker are both in an open state, the acceleration sensor is controlled by the microphone device to detect the gravity acceleration of the acceleration sensor;
the microphone equipment acquires an included angle between the acceleration sensor and the horizontal plane according to the gravitational acceleration and an absolute coordinate system;
and the microphone equipment judges whether the microphone equipment is in a standard placing state or not according to the included angle.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the determining, by the microphone device, whether the microphone device is in a stationary state according to the angular velocity parameter detected by the gyro sensor includes:
the microphone device controls the gyroscope sensor to detect an angular velocity parameter of the microphone device;
the microphone equipment integrates the angular velocity parameter to a preset time period to obtain the rotation angle of the microphone equipment in the preset time period;
and the microphone equipment judges whether the angle is smaller than or equal to a preset angle difference, and if so, the microphone equipment is in a static state.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, after the microphone device turns off the microphone, the method further includes:
the microphone equipment controls the acceleration sensor to detect the angle values of the acceleration sensor which rotate in the absolute coordinate system by taking each coordinate axis as a central axis respectively;
the microphone device judges whether the microphone device is in the standard placement state or not according to the angle values of the acceleration sensor which respectively rotate in the absolute coordinate system by taking each coordinate axis as a central axis;
and if not, the microphone equipment starts the microphone.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the controlling, by the microphone apparatus, the acceleration sensor to detect the angle values that the acceleration sensor rotates around each coordinate axis as a central axis in the absolute coordinate system includes:
the microphone device controls the acceleration sensor to detect a pitch angle of the acceleration sensor rotating by taking a z axis as a central axis in the absolute coordinate system, a roll angle of the acceleration sensor rotating by taking an x axis in the absolute coordinate system as a central axis, and an azimuth angle of the acceleration sensor rotating by taking a y axis in the absolute coordinate system as a central axis;
the microphone device judges whether the microphone device is in the standard placement state according to the angle value of the acceleration sensor rotating around each coordinate axis in the absolute coordinate system, and the judgment comprises the following steps:
the microphone equipment judges whether the pitch angle is larger than a preset standard pitch angle or not, or whether the roll angle is larger than a preset standard roll angle or not, or whether the azimuth angle is larger than a preset standard azimuth angle or not;
if the pitch angle is larger than the preset standard pitch angle, or the roll angle is larger than the preset standard roll angle, or the azimuth angle is larger than the preset standard azimuth angle, the microphone device determines that the microphone device is not in the standard placement state.
A second aspect of an embodiment of the present invention discloses a microphone apparatus, including:
the first judging unit is used for judging whether the microphone equipment is in a standard placing state or not according to an included angle between an acceleration sensor in the microphone equipment and a horizontal plane when a microphone head in the microphone equipment and a loudspeaker in the microphone equipment are both in an opening state; the standard placing state is a placing state in which an included angle between the acceleration sensor in the microphone device and the horizontal plane is smaller than or equal to a preset standard included angle;
the second judging unit is used for judging whether the microphone equipment is in a static state or not according to the angular velocity parameter detected by the gyroscope sensor in the microphone equipment after the first judging unit judges that the microphone equipment is in a standard placing state;
and the closing unit is used for closing the microphone equipment after the second judging unit judges that the microphone equipment is in a static state according to the angular velocity parameter detected by the gyroscope sensor.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the first determining unit includes:
the first control subunit is used for controlling the acceleration sensor to detect the gravity acceleration of the acceleration sensor when a microphone head in the microphone device and a loudspeaker in the microphone device are both in an open state;
the first acquisition subunit is used for acquiring an included angle between the acceleration sensor and a horizontal plane according to the gravitational acceleration and an absolute coordinate system;
and the first judgment subunit is used for judging whether the microphone equipment is in a standard placement state or not according to the included angle.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the second determining unit includes:
the second control subunit is used for controlling the gyroscope sensor to detect the angular velocity parameter of the microphone device after the first judging subunit judges that the microphone device is in the standard placement state;
the second acquiring subunit is configured to integrate the angular velocity parameter with a preset time period to obtain an angle of rotation of the microphone device within the preset time period;
the second judgment subunit is used for judging whether the angle is smaller than or equal to a preset angle difference;
a first determining subunit, configured to determine that the microphone device is in a stationary state after the second determining subunit determines that the angle is smaller than or equal to a preset angle difference.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
the control unit is used for controlling the acceleration sensor to detect the angle values of the acceleration sensor which rotate in the absolute coordinate system by taking each coordinate axis as a central axis after the microphone is closed by the closing unit;
the first judging subunit is further configured to judge whether the microphone device is in the standard placement state according to angle values of the acceleration sensor that respectively rotate in the absolute coordinate system with each coordinate axis as a central axis;
and the starting unit is used for starting the microphone after the first judging subunit judges that the microphone equipment is not in the standard placing state according to the angle values which are respectively rotated by the acceleration sensor in the absolute coordinate system by taking each coordinate axis as a central axis.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the control unit is specifically configured to: controlling the acceleration sensor to detect a pitch angle of the acceleration sensor with a z-axis as a central axis in the absolute coordinate system, a roll angle with an x-axis as a central axis in the absolute coordinate system, and an azimuth angle with a y-axis in the absolute coordinate system;
the first judging subunit includes:
the judging module is used for judging whether the pitch angle is larger than a preset standard pitch angle or not, or whether the roll angle is larger than a preset standard roll angle or not, or whether the azimuth angle is larger than a preset standard azimuth angle or not;
a determining module, configured to determine that the microphone device is not in the standard placement state after the determining module determines that the pitch angle is greater than the preset standard pitch angle, or the roll angle is greater than the preset standard roll angle, or the azimuth angle is greater than the preset standard azimuth angle.
A third aspect of an embodiment of the present invention discloses a microphone apparatus, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the intelligent control method for the external playing of the microphone device disclosed by the first aspect of the embodiment of the invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program causes a computer to execute the intelligent control method for controlling the external playing of a microphone device disclosed in the first aspect of the embodiments of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the microphone equipment judges whether the microphone equipment is in a horizontal state or not by controlling the acceleration sensor to detect the included angle between the acceleration sensor and the horizontal plane, judges whether the microphone equipment is in a static state or not by controlling the gyroscope sensor to detect the angular velocity parameter, and further judges whether the microphone equipment is used by a user or not, if the microphone equipment is not used currently, the microphone head in the microphone equipment is closed, namely, the radio function is closed, so that the influence of environmental noise on the microphone is reduced, the power consumption of the microphone equipment can be reduced, and the user experience is improved. In summary, by implementing the embodiments of the present invention, the sound quality of the microphone device can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of an intelligent control method for an external microphone device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another intelligent control method for external placement of microphone devices according to the embodiment of the present invention;
fig. 3 is a schematic structural diagram of a microphone apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another microphone apparatus disclosed in the embodiments of the present invention;
fig. 5 is a schematic structural diagram of another microphone apparatus disclosed in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another microphone apparatus disclosed in the embodiment of the present invention;
fig. 7 is a schematic view illustrating angle detection of a microphone head according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses an intelligent control method for microphone equipment external playing and microphone equipment, which can improve the external playing tone quality of the microphone equipment. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart of an intelligent control method for an external microphone device according to an embodiment of the present invention. As shown in fig. 1, the microphone device includes a gyroscope sensor, an acceleration sensor, a microphone, and a speaker, and the method for intelligently controlling the microphone device to be externally placed may include the following steps:
101. when the microphone and the loudspeaker are both in an open state, the microphone equipment judges whether the microphone equipment is in a standard placing state or not according to an included angle between the acceleration sensor and a horizontal plane, which is detected by the acceleration sensor, if so, executing a step 102, and if not, executing a step 101; the standard placing state is a placing state in which an included angle between an acceleration sensor in the microphone device and a horizontal plane is smaller than or equal to a preset standard included angle.
In the embodiment of the invention, the microphone in the microphone equipment has a sound receiving function and can convert a sound signal into an electric signal, and the loudspeaker in the microphone equipment has a sound amplifying function and can convert the electric signal into the sound signal. When the microphone and the speaker are both turned on, the acceleration sensor may detect an angle between the acceleration sensor and the horizontal plane in real time, and if the angle between the acceleration sensor and the horizontal plane is smaller than or equal to a preset standard angle (e.g., five degrees), the microphone device determines that the acceleration sensor is in a standard placement state (e.g., a horizontal placement state).
In the embodiment of the present invention, the acceleration sensor may also be referred to as an accelerometer (accelerometer), an accelerometer, a gravity acceleration sensor, and the like, the acceleration sensor is a physical quantity that describes how fast the speed of the object changes, and the inclination angle of the microphone device with respect to the horizontal plane may be calculated by measuring the acceleration caused by gravity. The acceleration sensor built in the microphone device may be a piezoelectric acceleration sensor, a piezoresistive acceleration sensor, a capacitive acceleration sensor, a servo acceleration sensor, or a triaxial acceleration sensor, and the embodiment of the present invention is not limited. The piezoelectric acceleration sensor works based on the piezoelectric effect of a piezoelectric crystal, and has the characteristics of large dynamic range, wide frequency range, firmness, durability, small external interference, no need of any external power supply for the charge signal generated by the acceptance of a piezoelectric material, and the like; the piezoresistive acceleration sensor works based on MEMS silicon micromachining technology, has small volume and low power consumption, and is easy to integrate in various analog circuits or digital circuits; the capacitance type acceleration sensor is a polar distance changing capacitance type acceleration sensor based on a capacitance principle, and has the advantages of high sensitivity, stable output, small temperature drift, small measurement error, stable response, low output impedance and the like, so the capacitance type acceleration sensor has higher practical application value; the servo acceleration sensor is a closed-loop test system, and has good dynamic performance, large dynamic range and good linearity; the three-axis acceleration sensor is realized by the basic principle of acceleration, has small volume and light weight, can measure the space acceleration and has stronger practicability. When an acceleration sensor in the microphone device detects the gravity acceleration of the acceleration sensor, that is, the gravity acceleration of the microphone device, the microphone device may obtain the angular relationship between the microphone device and the horizontal plane by using the relationship between the gravity acceleration and an absolute coordinate system (R coordinate system), determine whether the microphone device is in a standard placement state (for example, a horizontal placement state) according to the obtained angular relationship, and if so, determine whether the microphone device is still in a stationary state; if not, the microphone device detects whether the microphone device is in a standard placement state (e.g., a horizontal placement state) in real time. Therefore, step 101 can be executed to determine whether the microphone device is in a standard placement state (e.g., a horizontal placement state) by detecting an angle between the microphone device and the horizontal plane, so as to implement real-time monitoring of the dynamic position of the microphone device.
102. The microphone device judges whether the microphone device is in a static state according to the angular velocity parameter detected by the gyro sensor, if so, step 103 is executed, and if not, step 101 is executed.
In the embodiment of the invention, after the microphone device judges that the microphone device is in the standard placing state, the gyroscope sensor can detect the angular velocity parameter of the gyroscope sensor in real time, and the gyroscope sensor is arranged in the microphone device, namely the angular velocity parameter of the microphone device is detected by the gyroscope sensor. The gyro sensor has a high dynamic, but the gyro sensor is an indirect measuring device that measures the derivative of the angle, which the microphone device can also integrate, and thus the microphone device can obtain the angle of the microphone device, the angles include roll, pitch, and azimuth, enabling accurate description of the dynamic position information of the microphone apparatus, however, in step 102, the microphone device can determine whether the microphone device is in a stationary state only by detecting the angular velocity parameter from the gyro sensor, if the microphone apparatus determines that the microphone apparatus is in a stationary state, the microphone apparatus defaults to a state in which the microphone apparatus is not used by the user, if the microphone apparatus determines that the microphone apparatus is not in a stationary state, the microphone apparatus defaults to a state in which the microphone apparatus is being used by the user. Therefore, the step 102 can be executed to judge whether the microphone device is in a static state by detecting the angular velocity parameter of the microphone device, so that the real-time monitoring of the dynamic information of the microphone device is realized.
In the embodiment of the invention, the gyroscope sensor is a device capable of sensing and maintaining the direction. The gyroscope in the embodiment of the present invention may be a ball bearing free gyroscope, a liquid floating gyroscope, an electrostatic gyroscope, a flexible gyroscope, or a laser gyroscope, and the embodiment of the present invention is not limited.
In the embodiment of the invention, a gyroscope sensor and an acceleration sensor are arranged in the microphone device, and because the measurement reference of the gyroscope sensor is the gyroscope sensor itself and has no absolute reference object outside the system, the gravity axis is a good reference object for the gyroscope sensor; since the acceleration sensor is a sensor highly susceptible to external interference, the measured angle value may vary more with time. Therefore, the microphone device needs the gyroscope sensor and the acceleration sensor to be used in a matched mode, so that the weight of the gyroscope can be increased in a short time, and the weight of the acceleration can be increased in a long time, and more accurate angle parameters can be output.
103. The microphone device closes the microphone.
In the embodiment of the present invention, after the microphone device determines that the microphone device is in the static state, the microphone device may turn off the microphone, that is, suspend the sound receiving function of the microphone, and since the microphone device detects that the microphone device is in the horizontal state and is static, the microphone device is in a state that is not used by the user by default, and only the play function is supported. When the microphone device is not used by a user, in order to enable the loudspeaker to have better external sound quality effect, the microphone device can automatically close the microphone, and if the microphone is not closed, the microphone can receive environmental noise, so that the loudspeaker is mixed with the environmental noise when being externally played, the original external sound quality effect is reduced, and the user experience is poor. Therefore, when the microphone device is in a horizontal and static state, the default microphone device is in a state of not being used by the user, and the microphone head is automatically turned off, so that the sound quality effect of the microphone device playing outside is improved, and the user experience is improved.
Therefore, by implementing the method described in fig. 1, the microphone device can determine whether the microphone device is in a standard placement state (for example, a horizontal placement state) by detecting an included angle between the microphone device and the horizontal plane, so as to implement real-time monitoring of the dynamic position of the microphone device; whether the microphone equipment is in a static state can be judged by detecting the angular velocity parameter of the microphone equipment, so that the real-time monitoring of the dynamic information of the microphone equipment is realized; and when the microphone equipment is in a horizontal and static state, the default microphone equipment is in a state of not being used by a user, and the microphone is automatically closed, so that the sound quality effect of the microphone equipment in external playing is improved, and the user experience is improved. Therefore, the implementation of the method described in fig. 1 can significantly improve the sound quality of the external sound of the microphone device.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart of another intelligent control method for external placement of microphone equipment according to an embodiment of the present invention. As shown in fig. 2, the microphone device includes a gyroscope sensor, an acceleration sensor, a microphone, and a speaker, and the method for intelligently controlling the microphone device to be externally placed may include the following steps:
201. when the microphone and the loudspeaker are both in an open state, the microphone equipment judges whether the microphone equipment is in a standard placing state or not according to an included angle between the acceleration sensor and a horizontal plane, which is detected by the acceleration sensor, if so, executing step 202, and if not, executing step 201; the standard placing state is a placing state in which an included angle between an acceleration sensor in the microphone device and a horizontal plane is smaller than or equal to a preset standard included angle.
202. The microphone device judges whether the microphone device is in a static state according to the angular velocity parameter detected by the gyro sensor, if so, step 203 is executed, and if not, step 201 is executed.
203. The microphone device closes the microphone.
In the embodiment of the present invention, after the microphone device turns off the microphone, step 204 may be triggered to be executed.
204. The microphone device controls the acceleration sensor to detect the angle values of the acceleration sensor which rotate in the absolute coordinate system by taking each coordinate axis as a central axis.
In the embodiment of the invention, after the microphone device closes the microphone, the microphone device can control the acceleration sensor to detect the angle values of the acceleration sensor which rotate in the absolute coordinate system respectively by taking each coordinate axis as the central axis. The angle values specifically include: roll angle of the microphone apparatus rotated about the x-axis, azimuth angle of the microphone apparatus rotated about the y-axis, and pitch angle of the microphone apparatus rotated about the z-axis. Before the microphone device closes the microphone, the microphone device only needs to acquire the pitch angle detected by the acceleration sensor to judge whether the microphone device is horizontal, after the microphone device closes the microphone, the microphone device needs to acquire the angle values, detected by the acceleration sensor, of the microphone device in the absolute coordinate system, which respectively rotate by taking each coordinate axis as a central axis, and judge whether the roll angle, the azimuth angle and the pitch angle reach preset threshold values, if so, the microphone device is in a state of being used by a user by default, and if not, the microphone device is in a state of not being used by the user by default.
In the embodiment of the invention, the formula is used for measuring the angle value of the microphone device which rotates in the absolute coordinate system by taking each coordinate axis as the central axis by the acceleration sensor
Figure BDA0001530571540000111
And formulas
Figure BDA0001530571540000112
And simultaneously calculating, wherein alpha is an angle value to be measured, g is a unit for measuring the gravity acceleration, and Ax, Ay and Az are gravity components of the microphone device detected by the acceleration sensor on an x axis, a y axis and a z axis respectively.
205. The microphone device judges whether the microphone device is in a standard placing state according to the angle value of the acceleration sensor which rotates in the absolute coordinate system by taking each coordinate axis as a central axis respectively, if so, the step 204 is executed, and if not, the step 206 is executed.
In the embodiment of the present invention, after the acceleration sensor is controlled to detect the angle values that the acceleration sensor rotates around each coordinate axis as the central axis in the absolute coordinate system in step 204, the microphone device may determine whether the microphone device is in the standard placement state according to the angle values that the acceleration sensor rotates around each coordinate axis as the central axis in the absolute coordinate system, the microphone device stores a preset standard pitch angle, a preset standard roll angle, and a preset standard azimuth angle, and after the microphone device obtains the pitch angle, the roll angle, and the azimuth angle that are detected by the acceleration sensor, the microphone device determines whether any one of the angles is greater than the preset standard angle, and if so, the microphone device defaults to be in the state of being used by the user. Therefore, performing step 205 enables real-time monitoring of the dynamic position of the microphone arrangement.
206. The microphone device turns on the microphone.
In an optional embodiment, when both the microphone and the speaker are in the on state, the determining, by the microphone device, whether the microphone device is in the standard placement state according to an angle between the acceleration sensor and the horizontal plane, which is detected by the acceleration sensor, may include:
when the microphone and the loudspeaker are both in an open state, the microphone device controls the acceleration sensor to detect the gravitational acceleration of the acceleration sensor;
the microphone equipment acquires an included angle between the acceleration sensor and the horizontal plane according to the gravity acceleration and the absolute coordinate system;
and the microphone equipment judges whether the microphone equipment is in a standard placing state or not according to the included angle.
Therefore, in the optional embodiment, the microphone device can detect the gravitational acceleration by controlling the acceleration sensor, because the acceleration sensor is arranged in the microphone device, that is, the gravitational acceleration of the microphone device is acquired by the microphone device, and the microphone device further acquires the included angle between the acceleration sensor and the horizontal plane according to the gravitational acceleration and the absolute coordinate system, the detection method in the embodiment avoids complex detection caused by multiple modes, thereby reducing the operation burden of the microphone device, on one hand, the cost can be saved, on the other hand, the power consumption of the microphone device is reduced, and the cruising ability of the microphone device is facilitated to be improved. Because the microphone equipment can calculate the included angle between the acceleration sensor and the horizontal plane reliably enough through the gravity acceleration and the absolute coordinate system, the additional calibration work is saved, and the reliability and the usability of the microphone equipment are improved.
In another alternative embodiment, the determining, by the microphone device, whether the microphone device is in a stationary state according to the angular velocity parameter detected by the gyro sensor may include:
the microphone device controls the gyroscope sensor to detect the angular speed parameter of the microphone device;
the microphone equipment integrates the angular speed parameter to a preset time period to obtain the rotation angle of the microphone equipment in the preset time period;
the microphone device judges whether the angle is smaller than or equal to a preset angle difference, and if so, the microphone device is in a static state.
It can be seen that in this alternative embodiment, the microphone device obtains the angular velocity parameter of the microphone device and the angle of rotation in the three-dimensional space within the preset time through the built-in gyro sensor. Therefore, false detection caused by the drift of the degree of the gyroscope sensor is effectively avoided, the judgment accuracy of the microphone equipment for judging the static state is improved, and the reliability of the microphone equipment in a complex working environment is further improved.
In yet another alternative embodiment, the controlling of the acceleration sensor by the microphone device to detect the angular value of the rotation of the acceleration sensor around each coordinate axis in the absolute coordinate system may comprise:
the microphone device controls the acceleration sensor to detect a pitch angle, a roll angle and an azimuth angle, wherein the pitch angle, the roll angle and the azimuth angle are respectively formed by the acceleration sensor rotating by taking a z axis as a central axis in an absolute coordinate system, the roll angle and the azimuth angle;
it can be seen that in this alternative embodiment, the microphone device detects the instantaneous angular velocity in three-dimensional space and the angle turned by the acceleration sensor built into the device within a preset time. Therefore, the microphone device can calibrate the gravity direction by combining the angular inertia of the gravity sensor in the microphone device, so that the included angle between the microphone device and the horizontal plane can be judged more reliably and accurately, the robustness of the microphone device and the stability of the microphone device in a complex use environment are improved, and the microphone device comprises the gravity sensor.
In this further alternative embodiment, the determining, by the microphone device, whether the microphone device is in the standard placement state according to the values of the angles that the acceleration sensor rotates around each coordinate axis in the absolute coordinate system may include:
the microphone equipment judges whether the pitch angle is larger than a preset standard pitch angle or whether the roll angle is larger than a preset standard roll angle or whether the azimuth angle is larger than a preset standard azimuth angle;
and if the pitch angle is larger than the preset standard pitch angle, or the roll angle is larger than the preset standard roll angle, or the azimuth angle is larger than the preset standard azimuth angle, the microphone equipment determines that the microphone equipment is not in the standard placement state.
Therefore, in the optional embodiment, the microphone device can judge whether the microphone device is in the standard placement state only by judging the pitch angle, the roll angle and the azimuth angle of the built-in acceleration sensor rotated in the absolute coordinate system, and the method in the embodiment reduces the calculation amount of the microphone device and improves the reliability of the microphone device to a certain extent.
It can be seen that, with the implementation of the method described in fig. 2, the microphone device can determine whether the microphone device is in a standard placement state (for example, a horizontal placement state) by detecting an included angle between the microphone device and a horizontal plane, so as to implement real-time monitoring of a dynamic position of the microphone device; whether the microphone equipment is in a static state can be judged by detecting the angular velocity parameter of the microphone equipment, so that the real-time monitoring of the dynamic information of the microphone equipment is realized; the microphone equipment can also be in a state of not being used by a user by default when the microphone equipment is in a horizontal and static state, and the microphone head is automatically closed, so that the sound quality effect of the microphone equipment in the external playing mode is improved, and the user experience is improved; the microphone device can also detect the gravitational acceleration by controlling the acceleration sensor, because the acceleration sensor is arranged in the microphone device, namely the gravitational acceleration of the microphone device is acquired by the microphone device, and the microphone device further acquires the included angle between the acceleration sensor and the horizontal plane according to the gravitational acceleration and the absolute coordinate system. Because the microphone equipment can calculate the included angle between the acceleration sensor and the horizontal plane by the gravity acceleration and the absolute coordinate system, the additional calibration work is saved, and the reliability and the usability of the microphone equipment are improved; the microphone device can also obtain the angular velocity parameter of the microphone device and the angle of rotation in the three-dimensional space within the preset time through the built-in gyroscope sensor. Therefore, false detection caused by the drift of the degree of the gyroscope sensor is effectively avoided, the judgment accuracy of the microphone equipment for judging the static state is improved, and the reliability of the microphone equipment in a complex working environment is further improved; the microphone device is also capable of detecting the instantaneous angular velocity in the three-dimensional space and the angle turned within a preset time by an acceleration sensor built in the device. Therefore, the microphone equipment can calibrate the gravity direction by combining the angular inertia of the gravity sensor in the microphone equipment, so that the included angle between the microphone equipment and the horizontal plane can be judged more reliably and accurately, and the robustness resistance of the microphone equipment and the stability of the microphone equipment in a complex use environment are improved; the microphone equipment can also judge whether the microphone equipment is in a standard placing state only by judging the pitch angle, the roll angle and the azimuth angle of the built-in acceleration sensor rotated in the absolute coordinate system, so that the calculation amount of the microphone equipment is reduced, and the reliability of the microphone equipment is improved to a certain extent. Therefore, implementing the method described in fig. 2 can further improve the sound quality of the external sound of the microphone device.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a microphone apparatus according to an embodiment of the present invention. As shown in fig. 3, the microphone apparatus may include:
the first judging unit 301 is configured to, when both a microphone in the microphone device and a speaker in the microphone device are in an on state, judge whether the microphone device is in a standard placement state according to an included angle between an acceleration sensor detected by the acceleration sensor in the microphone device and a horizontal plane; the standard placing state is a placing state in which an included angle between an acceleration sensor in the microphone device and a horizontal plane is smaller than or equal to a preset standard included angle.
In the embodiment of the invention, the microphone in the microphone equipment has a sound receiving function and can convert a sound signal into an electric signal, and the loudspeaker in the microphone equipment has a sound amplifying function and can convert the electric signal into the sound signal. When the microphone and the speaker are both turned on, the acceleration sensor may detect an angle between the acceleration sensor and the horizontal plane in real time, if the angle between the acceleration sensor and the horizontal plane is smaller than or equal to a preset standard angle (e.g., five degrees), the first determining unit 301 determines that the acceleration sensor is in a standard placement state (e.g., a horizontal placement state), since the acceleration sensor is built in the microphone device, that is, the microphone device is in the standard placement state (e.g., the horizontal placement state), an angle detection schematic diagram of the microphone device that performs detection by using the acceleration sensor is shown in fig. 7.
In the embodiment of the present invention, the acceleration sensor may also be referred to as an accelerometer (accelerometer), an accelerometer, a gravity acceleration sensor, and the like, the acceleration sensor is a physical quantity that describes how fast the speed of the object changes, and the inclination angle of the microphone device with respect to the horizontal plane may be calculated by measuring the acceleration caused by gravity. The acceleration sensor built in the microphone device may be a piezoelectric acceleration sensor, a piezoresistive acceleration sensor, a capacitive acceleration sensor, a servo acceleration sensor, or a triaxial acceleration sensor, and the embodiment of the present invention is not limited. The piezoelectric acceleration sensor works based on the piezoelectric effect of a piezoelectric crystal, and has the characteristics of large dynamic range, wide frequency range, firmness, durability, small external interference, no need of any external power supply for the charge signal generated by the acceptance of a piezoelectric material, and the like; the piezoresistive acceleration sensor works based on MEMS silicon micromachining technology, has small volume and low power consumption, and is easy to integrate in various analog circuits or digital circuits; the capacitance type acceleration sensor is a polar distance changing capacitance type acceleration sensor based on a capacitance principle, and has the advantages of high sensitivity, stable output, small temperature drift, small measurement error, stable response, low output impedance and the like, so the capacitance type acceleration sensor has higher practical application value; the servo acceleration sensor is a closed-loop test system, and has good dynamic performance, large dynamic range and good linearity; the three-axis acceleration sensor is realized by the basic principle of acceleration, has small volume and light weight, can measure the space acceleration and has stronger practicability. When an acceleration sensor in the microphone device detects the acceleration due to gravity of the acceleration sensor itself, that is, the acceleration due to gravity of the microphone device, the first determining unit 301 may obtain the angular relationship between the microphone device and the horizontal plane by using the relationship between the acceleration due to gravity and an absolute coordinate system (R coordinate system), determine whether the microphone device is in a standard placement state (e.g., a horizontal placement state) according to the obtained angular relationship, and if so, the second determining unit 302 may determine whether the microphone device is still in a stationary state; if not, the first judgment unit 301 detects in real time whether the microphone device is in a standard placement state (e.g., a horizontally placed state). Therefore, the first judging unit 301 can judge whether the microphone device is in a standard placement state (for example, a horizontal placement state) by detecting the included angle between the microphone device and the horizontal plane, so as to realize real-time monitoring of the dynamic position of the microphone device.
A second judging unit 302, configured to judge whether the microphone apparatus is in a stationary state according to the angular velocity parameter detected by the gyro sensor in the microphone apparatus after the first judging unit 301 judges that the microphone apparatus is in the standard placement state.
In the embodiment of the present invention, after the first determining unit 301 determines that the microphone device is in the standard placement state, the gyro sensor may detect the angular velocity parameter of the gyro sensor in real time, because the gyro sensor is built in the microphone device, that is, the gyro sensor detects the angular velocity parameter of the microphone device. The gyro sensor has a high dynamic, but the gyro sensor is an indirect measuring device that measures the derivative of the angle, which the microphone device can also integrate, and thus the microphone device can obtain the angle of the microphone device, the angles include roll, pitch, and azimuth, enabling accurate description of the dynamic position information of the microphone apparatus, however, the second determination unit 302 can determine whether the microphone device is in a stationary state only by referring to the angular velocity parameter detected by the gyro sensor in step 102, if the second determination unit 302 determines that the microphone apparatus is in a stationary state, the microphone apparatus defaults to a state where the microphone apparatus is not used by the user, if the second determination unit 302 determines that the microphone apparatus is not in the stationary state, the microphone apparatus defaults to a state in which the microphone apparatus is being used by the user. Therefore, the second determination unit 302 can determine whether the microphone device is in a static state by detecting the angular velocity parameter of the microphone device, thereby implementing real-time monitoring of the dynamic information of the microphone device.
In the embodiment of the invention, the gyroscope sensor is a device capable of sensing and maintaining the direction. The gyroscope in the embodiment of the present invention may be a ball bearing free gyroscope, a liquid floating gyroscope, an electrostatic gyroscope, a flexible gyroscope, or a laser gyroscope, and the embodiment of the present invention is not limited.
In the embodiment of the invention, a gyroscope sensor and an acceleration sensor are arranged in the microphone device, and because the measurement reference of the gyroscope sensor is the gyroscope sensor itself and has no absolute reference object outside the system, the gravity axis is a good reference object for the gyroscope sensor; since the acceleration sensor is a sensor highly susceptible to external interference, the measured angle value may vary more with time. Therefore, the microphone device needs the gyroscope sensor and the acceleration sensor to be used in a matched mode, so that the weight of the gyroscope can be increased in a short time, and the weight of the acceleration can be increased in a long time, and more accurate angle parameters can be output.
A closing unit 303, configured to close the microphone device after the second determining unit 302 determines that the microphone device is in the stationary state according to the angular velocity parameter detected by the gyroscope sensor.
In the embodiment of the present invention, after the second determining unit 302 determines that the microphone device is in the static state, the closing unit 303 may close the microphone, that is, suspend the sound receiving function of the microphone, because the microphone device detects that the microphone device is in the horizontal state and is static, the microphone device is in a state that is not used by the user by default, and only the play function is supported. When the microphone device is not used by the user, in order to make the playback quality effect of the speaker better, the closing unit 303 automatically closes the microphone, and if the microphone is not closed, the microphone receives the environmental noise, so that the environmental noise is also mixed when the speaker is played, the original playback quality effect is reduced, and the user experience is not good. Therefore, the execution closing unit 303 can default that the microphone device is not used by the user when the microphone device is in a horizontal and static state, and automatically close the microphone, thereby improving the sound quality effect of the microphone device for external playing and improving the user experience.
As can be seen, with the microphone apparatus described in fig. 3, the first determining unit 301 can determine whether the microphone apparatus is in a standard placement state (for example, a horizontal placement state) by detecting an included angle between the microphone apparatus and a horizontal plane, so as to implement real-time monitoring of a dynamic position of the microphone apparatus; the second judging unit 302 can judge whether the microphone device is in a static state by detecting the angular velocity parameter of the microphone device, so that the dynamic information of the microphone device can be monitored in real time; the closing unit 303 can default that the microphone device is not used by the user when the microphone device is in a horizontal and static state, and automatically close the microphone, thereby improving the sound quality effect of the microphone device and improving the user experience. Therefore, implementing the microphone apparatus described in fig. 3 can significantly improve the sound quality of the external sound of the microphone apparatus.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of another microphone apparatus according to an embodiment of the present invention. The microphone device shown in fig. 4 is optimized from the microphone device shown in fig. 3. In comparison with the microphone apparatus shown in fig. 3, in the microphone apparatus shown in fig. 4, the first judgment unit 301 includes:
and the first control subunit 3011 is configured to control the acceleration sensor to detect the acceleration due to gravity of the acceleration sensor when both the microphone device and the speaker of the microphone device are in an on state.
The first obtaining subunit 3012 is configured to obtain an included angle between the acceleration sensor and the horizontal plane according to the acceleration due to gravity and an absolute coordinate system.
And the first judging subunit 3013 is configured to judge whether the microphone device is in a standard placement state according to the included angle.
In the embodiment of the present invention, the first control subunit 3011 can detect the acceleration due to gravity by controlling the acceleration sensor, and since the acceleration sensor is built in the microphone device, that is, the acceleration due to gravity of the microphone device is acquired by the first acquisition subunit 3012, and the first acquisition subunit 3012 further acquires the included angle between the acceleration sensor and the horizontal plane according to the acceleration due to gravity and the absolute coordinate system, the detection method in this embodiment avoids complex detection caused by multiple modes, thereby reducing the operation burden of the microphone device, and on the one hand, the cost can be saved, on the other hand, the power consumption of the microphone device is reduced, and the duration of the microphone device is facilitated to be improved. Because the microphone equipment can calculate the included angle between the acceleration sensor and the horizontal plane reliably enough through the gravity acceleration and the absolute coordinate system, the additional calibration work is saved, and the reliability and the usability of the microphone equipment are improved.
The second determination unit 302 includes:
a second control subunit 3021 configured to control the gyro sensor to detect the angular velocity parameter of the microphone apparatus after the first determination subunit 3013 determines that the microphone apparatus is in the standard placement state.
The second obtaining subunit 3022 is configured to integrate the angular velocity parameter with the preset time period to obtain an angle of rotation of the microphone device in the preset time period.
The second determining subunit 3023 is configured to determine whether the angle is smaller than or equal to a predetermined angle difference.
A first determining subunit 3024 configured to determine that the microphone apparatus is in the stationary state after the second determining subunit 3023 determines that the angle is less than or equal to the preset angle difference.
In the embodiment of the present invention, the second control subunit 3021 obtains the angular velocity parameter of the microphone apparatus and the angle of rotation in the three-dimensional space within a preset time by the second acquisition subunit 3022 through the built-in gyro sensor. Therefore, false detection caused by the drift of the degree of the gyroscope sensor is effectively avoided, the judgment accuracy of the microphone equipment for judging the static state is improved, and the reliability of the microphone equipment in a complex working environment is further improved.
It can be seen that, by implementing the microphone device described in fig. 4, complex detection caused by multiple modes can be avoided, so that the operation burden of the microphone device is reduced, on one hand, the cost can be saved, on the other hand, the power consumption of the microphone device is reduced, and the cruising ability of the microphone device is improved. Because the microphone equipment can calculate the included angle between the acceleration sensor and the horizontal plane by the gravity acceleration and the absolute coordinate system, the additional calibration work is saved, and the reliability and the usability of the microphone equipment are improved; the method can also avoid the false detection caused by the drift of the degree of the gyroscope sensor, improve the judgment accuracy of the microphone equipment in judging the static state, and further improve the reliability of the microphone equipment in a complex working environment.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another microphone apparatus according to an embodiment of the present invention. The microphone device shown in fig. 5 is optimized from the microphone device shown in fig. 4. Compared to the microphone apparatus shown in fig. 4, the microphone apparatus shown in fig. 5 may further include:
and a control unit 304, configured to control the acceleration sensor to detect, after the closing unit 303 closes the microphone, angle values that the acceleration sensor rotates around each coordinate axis as a central axis in an absolute coordinate system.
In this embodiment of the present invention, after the microphone device closes the microphone, the control unit 304 may control the acceleration sensor to detect the angle values of the acceleration sensor respectively rotating around each coordinate axis as a central axis in the absolute coordinate system. The angle values specifically include: roll angle of the microphone apparatus rotated about the x-axis, azimuth angle of the microphone apparatus rotated about the y-axis, and pitch angle of the microphone apparatus rotated about the z-axis. Before the closing unit 303 closes the microphone, the control unit 304 only needs to acquire the pitch angle detected by the acceleration sensor, and can determine whether the microphone device is horizontal, and after the closing unit 303 closes the microphone, the control unit 304 needs to acquire the angle values, which are detected by the acceleration sensor, of the microphone device respectively rotating in the absolute coordinate system by using each coordinate axis as the central axis, and determine whether the roll angle, the azimuth angle, and the pitch angle reach preset threshold values, if so, the microphone device is in a state of being used by a user, and if not, the microphone device is in a state of not being used by the user.
In the embodiment of the invention, the formula is used for measuring the angle value of the microphone device which rotates in the absolute coordinate system by taking each coordinate axis as the central axis by the acceleration sensor
Figure BDA0001530571540000191
And formulas
Figure BDA0001530571540000192
Simultaneously, wherein alpha is the value of the angle to be measured, g is the unit for measuring the gravity acceleration,ax, Ay and Az are gravity components of the microphone device in the x-axis, y-axis and z-axis, respectively, detected by the acceleration sensor.
The first determining subunit 3013 is further configured to determine, according to the angle values that the acceleration sensor rotates in the absolute coordinate system with each coordinate axis as a central axis, whether the microphone device is in the standard placement state.
In this embodiment of the present invention, the first determining subunit 3013 may determine, according to an angle value that the acceleration sensor rotates around each coordinate axis as a central axis in an absolute coordinate system, whether the microphone device is in a standard placement state, where a preset standard pitch angle, a preset standard roll angle, and a preset standard azimuth angle are stored in the microphone device, and after the control unit 304 obtains the pitch angle, the roll angle, and the azimuth angle detected by the acceleration sensor, the microphone device determines whether any one of the angles is greater than the preset standard angle, and if so, the microphone device is in a state used by a user by default. Therefore, performing step 205 enables real-time monitoring of the dynamic position of the microphone arrangement.
The turning-on unit 305 is configured to turn on the microphone after the first determining subunit 3013 determines that the microphone device is in the standard placement state according to the values of the angles that the acceleration sensor rotates around each coordinate axis in the absolute coordinate system.
The control unit 304 is specifically configured to control the acceleration sensor to detect a pitch angle that the acceleration sensor rotates around a z-axis in the absolute coordinate system, a roll angle that the acceleration sensor rotates around an x-axis in the absolute coordinate system, and an azimuth angle that the acceleration sensor rotates around a y-axis in the absolute coordinate system.
In the embodiment of the present invention, the control unit 304 detects the instantaneous angular velocity and the rotated angle of the acceleration sensor built in the device in the three-dimensional space within the preset time. Therefore, the microphone device can calibrate the gravity direction by combining the angular inertia of the gravity sensor in the microphone device, so that the included angle between the microphone device and the horizontal plane can be judged more reliably and accurately, the robustness of the microphone device and the stability of the microphone device in a complex use environment are improved, and the microphone device comprises the gravity sensor.
The first judging subunit 3013 includes:
the determining module 30131 is configured to determine whether the pitch angle is greater than a preset standard pitch angle, or whether the roll angle is greater than a preset standard roll angle, or whether the azimuth angle is greater than a preset standard azimuth angle.
A determining module 30132, configured to determine that the microphone device is not in the standard placement state after the determining module 30131 determines that the pitch angle is greater than the preset standard pitch angle, or the roll angle is greater than the preset standard roll angle, or the azimuth angle is greater than the preset standard azimuth angle.
In the embodiment of the present invention, the determining module 30132 is enabled to determine whether the microphone device is in the standard placement state only by determining the pitch angle, the roll angle, and the azimuth angle of the internal acceleration sensor rotated in the absolute coordinate system, and the method in this embodiment reduces the amount of computation of the microphone device and improves the reliability of the microphone device to a certain extent.
It can be seen that, implementing the microphone arrangement described in fig. 5, the control unit 304 detects the instantaneous angular velocity and the angle of rotation of the acceleration sensor built into the arrangement in three-dimensional space within a preset time. Therefore, the microphone equipment can calibrate the gravity direction by combining the angular inertia of the gravity sensor in the microphone equipment, so that the included angle between the microphone equipment and the horizontal plane can be judged more reliably and accurately, and the robustness resistance of the microphone equipment and the stability of the microphone equipment in a complex use environment are improved; the determining module 30131 only determines the pitch angle, roll angle, and azimuth angle of the internal acceleration sensor rotated in the absolute coordinate system, so that the determining module 30132 can determine whether the microphone device is in a standard placement state, thereby reducing the computation workload of the microphone device and improving the reliability of the microphone device to a certain extent.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another microphone apparatus according to an embodiment of the present invention. As shown in fig. 6, the microphone apparatus may include:
a memory 601 in which executable program code is stored;
a processor 602 coupled to a memory 601;
the processor 602 calls the executable program code stored in the memory 601 to execute the intelligent control method for the external microphone device of any one of fig. 1 or fig. 2.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute an intelligent control method for the external playing of microphone equipment in any one of figures 1 or 2.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The intelligent control method for the microphone device external amplifier and the microphone device disclosed by the embodiment of the invention are described in detail, a specific embodiment is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. An intelligent control method for microphone equipment to be externally placed is characterized in that the microphone equipment comprises a gyroscope sensor, an acceleration sensor, a microphone and a loudspeaker, and the method comprises the following steps:
when the microphone and the loudspeaker are both in an open state, the microphone equipment judges whether the microphone equipment is in a standard placement state or not according to an included angle between the acceleration sensor and a horizontal plane, which is detected by the acceleration sensor; the standard placing state is a placing state in which an included angle between the acceleration sensor in the microphone device and the horizontal plane is smaller than or equal to a preset standard included angle;
if the microphone equipment judges that the microphone equipment is in a standard placing state, the microphone equipment judges whether the microphone equipment is in a static state or not according to the angular velocity parameter detected by the gyroscope sensor;
if the microphone equipment judges that the microphone equipment is in a static state, the microphone equipment closes the microphone head;
after the microphone apparatus turns off the microphone, the method further includes:
the microphone equipment controls the acceleration sensor to detect the angle values of the acceleration sensor which rotate in an absolute coordinate system by taking each coordinate axis as a central axis; the angle value comprises a pitch angle which rotates by taking a z axis in the absolute coordinate system as a central axis, a roll angle which rotates by taking an x axis in the absolute coordinate system as a central axis and an azimuth angle which rotates by taking a y axis in the absolute coordinate system as a central axis;
the microphone device judges whether the microphone device is in the standard placement state or not according to the angle values of the acceleration sensor which respectively rotate in the absolute coordinate system by taking each coordinate axis as a central axis; if not, the microphone equipment starts the microphone;
the microphone device judges whether the microphone device is in the standard placement state according to the angle value of the acceleration sensor in the absolute coordinate system, which is respectively rotated by taking each coordinate axis as a central axis, and the method comprises the following steps: and when the microphone equipment judges that the pitch angle is not greater than a preset standard pitch angle, the roll angle is not greater than a preset standard roll angle and the azimuth angle is not greater than a preset standard azimuth angle, determining that the microphone equipment is in the standard placement state.
2. The method according to claim 1, wherein when the microphone device and the speaker are both in an on state, the determining, by the microphone device, whether the microphone device is in a standard placement state according to an angle between the acceleration sensor and a horizontal plane, which is detected by the acceleration sensor, includes:
when the microphone device and the loudspeaker are both in an open state, the acceleration sensor is controlled by the microphone device to detect the gravity acceleration of the acceleration sensor;
the microphone equipment acquires an included angle between the acceleration sensor and the horizontal plane according to the gravitational acceleration and an absolute coordinate system;
and the microphone equipment judges whether the microphone equipment is in a standard placing state or not according to the included angle.
3. The method of claim 2, wherein the determining, by the microphone device, whether the microphone device is in a stationary state according to the angular velocity parameter detected by the gyro sensor comprises:
the microphone device controls the gyroscope sensor to detect an angular velocity parameter of the microphone device;
the microphone equipment integrates the angular velocity parameter to a preset time period to obtain the rotation angle of the microphone equipment in the preset time period;
and the microphone equipment judges whether the angle is smaller than or equal to a preset angle difference, and if so, the microphone equipment is in a static state.
4. A microphone apparatus, characterized in that the microphone apparatus comprises:
the first judging unit is used for judging whether the microphone equipment is in a standard placing state or not according to an included angle between an acceleration sensor in the microphone equipment and a horizontal plane when a microphone head in the microphone equipment and a loudspeaker in the microphone equipment are both in an opening state; the standard placing state is a placing state in which an included angle between the acceleration sensor in the microphone device and the horizontal plane is smaller than or equal to a preset standard included angle;
the second judging unit is used for judging whether the microphone equipment is in a static state or not according to the angular velocity parameter detected by the gyroscope sensor in the microphone equipment after the first judging unit judges that the microphone equipment is in a standard placing state;
a closing unit, configured to close the microphone device after the second determination unit determines that the microphone device is in a stationary state according to the angular velocity parameter detected by the gyroscope sensor;
the microphone apparatus, after closing the microphone head, is further configured to:
controlling the acceleration sensor to detect the angle values of the acceleration sensor which rotate in an absolute coordinate system by taking each coordinate axis as a central axis; the angle value comprises a pitch angle which rotates by taking a z axis in the absolute coordinate system as a central axis, a roll angle which rotates by taking an x axis in the absolute coordinate system as a central axis and an azimuth angle which rotates by taking a y axis in the absolute coordinate system as a central axis;
judging whether the microphone equipment is in the standard placement state or not according to the angle values of the acceleration sensor which rotate in the absolute coordinate system by taking each coordinate axis as a central axis; if not, the microphone is started;
the determining whether the microphone device is in the standard placement state according to the angle value of the acceleration sensor that rotates in the absolute coordinate system with each coordinate axis as a central axis respectively includes: and when the pitch angle is not greater than a preset standard pitch angle, the roll angle is not greater than a preset standard roll angle and the azimuth angle is not greater than a preset standard azimuth angle, determining that the microphone equipment is in the standard placement state.
5. The microphone apparatus according to claim 4, wherein the first judgment unit includes:
the first control subunit is used for controlling the acceleration sensor to detect the gravity acceleration of the acceleration sensor when a microphone head in the microphone device and a loudspeaker in the microphone device are both in an open state;
the first acquisition subunit is used for acquiring an included angle between the acceleration sensor and a horizontal plane according to the gravitational acceleration and an absolute coordinate system;
and the first judgment subunit is used for judging whether the microphone equipment is in a standard placement state or not according to the included angle.
6. The microphone apparatus according to claim 5, wherein the second determination unit includes:
the second control subunit is used for controlling the gyroscope sensor to detect the angular velocity parameter of the microphone device after the first judging subunit judges that the microphone device is in the standard placement state;
the second acquiring subunit is configured to integrate the angular velocity parameter with a preset time period to obtain an angle of rotation of the microphone device within the preset time period;
the second judgment subunit is used for judging whether the angle is smaller than or equal to a preset angle difference;
a first determining subunit, configured to determine that the microphone device is in a stationary state after the second determining subunit determines that the angle is smaller than or equal to a preset angle difference.
7. A microphone apparatus, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the intelligent control method for the microphone device to play out according to any one of claims 1 to 3.
8. A computer-readable storage medium storing a computer program, the computer program when executed causing a computer to execute the intelligent control method for microphone device play-out according to any one of claims 1 to 3.
CN201711463113.5A 2017-12-28 2017-12-28 Intelligent control method for microphone equipment external amplifier and microphone equipment Active CN108156556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711463113.5A CN108156556B (en) 2017-12-28 2017-12-28 Intelligent control method for microphone equipment external amplifier and microphone equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711463113.5A CN108156556B (en) 2017-12-28 2017-12-28 Intelligent control method for microphone equipment external amplifier and microphone equipment

Publications (2)

Publication Number Publication Date
CN108156556A CN108156556A (en) 2018-06-12
CN108156556B true CN108156556B (en) 2021-10-01

Family

ID=62462452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711463113.5A Active CN108156556B (en) 2017-12-28 2017-12-28 Intelligent control method for microphone equipment external amplifier and microphone equipment

Country Status (1)

Country Link
CN (1) CN108156556B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399175A (en) * 2013-07-11 2013-11-20 广东欧珀移动通信有限公司 Acceleration sensor calibrating method and mobile terminal
CN206024037U (en) * 2016-06-08 2017-03-15 珠海极致通讯技术有限公司 intelligent wireless microphone and microphone system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014220558A (en) * 2013-05-01 2014-11-20 パナソニック株式会社 Portable terminal apparatus, sound mute processing method and program
JP6129343B2 (en) * 2014-07-10 2017-05-17 オリンパス株式会社 RECORDING DEVICE AND RECORDING DEVICE CONTROL METHOD
CN204350242U (en) * 2014-11-24 2015-05-20 珠海市特乐雅有限公司 Intelligent silent wireless microphone
CN204578774U (en) * 2015-02-13 2015-08-19 珠海市信通电子设备有限公司 A kind of intelligent radio microphone
US10075788B2 (en) * 2015-05-18 2018-09-11 PeeQ Technologies, LLC Throwable microphone
CN206413134U (en) * 2017-01-25 2017-08-15 恩平市奥越电子厂 A kind of microphone sensed with gyroscope
CN206759668U (en) * 2017-05-05 2017-12-15 深圳市长音电子有限公司 A kind of Intelligent type wireless microphone

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399175A (en) * 2013-07-11 2013-11-20 广东欧珀移动通信有限公司 Acceleration sensor calibrating method and mobile terminal
CN206024037U (en) * 2016-06-08 2017-03-15 珠海极致通讯技术有限公司 intelligent wireless microphone and microphone system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于三轴传感器的倾角测量系统设计";忽雪娇,黎伟,马龙;《电子制作》;20141231;正文第1章 *

Also Published As

Publication number Publication date
CN108156556A (en) 2018-06-12

Similar Documents

Publication Publication Date Title
JP6280967B2 (en) System and method for improving orientation data
US8527228B2 (en) Calibration for three dimensional motion sensor
US20210207940A1 (en) Computing system implementing an algorithm for fusing data from inertial sensors, and method
US9279680B2 (en) Methods and devices for determining orientation
US9885574B2 (en) Compass calibration
US20160223335A1 (en) Information processing device, information processing method, and computer-readable non-transitory storage medium storing information processing program
WO2018233601A1 (en) Azimuth calibration method and apparatus, storage medium and computer device
TWI748039B (en) Electronic device and method for waterproof warranty condition judgment
US7415380B2 (en) Fall detection device
JP2016503495A (en) Estimation of gravity vector in world coordinate system using accelerometer in mobile device
US20160047840A1 (en) Offset estimation apparatus, offset estimation method, and computer readable medium
US9454208B2 (en) Preventing sleep mode for devices based on sensor inputs
WO2020228307A1 (en) Fall detection method and apparatus, and wearable device
CN104597273B (en) A kind of test method and equipment of movement velocity
TW201226908A (en) Method and module for measuring rotation and portable apparatus comprising the module
TW201229814A (en) Mobile communication device with three-dimensional sensing and a method therefore
EP3091335A1 (en) Calibration of temperature effect on magnetometer
Keller et al. Calibration of smartphones for the use in indoor navigation
CN108156556B (en) Intelligent control method for microphone equipment external amplifier and microphone equipment
KR101678454B1 (en) Apparatus and method for estimating stride length of user
CN207570556U (en) strapdown inertial navigation and calibration system
US9360497B2 (en) Controlling sensor use on an electronic device
TWI680382B (en) Electronic device and pose calibration method thereof
CN115096336A (en) Environmental magnetic field interference determination method based on nine-axis MEMS MARG sensor and computer system
JP2019195607A (en) Analysis device and analysis system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant