CN110398727B - Equipment control method and equipment control system - Google Patents
Equipment control method and equipment control system Download PDFInfo
- Publication number
- CN110398727B CN110398727B CN201910703794.0A CN201910703794A CN110398727B CN 110398727 B CN110398727 B CN 110398727B CN 201910703794 A CN201910703794 A CN 201910703794A CN 110398727 B CN110398727 B CN 110398727B
- Authority
- CN
- China
- Prior art keywords
- sound
- sound data
- axis coordinate
- coordinate value
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S11/00—Systems for determining distance or velocity not using reflection or reradiation
- G01S11/14—Systems for determining distance or velocity not using reflection or reradiation using ultrasonic, sonic, or infrasonic waves
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/02—Non-electrical signal transmission systems, e.g. optical systems using infrasonic, sonic or ultrasonic waves
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Circuit For Audible Band Transducer (AREA)
- Selective Calling Equipment (AREA)
Abstract
The application discloses a device control method, comprising the following steps: acquiring each sound data acquired by a plurality of sound acquisition devices arranged at different positions on an electronic equipment body; determining that the sound source position comprises an X-axis coordinate value, a Y-axis coordinate value and a Z-axis coordinate value according to the position of the sound collecting device, all sound data and a preset mode, wherein the Z-axis coordinate value is determined by the preset mode; determining rotation data of the target device according to the sound source position and the position of the target device; and controlling the target device to rotate according to the rotation data. Therefore, the sound source position is determined by acquiring the sound data acquired by the sound acquisition devices and the positions and the preset modes of the sound acquisition devices, so that the target equipment is controlled to rotate according to the sound source position and the rotation data acquired by the position of the target equipment, and the rotation of the target equipment can be accurately identified by the sound source position. The application also provides a device control system which has the beneficial effects.
Description
Technical Field
The present disclosure relates to the field of control technologies, and in particular, to a device control method and a device control system.
Background
In the aspect of intelligent application, because the equipment is inconvenient to move, the human body infrared induction technology can be utilized to control the equipment to rotate to perform the operation by sensing whether the current range has a human body or not, or the object distance detected by the ultrasonic technology is utilized to control the equipment to rotate to perform the operation, so that the actual requirements of people are met, for example, the image of a speaker is captured in real time. However, the infrared induction technology is limited to the place where the target person can perform induction by the infrared sensor, so that the induction position is limited greatly and the accurate position cannot be obtained; when the ultrasonic technology is utilized to sense equipment, the ultrasonic technology cannot identify whether an obstacle is a human body or an object, and the required sensor equipment is large and difficult to civilian use, so that the method cannot comprehensively and accurately control the equipment due to the limitation of self-sensing.
Therefore, how to provide a solution to the above technical problem is a problem that a person skilled in the art needs to solve at present.
Disclosure of Invention
The purpose of the application is to provide a device control method and a device control system, which can accurately identify the position of a sound source to rotate target devices. The specific scheme is as follows:
the application provides a device control method, comprising the following steps:
acquiring each sound data acquired by a plurality of sound acquisition devices arranged at different positions on an electronic equipment body;
determining a sound source position according to the position of the sound collecting device, all the sound data and a preset mode, wherein the sound source position comprises an X-axis coordinate value, a Y-axis coordinate value and a Z-axis coordinate value, and the Z-axis coordinate value is determined by the preset mode;
determining rotation data of the target equipment according to the sound source position and the position of the target equipment;
and controlling the target equipment to rotate according to the rotation data.
Optionally, determining the sound source position according to the position of the sound collecting device, all the sound data and the preset mode includes:
determining the X-axis coordinate value and the Y-axis coordinate value of the sound source position according to the sound data and the position of the sound collecting device;
and determining the sound source position according to the Z-axis coordinate value, the X-axis coordinate value and the Y-axis coordinate value.
Optionally, determining the sound source position according to all the sound data includes:
judging whether the sound data is legal sound data or not;
and if the sound data are legal sound data, determining the sound source position according to all the sound data.
Optionally, acquiring each of the sound data acquired by the plurality of sound acquisition devices disposed at different positions includes:
judging whether the change value of the sound data is larger than a preset threshold value or whether the sound data is 0;
and if the change value of the sound data is larger than the preset threshold value or the sound data is 0, the preset mode is redetermined, and the step of acquiring the sound data acquired by the plurality of sound acquisition devices arranged at different positions is executed.
Optionally, after controlling the target device to rotate according to the rotation data, the method further includes:
when the electronic equipment is turned off and the target equipment does not recover the original position, controlling the target equipment to automatically calibrate the angle after the electronic equipment body is turned on again, and recovering the original position.
The application provides a device control system, comprising:
a target device; an electronic device body;
the sound collecting devices are arranged at different positions on the electronic equipment body and are used for collecting sound data;
the driving device is connected with the target equipment and is used for driving the target equipment to rotate;
a CPU for acquiring the sound data acquired by the sound acquisition devices arranged at different positions on the electronic equipment body; determining a sound source position according to the position of the sound collecting device, all the sound data and a preset mode, wherein the sound source position comprises an X-axis coordinate value, a Y-axis coordinate value and a Z-axis coordinate value, and the Z-axis coordinate value is determined by the preset mode; determining rotation data of the target device according to the sound source position and the position of the target device; and controlling the target equipment to rotate according to the rotation data.
Optionally, the sound collecting device is specifically configured to collect a sound signal, and amplify the sound signal with an audio amplifier to obtain an amplified sound signal; and performing signal conversion processing on the amplified sound signal by using an ADDA converter to obtain the sound data.
Optionally, the driving device is a steering engine.
Optionally, the number of the sound collecting devices is 4.
Optionally, the target device is any one of an image pickup device, a display, an ultrasonic sensor, and an energy detector.
The application provides a device control method, comprising the following steps: acquiring each sound data acquired by a plurality of sound acquisition devices arranged at different positions on an electronic equipment body; determining a sound source position according to the position of the sound collecting device, all sound data and a preset mode, wherein the sound source position comprises an X-axis coordinate value, a Y-axis coordinate value and a Z-axis coordinate value, and the Z-axis coordinate value is determined by the preset mode; determining rotation data of the target device according to the sound source position and the position of the target device; and controlling the target device to rotate according to the rotation data.
Therefore, the sound source position is determined by acquiring the sound data acquired by the sound acquisition devices and the positions and the preset modes of the sound acquisition devices, so that the target equipment is controlled to rotate according to the sound source position and the rotation data acquired by the position of the target equipment, and the rotation of the target equipment can be accurately identified by the sound source position. The application also provides a device control system, which has the beneficial effects and is not described herein.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flowchart of a device control method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of X-axis coordinate values and Y-axis coordinate values of a sound source position according to an embodiment of the present application;
fig. 3 is a relative position relationship diagram between a sound source position and a target device provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus control system according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In the common technology, the device cannot be comprehensively and accurately controlled due to the limitation of self-induction. Based on the above technical problems, the present embodiment provides an apparatus control method, which determines a sound source position by acquiring each sound data acquired by a plurality of sound acquisition devices, an aspect ratio of an electronic apparatus body, and a preset mode, so as to control a target apparatus to rotate according to the sound source position and rotation data obtained by the position of the target apparatus, and can accurately identify the sound source position to rotate the target apparatus, and specifically please refer to fig. 1, where fig. 1 is a flowchart of an apparatus control method provided in an embodiment of the present application, and specifically includes:
s101, acquiring each sound data acquired by a plurality of sound acquisition devices arranged at different positions on the electronic equipment body.
The electronic device body is not limited in this embodiment, and may be any one of a large-screen display, a common display, and a projection screen, or any other electronic device body, where a user may perform custom setting according to actual needs, and the electronic device is generally rectangular, and it may be understood that the electronic device may include an electronic device body, a CPU, and a target device. The aspect ratio of the electronic device body is not limited in this embodiment, and the aspect ratio of the general electronic device body is 4:3 and 16:9, but may be a similar ratio of 16:9, such as 15:9 or 16:10. A sound collection device such as a microphone or decibel meter may collect sound data in the current environment. The number of the sound collection devices is not limited in this embodiment, and may be 3 or 4 or 5 or other numbers. It is noted that the plurality of sound collection devices are disposed at different positions of the electronic device body, wherein the different positions are distributed to obtain the overall sound data. The present invention can be applied to any electronic device, and the electronic device can be manufactured by a method of manufacturing an electronic device. Preferably, the number of the sound collecting devices is four, and the sound collecting devices are arranged at four corners of the surface of the electronic equipment body. When the distance between the sound source and the Z axis direction of the electronic equipment body is 35cm to 100cm, including the endpoint value, the angle error detected by the XY axis is within +/-7 degrees; when the distance between the sound source and the Z-axis direction of the electronic equipment body exceeds 100cm, the angle error detected by the XY axis is within +/-3 degrees. Because the distance judgment that the software generates errors by using the loudspeaker in the conference is considered, further, the method can further comprise the step of determining a preset mode, wherein the preset mode can be a short-distance mode or a long-distance mode or a custom mode. The main purpose of this step is to initially determine the sound source position. The size of the Z-axis coordinate value is determined according to a preset mode, and a specific user can customize setting. When the mode is a close-range mode, the corresponding Z-axis coordinate value is 45cm; in the case of the remote mode, the corresponding Z-axis coordinate value is 200cm, and of course, the user may set the Z-axis coordinate value in a user-defined manner, so long as the purpose of the present embodiment can be achieved.
S102, determining a sound source position according to the position of the sound collecting device, all sound data and a preset mode, wherein the sound source position comprises an X-axis coordinate value, a Y-axis coordinate value and a Z-axis coordinate value, and the Z-axis coordinate value is determined by the preset mode.
The sound data may be the intensity of sound, which may be expressed in decibels. Because of the propagation characteristics of sound, sound wave energy attenuates with increasing distance when propagating in air, mainly the sound level attenuates due to air absorption, and therefore the size of sound data indicates the size of the distance of the sound source position, the larger the sound data is, the smaller the distance of the sound collecting device is. Further, determining the sound source position according to the position of the sound collecting device, all sound data and a preset mode includes: determining X-axis coordinate values and Y-axis coordinate values of the sound source positions according to the positions of the sound data and the sound collecting devices; and determining the sound source position according to the Z-axis coordinate value, the X-axis coordinate value and the Y-axis coordinate value.
The X-axis coordinate value and the Y-axis coordinate value of the sound source position may be determined from the sound data. Specifically, when the number of sound collection devices is 4 and the sound collection devices are respectively disposed at four corners of the electronic device body (the aspect ratio is 16:9), the 4 sound collection devices are A, B, C, D, and referring to fig. 2 specifically, corresponding sound data are 150, 76, 128, 66, and corresponding coordinates are (0, 9), (16, 9), (0, 0), and 16,0). Design (x) 1 ,y 2 ) Is the coordinates of the sound source position, y 1 Is the longitudinal distance, x, of A and B to the sound source location 2 Is the lateral distance of B and D to the sound source position, a is the distance of a to the sound source position, B is the distance of B to the sound source position, C is the distance of C to the sound source position, and D is the distance of D to the sound source position.
x 1 +x 2 =16,y 1 +y 2 =9,x 1 2 +y 1 2 =a 2 ,x 2 2 +y 1 2 =b 2 ,x 1 2 +y 2 2 =c 2 ,x 2 2 +y 2 2 =d 2 A/b=150/76, b/d=76/66, a/c=150/128, and x is obtained by the above formula 1 、x 2 、y 1 、y 2 And obtaining the X-axis coordinate value, the Y-axis coordinate value and the Z-axis coordinate value determined by a preset mode of the sound source position.
Based on the above principle, 3 sound collection devices or other number of sound collection devices may be further provided, and reference is made to the four sound collection devices for a specific calculation method, which is not described in detail in this embodiment.
S103, determining rotation data of the target device according to the sound source position and the position of the target device.
After knowing the position of the sound source on the XY axis, selecting a distance value of the Z axis according to a preset mode selected by a user, wherein the Z axis is 45cm when the Z axis is set in the short-distance mode; in the remote mode, the Z-axis is 200cm. And then calculating a Y-axis angle value alpha of the top edge of the electronic equipment body from the sound source and an X-axis angle value beta of the target equipment and the sound source parallel position from the sound source according to the trigonometric function. Referring to fig. 3 specifically, fig. 3 is an angle schematic diagram of a target device from a sound source position according to an embodiment of the present application. P is the target device location and Q is the sound source location. At this time, rotation data is acquired, and the Y-axis angle value alpha of the top edge from the sound source and the X-axis angle value beta of the middle of the target device body from the sound source parallel to the sound source are obtained so as to enable the target device to face the sound source. The present embodiment is not limited to the target device, and may be any one of an imaging device, a display, an ultrasonic sensor, and an energy detector.
In general, the target device is disposed on a central axis of the electronic device body, the specific target device may be a camera, the electronic device body may be a display screen, and in a conference, a real-time image of a speaker needs to be displayed on the screen generally.
S104, controlling the target equipment to rotate according to the rotation data.
The CPU controls the target device to rotate according to the rotation data.
Based on the above technical scheme, in this embodiment, by acquiring each sound data acquired by a plurality of sound acquisition devices, the aspect ratio of the electronic device body, and the preset mode, the sound source position is determined, so that the target device is controlled to rotate according to the sound source position and the rotation data obtained by the position of the target device, and the sound source position can be accurately identified to rotate the target device.
Further, determining the sound source position from all sound data includes: judging whether the sound data is legal sound data or not; if the sound data is legal sound data, the sound source position is determined according to all the sound data.
Specifically, a database of legal sound data may be preset, where corresponding voiceprint data may be stored, and after the sound data is collected, the sound data includes sound intensity and also includes voiceprint data. And matching the voiceprint data in the sound data with the database, and if the matching is successful, determining the sound source position according to all the sound data. Therefore, whether the sound data are legal sound data or not is judged through setting, the control of the target equipment is realized more pertinently, and interference caused by other illegal sound data is avoided.
Further, acquiring each of the sound data acquired by the plurality of sound acquisition devices provided at different positions includes: judging whether the change value of the sound data is larger than a preset threshold value or whether the sound data is 0; if the change value of the sound data is greater than the preset threshold value or the sound data is 0, the preset mode is redetermined, and the step of acquiring each sound data acquired by the plurality of sound acquisition devices arranged at different positions is executed.
In order to prevent abrupt change of the sound source position or use a loudspeaker when the change value of the sound data is greater than a preset threshold or the sound data is 0, the user may determine a new preset mode to reduce errors, for example, change the current close range mode to the far range mode or user-defined setting when the change value of the sound data is greater than the preset threshold; and when the rising change value of the sound data is larger than a preset threshold value, changing the current long-distance mode into a short-distance mode or setting by user definition. Therefore, the preset mode is adjusted by judging the change of the sound data, so that the accuracy of data acquisition is realized, and the accuracy of target equipment control is further improved.
Further, after controlling the rotation of the target device according to the rotation data, the method further includes: when the electronic equipment is turned off and the target equipment does not recover the original position, the target equipment is controlled to automatically calibrate the angle after the electronic equipment body is restarted, and the original position is recovered.
Specifically, after the user uses the electronic device, after the electronic device is turned on or turned off, the target device cannot return to the original position due to power failure, and the target device automatically calibrates the angle after the next power-on and returns to the original position, so that no deviation is caused when the angle rotation is executed next time.
The following describes a CPU provided in an embodiment of the present application, where the CPU described below and the device control method described above may be referred to correspondingly, and includes:
the sound data acquisition module is used for acquiring the sound data acquired by the plurality of sound acquisition devices arranged at different positions on the electronic equipment body;
the sound source position determining module is used for determining the sound source position according to the position of the sound collecting device, all sound data and a preset mode, wherein the sound source position comprises an X-axis coordinate value, a Y-axis coordinate value and a Z-axis coordinate value, and the Z-axis coordinate value is determined by the preset mode;
the rotation data determining module is used for determining rotation data of the target equipment according to the sound source position and the position of the target equipment;
and the control module is used for controlling the target equipment to rotate according to the rotation data.
Further, the sound source position determining module includes:
an X-axis coordinate value and Y-axis coordinate value determining unit for determining X-axis coordinate value and Y-axis coordinate value of the sound source position based on the respective sound data and the positions of the sound collecting device;
and the sound source position determining unit is used for determining the sound source position according to the Z-axis coordinate value, the X-axis coordinate value and the Y-axis coordinate value.
Further, the sound source position determining module includes:
a judging unit configured to judge whether the sound data is legal sound data;
and the sound source position determining unit is used for determining the sound source position according to all the sound data if the sound data are legal sound data.
Further, the sound data acquisition module includes:
a judging unit for judging whether the change value of the sound data is larger than a preset threshold value or whether the sound data is 0;
and the execution unit is used for re-determining the preset mode and executing the step of acquiring the sound data acquired by the plurality of sound acquisition devices arranged at different positions if the change value of the sound data is larger than the preset threshold value or the sound data is 0.
Further, the method further comprises the following steps:
and the resetting module is used for controlling the target equipment to automatically calibrate the angle and restore the original position after the electronic equipment is turned off and the target equipment does not restore the original position after the electronic equipment body is turned on again.
The following describes an apparatus control system provided in an embodiment of the present application, where the apparatus control system described below and the apparatus control method described above may be referred to correspondingly, and referring to fig. 4, fig. 4 is a schematic structural diagram of an apparatus control system provided in an embodiment of the present application, and includes:
a target device 100; an electronic device body 200; a plurality of sound collection devices 300 disposed at different positions on the electronic device body 200 for collecting sound data; a driving device 400 connected to the target apparatus 100 for driving the target apparatus to rotate; a CPU500 for acquiring respective sound data acquired by the plurality of sound acquisition devices 300 provided at different positions on the electronic apparatus body 200; determining a sound source position according to all the sound data, the aspect ratio of the electronic device body 200 and a preset mode, wherein the sound source position comprises an X-axis coordinate value, a Y-axis coordinate value and a Z-axis coordinate value, and the Z-axis coordinate value is determined by the preset mode; determining rotation data of the target device 100 according to the sound source position and the position of the target device; the target device 100 is controlled to rotate according to the rotation data.
In some specific embodiments, the sound collection device 300 is specifically configured to collect a sound signal, and amplify the sound signal with an audio amplifier to obtain an amplified sound signal; and performing signal conversion processing on the amplified sound signal by using an ADDA converter to obtain sound data.
Specifically, the sound collecting device 300 amplifies the microphone sound signal with an audio amplifier, and then converts the output analog voltage into a digital quantity with an add converter, and transmits the digital quantity to the CPU500 for processing through the I2C.
In some specific embodiments, the drive 400 is a steering engine. The CPU500 receives the signals and gives the position, the target equipment such as a camera is arranged on a steering engine bracket, and the steering engine is driven by a steering engine driving plate, so that 360-degree rotation framing can be realized up and down by 180 degrees.
In some specific embodiments, the number of sound collection devices 300 is 4.
In some specific embodiments, the target device 100 is any one of a camera, a display, an ultrasonic sensor, and an energy detector.
Since the embodiments of the device control system portion and the embodiments of the device control method portion correspond to each other, the embodiments of the device control system portion refer to the description of the embodiments of the device control method portion, which is not repeated herein.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above describes in detail a device control method and a device control system provided in the present application. Specific examples are set forth herein to illustrate the principles and embodiments of the present application, and the description of the examples above is only intended to assist in understanding the methods of the present application and their core ideas. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present application, and such improvements and modifications fall within the scope of the claims of the present application.
Claims (8)
1. A device control method, characterized by comprising:
acquiring each sound data acquired by a plurality of sound acquisition devices arranged at different positions on an electronic equipment body;
judging whether the sound data is legal sound data or not;
when the sound data are legal sound data, determining a sound source position according to the position of the sound collecting device, all the sound data and a preset mode, wherein the sound source position comprises an X-axis coordinate value, a Y-axis coordinate value and a Z-axis coordinate value, and the Z-axis coordinate value is determined by the preset mode; wherein the preset mode is a short-distance mode or a long-distance mode or a custom mode;
determining rotation data of the target equipment according to the sound source position and the position of the target equipment;
controlling the target equipment to rotate according to the rotation data;
wherein, acquire each sound data that a plurality of sound collection devices that set up in different positions gathered, include:
judging whether the change value of the sound data is larger than a preset threshold value or whether the sound data is 0;
and if the change value of the sound data is larger than the preset threshold value or the sound data is 0, the preset mode is redetermined, and the step of acquiring the sound data acquired by the plurality of sound acquisition devices arranged at different positions is executed.
2. The apparatus control method according to claim 1, wherein determining a sound source position based on the position of the sound collection device, all the sound data, and a preset pattern, comprises:
determining the X-axis coordinate value and the Y-axis coordinate value of the sound source position according to the sound data and the position of the sound collecting device;
and determining the sound source position according to the Z-axis coordinate value, the X-axis coordinate value and the Y-axis coordinate value.
3. The apparatus control method according to any one of claims 1 to 2, characterized by further comprising, after controlling rotation of the target apparatus in accordance with the rotation data:
when the electronic equipment is turned off and the target equipment does not recover the original position, controlling the target equipment to automatically calibrate the angle after the electronic equipment body is turned on again, and recovering the original position.
4. A device control system, comprising:
a target device; an electronic device body;
the sound collecting devices are arranged at different positions on the electronic equipment body and are used for collecting sound data;
the driving device is connected with the target equipment and is used for driving the target equipment to rotate;
a CPU for acquiring the sound data acquired by the sound acquisition devices arranged at different positions on the electronic equipment body; judging whether the sound data is legal sound data or not;
when the sound data are legal sound data, determining a sound source position according to the position of the sound collecting device, all the sound data and a preset mode, wherein the sound source position comprises an X-axis coordinate value, a Y-axis coordinate value and a Z-axis coordinate value, and the Z-axis coordinate value is determined by the preset mode; wherein the preset mode is a short-distance mode or a long-distance mode or a custom mode; determining rotation data of the target device according to the sound source position and the position of the target device; controlling the target equipment to rotate according to the rotation data; wherein, acquire each sound data that a plurality of sound collection devices that set up in different positions gathered, include: judging whether the change value of the sound data is larger than a preset threshold value or whether the sound data is 0; and if the change value of the sound data is larger than the preset threshold value or the sound data is 0, the preset mode is redetermined, and the step of acquiring the sound data acquired by the plurality of sound acquisition devices arranged at different positions is executed.
5. The device control system according to claim 4, wherein the sound collection device is specifically configured to collect a sound signal, and amplify the sound signal with the audio amplifier to obtain an amplified sound signal; and performing signal conversion processing on the amplified sound signal by using an ADDA converter to obtain the sound data.
6. The plant control system according to claim 4, characterized in that the driving means is a steering engine.
7. The appliance control system of claim 4 wherein the number of sound collection devices is 4.
8. The apparatus control system according to any one of claims 4 to 7, wherein the target apparatus is any one of a camera, a display, an ultrasonic sensor, and an energy detector.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910703794.0A CN110398727B (en) | 2019-07-31 | 2019-07-31 | Equipment control method and equipment control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910703794.0A CN110398727B (en) | 2019-07-31 | 2019-07-31 | Equipment control method and equipment control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110398727A CN110398727A (en) | 2019-11-01 |
CN110398727B true CN110398727B (en) | 2023-08-01 |
Family
ID=68326983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910703794.0A Active CN110398727B (en) | 2019-07-31 | 2019-07-31 | Equipment control method and equipment control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110398727B (en) |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102186051A (en) * | 2011-03-10 | 2011-09-14 | 弭强 | Sound localization-based video monitoring system |
CN104581021A (en) * | 2013-10-23 | 2015-04-29 | 西安群丰电子信息科技有限公司 | Video monitoring system based on sound positioning |
CN107340498A (en) * | 2016-05-03 | 2017-11-10 | 深圳光启合众科技有限公司 | The determination method and apparatus of robot and sound source position |
CN108089152B (en) * | 2016-11-23 | 2020-07-03 | 杭州海康威视数字技术股份有限公司 | Equipment control method, device and system |
CN106603878B (en) * | 2016-12-09 | 2019-09-06 | 奇酷互联网络科技(深圳)有限公司 | Voice localization method, device and system |
CN106899806A (en) * | 2017-03-31 | 2017-06-27 | 山东超越数控电子有限公司 | A kind of two-dimentional audio source tracking system and its method of work and application based on cloud base platform |
CN107290723B (en) * | 2017-06-22 | 2019-11-05 | 北京地平线信息技术有限公司 | Sound localization method, device and electronic equipment |
CN107800967A (en) * | 2017-10-30 | 2018-03-13 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN109377991B (en) * | 2018-09-30 | 2021-07-23 | 珠海格力电器股份有限公司 | Intelligent equipment control method and device |
CN109683135A (en) * | 2018-12-28 | 2019-04-26 | 科大讯飞股份有限公司 | A kind of sound localization method and device, target capturing system |
CN109506568B (en) * | 2018-12-29 | 2021-06-18 | 思必驰科技股份有限公司 | Sound source positioning method and device based on image recognition and voice recognition |
-
2019
- 2019-07-31 CN CN201910703794.0A patent/CN110398727B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110398727A (en) | 2019-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106679651B (en) | Sound localization method, device and electronic equipment | |
CN106851525B (en) | The method and apparatus of processing for audio signal | |
US10154363B2 (en) | Electronic apparatus and sound output control method | |
WO2018100920A1 (en) | Calculation device, calculation method and computer program | |
CN109155884A (en) | Stereo separation is carried out with omnidirectional microphone and orientation inhibits | |
CN107210824A (en) | The environment changing of microphone | |
US20190149918A1 (en) | Sound Signal Collection Method and Apparatus | |
CN112492207B (en) | Method and device for controlling camera to rotate based on sound source positioning | |
JP2017161223A (en) | Noise source searching system | |
CN107450882B (en) | Method and device for adjusting sound loudness and storage medium | |
CN110398727B (en) | Equipment control method and equipment control system | |
KR20050010784A (en) | Method and system of representing a sound field | |
CN114125659A (en) | Volume real-time compensation method, electronic device and readable storage medium | |
WO2016078415A1 (en) | Terminal acoustic pickup control method, terminal and terminal acoustic pickup control system | |
WO2024148790A1 (en) | Ultrasound-based human body detection method and apparatus | |
CN116258969A (en) | Structural member measuring method and device based on point cloud data | |
Martinson et al. | Robotic discovery of the auditory scene | |
WO2023070788A1 (en) | Real-time volume adjustment method, electronic device, and readable storage medium | |
CN110187144A (en) | Acceleration transducer calibration method and device | |
CN113432620B (en) | Error estimation method and device, vehicle-mounted terminal and storage medium | |
CN111443820A (en) | Method and system for identifying pressing impulse of touch pad | |
CN114942273A (en) | Building sound insulation performance detection and evaluation method, device, equipment and medium | |
CN114125138B (en) | Volume adjustment optimization method and device, electronic equipment and readable storage medium | |
TW201935032A (en) | Electronic device and positioning method | |
CN115205981B (en) | Standing posture detection method and device, electronic equipment and readable storage medium |
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 |