Reflector control method and device, electronic equipment and storage medium
By generating pulse signals with preset working parameters to control the kinetic energy transmission of the DC motor and the mirror, the problem of low manual control accuracy of the mirror is solved, and higher positioning accuracy and motion stability are achieved.
Patent Information
- Application Number
- CN202510268002.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2025-06-13
AI Technical Summary
The manual control method of reflectors in the prior art has a problem of low accuracy, which leads to poor optical performance of the projection lens.
By generating a first pulse signal with preset working parameters, the DC motor is controlled to rotate, the kinetic energy is transmitted using electric batch gears and electric batch heads, and the rotation of the reflector is accurately controlled.
It improves the positioning accuracy and motion stability of the reflector, reduces mechanical wear and air return, and enhances the overall stability and real-time nature of the system.
Smart Images

Figure CN120143394A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of precision alignment of optical elements, and particularly to a method and device for controlling a mirror, an electronic device, and a storage medium. Background Art
[0002] In the related art, during the manual assembly of a projection lens, the installation of a mirror requires relatively precise height control to ensure the stability of the resolution and optical performance of the projection lens. Traditional manual torque wrenches have problems such as inaccurate height control and low operation efficiency, which can lead to poor resolution optical performance and other reasons. From the above, it can be seen that the existing manual control method for a mirror has a problem of low precision. Summary of the Invention
[0003] The main purpose of the embodiments of the present application is to propose a method and device for controlling a mirror, an electronic device, and a storage medium, aiming to improve the control precision of the mirror.
[0004] To achieve the above object, on the one hand, an embodiment of the present application proposes a method for controlling a mirror, the method including:
[0005] Generating a first pulse signal according to preset working parameters;
[0006] Controlling a DC motor to rotate according to the first pulse signal, so that after the DC motor generates a first kinetic energy, controlling the mirror to rotate according to the first kinetic energy;
[0007] Wherein, the DC motor is connected to an electric wrench gear, the electric wrench gear is connected to an electric wrench bit, and the electric wrench gear is used to transfer the first kinetic energy to the electric wrench bit to control the rotation of the electric wrench bit and thus control the rotation of the mirror.
[0008] In some embodiments, controlling the mirror to rotate according to the first kinetic energy includes:
[0009] Gradually transferring the first kinetic energy to the electric wrench bit through the electric wrench gear, so that the electric wrench bit outputs the first kinetic energy to the mirror to control the mirror to be tightened or loosened.
[0010] In some embodiments, generating a first pulse signal according to preset working parameters includes:
[0011] Obtaining a start signal;
[0012] Obtaining preset working parameters according to the start signal;
[0013] Generating a first pulse signal according to the preset working parameters.
[0014] In some embodiments, after generating the first pulse signal according to the preset working parameters, it further includes:
[0015] Calculate the first duration;
[0016] When the first duration is greater than a preset time threshold, stop generating the first pulse signal;
[0017] Control the DC motor to stop rotating.
[0018] In some embodiments, it further includes:
[0019] Obtain the first current of the DC motor;
[0020] When the first current is greater than a preset current threshold, control the DC motor to stop rotating.
[0021] In some embodiments, it further includes:
[0022] Obtain the power supply voltage of the DC regulated switch power supply;
[0023] When the power supply voltage is less than a preset voltage threshold, turn off the DC regulated switch power supply.
[0024] In some embodiments, the preset working parameters include:
[0025] A preset rotation direction, a preset rotation speed, and an operation time.
[0026] To achieve the above object, on the other hand, an embodiment of the present application provides a mirror control device, the device includes:
[0027] A pulse generation module, configured to generate a first pulse signal according to preset working parameters;
[0028] A control module, configured to control the rotation of the DC motor according to the first pulse signal, so that after the DC motor generates a first kinetic energy, control the rotation of the mirror according to the first kinetic energy;
[0029] Wherein, the DC motor is connected to an electric screwdriver gear, the electric screwdriver gear is connected to an electric screwdriver bit, and the electric screwdriver gear is used to transmit the first kinetic energy to the electric screwdriver bit to control the rotation of the electric screwdriver bit and thus control the rotation of the mirror.
[0030] To achieve the above object, on the other hand, an embodiment of the present application provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the above-mentioned method is implemented.
[0031] To achieve the above object, on the other hand, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method is implemented.
[0032] The embodiments of the present application at least include the following beneficial effects: The present application provides a method and device for controlling a mirror, an electronic device, and a storage medium. After generating a first pulse signal according to preset working parameters, the direct current motor is controlled to rotate according to the first pulse signal, so that after the direct current motor generates a first kinetic energy, the mirror is controlled to rotate according to the first kinetic energy. By controlling the rotation of the motor according to the preset working parameters and then according to the kinetic energy generated by the motor, the embodiments of the present application can realize the automation and intelligent control of the mirror, improve the positioning accuracy and motion stability of the mirror, and effectively solve the problem of low control accuracy caused by manual control of the mirror in the prior art.
[0033] Secondly, by using the method of converting the kinetic energy of the motor to drive the mirror, compared with the traditional mechanical transmission method, it can reduce mechanical wear and backlash and other phenomena. At the same time, the kinetic energy transfer between the motor and the mirror is more stable, reducing the jitter and vibration of the system during movement and improving the overall stability of the system.
[0034] Furthermore, the rapid generation and transmission of the pulse signal enable the motor to quickly respond to changes in the preset working parameters, and then quickly drive the mirror to rotate. This rapid response ability is very important for application scenarios that require real-time adjustment of the mirror position, such as laser tracking, optical imaging, etc., and can effectively improve the real-time performance and dynamic performance of the system.
[0035] Further, through the control program in the electronic device and the storage medium, the automatic control of the mirror is realized. The operator only needs to set the preset working parameters, and the system can automatically complete the control task of the mirror, reducing the complexity and labor intensity of manual operation and improving the work efficiency.
[0036] Finally, the preset working parameters can be flexibly adjusted according to the actual application requirements, and can adapt to different working environments and task requirements. For example, in different lighting conditions, changes in the mirror load, or the accumulation of system errors, by adjusting the preset parameters, the precise control of the mirror can still be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a flowchart of the method for controlling a mirror provided by the embodiments of the present application;
[0038] Figure 2 is an overall structural schematic diagram of the mirror electric control system provided by the embodiments of the present application;
[0039] Figure 3 is an exploded structural schematic diagram of the mirror electric control system provided by the embodiments of the present application;
[0040] Figure 4It is a schematic diagram of the modules of the DC regulated switching power supply provided by the embodiments of the present application;
[0041] Figure 5 It is a circuit schematic diagram of the central control chip provided by the embodiments of the present application;
[0042] Figure 6 It is a circuit schematic diagram of the DC motor driver provided by the embodiments of the present application;
[0043] Figure 7 It is a schematic structural diagram of the mirror control device provided by the embodiments of the present application;
[0044] Figure 8 It is a schematic diagram of the hardware structure of the electronic device provided by the embodiments of the present application. Detailed implementation manners
[0045] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. When the following description involves the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the embodiments of the present application. They are only examples of devices and methods that are consistent with some aspects of the embodiments of the present application.
[0046] It can be understood that the terms "first", "second", etc. used in the present application can be used in this document to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of the present application, the first information can also be called the second information, and similarly, the second information can also be called the first information. Depending on the context, the words "if", "when" as used herein can be interpreted as "when...", "while...", or "in response to determining".
[0047] The terms "at least one", "multiple", "each", "any one", etc. used in the present application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any one refers to any one of the multiple.
[0048] Unless otherwise defined, all technical and scientific terms used in this document have the same meaning as commonly understood by those skilled in the technical field to which the present application belongs. The terms used in this document are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0049] In the related art, during the manual assembly of a projection lens, the installation of a mirror requires relatively precise height control to ensure the stability of the resolution and the optical performance of the projection lens. Traditional manual torque wrenches have problems such as inaccurate height control and low operation efficiency, which can lead to poor resolution optical performance and other reasons. From the above, it can be seen that the existing manual control method for mirrors has the problem of low accuracy.
[0050] In view of this, in the embodiments of the present application, a mirror control method and device, an electronic device, and a storage medium are provided.
[0051] The mirror control method provided by the embodiments of the present application relates to the technical field of precision alignment of optical elements. The mirror control method provided by the embodiments of the present application can be applied to a terminal, or can be applied to a server, or can also be software running on a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a vehicle-mounted terminal, etc., but is not limited thereto; the server side can be configured as an independent physical server, or can be configured as a server cluster or a distributed system composed of multiple physical servers, or can also be configured as a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application implementing the mirror control method, etc., but is not limited to the above forms.
[0052] The present application can be used in many general-purpose or special-purpose computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet-type devices, multi-processor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and so on. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in a distributed computing environment where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0053] It should be noted that in each specific embodiment of the present application, when it comes to relevant processing based on data related to the user's identity or characteristics, such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first. Moreover, the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiments of the present application need to obtain the user's sensitive personal information, the user's separate permission or separate consent will be obtained through methods such as pop-up windows or redirecting to a confirmation page. After clearly obtaining the user's separate permission or separate consent, the necessary user-related data for the normal operation of the embodiments of the present application will be obtained.
[0054] Figure 1 is an optional flowchart of the mirror control method provided by the embodiments of the present application. It can be understood that Figure 1 The method shown can be applied to Figure 2 and Figure 3 in the control module of the mirror electric control system shown. Specifically, Figure 2 and Figure 3 The mirror electric control system shown includes a housing 201, a DC motor 202, an electric screwdriver control button 203, an electric screwdriver gear, an electric screwdriver connecting block 205, an electric screwdriver bit 206, a DC regulated switching power supply, and a control module. Among them, the DC regulated switching power supply can adopt Figure 4 The module structure shown. The control module includes a central control chip and a DC motor driver. The central control chip can adopt Figure 5 The circuit structure shown. The DC motor driver can adopt Figure 6 The circuit structure shown.
[0055] In the embodiments of the present application, when Figure 1 The method shown is applied to Figure 3 and Figure 3 in the control module of the mirror electric control system shown, Figure 1 The method in
[0056] S101: Generate a first pulse signal according to preset working parameters.
[0057] In this embodiment, generating a first pulse signal according to preset working parameters includes:
[0058] Obtain a start signal;
[0059] Obtain preset working parameters according to the start signal;
[0060] Generate a first pulse signal according to the preset working parameters.
[0061] In a specific embodiment, after generating a first pulse signal according to preset working parameters, the method further includes:
[0062] Calculating a first duration;
[0063] When the first duration is greater than a preset time threshold, stop generating the first pulse signal;
[0064] Control the DC motor to stop rotating.
[0065] Wherein, the first duration is the duration required during the generation of the first pulse signal.
[0066] In this embodiment, the preset working parameters include:
[0067] A preset rotation direction, a preset rotation speed, and an operation time.
[0068] S102: Control the DC motor to rotate according to the first pulse signal, so that after the DC motor generates a first kinetic energy, control the mirror to rotate according to the first kinetic energy.
[0069] Wherein, the DC motor is connected to an electric screwdriver gear, and the electric screwdriver gear is connected to an electric screwdriver bit. The electric screwdriver gear is used to transfer the first kinetic energy to the electric screwdriver bit to control the rotation of the electric screwdriver bit and further control the rotation of the mirror.
[0070] In this embodiment, controlling the mirror to rotate according to the first kinetic energy includes:
[0071] Gradually transfer the first kinetic energy to the electric screwdriver bit through the electric screwdriver gear, so that the electric screwdriver bit outputs the first kinetic energy to the mirror to control the mirror to be tightened or loosened.
[0072] In a specific embodiment, the method further includes:
[0073] Obtaining a first current of the DC motor;
[0074] When the first current is greater than a preset current threshold, control the DC motor to stop rotating.
[0075] In a specific embodiment, the method further includes:
[0076] Obtaining the power supply voltage of the DC regulated switch power supply;
[0077] When the power supply voltage is less than a preset voltage threshold, turn off the DC regulated switch power supply.
[0078] It is understandable that the DC motor 202 is used to provide rotational power; the electric screwdriver gear is connected to the DC motor 202 and is used to transmit the rotational power; the electric screwdriver total gearbox 204 contains multiple electric screwdriver gears and is used to further transmit and adjust the rotational power; the electric screwdriver connecting block 205 is used to connect the electric screwdriver total gearbox 204 and the electric screwdriver bit 206 to ensure the stability of power transmission. The electric screwdriver bit 206 is used to tighten the screw; the electric screwdriver control button 203 is used to control the start / stop and torque setting of the electric torque screwdriver; the central control chip is used to control the operation of the entire system, including sending pulse signals and timing functions; the DC motor driver is used to receive the signal from the central control chip and drive the DC motor 202 to rotate; the DC regulated switch power supply is used to provide a stable DC voltage to ensure the normal operation of the system.
[0079] When the torque electric screwdriver starts to lock the screw of the projection lens mirror, press one of the electric screwdriver control buttons 203, and the central control chip will send a pulse to the DC motor driver; after receiving the pulse signal, the DC motor driver will drive the DC motor 202 to start rotating, and drive the electric screwdriver gear, the electric screwdriver total gearbox 204, the electric screwdriver connecting block 205, and the electric screwdriver bit 206 to rotate together; the central control chip starts timing synchronously, and after the time ends, the central control chip will stop sending pulses and the DC motor 202 will stop rotating. Since the height of the mirror screw indirectly affects the resolution performance of the upper left and upper right images, controlling the height of the mirror screw facilitates the work of the staff to perform resolution and improves the resolution efficiency.
[0080] The DC motor 202 is pulse-controlled by the DC motor driver and drives the electric screwdriver total gearbox 204, the electric screwdriver gear, the electric screwdriver connecting block 205, and the electric screwdriver bit 206 to perform fixed-height screw locking.
[0081] The electric screwdriver gear, the electric screwdriver total gearbox 204, the electric screwdriver connecting block 205, and the electric screwdriver bit 206 form a transmission mechanism, which is used to transmit the rotational motion of the DC motor 202 to the electric screwdriver bit 206 to achieve fixed-height screw locking of the mirror screw. Among them, the electric screwdriver total gearbox 204 enhances the torque of the electric screwdriver bit 206, making it more convenient to lock the screw. The electric screwdriver bit 206 is used to cooperate with the mirror bracket of the projection lens so as to lock the screw in the mirror bracket.
[0082] There are two electric screwdriver control buttons 203, which respectively correspond to different screw locking functions. The lower button is used for fixed-height screw locking, and the upper button is used for screw withdrawal. The user can select different buttons according to needs to control the rotation function of the DC motor 202.
[0083] by Figure 5As can be seen from the central control chip shown, the central control chip determines the pulse transmission time by controlling the interruption time, and adjusts the pulse width of the DC motor driver by controlling the duty cycle of the pulse, thereby affecting the rotation speed of the DC motor 202.
[0084] From Figure 6 As can be seen from the DC motor driver shown, the DC motor driver includes an overload protection function and an under-voltage protection function. When it is detected that the current of the DC motor 202 exceeds the preset current threshold, the DC motor driver will automatically cut off the power supply to prevent the DC motor 202 from being damaged due to overload. In addition, when the power supply voltage is lower than the set safety value (i.e., the preset voltage threshold), the under-voltage protection device will automatically cut off the power supply of the circuit (i.e., turn off the Figure 4 DC regulated switching power supply shown) to avoid abnormal operation or damage of the DC motor 202 due to insufficient voltage.
[0085] In a specific embodiment, the preset current threshold can be designed accordingly according to actual needs, which will not be elaborated here.
[0086] In a preferred embodiment, the preset voltage threshold is 12V.
[0087] The DC regulated switching power supply provides a stable DC voltage to ensure the normal operation of the DC motor 202 and the central control chip.
[0088] Furthermore, the embodiment of the present application also provides a mirror control device, as Figure 7 shown, Figure 7 is a schematic structural diagram of the mirror control device provided by the embodiment of the present application. From Figure 7 it can be seen that the mirror control device includes:
[0089] A pulse generation module 701, configured to generate a first pulse signal according to preset working parameters;
[0090] A control module 702, configured to control the rotation of the DC motor according to the first pulse signal, so that after the DC motor generates a first kinetic energy, control the rotation of the mirror according to the first kinetic energy;
[0091] Wherein, the DC motor is connected to an electric screwdriver gear, the electric screwdriver gear is connected to an electric screwdriver bit, and the electric screwdriver gear is used to transmit the first kinetic energy to the electric screwdriver bit to control the rotation of the electric screwdriver bit and thus control the rotation of the mirror.
[0092] It can be understood that the content in the above method embodiments is applicable to the device embodiments of the present application. The functions specifically implemented by the device embodiments of the present application are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those in the above method embodiments.
[0093] An embodiment of the present application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the above-described mirror control method is implemented. The electronic device can be any intelligent terminal including a tablet computer, an in-vehicle computer, etc.
[0094] It can be understood that the content in the above method embodiments is applicable to this device embodiment. The functions specifically implemented by this device embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those in the above method embodiments.
[0095] Please refer to Figure 8 , Figure 8 which schematically shows the hardware structure of an electronic device according to another embodiment. The electronic device includes:
[0096] A processor 801, which can be implemented in a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solutions provided by the embodiments of the present application;
[0097] A memory 802, which can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM), etc. The memory 802 can store an operating system and other application programs. When implementing the technical solutions provided by the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 802 and are called by the processor 801 to execute the mirror control method of the embodiments of the present application;
[0098] An input / output interface 803, which is used to implement information input and output;
[0099] A communication interface 804, which is used to implement communication interaction between this device and other devices, and can implement communication through a wired method (such as USB, network cable, etc.) or through a wireless method (such as a mobile network, WIFI, Bluetooth, etc.);
[0100] A bus 805, which transmits information between various components of the device (such as the processor 801, the memory 802, the input / output interface 803, and the communication interface 804);
[0101] Among them, the processor 801, the memory 802, the input / output interface 803, and the communication interface 804 are communicatively connected to each other inside the device through the bus 805.
[0102] An embodiment of the present application also provides a computer-readable storage medium storing a computer program, which when executed by a processor implements the above-described mirror control method.
[0103] It can be understood that the content in the above method embodiments is applicable to this storage medium embodiment. The functions specifically implemented by this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those in the above method embodiments.
[0104] As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory can include high-speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory optionally includes a memory remotely disposed relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above networks include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.
[0105] The mirror control method, mirror control device, electronic device, and storage medium provided by the embodiments of the present application generate a first pulse signal according to preset working parameters, and then control the rotation of a DC motor according to the first pulse signal, so that after the DC motor generates a first kinetic energy, the mirror is controlled to rotate according to the first kinetic energy. By controlling the rotation of the motor according to the preset working parameters and then according to the kinetic energy generated by the motor, the embodiments of the present application realize the automated and intelligent control of the mirror, improve the positioning accuracy and motion stability of the mirror, and effectively solve the problem of low control accuracy caused by manual control of the mirror in the prior art.
[0106] Secondly, by using the method of converting the kinetic energy of the motor to drive the mirror, compared with the traditional mechanical transmission method, it can reduce mechanical wear and backlash and other phenomena. At the same time, the kinetic energy transfer between the motor and the mirror is more stable, reducing the jitter and vibration of the system during movement and improving the overall stability of the system.
[0107] Furthermore, the rapid generation and transmission of the pulse signal enable the motor to quickly respond to changes in the preset working parameters, and then quickly drive the mirror to rotate. This rapid response ability is very important for application scenarios that require real-time adjustment of the mirror position, such as laser tracking, optical imaging, etc., and can effectively improve the real-time performance and dynamic performance of the system.
[0108] Furthermore, through the control program in the electronic device and storage medium, the automatic control of the mirror is realized. The operator only needs to set the preset working parameters, and the system can automatically complete the control task of the mirror, reducing the complexity and labor intensity of manual operation and improving work efficiency.
[0109] Finally, the preset working parameters can be flexibly adjusted according to the requirements of actual applications, and can adapt to different working environments and task requirements. For example, under different lighting conditions, changes in mirror load or accumulation of system errors, precise control of the mirror can still be achieved by adjusting the preset parameters.
[0110] The embodiments described in the embodiments of this application are for more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation to the technical solutions provided by the embodiments of this application. Those skilled in the art know that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are equally applicable to similar technical problems.
[0111] Those skilled in the art can understand that the technical solutions shown in the figures do not constitute a limitation to the embodiments of this application, and may include more or fewer steps than those shown, or combine certain steps, or different steps.
[0112] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0113] Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices can be implemented as software, firmware, hardware and their appropriate combinations.
[0114] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of this application and the above drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances, so that the embodiments of this application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0115] It should be understood that in this application, "at least one (item)" means one or more, and "a plurality" means two or more. "And / or" is used to describe the association relationship of associated objects and indicates that three relationships can exist. For example, "A and / or B" can represent: only A exists, only B exists, and both A and B exist simultaneously. Here, A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item) of the following" or its similar expressions refer to any combination of these items, including any combination of single items (items) or plural items (items). For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0116] In several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the above division of units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of devices or units can be in electrical, mechanical, or other forms.
[0117] The units described above as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0118] In addition, each functional unit in various embodiments of this application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0119] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes: various media that can store programs, such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.
[0120] The preferred embodiments of the embodiments of this application have been described above with reference to the accompanying drawings, which does not limit the scope of the rights of the embodiments of this application. Any modifications, equivalent replacements, and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of this application shall be within the scope of the rights of the embodiments of this application.
Claims
1. A reflector control method, characterized in that: The method comprises: Generate a first pulse signal according to preset working parameters; According to the first pulse signal, the DC motor is controlled to rotate, so that after the DC motor generates a first kinetic energy, the reflector is controlled to rotate according to the first kinetic energy; Wherein, the DC motor is connected to the electric screwdriver gear, the electric screwdriver gear is connected to the electric screwdriver bit, and the electric screwdriver gear is used to transfer the first kinetic energy to the electric screwdriver bit to control the rotation of the electric screwdriver bit and then control the rotation of the reflector.
2. The reflector control method according to claim 1, characterized in that: The step of controlling the reflection mirror to rotate according to the first kinetic energy comprises: The first kinetic energy is transmitted step by step to the electric screwdriver bit through the electric screwdriver gear, so that the electric screwdriver bit outputs the first kinetic energy to the reflector to control the tightening or loosening of the reflector.
3. The reflector control method according to claim 1, characterized in that: The step of generating a first pulse signal according to preset working parameters comprises: Get the start signal; Acquiring the preset working parameters according to the start signal; The first pulse signal is generated according to the preset working parameters.
4. The reflector control method according to claim 1, characterized in that: After generating the first pulse signal according to the preset working parameters, the method further includes: Calculate the first duration; When the first duration is greater than a preset time threshold, stopping generating the first pulse signal; The DC motor is controlled to stop rotating.
5. The reflector control method according to claim 1, characterized in that: Also includes: Acquiring a first current of the DC motor; When the first current is greater than a preset current threshold, the DC motor is controlled to stop rotating.
6. The reflector control method according to claim 1, characterized in that: Also includes: Obtain the power supply voltage of the DC regulated switching power supply; When the power supply voltage is less than a preset voltage threshold, the DC regulated switching power supply is turned off.
7. The reflector control method according to claim 1, characterized in that: The preset working parameters include: Preset direction, preset speed and running time.
8. A reflector control device, characterized in that: The device comprises: A pulse generating module, used for generating a first pulse signal according to preset working parameters; A control module, configured to control the DC motor to rotate according to the first pulse signal, so that after the DC motor generates a first kinetic energy, the reflector is controlled to rotate according to the first kinetic energy; Wherein, the DC motor is connected to the electric screwdriver gear, the electric screwdriver gear is connected to the electric screwdriver bit, and the electric screwdriver gear is used to transfer the first kinetic energy to the electric screwdriver bit to control the rotation of the electric screwdriver bit and then control the rotation of the reflector.
9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the reflector control method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the reflector control method according to any one of claims 1 to 7 is implemented.