A pan / tilt motor automatic detection method, terminal and computer readable storage medium

By implementing the automatic detection method of the PTZ motor in the smart TV, using preset commands and data comparison to determine the test instructions, and detecting the status of the PTZ motor in real time, the inspection problem in the mass production stage is solved, and the failure rate and maintenance costs are reduced.

CN113835028BActive Publication Date: 2024-08-27SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111083408.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-15
Publication Date
2024-08-27
Estimated Expiration
2041-09-15

AI Technical Summary

Technical Problem

Existing technology makes it difficult to efficiently inspect the pan-tilt motors in smart TVs during the mass production stage, resulting in high rework and maintenance costs.

Method used

Provide an automatic detection method for the gimbal motor. The tester selects the detection entry option to enter the test mode, obtains the preset command and compares it with the preconfigured data, determines the test command according to the set conditions, and displays the test results on the test interface. Utilize The preset power speed drives the gimbal motor to obtain the rotation time in real time and determine its status.

Benefits of technology

It realizes efficient detection of the built-in pan/tilt motor of smart TVs, ensures factory quality, and reduces failure rates and rework and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113835028B
    Figure CN113835028B
Patent Text Reader

Abstract

The present invention discloses a method for automatic detection of a pan-tilt motor, a terminal and a computer-readable storage medium, wherein the method comprises: entering a pan-tilt motor test mode according to a detection entry option selected by a tester; obtaining a preset command, and comparing the preset command with pre-configured preset data, and determining a corresponding test instruction according to a set comparison condition; testing a pan-tilt motor of a smart TV according to the test instruction, and displaying the test result on a corresponding test interface. The present invention compares the preset command with the pre-configured preset data, and can determine the corresponding test instruction according to the comparison condition, thereby testing the pan-tilt motor of the smart TV using the test instruction, realizing an efficient test method for detecting the built-in pan-tilt motor of the smart TV, ensuring the factory quality of the smart TV, thereby reducing the failure rate of mass-produced and market pan-tilt motors, and saving the rework and maintenance costs of the enterprise.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of terminal applications, and in particular to a pan / tilt motor automatic detection method, a terminal and a computer-readable storage medium. Background Art

[0002] Entering the 21st century, with the development of artificial intelligence technology, testers have an increasingly higher demand for the intelligence of televisions. Therefore, pan-tilt cameras based on motion image recognition AI processing are widely used on smart TVs, and their shapes vary greatly.

[0003] For cost and appearance reasons, most TV manufacturers have the gimbal built into the TV. As a result, when problems with the gimbal's lifting and rotation occur during production and in the market, the rework and repair costs are very high.

[0004] Therefore, the prior art needs to be improved. Summary of the invention

[0005] The technical problem to be solved by the present invention is that, in view of the defects of the prior art, the present invention provides a pan-tilt motor automatic detection method, a terminal and a computer-readable storage medium to solve the technical problem that the pan-tilt motor cannot be efficiently inspected in the mass production stage.

[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0007] In a first aspect, the present invention provides a pan / tilt motor automatic detection method, the pan / tilt motor automatic detection method comprising the following steps:

[0008] Enter the PTZ motor test mode according to the test entry option selected by the tester;

[0009] Obtaining a preset command, and comparing the preset command with pre-configured preset data, and determining a corresponding test instruction according to a set comparison condition;

[0010] The smart TV pan / tilt motor is tested according to the test instructions, and the test results are displayed on the corresponding test interface.

[0011] In one implementation, the step of entering the PTZ motor test mode according to the detection entry option selected by the tester includes:

[0012] Pre-setting the detection entry option of the smart TV PTZ motor according to the first operation instruction of the tester;

[0013] The detection start path of the smart TV pan / tilt motor is set according to the path parameters input by the tester.

[0014] In one implementation, the step of entering the PTZ motor test mode according to the test entry option selected by the tester includes:

[0015] Selecting a detection entry option according to the second operation instruction of the tester, and obtaining information of a detection start path;

[0016] Enter the pan / tilt motor test mode according to the startup path information.

[0017] In one implementation, the obtaining of a preset command includes:

[0018] A configuration file is generated according to the configuration information, and the preset data is set in the configuration file; wherein the preset data is comparison data of the preset command.

[0019] In one implementation, comparing the preset command with pre-configured preset data and determining a corresponding test instruction according to a set comparison condition includes:

[0020] Comparing the preset command with the preset data by a preset algorithm to determine whether the preset command is the same as the preset data;

[0021] If the preset command is the same as the preset data, obtaining a corresponding test instruction;

[0022] If the preset command is different from the preset data, the current state of the smart TV pan / tilt motor is maintained.

[0023] In one implementation, testing the smart TV PTZ motor according to the test instruction and displaying the test result on a corresponding test interface includes:

[0024] Start the PTZ of the smart TV according to the test instruction, enter the test mode and display the test interface;

[0025] Driving the pan / tilt motor of the smart TV according to a preset power and speed, and obtaining the time when the motor rotates to a target position in real time;

[0026] The test result of the pan / tilt motor of the smart TV is determined according to the time obtained in real time, and the test result is displayed in the test interface.

[0027] In one implementation, the step of driving the pan / tilt motor of the smart TV according to a preset power and speed, and acquiring in real time the time when the motor rotates to a target position, includes:

[0028] Determine the driving current of the preset power speed according to the test instruction;

[0029] Obtain the standard time required for a normal PTZ motor to rotate to the target position;

[0030] The pan / tilt motor of the smart TV is driven according to the driving current, and a timer is started to obtain the time for the motor to rotate to the target position.

[0031] In one implementation, determining the test result of the pan / tilt motor of the smart TV according to the time acquired in real time includes:

[0032] Determining whether the acquired time is less than or equal to the standard time;

[0033] If the acquired time is less than or equal to the standard time, it is determined that the pan / tilt motor of the smart TV is in a normal state;

[0034] If the acquired time is greater than the standard time, it is determined that the pan / tilt motor of the smart TV is in an abnormal state.

[0035] In a second aspect, the present invention provides a terminal, comprising: a processor and a memory, wherein the memory stores a pan-tilt motor automatic detection program, and when the pan-tilt motor automatic detection program is executed by the processor, it is used to implement the pan-tilt motor automatic detection method as described in the first aspect.

[0036] In a third aspect, the present invention provides a computer-readable storage medium, which stores a pan-tilt motor automatic detection program. When the pan-tilt motor automatic detection program is executed by a processor, it is used to implement the pan-tilt motor automatic detection method as described in the first aspect.

[0037] The present invention adopts the above technical solution to achieve the following effects:

[0038] The present invention can determine the corresponding test instruction according to the comparison condition by comparing the preset command with the pre-configured preset data, so as to test the pan / tilt motor of the smart TV by using the test instruction, thereby realizing an efficient test method for detecting the built-in pan / tilt motor of the smart TV, ensuring the factory quality of the smart TV, thereby reducing the failure rate of the pan / tilt motor in mass production and market, and saving the rework and repair costs of the enterprise. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0040] Figure 1It is a flow chart of a method for automatic detection of a pan / tilt motor in one implementation of the present invention.

[0041] Figure 2 It is a functional principle diagram of a terminal in one implementation of the present invention.

[0042] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0044] Exemplary Methods

[0045] like Figure 1 As shown, an embodiment of the present invention provides a pan / tilt motor automatic detection method, the pan / tilt motor automatic detection method comprises the following steps:

[0046] Step S100, entering the pan / tilt motor test mode according to the test entry option selected by the tester.

[0047] In this embodiment, the pan-tilt motor automatic detection method is applied to a terminal, and the terminal includes but is not limited to: smart TVs, computers, mobile terminals and other devices. This embodiment takes a smart TV as an example to illustrate the pan-tilt motor automatic detection method.

[0048] In this embodiment, the gimbal motor is a driving motor for a built-in camera (i.e., a gimbal) in a smart TV; wherein, the driving motor includes: a lifting motor and a rotating motor, and the lifting motor can be used to drive the camera from a hidden position (for example, in the shell of a smart TV) to a normal shooting position (for example, the middle position on the top of the smart TV); and when the camera rises to the normal shooting position, the rotating motor can be used to drive the camera to rotate to any angle to achieve a panoramic shooting function.

[0049] In this embodiment, the automatic detection method of the pan-tilt motor is mainly to detect the lifting motor and the rotating motor. By automatic testing, it is detected whether the lifting motor and the rotating motor can be lifted and rotated smoothly, thereby realizing an efficient test method for the built-in pan-tilt motor of the smart TV in the mass production stage of the smart TV, ensuring the factory quality of the smart TV, reducing the failure rate of mass-produced and market pan-tilt motors, and saving the company's rework and maintenance costs.

[0050] In this embodiment, the smart TV is provided with a corresponding PTZ motor automatic detection program. When the smart TV starts the automatic detection program, a corresponding test interface and startup options, parameter options and setting options under the test interface are displayed.

[0051] Furthermore, in order to enable the tester to quickly find and start the automatic detection program, the present embodiment provides a detection entry option in the factory menu of the smart TV, and the detection entry option serves as the detection entry or start path of the pan / tilt motor of the smart TV; when the tester needs to test the pan / tilt motor of the smart TV, the tester enters the factory menu, finds the detection entry option, and enters the pan / tilt motor test mode.

[0052] Specifically, when setting the detection entry option, the detection entry option of the smart TV pan-tilt motor can be set according to the first operation instruction of the tester; wherein, the first operation instruction is an add instruction, and the detection entry option can be added to the factory menu through the add instruction; of course, when adding the detection entry option, it is also necessary to set the detection start path of the smart TV pan-tilt motor according to the path parameters input by the tester; wherein, the detection start path corresponds to the detection entry option, and the path parameter is the location of the folder where the automatic detection program is located; when entering the path parameter, it can be entered in a specific window of the factory menu, for example, the input window under the detection entry option.

[0053] That is, in one implementation of this embodiment, the following steps are included before step S100:

[0054] Step S001, setting the detection entry option of the smart TV PTZ motor in advance according to the first operation instruction of the tester;

[0055] Step S002, setting the detection start path of the smart TV pan / tilt motor according to the path parameters input by the tester.

[0056] In this embodiment, when the tester needs to test the pan / tilt motor of the smart TV, the tester enters the factory menu and finds the detection entry option; at this time, the smart TV can select the detection entry option according to the tester's second operation instruction and obtain the information of the detection start path; wherein the second operation instruction is the click operation performed by the tester; the tester selects the detection entry option through the click operation.

[0057] Furthermore, when the tester selects the detection entry option, the smart TV will obtain the information of the detection startup path, and then enter the pan-tilt motor test mode according to the startup path information; it is worth mentioning that when the smart TV enters the pan-tilt motor test mode, the system of the smart TV will send a special command to the data processing module to control the data processing module to perform corresponding data analysis work; wherein, the data processing module can be a processing module for test data, or it can be a processing module (i.e., CPU) of the entire system of the smart TV.

[0058] That is, in one implementation of this embodiment, step S100 specifically includes the following steps:

[0059] Step S110, selecting a detection entry option according to the second operation instruction of the tester, and obtaining information of a detection start path;

[0060] Step S120, entering the pan / tilt motor test mode according to the startup path information.

[0061] This embodiment sets the detection entry option in the factory menu so that the tester can quickly select the detection entry option and enter the pan-tilt motor test mode; moreover, when the smart TV enters the pan-tilt motor test mode, the system will send a special command to the data processing module to control the data processing module to perform corresponding data analysis work.

[0062] like Figure 1 As shown, in one implementation of the embodiment of the present invention, the pan / tilt motor automatic detection method further includes the following steps:

[0063] Step S200, obtaining a preset command, and comparing the preset command with pre-configured preset data, and determining a corresponding test instruction according to a set comparison condition.

[0064] In this embodiment, after the system of the smart TV sends a special command to the data processing module, the data processing module obtains the special command (i.e., the preset command) and compares the special command with the pre-configured preset data to determine the corresponding test instruction according to the set comparison conditions.

[0065] In this embodiment, the special command may be a command including test instructions and test parameters, and the test module may be executed through the special command to test the pan / tilt motor of the smart TV using the test module; and the pre-configured preset data may be comparison data of the special command, for example, default test parameters set in the smart TV system corresponding to the test parameters in the special command.

[0066] Specifically, before performing data comparison, it is necessary to generate a configuration file based on the configuration information and set the preset data in the configuration file; wherein the configuration information is the configuration information of the gimbal motor, such as the model, drive current, and speed of the gimbal motor; correspondingly, the preset data is the test parameters obtained through standard testing under the configuration information; therefore, the preset data can be used as comparison data for the special command to determine the corresponding test instructions according to the set comparison conditions.

[0067] That is, in one implementation of this embodiment, the following steps are included before step S200:

[0068] Step S201, generating a configuration file according to the configuration information, and setting the preset data in the configuration file; wherein the preset data is comparison data of the preset command.

[0069] In this embodiment, the smart TV can compare the special command with the preset data through a preset algorithm, wherein the preset algorithm is a data comparison algorithm, and each data is compared one by one through the data comparison algorithm to determine whether the data in the special command is the same as the preset data.

[0070] During the data comparison process, if the special command is the same as the preset data, it means that the test parameters in the special command are the same as the preset data. At this time, by obtaining the corresponding test instructions, you can enter the test mode and display the test interface to perform the corresponding test operations.

[0071] During the data comparison process, if the special command is different from the preset data, it means that the test parameters in the special command are different from the preset data; at this time, it means that the special command cannot perform the corresponding test operation, and it is necessary to keep the current state of the smart TV pan-tilt motor unchanged, that is, keep the position of the smart TV pan-tilt unchanged.

[0072] That is, in one implementation of this embodiment, step S200 specifically includes the following steps:

[0073] Step S210, comparing the preset command with the preset data by a preset algorithm to determine whether the preset command is the same as the preset data;

[0074] Step S220, if the preset command is the same as the preset data, obtaining a corresponding test instruction;

[0075] Step S230: If the preset command is different from the preset data, the current state of the smart TV PTZ motor is maintained.

[0076] This embodiment can determine whether the test parameters in the special command are the same as the preset data by comparing the special command with the preset data, thereby entering the test mode and displaying the test interface according to the comparison conditions, and performing corresponding test operations.

[0077] like Figure 1 As shown, in one implementation of the embodiment of the present invention, the pan / tilt motor automatic detection method further includes the following steps:

[0078] Step S300, testing the smart TV pan / tilt motor according to the test instruction, and displaying the test result on the corresponding test interface.

[0079] In this embodiment, after determining the corresponding test instruction, the test module receives the corresponding test instruction and executes the corresponding test operation, that is, the smart TV pan / tilt motor is tested according to the test instruction and the test result is displayed on the corresponding test interface.

[0080] Specifically, in the process of testing the pan-tilt motor, the pan-tilt of the smart TV can be started according to the test instruction, and the test mode is entered and the test interface is displayed; correspondingly, the lifting motor and the rotating motor of the pan-tilt are started respectively according to the test instruction, and when entering the test mode, the test interface displays the test interfaces of the lifting motor and the rotating motor accordingly; wherein, the test methods of the lifting motor and the rotating motor are the same.

[0081] Furthermore, the pan / tilt motor of the smart TV is driven according to a preset power speed, and the time it takes for the motor to rotate to a target position is obtained in real time; wherein the preset power speed may be the minimum power speed of the pan / tilt motor, for example, 100 r / min; and the target position is the position of the limit switch of the pan / tilt motor, and the obtained time is the time it takes for the pan / tilt motor to rotate from an initial position to the target position.

[0082] Furthermore, the test result of the pan / tilt motor of the smart TV is determined based on the time acquired in real time, and the test result is displayed in the test interface; wherein, the test result can be determined based on the comparison result between the acquired time and the standard time (i.e., the time required for the test); for example, if the acquired time is less than or equal to the standard time, the test result is "passed".

[0083] That is, in one implementation of this embodiment, step S300 specifically includes the following steps:

[0084] Step S310, starting the PTZ of the smart TV according to the test instruction, entering a test mode and displaying a test interface;

[0085] Step S320, driving the pan / tilt motor of the smart TV according to a preset power speed, and obtaining the time when the motor rotates to a target position in real time;

[0086] Step S330, determining the test result of the pan / tilt motor of the smart TV according to the real-time acquired time, and displaying the test result in the test interface.

[0087] In this embodiment, in the process of obtaining the time for the motor to rotate to the target position, the driving current of the preset power speed can be first determined according to the test instruction, wherein the driving current is the current value of the gimbal motor at the lowest power speed; then, the standard time required for a normal gimbal motor to rotate to the target position is obtained, that is, the standard time required by the test; finally, the gimbal motor of the smart TV is driven according to the driving current, and a timer is started to measure the time to obtain the time for the motor to rotate to the target position, wherein the time for the motor to rotate to the target position is the time from the start of the timer to the time when the motor limit switch senses the signal.

[0088] That is, in one implementation of this embodiment, step S320 specifically includes the following steps:

[0089] Step S321, determining the driving current of the preset power speed according to the test instruction;

[0090] Step S322, obtaining the standard time required for a normal PTZ motor to rotate to the target position;

[0091] Step S323, driving the pan / tilt motor of the smart TV according to the driving current, and starting time counting to obtain the time for the motor to rotate to the target position.

[0092] In this embodiment, when determining the test result of the pan-tilt motor, it can be determined whether the acquired time is less than or equal to the standard time; if the acquired time is less than or equal to the standard time, the pan-tilt motor of the smart TV is determined to be in a normal state, that is, the pan-tilt motor test is determined to be passed, indicating that the pan-tilt motor rotates smoothly; if the acquired time is greater than the standard time, the pan-tilt motor of the smart TV is determined to be in an abnormal state, that is, the pan-tilt motor test is determined to be failed, indicating that the rotation of the pan-tilt motor is hindered.

[0093] That is, in one implementation of this embodiment, step S330 specifically includes the following steps:

[0094] Step S331, determining whether the acquired time is less than or equal to the standard time;

[0095] Step S332: if the acquired time is less than or equal to the standard time, it is determined that the PTZ motor of the smart TV is in a normal state;

[0096] Step S333: If the acquired time is greater than the standard time, it is determined that the pan / tilt motor of the smart TV is in an abnormal state.

[0097] For example:

[0098] After receiving the special command, the test module starts the gimbal, enters the test mode and pushes the test interface to the display screen of the smart TV for output display; in the test mode, a low-power speed drive current is set, and a standard time value is configured according to the time required for the normal motor to rotate to the target position; the time timing is turned on, and the gimbal motor is allowed to rotate slowly for self-test.

[0099] Furthermore, the system determines through the timing circuit and the motor limit switch that the gimbal motor rotates to the target angle within the set time, which indicates that the gimbal motor rotates smoothly. At this time, the gimbal motor self-test is judged to have passed (for example, a time of 5S is set in advance according to the normal motor test, and the actual detection motor limit switch trigger time is less than or equal to 5S, then the gimbal motor test is judged to have passed).

[0100] Furthermore, the system determines through the timing circuit and the motor limit switch that the PTZ motor cannot rotate to the target angle within the set time, indicating that there is an obstacle in the rotation process. At this time, the PTZ motor self-test fails (for example, a time of 5S is set in advance according to the normal motor test, and the actual detection motor limit switch trigger time is greater than 5S or the limit switch is not triggered within 5S, then the PTZ motor test is determined to have failed)

[0101] Of course, in another implementation of this embodiment, the smooth rotation of the gimbal motor can be detected by taking pictures during the lifting or rotation of the gimbal; for example, images within 5 seconds are taken at a speed of 10 frames per second, and an object in the image is used as a reference. The motion trajectory of the reference object is dynamically analyzed through the image, so as to determine whether the rotation of the gimbal motor is smooth based on the motion trajectory.

[0102] This embodiment can determine the corresponding test instructions according to the comparison conditions by comparing the preset commands with the pre-configured preset data, so as to test the pan-tilt motor of the smart TV using the test instructions, thereby realizing an efficient test method for detecting the built-in pan-tilt motor of the smart TV, ensuring the factory quality of the smart TV, thereby reducing the failure rate of pan-tilt motors in mass production and market, and saving the company's rework and repair costs.

[0103] Exemplary Devices

[0104] Based on the above embodiment, the present invention further provides a terminal, whose principle block diagram can be as follows: Figure 2 shown.

[0105] The terminal includes: a processor, a memory, an interface, a display screen and a communication module connected via a system bus; wherein the processor of the terminal is used to provide computing and control capabilities; the memory of the terminal includes a computer-readable storage medium and an internal memory; the computer-readable storage medium stores an operating system and a computer program; the internal memory provides an environment for the operation of the operating system and the computer program in the computer-readable storage medium; the interface is used to connect to external terminal devices, such as mobile terminals and computers; the display screen is used to display corresponding pan-tilt motor automatic detection information; and the communication module is used to communicate with a cloud server or a mobile terminal.

[0106] The computer program is used to implement a pan / tilt motor automatic detection method when executed by a processor.

[0107] It can be understood by those skilled in the art that Figure 2 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the terminal to which the scheme of the present invention is applied. The specific terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0108] In one embodiment, a terminal is provided, which includes: a processor and a memory, wherein the memory stores a pan-tilt motor automatic detection program, and the pan-tilt motor automatic detection program is used to implement the above pan-tilt motor automatic detection method when executed by the processor.

[0109] In one embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a pan-tilt motor automatic detection program, and the pan-tilt motor automatic detection program is used to implement the above pan-tilt motor automatic detection method when executed by a processor.

[0110] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory.

[0111] In summary, the present invention provides a method, terminal and computer-readable storage medium for automatic detection of a pan-tilt motor, wherein the method comprises: entering a pan-tilt motor test mode according to a detection entry option selected by a tester; obtaining a preset command, and comparing the preset command with pre-configured preset data, and determining a corresponding test instruction according to a set comparison condition; testing the pan-tilt motor of a smart TV according to the test instruction, and displaying the test result on a corresponding test interface. The present invention can determine a corresponding test instruction according to a comparison condition by comparing a preset command with pre-configured preset data, thereby testing the pan-tilt motor of a smart TV using the test instruction, realizing an efficient test method for detecting a built-in pan-tilt motor of a smart TV, ensuring the factory quality of the smart TV, thereby reducing the failure rate of mass-produced and market pan-tilt motors, and saving the cost of rework and repair for the enterprise.

[0112] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A method for automatic detection of a pan / tilt motor, characterized in that: The automatic detection method for the pan / tilt motor comprises the following steps: Enter the PTZ motor test mode according to the test entry option selected by the tester; Obtaining a preset command, and comparing the preset command with pre-configured preset data, and determining a corresponding test instruction according to a set comparison condition; the preset command is a command including a test instruction and a test parameter; Test the smart TV PTZ motor according to the test instructions and display the test results on the corresponding test interface; The method of testing the smart TV PTZ motor according to the test instruction and displaying the test result on the corresponding test interface includes: Start the PTZ of the smart TV according to the test instruction, enter the test mode and display the test interface; Driving the pan / tilt motor of the smart TV according to a preset power and speed, and obtaining the time when the motor rotates to a target position in real time; Determine the test result of the pan / tilt motor of the smart TV according to the real-time acquired time, and display the test result in the test interface; The method of driving the pan / tilt motor of the smart TV according to the preset power and speed, and obtaining the time when the motor rotates to the target position in real time, comprises: Determine the driving current of the preset power speed according to the test instruction; Obtain the standard time required for a normal PTZ motor to rotate to the target position; The pan / tilt motor of the smart TV is driven according to the driving current, and a timer is started to obtain the time for the motor to rotate to the target position.

2. The automatic detection method for a pan / tilt motor according to claim 1, characterized in that: The step of entering the PTZ motor test mode according to the test entry option selected by the tester includes: Pre-setting the detection entry option of the smart TV PTZ motor according to the first operation instruction of the tester; The detection start path of the smart TV pan / tilt motor is set according to the path parameters input by the tester.

3. The automatic detection method for a pan / tilt motor according to claim 1, characterized in that: The step of entering the PTZ motor test mode according to the test entry option selected by the tester includes: Selecting a detection entry option according to the second operation instruction of the tester, and obtaining information of a detection start path; Enter the pan / tilt motor test mode according to the startup path information.

4. The automatic detection method for a pan / tilt motor according to claim 1, characterized in that: The obtaining of the preset command previously includes: A configuration file is generated according to the configuration information, and the preset data is set in the configuration file; wherein the preset data is comparison data of the preset command.

5. The automatic detection method for PTZ motor according to claim 1, characterized in that: The step of comparing the preset command with the pre-configured preset data and determining the corresponding test instruction according to the set comparison condition includes: Comparing the preset command with the preset data by a preset algorithm to determine whether the preset command is the same as the preset data; If the preset command is the same as the preset data, obtaining a corresponding test instruction; If the preset command is different from the preset data, the current state of the smart TV pan / tilt motor is maintained.

6. The automatic detection method for PTZ motor according to claim 1, characterized in that: Determining the test result of the pan / tilt motor of the smart TV according to the time acquired in real time includes: Determining whether the acquired time is less than or equal to the standard time; If the acquired time is less than or equal to the standard time, it is determined that the pan / tilt motor of the smart TV is in a normal state; If the acquired time is greater than the standard time, it is determined that the pan / tilt motor of the smart TV is in an abnormal state.

7. A terminal, characterized in that: include: A processor and a memory, wherein the memory stores a pan-tilt motor automatic detection program, and when the pan-tilt motor automatic detection program is executed by the processor, it is used to implement the pan-tilt motor automatic detection method as described in any one of claims 1-6.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a pan-tilt motor automatic detection program, and when the pan-tilt motor automatic detection program is executed by a processor, it is used to implement the pan-tilt motor automatic detection method as described in any one of claims 1-6.