Knob remote control method, device, equipment and computer storage medium

Through the collaborative work of the host computer and the microcontroller, the driver controls the motor to rotate and drive the coupling and knob, realizing remote control of knob-type devices. This solves the problem of difficult remote control of knob-type devices, improves the user experience and the safety of the control process.

CN115933760BActive Publication Date: 2025-11-25TSINGHUA UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211702726.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-29
Publication Date
2025-11-25
Estimated Expiration
2042-12-29

AI Technical Summary

Technical Problem

Existing technologies make it difficult to achieve remote control of knob-type devices, especially in large-scale circuit experiments where external circuit components such as adjustable resistors, capacitors, and inductors are connected, resulting in a poor user experience.

Method used

The current and target positions of the knob are obtained by the host computer. The microcontroller sends pulse signals and direction signals to the driver. The driver controls the motor to rotate, and the coupling drives the knob to rotate from the current position to the target position, thus realizing remote control of the knob.

Benefits of technology

It improves the remote control effect of knob-type devices, enhances the user experience, and enables simultaneous control of multiple knobs while ensuring the safety and stability of the control process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115933760B_ABST
    Figure CN115933760B_ABST
Patent Text Reader

Abstract

The application discloses a knob remote control method and device, equipment and computer storage medium. The method comprises the following steps: an upper computer acquires a current position and a target position of a knob gear, and sends the current position and the target position of the knob to a single-chip microcomputer; the single-chip microcomputer sends a pulse signal and a steering signal to a driver based on the current position and the target position of the knob, the pulse signal comprising a rotation angle and a speed of the knob rotating to the target position, and the steering signal comprising rotation direction information of the knob rotating to the target position; and the driver controls a motor to rotate according to the pulse signal and the steering signal, so that the motor drives a shaft coupling connected with the motor and the knob to rotate when the motor rotates, and the knob rotates from the current position to the target position. Thus, the remote control of the knob device is realized, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the field of remote control, and particularly relates to a knob remote control method, device, equipment and computer storage medium. BACKGROUND

[0002] Remote experiment is an important part of remote education, especially for science and engineering majors, experimental courses are a necessary supplement and practice for theoretical learning. However, due to various reasons, students may face the problem of being unable to complete the experiment offline in the laboratory, which greatly increases the demand for remote experiments.

[0003] At present, the mode of computer remote communication and local physical device mechanical regulation and control has become a more feasible way of remote experiment control, but part of the large circuit experiment outside the specific experiment box may need to be connected with part of the circuit elements, such as adjustable resistance, capacitance and inductance. This part is usually a knob type element, and further control method needs to be designed to realize the remote control of the knob type device and improve the user experience. SUMMARY

[0004] The embodiments of the present application provide a knob remote control method, device, equipment and computer storage medium, which realizes the remote control of the knob type device and improves the user experience.

[0005] In a first aspect, the embodiments of the present application provide a knob remote control method, which comprises:

[0006] The host computer obtains the current position and target position of the knob gear position, and sends the current position and target position of the knob to the single-chip microcomputer;

[0007] The single-chip microcomputer sends a pulse signal and a steering signal to the driver based on the current position and target position of the knob, the pulse signal comprising a rotation angle and a speed of the knob rotating to the target position, and the steering signal comprising rotation direction information of the knob rotating to the target position;

[0008] The driver controls the motor to rotate according to the rotation angle, speed and rotation direction information according to the pulse signal and steering signal, so that when the motor rotates, the rotation of the shaft coupling connected with the motor and the knob is driven, and the knob rotates from the current position to the target position.

[0009] In one possible implementation, the method further comprises:

[0010] The host computer obtains the information input by the user;

[0011] The host computer sends the information to the single-chip microcomputer, so that the single-chip microcomputer sends an enable signal to the driver, and the enable signal comprises the information;

[0012] The driver controls the motor to rotate according to the rotation angle, speed and rotation direction information according to the pulse signal and the rotation signal, including:

[0013] In the case that the information in the enable signal is the first target value, the driver controls the motor to rotate according to the rotation angle, speed and rotation direction information according to the pulse signal and the rotation signal.

[0014] In one possible implementation, after the driver controls the motor to rotate according to the rotation angle, speed and rotation direction information according to the pulse signal and the rotation signal, the method further includes:

[0015] The single-chip microcomputer sends a first signal to the upper computer, and the first signal includes a knob position adjustment completion signal.

[0016] In one possible implementation, after the upper computer obtains the current position and the target position of the knob gear, the method further includes:

[0017] The upper computer displays state information of the knob, and the state information includes one of waiting to rotate, rotating, and rotating ending, and the current position of the knob.

[0018] In one possible implementation, the knob includes a knob on at least one device of a resistance box, an inductance box and a capacitance box.

[0019] In one possible implementation, the rotation angle is not greater than 180 degrees.

[0020] In a second aspect, the embodiments of the present application provide a knob remote control device, which includes:

[0021] The acquisition module is configured to acquire, by the upper computer, the current position and the target position of the knob gear, and send the current position and the target position of the knob to the single-chip microcomputer;

[0022] The sending module is configured to send, by the single-chip microcomputer, a pulse signal and a rotation signal to the driver based on the current position and the target position of the knob, the pulse signal including a rotation angle and a speed of the knob rotating to the target position, and the rotation signal including rotation direction information of the knob rotating to the target position;

[0023] The control module is configured to control, by the driver, the motor to rotate according to the rotation angle, speed and rotation direction information according to the pulse signal and the rotation signal, so that when the motor rotates, the rotation of the shaft coupling connected with the motor and the knob is driven, and the knob rotates from the current position to the target position.

[0024] In one possible implementation, the method further includes:

[0025] The acquisition module is further configured to acquire, by the upper computer, information input by a user;

[0026] The sending module is further configured to send information from the host computer to the single-chip microcomputer, so that the single-chip microcomputer sends an enabling signal to the driver, and the enabling signal comprises the information.

[0027] The control module is specifically configured to:

[0028] In a case where the information in the enabling signal is a first target value, the driver controls the motor to rotate according to the rotation angle, speed and rotation direction information according to the pulse signal and the rotation signal.

[0029] In a third aspect, an embodiment of the present application provides a knob remote control device, the device comprising:

[0030] a processor and a memory storing computer program instructions;

[0031] The processor executes the computer program instructions to implement the knob remote control method of any one of the above.

[0032] In a fourth aspect, an embodiment of the present application provides a computer storage medium, and the computer readable storage medium stores computer program instructions, and the computer program instructions are executed by a processor to implement the knob remote control method of any one of the above.

[0033] In a fifth aspect, an embodiment of the present application provides a computer program product, and instructions in the computer program product are executed by a processor of an electronic device to enable the electronic device to perform the knob remote control method of any one of the above.

[0034] The knob remote control method, device, equipment and computer storage medium of the embodiment of the present application, the host computer obtains the current position and the target position of the knob, and sends the current position and the target position of the knob to the single-chip microcomputer, based on the current position and the target position of the knob, the single-chip microcomputer sends a pulse signal and a rotation signal to the driver, the driver controls the angle, speed and direction of the motor rotation through the pulse signal and the rotation signal, based on the angle, speed and direction of the motor rotation, the motor and the coupling are used to drive the knob to rotate from the current position to the target position, wherein the single-chip microcomputer is connected with the driver, the driver is used to drive the motor to rotate, the motor is connected with one end of the coupling, and the other end of the coupling is connected with the knob. Thus, the remote control of the knob device is realized, and the user experience is improved. BRIEF DESCRIPTION OF DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments of the present application. For those skilled in the art, without paying creative labor, other drawings can also be obtained according to these drawings.

[0036] Figure 1 is a flowchart of a knob remote control method provided by an embodiment of the present application;

[0037] Figure 2 is a connection diagram of a motor, a coupling and a knob involved in another embodiment of the present application;

[0038] Figure 3 is an interaction interface of a host computer of an example of a knob remote control method involved in yet another embodiment of the present application;

[0039] Figure 4 is a structural diagram of a knob remote control device provided by still another embodiment of the present application;

[0040] Figure 5 is a structural diagram of a knob remote control device provided by still another embodiment of the present application. DETAILED DESCRIPTION

[0041] The features and exemplary embodiments of the various aspects of the present application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are intended to explain the principles of the present application and are not intended to limit the present application. The present application can be implemented without some of the specific details described below. The following description of the embodiments is merely provided to give a better understanding of the present application by showing examples of the present application.

[0042] It should be noted that, in the present document, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or device. Without more limitations, the elements defined by the statement "include" do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0043] Remote experiment is an important part of distance education, especially for science and engineering majors, experimental courses are necessary supplement and practice for theoretical learning. However, due to various reasons, students may face the problem of being unable to complete the experiment offline in the laboratory, which greatly increases the demand for remote experiment.

[0044] Currently, the computer remote communication and the local physical device mechanical regulation mode become a more feasible way of remote experiment control. However, some large circuit experiments outside the specific experiment box may need to be connected with some circuit elements such as adjustable resistors, capacitors and inductors. These parts are usually knob type elements, and further control method needs to be designed to realize the remote control of the knob type device and improve the user experience.

[0045] To solve the problems in the prior art, the embodiments of the present application provide a knob remote control method, device, equipment and computer storage medium. First, the knob remote control method provided by the embodiments of the present application is introduced.

[0046] Figure 1 The flowchart of the knob remote control method provided by an embodiment of the present application is shown.

[0047] As shown in Figure 1 The knob remote control method provided by the embodiments of the present application includes the following steps.

[0048] In S110, the host computer obtains the current position and the target position of the knob gear and sends the current position and the target position of the knob to the single-chip microcomputer.

[0049] Here, the host computer can be but is not limited to a user's personal computer. The host computer receives the target position input by the user. The host computer can obtain the current position of the knob gear through the single-chip microcomputer. The host computer obtains the current position and the target position of the knob gear and sends the current position and the target position of the knob to the single-chip microcomputer.

[0050] In some embodiments, an input window for setting the target position of the knob is displayed on the interactive interface of the host computer. The user clicks the input window to display a drop-down list of target positions. The drop-down list includes a plurality of target positions for the user to select. The user clicks the target position needed, and the target position is input to the input window.

[0051] In some embodiments, the host computer receives the click operation of the user on the sending data button on the interactive interface of the host computer and sends the current position and the target position of the knob to the single-chip microcomputer.

[0052] In some embodiments, the host computer receives the debugging instruction of the user and debugs whether the host computer and the single-chip microcomputer are in a normal communication state based on the debugging instruction. In the case that the host computer and the single-chip microcomputer are in a normal communication state, the host computer obtains the current position and the target position of the knob gear and sends the current position and the target position of the knob to the single-chip microcomputer.

[0053] S120, the single-chip microcomputer sends a pulse signal and a steering signal to the driver based on the current position of the knob and the target position, the pulse signal including a rotation angle and a speed of the knob rotating to the target position, and the steering signal including rotation direction information of the knob rotating to the target position.

[0054] Here, the single-chip microcomputer adjusts the rotation angle and the speed of the motor by changing the length and the frequency of the pulse signal, the rotation angle and the speed of the motor being the same as the rotation angle and the speed of the knob, and the rotation direction of the motor being opposite to the rotation direction of the knob.

[0055] S130, the driver controls the motor to rotate according to the rotation angle, the speed, and the rotation direction information according to the pulse signal and the steering signal, so that when the motor rotates, the motor drives the rotation of the shaft coupling connected with the motor and the knob, and the knob rotates from the current position to the target position.

[0056] In some embodiments, the motor is connected to the driver in a one-to-one correspondence.

[0057] In some embodiments, the steering signal includes rotation direction information of the knob rotating to the target position, in the case that the rotation direction information is a second target value, the motor rotates clockwise, and at this time, the knob rotates counterclockwise, in the case that the rotation direction information is a third target value, the motor rotates counterclockwise, and at this time, the knob rotates clockwise.

[0058] As an example, in the case that the rotation direction information is 1, the motor rotates clockwise, and at this time, the knob rotates counterclockwise, in the case that the rotation direction information is 0, the motor rotates counterclockwise, and at this time, the knob rotates clockwise.

[0059] In some embodiments, the driver is configured to drive the motor to rotate, the motor is connected to one end of the shaft coupling, the other end of the shaft coupling is connected to the knob, and when the motor rotates, the motor drives the rotation of the shaft coupling connected with the motor and the knob, and the knob rotates from the current position to the target position.

[0060] As an example, Figure 2 A connection diagram of the motor, the shaft coupling, and the knob is shown in FIG. 1, as Figure 2 When the motor rotates, the motor drives the rotation of the shaft coupling connected with the motor and the knob, and the knob rotates from the current position to the target position.

[0061] In this way, the host computer obtains the current position and the target position of the knob, and sends the current position and the target position of the knob to the single-chip microcomputer. Based on the current position and the target position of the knob, the single-chip microcomputer sends a pulse signal and a steering signal to the driver. The driver controls the angle, speed and direction of rotation of the motor through the pulse signal and the steering signal. Based on the angle, speed and direction of rotation of the motor, the motor and the shaft are used to drive the knob to rotate from the current position to the target position. The single-chip microcomputer is connected with the driver, the driver is used to drive the motor to rotate, the motor is connected with one end of the shaft, and the other end of the shaft is connected with the knob. In this way, remote control of the knob device is realized, and user experience is improved.

[0062] Based on this, in some embodiments, the method can further include:

[0063] The host computer obtains the information input by the user;

[0064] The host computer sends the information to the single-chip microcomputer, so that the single-chip microcomputer sends an enable signal to the driver, and the enable signal includes the information.

[0065] The driver controls the motor to rotate according to the rotation angle, speed and direction information according to the pulse signal and the steering signal, including:

[0066] In the case where the information in the enable signal is the first target value, the driver controls the motor to rotate according to the rotation angle, speed and direction information according to the pulse signal and the steering signal.

[0067] In some embodiments, the user inputs information on the interactive interface of the host computer, the host computer obtains the information input by the user, and sends the information to the single-chip microcomputer, so that the single-chip microcomputer sends an enable signal to the driver, and the enable signal includes the information.

[0068] In some embodiments, in the case where the information in the enable signal is the first target value, the driver controls the motor to rotate according to the rotation angle, speed and direction information according to the pulse signal and the steering signal, and in the case where the information in the enable signal is the fourth target value, the driver cannot control the motor to rotate according to the rotation angle, speed and direction information according to the pulse signal and the steering signal. In this case, the shaft can be manually rotated.

[0069] As an example, in the case where the information in the enable signal is 1, the driver controls the motor to rotate according to the rotation angle, speed and direction information according to the pulse signal and the steering signal, and in the case where the information in the enable signal is 0, the driver cannot control the motor to rotate according to the rotation angle, speed and direction information according to the pulse signal and the steering signal. In this case, the shaft can be manually rotated.

[0070] In this way, the motor is more stable in rotation by setting the enable signal.

[0071] Based on this, in some embodiments, after S130, the method can further include:

[0072] The single-chip microcomputer sends a first signal to the upper computer, and the first signal includes a knob position adjustment completion signal.

[0073] In some embodiments, after the knob position is completely adjusted, the single-chip microcomputer feeds back a first signal to the upper computer, and the first signal includes a knob position adjustment completion signal.

[0074] In this way, the single-chip microcomputer sends a signal to the upper computer after the knob adjustment is completed, and the current position of the knob is changed.

[0075] Based on this, in some embodiments, after S110, the method can further include:

[0076] The upper computer displays state information of the knob, and the state information includes one of waiting to rotate, rotating, and rotation ending, and the current position of the knob.

[0077] In some embodiments, the state information of the knob that needs to be adjusted is displayed on the interactive interface of the upper computer, and the state information includes one of waiting to rotate, rotating, and rotation ending. Here, after the upper computer receives the first signal sent by the single-chip microcomputer, the state information displayed on the interactive interface of the upper computer is rotation ending, and the first signal includes a knob position adjustment completion signal.

[0078] In this way, the user can clearly understand the state information of the knob through the upper computer.

[0079] Based on this, in some embodiments, the knob includes a knob on at least one device of a resistance box, an inductance box, and a capacitance box.

[0080] In some embodiments, the target position can include a target position of at least one knob.

[0081] In some embodiments, in the case where there are multiple knobs that need to be adjusted, the multiple knobs can be rotated simultaneously, and the next knob can continue to rotate after the previous knob is rotated until all the knobs are completely rotated.

[0082] In this way, the user can adjust multiple knobs, and the order control of the multiple knobs can be realized, which is consistent with the actual adjustment process.

[0083] Based on this, in some embodiments, the rotation angle is not greater than 180 degrees.

[0084] In some embodiments, the knob includes a knob that can be rotated in one direction more than 360 degrees, as an example, in the case that the current position of the knob is θ1 and the target position is θ2, the rotation angle and rotation direction of the knob are as shown in Table 1.

[0085] Table 1

[0086] Condition: θ2 - θ1 Knob rotation direction Rotation angle [180°,360°] Counterclockwise 360° - (θ2 - θ1) [0°,180°] Clockwise [theta2 - theta1] [-180°,0°] Counterclockwise [theta1 - theta2] [-360°,-180°] Clockwise 360° - (θ1 - θ2)

[0087] In some embodiments, the knob includes a knob that can be rotated in one direction more than 360 degrees, as an example, in the case that the current position of the knob is θ1 and the target position is θ2, the rotation angle and rotation direction of the knob are as shown in Table 2.

[0088] Table 2

[0089]

[0090]

[0091] In this way, for the knob that can be rotated in one direction more than 360 degrees, it is ensured that the rotation angle of a single knob does not exceed 180 degrees, the mechanical rotation time is shortened, and the realization of remote experiment is more conducive. For the knob that cannot be rotated in one direction more than 360 degrees, the maximum rotation angle of the knob is controlled to ensure that the knob is not damaged, and safety problems such as damage of the knob or occurrence of motor stall failure caused by unreasonable control instructions are avoided, and the safety of the control process is ensured.

[0092] As an example, the interactive interface of the upper computer is as shown in Figure 3 The serial port is configured to debug whether the upper computer and the single-chip microcomputer are in a normal communication state. When the upper computer and the single-chip microcomputer are in a normal communication state, the upper computer obtains the current position and the target position of the knob, and sends the current position and the target position of the knob to the single-chip microcomputer. The user can input the target positions of the knobs in multiple devices through numerical setting. The upper computer receives the clicking operation of the user on the sending data button on the interactive interface, and sends the current position and the target position of the knob to the single-chip microcomputer. The state information of the knob is displayed in the data receiving area. When there is too much state information or the user does not need the state information in the data receiving area, the upper computer receives the clicking operation of the user on the clear receiving button on the interactive interface, and clears the state information.

[0093] In the embodiments provided in the present application, the mechanical connection of the motor driving the rotation of the knob is realized through the shaft coupling, the motor control strategy realizes the minimum time (or minimum rotation angle) control for the two types of knobs, and at the same time, the sequential control of multiple knobs can be realized, which is consistent with the actual adjustment process, and realizes the remote control process from the upper computer to the mechanical rotation of the knob.

[0094] In the embodiments provided in the application, the mechanical rotation of the knob for motor control is realized, and the maximum rotation time can be controlled to about 1s, which is close to the time of manually rotating the knob, and has better reality. Moreover, the upgrading and modification for more knob type element control can be faced, and the device can be flexibly installed and disassembled, and the fault maintenance and modification are more convenient.

[0095] Based on the knob remote control method provided in the above embodiments, the application also provides a specific implementation of the knob remote control device. Please refer to the following embodiments.

[0096] Firstly, referring to Figure 4 The knob remote control device 400 provided in the embodiments of the application comprises:

[0097] The acquisition module 410 is configured to acquire the current position and the target position of the knob gear by the upper computer, and send the current position and the target position of the knob to the single-chip microcomputer.

[0098] The sending module 420 is configured to send the pulse signal and the rotation signal to the driver based on the current position and the target position of the knob by the single-chip microcomputer, wherein the pulse signal comprises the rotation angle and the speed of the knob rotating to the target position, and the rotation signal comprises the rotation direction information of the knob rotating to the target position.

[0099] The control module 430 is configured to control the motor to rotate according to the rotation angle, the speed and the rotation direction information according to the pulse signal and the rotation signal by the driver, so that the motor drives the rotation of the shaft coupling connected with the motor and the knob when the motor rotates, and the knob rotates from the current position to the target position.

[0100] Based on this, in some embodiments, the device 400 can further comprise:

[0101] The acquisition module 410 is further configured to acquire the information input by the user by the upper computer.

[0102] The sending module 420 is further configured to send the information to the single-chip microcomputer by the upper computer, so as to send the enable signal to the driver by the single-chip microcomputer, and the enable signal comprises the information.

[0103] The control module 430 is specifically configured to:

[0104] In the case that the information in the enable signal is the first target value, the motor is controlled to rotate according to the rotation angle, the speed and the rotation direction information according to the pulse signal and the rotation signal by the driver.

[0105] Based on this, in some embodiments, the device 400 can further comprise:

[0106] The sending module 420 is further configured to send a first signal to the upper computer after the driver controls the motor to rotate according to the pulse signal and the rotation signal, the first signal including a knob position adjustment completion signal.

[0107] Based on this, in some embodiments, the device 400 can further include:

[0108] The display module is configured to display the state information of the knob by the upper computer after the upper computer acquires the current position and the target position of the knob gear, the state information including one of waiting to rotate, rotating, and rotating ending, and the current position of the knob.

[0109] Based on this, in some embodiments, the knob includes a knob on at least one device of a resistance box, an inductance box, and a capacitance box.

[0110] Based on this, in some embodiments, the rotation angle is not greater than 180 degrees.

[0111] The various modules of the knob remote control device provided by the embodiments of the present application can achieve Figure 1 The functions of the various steps of the knob remote control method are provided, and the corresponding technical effects can be achieved. For brevity, the details are not repeated here.

[0112] Based on the same inventive concept, the embodiments of the present application further provide an electronic device.

[0113] Figure 5 A hardware structure schematic diagram of the knob remote control device provided by the embodiments of the present application is shown.

[0114] The knob remote control device can include a processor 501 and a memory 502 storing computer program instructions.

[0115] Specifically, the processor 501 can include a central processing unit (CPU), or a specific integrated circuit (ASIC), or can be configured to implement one or more integrated circuits of the embodiments of the present application.

[0116] The memory 502 can include mass storage for data or instructions. As an example and not by way of limitation, the memory 502 can include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disc (e.g., a compact disc (CD) or a digital versatile disc (DVD)), a solid-state drive (SSD), a USB drive, or a combination of two or more of these. Where appropriate, the memory 502 can include removable or non-removable (or fixed) media. Where appropriate, the memory 502 can be internal or external to the integrated gateway disaster recovery appliance. In particular embodiments, the memory 502 is non-volatile, solid-state memory.

[0117] The memory can include read-only memory (ROM), random access memory (RAM), magnetic disk storage mediums, optical storage mediums, flash memory devices, electrical, optical, or other physical / tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software that, when executed (by one or more processors), is operable to

[0118] The processor 501 implements any one of the knob remote control methods in the above embodiments by reading and executing computer program instructions stored in the memory 502.

[0119] In one example, the knob remote control device can further include a communication interface 503 and a bus 510. Wherein, as shown in the figure, the processor 501, the memory 502, the communication interface 503 are connected through the bus 510 and complete the communication between each other. Figure 5

[0120] The communication interface 503 is mainly used to realize the communication between each module, device, unit and / or equipment in the embodiments of the application.

[0121] ​Bus 510 includes a hardware, software, or both that couples components of the knob remote control device to each other. As an example and not by way of limitation, the bus can include an accelerated graphics port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand (IB) interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association local (VESA) bus, or another suitable bus or a combination of two or more of these. Where suitable, bus 510 can include one or more buses. Although this embodiment describes and shows a particular bus, this application contemplates any suitable bus or interconnect. The electronic device can perform the knob remote control method in the embodiments of the application, thereby achieving Figure 1 the described knob remote control method.

[0122] In addition, in combination with the knob remote control method in the above embodiments, the embodiments of the application can provide a computer storage medium to implement. The computer storage medium has computer program instructions stored thereon; the computer program instructions are executed by a processor to implement any one of the knob remote control methods in the above embodiments.

[0123] The application also provides a computer program product, instructions in the computer program product are executed by a processor of an electronic device, so that the electronic device performs each process of implementing any one of the knob remote control method embodiments.

[0124] It is to be understood that the application is not limited to the particular configurations and processes described hereinabove and shown in the figures. For the sake of brevity, detailed descriptions of known methods and processes are omitted. In the above embodiments, several specific steps are described and illustrated as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and various changes, modifications and additions can be made thereto by one skilled in the art without departing from the spirit of the present application, and the order of the steps can be changed.

[0125] The functional blocks shown in the above described block diagrams can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, and the like. When implemented in software, the elements of the present application are program or code segments that are used to perform the required tasks. The program or code segments can be stored in a machine-readable medium or transmitted through a data signal carried in a carrier wave over a transmission medium or communication link. A "machine-readable medium" includes any medium that can store or transport information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (ROM), flash memory, erasable read-only memory (EROM), floppy disks, compact discs (CD-ROM), optical disks, hard disks, fiber-optic media, radio frequency (RF) links, and the like. The code segments can be downloaded via computer networks such as the Internet, intranets, and the like.

[0126] It is also to be understood that the example embodiments described in the present application are based on a series of steps or devices to describe some methods or systems. However, the present application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in an order different from the embodiments, or several steps can be performed simultaneously.

[0127] The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other processing device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other processing device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0128] The above is merely specific implementation of the present application, and those skilled in the art can clearly understand the specific working process of the system, module and unit described above for the convenience and brevity of description, which can refer to the corresponding process in the foregoing method embodiments, and will not be described herein. It should be understood that the protection scope of the present application is not limited to this, and any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed in the present application, and these modifications or replacements should be covered within the protection scope of the present application.

Claims

1. A knob remote control method characterized by, The method comprises: a plurality of input windows for displaying target position of a setting knob on an interactive interface of a host computer, for a user to click a drop-down list of the input window to display target positions, the drop-down list comprising a plurality of target positions for user selection; the host computer receiving user input of a desired target position from the plurality of target positions, and in response to the input, inputting the desired target position into the input window; configuring and debugging whether the host computer and the single-chip microcomputer are in normal communication state through a serial port of the interactive interface, and in the case that the host computer and the single-chip microcomputer are in normal communication state, the host computer acquiring a current position and a target position of a knob gear; the host computer displaying state information of the knob, the state information comprising one of waiting to rotate, rotating, and rotating ending, and the current position of the knob; receiving user click operation on a send data button on the interactive interface of the host computer, and sending the current position and the target position of the knob to the single-chip microcomputer, the knob comprising a knob on at least one device of a resistance box, an inductance box, and a capacitance box; the single-chip microcomputer sending a pulse signal and a steering signal to a driver based on the current position and the target position of the knob, the pulse signal comprising a rotation angle and a speed of the knob rotating to the target position, and the steering signal comprising rotation direction information of the knob rotating to the target position, the rotation angle being not greater than 180 degrees; the driver controlling a motor to rotate according to the pulse signal and the steering signal according to the rotation angle, the speed, and the rotation direction information, so that when the motor rotates, a shaft coupling connected with the motor and the knob rotates, and the knob rotates from the current position to the target position; the method further comprises: the host computer acquiring information input by a user; the host computer sending the information to the single-chip microcomputer, so that the single-chip microcomputer sends an enable signal to the driver, the enable signal comprising the information; the driver controlling the motor to rotate according to the pulse signal and the steering signal according to the rotation angle, the speed, and the rotation direction information, comprising: in the case that the information in the enable signal is a first target value, the driver controls the motor to rotate according to the pulse signal and the steering signal according to the rotation angle, the speed, and the rotation direction information; 2. The knob remote control method according to claim 1, wherein wherein, in the case that the knob comprises a plurality of knobs, the knobs are rotated in sequence, after the rotation of a previous knob is completed, a next knob continues to rotate until all the knobs are completely rotated. after the driver controls the motor to rotate according to the pulse signal and the steering signal according to the rotation angle, the speed, and the rotation direction information, the method further comprises:

3. A knob remote control device characterized by, the single-chip microcomputer sending a first signal to the host computer, the first signal comprising a knob position adjustment completion signal. the device comprises: The acquisition module is configured to acquire the current position and the target position of the knob by the host computer, and receive a click operation of a user on a sending data button on an interactive interface of the host computer, and send the current position and the target position of the knob to the single-chip microcomputer, wherein the knob comprises a knob on at least one device of a resistance box, an inductance box and a capacitance box. The sending module is configured to send a pulse signal and a steering signal to the driver based on the current position and the target position of the knob, wherein the pulse signal comprises a rotation angle and a speed of the knob rotating to the target position, and the steering signal comprises rotation direction information of the knob rotating to the target position, and the rotation angle is not greater than 180 degrees. The control module is configured to control the motor to rotate according to the rotation angle, the speed and the rotation direction information according to the pulse signal and the steering signal, so that the motor rotates to drive the rotation of a shaft coupling connected with the motor and the knob, and the knob rotates from the current position to the target position. The device further comprises: The acquisition module is further configured to acquire information input by a user by the host computer. The sending module is further configured to send the information to the single-chip microcomputer by the host computer, so as to send an enable signal to the driver by the single-chip microcomputer, wherein the enable signal comprises the information. The control module is specifically configured to: In a case where the information in the enable signal is a first target value, the driver controls the motor to rotate according to the rotation angle, the speed and the rotation direction information according to the pulse signal and the steering signal. The display module is configured to display state information of the knob by the host computer after the host computer acquires the current position and the target position of the knob, wherein the state information comprises one of waiting to rotate, rotating and rotating completion, and the current position of the knob. In a case where the knob comprises a plurality of knobs, the knobs are sequentially rotated, the next knob continues to rotate after the rotation of the previous knob is completed, and all the knobs are completely rotated; a plurality of input windows for setting target positions of the knobs are displayed on the interactive interface of the host computer, so as to display a drop-down list of target positions by the user clicking the input window, wherein the drop-down list comprises a plurality of target positions for the user to select; the host computer receives a click input of a required target position of the plurality of target positions by the user, and inputs the required target position into the input window in response to the click input; whether the host computer and the single-chip microcomputer are in a normal communication state is configured and debugged through a serial port of the interactive interface, and the host computer acquires the current position and the target position of the knob in a case where the host computer and the single-chip microcomputer are in the normal communication state.

4. A knob remote control device characterized by comprising: The device comprises a processor and a memory storing computer program instructions; The processor executes the computer program instructions to implement the knob remote control method in any one of claims 1-2.

5. A computer readable storage medium, characterized in that, The computer readable storage medium stores computer program instructions, and the computer program instructions are executed by the processor to implement the knob remote control method in any one of claims 1-2.

Citation Information

Patent Citations

  • Remote intelligent teaching system of newton ring interference experiment

    CN108335598A

  • Intelligent gas stove inserting piece and control method thereof

    CN108361750A