A method, device and camera for automatic motor identification

The motor type is obtained and judged through the optical interrupt interface and output appropriate driving signals, which solves the problem of errors in the interface between the gimbal controller and the motor, and improves production efficiency and equipment reliability.

CN111324150BActive Publication Date: 2024-12-03ZHEJIANG UNIVIEW TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN201811534260.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-14
Publication Date
2024-12-03
Estimated Expiration
2038-12-14

AI Technical Summary

Technical Problem

The existing gimbal controller cannot automatically identify and correct the interface errors between horizontal and vertical motors, resulting in abnormal control, and it is necessary to disassemble the entire machine and rewire and assemble it to reduce production efficiency.

Method used

Obtain motor type information through the optical interrupt interface, judge and determine the motor type, output appropriate driving signals to correct interface errors, and improve the flexibility of interface connection.

Benefits of technology

It realizes automatic identification and correction of the interface between the gimbal controller and the motor, avoids misconnection errors, and improves production efficiency and equipment reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111324150B_ABST
    Figure CN111324150B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention proposes a motor automatic identification method, which relates to the field of pan-tilt controllers. The motor automatic identification method includes: obtaining type information of a first target motor through an optical interrupt interface; obtaining type information of a second target motor through an optical interrupt interface; determining whether the first target motor is a horizontal motor or a vertical motor based on the type information of the first target motor; and determining whether the second target motor is a vertical motor or a horizontal motor based on the type information of the second target motor. Since the motor automatic identification method provided by the present invention can output motor drive signals through different interfaces of the pan-tilt controller to obtain different motor feedback signals, and judge whether the motor connected to the interface of the pan-tilt controller is a horizontal motor or a vertical motor based on different motor feedback signals, the problem of wrong connection between the pan-tilt controller and the motor is solved, and the flexibility of the connection between the pan-tilt controller and the motor interface is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of pan / tilt controllers, and in particular to a motor automatic identification method, device, pan / tilt and camera equipment. Background Art

[0002] In the surveillance industry, cameras with built-in pan / tilt functions are widely used. The horizontal and vertical rotations of the pan / tilt are controlled by two motors respectively. In most cases, the two motors are of the same type. However, the circuit board cannot automatically identify whether the motor connected to the interface is a horizontal motor or a vertical motor.

[0003] In the existing pan-tilt system, the interface of the horizontal motor must be connected to the horizontal motor interface of the circuit board, and the interface of the vertical motor must be connected to the vertical motor interface of the circuit board in order to properly control the rotation of the pan-tilt structure. If the interface of the horizontal motor is mistakenly connected to the vertical motor interface of the circuit board, or the interface of the vertical motor is mistakenly connected to the horizontal motor interface of the circuit board, the pan-tilt control will be abnormal. If the whole machine is tested after production and installation and it is found that the pan-tilt control rotates abnormally, the whole machine needs to be disassembled and rewired, resulting in low production efficiency. Summary of the invention

[0004] The purpose of the embodiment of the present invention is to provide a method for automatically identifying a motor, so as to solve the problem of incorrect connection between the interface of the pan / tilt controller and the motor.

[0005] In order to achieve the above purpose, the technical solution adopted by the embodiment of the present invention is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a motor automatic identification method, which is applied to a control device, wherein the control device includes a first interface and a second interface, which are used to control a horizontal motor and a vertical motor, wherein the first interface is connected to a first target motor; and the second interface is connected to a second target motor. The motor automatic identification method includes:

[0007] Acquire type information of the first target motor through an optical interrupt interface;

[0008] Acquire type information of the second target motor through an optical interrupt interface;

[0009] determining, according to the type information of the first target motor, that the first target motor is the horizontal motor or the vertical motor;

[0010] determining, according to the type information of the second target motor, that the second target motor is the vertical motor or the horizontal motor;

[0011] Wherein, when the first target motor is the horizontal motor, the second target motor is the vertical motor; or when the first target motor is the vertical motor, the second target motor is the horizontal motor, wherein the second feedback signal is a feedback signal generated by the second photointerrupter sensing the rotation condition of the second target motor, and the second feedback signal is transmitted from the second photointerrupter to the control device.

[0012] In the second aspect, the embodiment of the present invention also proposes a motor automatic identification device, the control device includes a first interface and a second interface, which are used to control a horizontal motor and a vertical motor, the first interface is connected to a first target motor, and the second interface is connected to a second target motor, and is applied to a control device, the control device includes a first interface and a second interface, which are used to control a horizontal motor and a vertical motor, and includes: an acquisition module, a judgment module and a processing module; wherein the acquisition module is used to obtain the type information of the first target motor through the optical interruption interface, and is also used to obtain the type information of the second target motor through the optical interruption interface. The judgment module is used to determine whether the first feedback signal of the first target motor is obtained, and is also used to determine whether the second feedback signal of the second target motor is obtained. The processing module is used to determine whether the first target motor is the horizontal motor or the vertical motor according to the type information of the first target motor, and is also used to determine whether the second target motor is the vertical motor or the horizontal motor according to the type information of the second target motor, wherein the second feedback signal is a feedback signal generated by the second optical interrupter sensing the rotation of the second target motor, and the second feedback signal is transmitted to the control device by the second optical interrupter.

[0013] In a third aspect, an embodiment of the present invention further provides a camera device, comprising a bracket and a camera, wherein the camera is arranged on a pan / tilt platform of the bracket, and the pan / tilt platform has the above-mentioned control device, wherein the control device is used to control a horizontal motor and a vertical motor, and the control device is also used to execute the steps of the above-mentioned motor automatic identification method. The first motor drives the camera to rotate in the horizontal direction; and the second motor drives the camera to rotate in the vertical direction.

[0014] The motor automatic identification method provided by the embodiment of the present invention is applied to a control device, the control device includes a first interface and a second interface, which are used to control a horizontal motor and a vertical motor, the first interface is connected to the first target motor; the second interface is connected to the second target motor. The motor automatic identification method includes: obtaining the type information of the first target motor through the optical interrupt interface; obtaining the type information of the second target motor through the optical interrupt interface; determining whether the first target motor is a horizontal motor or a vertical motor according to the type information of the first target motor; determining whether the second target motor is a vertical motor or a horizontal motor according to the type information of the second target motor; when the first target motor is a horizontal motor, the second target motor is a vertical motor; or when the first target motor is a vertical motor, the second target motor is a horizontal motor. Since the motor automatic identification method provided by the present invention can output motor drive signals through different interfaces of the pan-tilt controller to obtain different motor feedback signals, and judge whether the motor connected to the interface of the pan-tilt controller is a horizontal motor or a vertical motor according to different motor feedback signals, the problem of wrong connection between the pan-tilt controller and the motor interface is solved, and the flexibility of the connection between the pan-tilt controller and the motor interface is also improved.

[0015] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 A block diagram of a motor automatic identification method provided by an embodiment of the present invention is shown.

[0018] Figure 2 A flow chart of a motor automatic identification method provided by an embodiment of the present invention is shown.

[0019] Figure 3 Another flow chart of the motor automatic identification method provided by an embodiment of the present invention is shown.

[0020] Figure 4 A schematic diagram of an automatic motor identification device provided by an embodiment of the present invention is shown.

[0021] Figure 5A schematic diagram of an imaging device provided by an embodiment of the present invention is shown.

[0022] Icon: control device 250; first target motor 221; first photointerrupter 223; second target motor 225; second photointerrupter 227; 100 - motor automatic identification device; 110 - acquisition module; 120 - judgment module; 130 - processing module; 210 - bracket; 220 - camera; 230 - pan / tilt head; 231 - control device. DETAILED DESCRIPTION

[0023] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0024] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.

[0025] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0026] Please refer to Figure 1 , is a block diagram of a motor automatic identification method provided in an embodiment of the present invention. Figure 1 The control device 250, the first target motor 221, the second target motor 225, the first photointerrupter 223 and the second photointerrupter 227 are included. The control device 250, the first target motor 221 and the first photointerrupter 223 are electrically connected in a closed loop in sequence, and the control device 250, the second target motor 225 and the second photointerrupter 227 are electrically connected in a closed loop in sequence.

[0027] The control device 250 includes an optical interrupt interface, a first interface, and a second interface. The control device 250 is electrically connected to the first target motor 221 through the first interface, and the control device 250 is electrically connected to the second target motor 225 through the second interface. The control device 250 is used to output a motor driving signal to control the first target motor 221 and the second target motor 225 to rotate in the horizontal or vertical direction.

[0028] The first target motor 221 is electrically connected to the first interface of the control device 250 through an interface of the first target motor 221 , and the first target motor 221 is configured to rotate under the driving of a motor driving signal.

[0029] The second target motor 225 is electrically connected to the second interface of the control device 250 via the interface of the second target motor 225 , and the second target motor 225 is configured to rotate under the driving of the motor driving signal.

[0030] In a possible embodiment, the first target motor 221 is a horizontal motor that rotates horizontally, and the second target motor 225 is a vertical motor that rotates vertically; or the second target motor 225 is a horizontal motor that rotates horizontally, and the first target motor 221 is a vertical motor that rotates vertically. If the first target motor 221 is a horizontal motor, the first photointerrupter 223 is a horizontal photointerrupter, and the second photointerrupter 227 is a vertical photointerrupter. The horizontal photointerrupter is electrically connected to the horizontal motor and to the optical interruption interface of the control device 250.

[0031] The horizontal photointerrupter is used to sense the rotation of the horizontal motor and generate a feedback signal. When the horizontal motor rotates, the horizontal photointerrupter generates a feedback signal of the rotation of the horizontal motor and transmits the feedback signal to the control device 250 .

[0032] The vertical photointerrupter is electrically connected to the vertical motor and to the optical interruption interface of the control device 250. The vertical photointerrupter is used to sense the rotation of the vertical motor and generate a feedback signal. When the vertical motor rotates, the vertical photointerrupter generates a feedback signal of the rotation of the vertical motor and transmits the feedback signal to the control device 250.

[0033] It should be noted that the first interface is used to be electrically connected to the interface of the first target motor 221, and is also used to output a motor drive signal. The second interface is used to be electrically connected to the interface of the second target motor 225, and is also used to output a motor drive signal. The optical interruption interface is used to receive a feedback signal of the horizontal motor rotation of the horizontal optical interrupter, and is also used to receive a feedback signal of the vertical motor rotation of the vertical optical interrupter.

[0034] Please refer to Figure 2 , which is a flow chart of a motor automatic identification method provided in an embodiment of the present invention.

[0035] Step 10: Acquire type information of the first target motor through the optical interrupt interface.

[0036] Step 20: Acquire type information of the second target motor through the optical interrupt interface.

[0037] Step 30 : determining whether the first target motor is a horizontal motor or a vertical motor according to the type information of the first target motor.

[0038] Step 40 : determining whether the second target motor is a vertical motor or a horizontal motor according to the type information of the second target motor.

[0039] In this embodiment, the type information of the first target motor is obtained through the optical interrupt interface of the control device, and the type information of the second target motor is also obtained through the optical interrupt interface of the control device; then the first target motor is determined to be a horizontal motor or a vertical motor according to the type information of the first target motor; and the second target motor is determined to be a vertical motor or a horizontal motor according to the type information of the second target motor. And, when the first target motor is a horizontal motor, the second target motor is a vertical motor; or when the first target motor is a vertical motor, the second target motor is a horizontal motor.

[0040] exist Figure 2 Based on this, a possible implementation of a complete solution is given below. For details, please refer to Figure 3 , which is another flow chart of the motor automatic identification method provided in an embodiment of the present invention.

[0041] Step 101, controlling the first interface to output a motor driving signal.

[0042] A motor driving signal is outputted through the first interface of the control device to drive the first target motor to rotate.

[0043] Step 102: Acquire a first feedback signal of a first target motor through an optical interrupt interface to obtain type information of the first target motor.

[0044] The first feedback signal represents the type of the first target motor and the rotation status of the first target motor. In a possible embodiment, the first feedback signal is a horizontal motor rotation signal.

[0045] A motor driving signal is output through the first interface of the control device to drive the first target motor to rotate, so that a first photointerrupter electrically connected to the first target motor can sense the rotation of the first target motor, and at the same time, the rotation of the first target motor is fed back to the control device in the form of a first feedback signal, and the control device receives the first feedback signal through the photointerrupter interface.

[0046] It should be noted that, after the motor driving signal is output through the first interface of the control device, if the first feedback signal is not received, it means that the first interface fails and needs to be repaired in time.

[0047] Step 201, controlling the second interface to output a motor driving signal.

[0048] The motor driving signal is outputted through the second interface of the control device to drive the second target motor to rotate.

[0049] Step 202: Acquire a second feedback signal of the second target motor through the optical interrupt interface to obtain type information of the second target motor.

[0050] The second feedback signal represents the type of the second target motor and the rotation condition of the second target motor. In a possible embodiment, the second feedback signal is a vertical motor rotation signal.

[0051] A motor driving signal is output through the second interface of the control device to drive the second target motor to rotate, so that a second photointerrupter electrically connected to the second target motor can sense the rotation of the second target motor, and at the same time, the rotation of the second target motor is formed into a second feedback signal and fed back to the control device, and the control device receives the second feedback signal through the photointerrupter interface.

[0052] It should be noted that, after the motor driving signal is output through the second interface of the control device, if the second feedback signal is not received, it means that the second interface fails and needs to be repaired in time.

[0053] Step 301: When the first feedback signal is a horizontal motor rotation signal, the type of the first target motor type information is a horizontal motor.

[0054] It should be noted that the horizontal photointerrupter is electrically connected to the horizontal motor, and the vertical photointerrupter is electrically connected to the vertical motor. When the first feedback signal is a horizontal motor rotation signal, the type of the first target motor type information is a horizontal motor, then the type of the second target motor type information is a vertical motor, and the first photointerrupter is a horizontal photointerrupter, and the second photointerrupter is a vertical photointerrupter, and vice versa, which will not be repeated here.

[0055] Step 401: When the second feedback signal is a vertical motor rotation signal, the type of the second target motor type information is a vertical motor.

[0056] It should be noted that the horizontal photointerrupter is electrically connected to the horizontal motor, and the vertical photointerrupter is electrically connected to the vertical motor. When the second feedback signal is a vertical motor rotation signal, the type of the type information of the second target motor is a vertical motor, then the type of the type information of the first target motor is a horizontal motor, and the first photointerrupter is a horizontal photointerrupter, and the second photointerrupter is a vertical photointerrupter, and vice versa, which will not be repeated here.

[0057] It should be noted that when the first feedback signal of the first target motor and the first feedback signal of the second target motor are obtained, both the first interface and the second interface are faulty. That is, after the motor drive signal is output through the first interface of the control device, the horizontal motor rotation signal is obtained; and after the motor drive signal is output through the second interface of the control device, the horizontal motor rotation signal is also obtained, which means that both the first interface and the second interface are faulty and need to be repaired in time.

[0058] Similarly, when the second feedback signal of the second target motor and the second feedback signal of the first target motor are obtained, both the first interface and the second interface are faulty. That is, after the motor drive signal is output through the first interface of the control device, the vertical motor rotation signal is obtained; and after the motor drive signal is output through the second interface of the control device, the vertical motor rotation signal is also obtained, which means that both the first interface and the second interface are faulty and need to be repaired in time.

[0059] In summary, the motor automatic identification method provided by the embodiment of the present invention is applied to a control device, the control device includes a first interface and a second interface, which are used to control a horizontal motor and a vertical motor, the first interface is connected to the first target motor; the second interface is connected to the second target motor. The motor automatic identification method includes: obtaining the type information of the first target motor through the optical interrupt interface; obtaining the type information of the second target motor through the optical interrupt interface; determining whether the first target motor is a horizontal motor or a vertical motor according to the type information of the first target motor; determining whether the second target motor is a vertical motor or a horizontal motor according to the type information of the second target motor; when the first target motor is a horizontal motor, the second target motor is a vertical motor; or when the first target motor is a vertical motor, the second target motor is a horizontal motor. Since the motor automatic identification method provided by the present invention can output motor drive signals through different interfaces of the pan-tilt controller to obtain different motor feedback signals, and judge whether the motor connected to the interface of the pan-tilt controller is a horizontal motor or a vertical motor according to different motor feedback signals, the problem of wrong connection between the pan-tilt controller and the motor interface is solved, and the flexibility of the connection between the pan-tilt controller and the motor interface is also improved.

[0060] Please refer to Figure 4 , is a schematic diagram of a motor automatic identification device provided by an embodiment of the present invention. The motor automatic identification device 100 includes an acquisition module 110 , a determination module 120 and a processing module 130 .

[0061] The acquisition module 110 is used to acquire type information of the first target motor through the optical interrupt interface, and is also used to acquire type information of the second target motor through the optical interrupt interface.

[0062] It can be understood that in a preferred embodiment, the acquisition module 110 can be used to execute step 10 and step 20.

[0063] The determination module 120 is used to determine whether a first feedback signal of the first target motor is obtained, and is also used to determine whether a second feedback signal of the second target motor is obtained.

[0064] It can be understood that in a preferred embodiment, the determination module 120 can be used to execute step 102 and step 202 .

[0065] The processing module 130 is used to determine whether the first target motor is a horizontal motor or a vertical motor according to the type information of the first target motor, and is also used to determine whether the second target motor is a vertical motor or a horizontal motor according to the type information of the second target motor.

[0066] It can be understood that in a preferred embodiment, the processing module 130 can be used to execute step 301 and step 401 .

[0067] Please refer to Figure 5 , which is a schematic diagram of a camera device provided by an embodiment of the present invention. The camera device includes a bracket 210, a vertical motor 220, a pan / tilt head 230, a camera 240 and a control device 250.

[0068] The bracket 210 is used to support the pan / tilt platform 230 .

[0069] The vertical motor 220 is used to control the pan-tilt head 230 to rotate in the vertical direction to drive the camera to rotate in the vertical direction, and the horizontal motor is used to control the pan-tilt head 230 to rotate in the horizontal direction to drive the camera to rotate in the horizontal direction; it should be noted that the horizontal motor is not shown in the figure.

[0070] The pan / tilt platform 230 is used to support the camera 220 .

[0071] The camera 240 is disposed on the pan / tilt platform 230 .

[0072] The control device 250 is used to output a motor driving signal to drive the vertical motor 220 to rotate, and is also used to output a motor driving signal to drive the horizontal motor 220 to rotate. The control device 250 is also used to execute the steps of the motor automatic identification method of the above embodiment.

[0073] It should be noted that the control device 250 can be set on the bracket 210 or in the pan / tilt head 230 .

[0074] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, equipment or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0075] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, devices and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0076] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0077] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0078] In several embodiments provided in the embodiments of the present invention, it should be understood that the disclosed apparatus and method can also be implemented in other ways. The apparatus and method embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the apparatus, method and computer program product according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0079] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0080] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code. It should be noted that in this article, the term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.

[0081] The above description is only an optional embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention. It should be noted that similar numbers and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

Claims

1. A motor automatic identification method, applied to a control device, the control device comprising a first interface and a second interface, for controlling a horizontal motor and a vertical motor, characterized in that: The first interface is connected to a first target motor, and the second interface is connected to a second target motor; the method comprises: Controlling the first interface to output a motor driving signal; Acquire a first feedback signal of the first target motor through an optical interrupt interface to obtain type information of the first target motor; wherein the first feedback signal is a feedback signal generated by a first optical interrupter sensing a rotation condition of the first target motor, and the first feedback signal is transmitted from the first optical interrupter to the control device; determining, according to the type information of the first target motor, that the first target motor is the horizontal motor or the vertical motor; Controlling the second interface to output a motor driving signal; acquiring a second feedback signal of the second target motor through the optical interrupt interface to obtain type information of the second target motor; determining, according to the type information of the second target motor, that the second target motor is the vertical motor or the horizontal motor; Wherein, when the first target motor is the horizontal motor, the second target motor is the vertical motor; or when the first target motor is the vertical motor, the second target motor is the horizontal motor; wherein, the second feedback signal is a feedback signal generated by the second photointerrupter sensing the rotation condition of the second target motor, and the second feedback signal is transmitted by the second photointerrupter to the control device.

2. The motor automatic identification method according to claim 1, characterized in that: When the first feedback signal is a horizontal motor rotation signal, the type of the first target motor type information is a horizontal motor.

3. The motor automatic identification method according to claim 2, characterized in that: When the first feedback signal is not obtained, the first interface fails.

4. The method for automatic motor identification according to claim 3, characterized in that: When the first feedback signal of the first target motor and the first feedback signal of the second target motor are acquired, both the first interface and the second interface fail.

5. The motor automatic identification method according to claim 1, characterized in that: When the second feedback signal is a vertical motor rotation signal, the type of the second target motor type information is a vertical motor.

6. The method for automatic motor identification according to claim 5, characterized in that: When the second feedback signal is not obtained, the second interface fails.

7. The method for automatic motor identification according to claim 6, characterized in that: When the second feedback signal of the second target motor and the second feedback signal of the first target motor are acquired, both the first interface and the second interface fail.

8. A motor automatic identification device, applied to a control device, the control device comprising a first interface and a second interface, for controlling a horizontal motor and a vertical motor, the control device comprising a first interface and a second interface, for controlling a horizontal motor and a vertical motor, the first interface being connected to a first target motor, the second interface being connected to a second target motor, characterized in that: include: An acquisition module, used for controlling the first interface to output a motor driving signal; Obtaining a first feedback signal of the first target motor through an optical interruption interface to obtain type information of the first target motor; wherein the first feedback signal is a feedback signal generated by a first optical interrupter sensing the rotation of the first target motor, and the first feedback signal is transmitted to the control device by the first optical interrupter; and is also used to control the second interface to output a motor drive signal; obtaining a second feedback signal of the second target motor through the optical interruption interface to obtain type information of the second target motor; A judging module, used to judge whether a first feedback signal of a first target motor is obtained, and also used to judge whether a second feedback signal of a second target motor is obtained; A processing module, used to determine whether the first target motor is the horizontal motor or the vertical motor based on the type information of the first target motor, and also used to determine whether the second target motor is the vertical motor or the horizontal motor based on the type information of the second target motor; wherein the second feedback signal is a feedback signal generated by a second photointerrupter sensing the rotation condition of the second target motor, and the second feedback signal is transmitted from the second photointerrupter to the control device.

9. A camera device, characterized in that: It comprises a bracket and a camera, wherein the camera is arranged on a pan-tilt platform of the bracket, and the pan-tilt platform has a control device as claimed in claim 1, wherein the control device is used to control a horizontal motor and a vertical motor, and the control device is also used to execute the steps of the motor automatic identification method as claimed in claims 1-7; Wherein, the horizontal motor drives the camera to rotate in the horizontal direction; the vertical motor drives the camera to rotate in the vertical direction.

Citation Information

Patent Citations

  • Out of step detection method and device of ball machine

    CN103399582A

  • Photo interruption device, camera as well as exercise recovery method and device thereof

    CN104618635A

  • Holder dome camera and fixed camera linkage method and system

    CN107071363A

  • Control method and device of holder carrying camera and storage medium

    CN108549417A

  • Automatic tracking pick-up device for video conferences

    CN203014978U