Handheld operating devices and machine tools
By introducing a touch serial port screen, rotary encoder, and accelerometer into the handheld operating device, intelligent control and low energy consumption are achieved, solving the functional limitations and energy consumption problems of traditional handheld operating devices, and providing intuitive interaction and efficient operation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- GENERAL TECH GRP MASCH TOOL ENG RES INST CO LTD
- Filing Date
- 2025-06-16
- Publication Date
- 2026-06-30
AI Technical Summary
Traditional handheld devices lack intelligent and expandable functions, and the screen remains on when not in use, resulting in excessive energy consumption.
Employing a touch-screen serial port, rotary encoder, and accelerometer, the main control module detects user operations and automatically turns off the screen when no one is using it. Combined with a modular structure and communication protocol, it achieves intelligent control and low energy consumption.
It provides an intuitive user interface, improves ease of operation and accuracy, reduces energy consumption when not in use, extends equipment life, and supports continuous adjustment and modular expansion.
Smart Images

Figure CN224424904U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of industrial control equipment technology, and in particular to a handheld operating device and a machine tool. Background Technology
[0002] In the field of industrial control, handheld operating devices are widely used as important input devices in various industrial control scenarios such as CNC machine tools, robot operation, and precision instruments.
[0003] Traditional handheld operating devices have certain limitations in terms of functionality and interactive experience. They are usually limited to axis selection and magnification adjustment, such as selecting the X, Y, or Z axis through a knob, or adjusting the magnification to 1x, 10x, or 100x through buttons. They lack support for more intelligent and expandable functions. At the same time, the information that can be displayed on the ordinary LED or LCD screens of traditional handheld operating devices is limited, and the screen remains on all the time when no one is using it, resulting in excessive power consumption of handheld operating devices. Utility Model Content
[0004] To address the shortcomings of the existing technology, this utility model provides a handheld operating device and machine tool, which solves the technical problems of traditional handheld operating devices lacking intelligent and expandable functions, and the excessive energy consumption of keeping the screen on when not in use.
[0005] This utility model provides a handheld operating device, including a main control module and a handwheel control module. The handwheel control module includes a touch serial port screen, a rotary encoder, an accelerometer, and a mechanical operating knob. The main control module is connected to the CNC system to be controlled.
[0006] The main control module is connected to the touch serial port screen, the rotary encoder and the accelerometer respectively;
[0007] The touch serial port screen is used to receive control commands input by the user and to display the working status information of the CNC system to be controlled;
[0008] The rotary encoder is used to detect the user's actions on the handheld operating device and convert them into control signals;
[0009] The accelerometer is used to detect the usage status of the handheld operating device and generate motion detection signals;
[0010] The main control module is used to generate drive signals according to the control instructions and the control signals, so as to control the operation of the CNC system to be controlled;
[0011] When the main control module determines that the handheld operating device is in a non-working state based on the motion detection signal, the main control module controls the touch serial port screen to turn off and puts the handheld operating device into standby mode.
[0012] Optionally, the main control module includes a signal output circuit and a signal isolation transmission circuit; the rotary encoder is connected to the PLC control unit in the CNC system to be controlled in sequence through the signal output circuit and the signal isolation transmission circuit; the rotary encoder responds to the operation action performed by the user on the handheld operating device, outputs two square wave pulse signals with a phase difference, and the square wave pulse signals are conditioned by the signal output circuit and isolated by the signal isolation transmission circuit in sequence, and then transmitted to the PLC control unit as the control signal.
[0013] Optionally, the signal output circuit includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first capacitor, a second capacitor, a first output terminal, a second output terminal, and an external power supply; the A-phase output terminal of the rotary encoder is connected to the first output terminal through the third resistor, the external power supply is connected to the A-phase output terminal through the first resistor, the first end of the first capacitor is connected to the first output terminal, the second end of the first capacitor is connected to the ground terminal, and the first output terminal is connected to the signal isolation transmission circuit; the B-phase output terminal of the rotary encoder is connected to the second output terminal through the fourth resistor, the external power supply is connected to the B-phase output terminal through the second resistor, the first end of the second capacitor is connected to the second output terminal, the second end of the second capacitor is connected to the ground terminal, and the second output terminal is connected to the signal isolation transmission circuit; the C-phase output terminal of the rotary encoder is connected to the ground terminal.
[0014] Optionally, the signal isolation transmission circuit includes a first isolation transmission circuit; the first isolation transmission circuit includes a first optocoupler, a fifth resistor, a sixth resistor, a first LED indicator, an external power supply, a first operating power supply, and a second operating power supply; the external power supply is connected to the anode of the light-emitting diode in the first optocoupler through the first LED indicator, the first output terminal is connected to the cathode of the light-emitting diode in the first optocoupler through the fifth resistor, the first operating power supply is connected to the collector of the phototransistor in the first optocoupler, the emitter of the phototransistor in the first optocoupler is connected to the input terminal of the PLC control unit, and the second operating power supply is connected to the input terminal of the PLC control unit through the sixth resistor.
[0015] Optionally, the signal isolation transmission circuit includes a second isolation transmission circuit; the second isolation transmission circuit includes a second optocoupler, a seventh resistor, an eighth resistor, a second LED indicator, an external power supply, a first operating power supply, and a second operating power supply; the external power supply is connected to the anode of the light-emitting diode in the second optocoupler through the second LED indicator, the second output terminal is connected to the cathode of the light-emitting diode in the second optocoupler through the seventh resistor, the first operating power supply is connected to the collector of the phototransistor in the second optocoupler, the emitter of the phototransistor in the second optocoupler is connected to the input terminal of the PLC control unit, and the second operating power supply is connected to the input terminal of the PLC control unit through the eighth resistor.
[0016] Optionally, the rotary encoder is connected to the main control module via two signal lines.
[0017] Optionally, the main control module includes a processor, and the interrupt output pin of the accelerometer is connected to the signal transmission pin of the processor. When the handheld operating device is in motion, the accelerometer sends the motion detection signal to the processor, causing the processor to control the touch serial port screen to turn on. When the handheld operating device is stationary for a preset time, and the processor does not detect the motion detection signal sent by the accelerometer within the preset time, the processor controls the touch serial port screen to turn off and puts the handheld operating device into standby mode.
[0018] Optionally, the handwheel control module further includes a voice broadcast unit, which is connected to the main control module; the voice broadcast module obtains the control instruction information corresponding to the control instruction through the main control module and broadcasts the control instruction information via voice.
[0019] Optionally, the handheld operating device communicates with the PLC control unit in the CNC system to be controlled based on a preset communication protocol or industrial Ethernet.
[0020] In another aspect, this utility model provides a machine tool, including a machine tool body and a handheld operating device as described in any of the above claims, wherein a numerical control system to be controlled is provided in the machine tool body;
[0021] The handheld operating device is connected to the CNC system to be controlled.
[0022] The handheld operating device and machine tool provided by this utility model offer a more intuitive and user-friendly interface through a touch serial port screen, displaying richer information. Users can easily select the axis, set the magnification, etc., via the touch screen, while receiving real-time feedback, improving the convenience and accuracy of operation. A rotary encoder is used to detect the user's operation actions on the handheld operating device, enabling the device to respond to user operations with high precision and supporting continuous adjustments, providing a more intuitive and natural interactive experience. An accelerometer is used to detect the usage status of the handheld operating device. When not in use for a long time, the main control module automatically shuts down the touch serial port screen and puts the device into standby mode, effectively reducing energy consumption in unused states and delaying screen aging by reducing the usage time of the touch serial port screen. The device has a modular structure and uses the main control module as the core processing unit, providing good scalability.
[0023] Other features and advantages of this invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of this invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.
[0024] The technical solution of this utility model will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0025] The accompanying drawings are provided to further illustrate the present invention and form part of the specification. They are used together with the embodiments of the present invention to explain the present invention, but do not constitute a limitation thereof. In the drawings:
[0026] Figure 1 A schematic diagram of the overall structure of the handheld operating device in one embodiment of this application;
[0027] Figure 2 A schematic diagram of the overall structure of the handheld operating device in another embodiment provided in this application;
[0028] Figure 3 A structural circuit diagram of the signal output circuit in a handheld operating device provided in one embodiment of this application;
[0029] Figure 4 A structural circuit diagram of the first isolated transmission circuit in a handheld operating device provided in one embodiment of this application;
[0030] Figure 5 A structural circuit diagram of the second isolation transmission circuit in a handheld operating device provided in one embodiment of this application;
[0031] Figure 6 A schematic diagram illustrating the connection relationship between the accelerometer and the processor in one embodiment of this application;
[0032] Figure 7 A schematic diagram illustrating the principle of using a handheld operating device to control the operation of a machine tool body in one embodiment provided in this application.
[0033] In the picture:
[0034] SW1, Rotary encoder; A, A-phase output terminal; B, B-phase output terminal; C, C-phase output terminal; A1, First output terminal; B1, Second output terminal; U1, First optocoupler; U2, Second optocoupler; R1, First resistor; R2, Second resistor; R3, Third resistor; R4, Fourth resistor; R5, Fifth resistor; R6, Sixth resistor; R7, Seventh resistor; R8, Eighth resistor; C1, First capacitor; C2, Second capacitor; L1, First indicator light; L2, Second indicator light; DC24V, First operating power supply; DC0V, Second operating power supply; PLC_A1, Input terminal of PLC control unit; PLC_B1, Input terminal of PLC control unit; GPIO, Signal transmission pin; INT1, Interrupt output pin; VCC, Power supply pin; VDD, Power supply pin. Detailed Implementation
[0035] The present application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the present application can be combined with each other.
[0036] In one embodiment, such as Figure 1 As shown, a handheld operating device is provided, including a main control module and a handwheel control module. The handwheel control module includes a touch serial port screen, a rotary encoder, an accelerometer, and a mechanical operating knob. The main control module is connected to the CNC system to be controlled. The main control module is connected to the touch serial port screen, the rotary encoder, and the accelerometer. The touch serial port screen is used to receive control commands input by the user and to display the working status information of the CNC system to be controlled. The rotary encoder is used to detect the operation actions performed by the user on the handheld operating device and convert them into control signals. The accelerometer is used to detect the usage status of the handheld operating device and generate motion detection signals. The main control module is used to generate drive signals according to the control commands and control signals to control the operation of the CNC system to be controlled. When the main control module determines that the handheld operating device is in a non-working state based on the motion detection signals, the main control module controls the touch serial port screen to turn off and puts the handheld operating device into standby mode.
[0037] The handheld operating device provided in this embodiment offers a more intuitive and user-friendly interface through a touch-screen serial port, displaying richer information. Users can easily select the axis, set the magnification, etc., via the touch screen, while receiving real-time feedback, improving the convenience and accuracy of operation. A rotary encoder is used to detect the user's actions on the handheld operating device, enabling the device to respond to user operations with high precision and supporting continuous adjustments, providing a more intuitive and natural interactive experience. An accelerometer is used to detect the usage status of the handheld operating device. When not in use for a long time, the main control module automatically shuts down the touch-screen serial port and puts the device into standby mode, effectively reducing energy consumption in unused states and delaying screen aging by reducing the usage time of the touch-screen serial port. The device has a modular structure and uses the main control module as the core processing unit, providing good scalability.
[0038] The mechanical operation knob serves as a backup and can also provide functions such as shaft selection and magnification selection.
[0039] In one embodiment, such as Figure 2 As shown, the main control module includes a signal output circuit and a signal isolation transmission circuit; the rotary encoder is connected to the PLC control unit in the CNC system to be controlled in sequence through the signal output circuit and the signal isolation transmission circuit; the rotary encoder responds to the operation action performed by the user on the handheld operating device and outputs two square wave pulse signals with phase difference. The square wave pulse signals are conditioned by the signal output circuit and isolated by the signal isolation transmission circuit in sequence, and then transmitted to the PLC control unit as control signals.
[0040] In this embodiment, the rotary encoder is specifically used to detect the direction, angle, and speed of the handwheel rotation. It outputs two square wave pulse signals with a 90° phase difference. The relative relationship between the two square wave pulse signals can be used to determine the rotation direction and calculate the position change. The signal output circuit performs filtering, shaping, amplification, or level conversion on the square wave pulse signals to eliminate noise interference and ensure clear and stable signals. The signal isolation transmission circuit uses optocouplers, magnetic couplers, or other isolation devices to electrically isolate the rotary encoder from the PLC control unit in the CNC system to be controlled, preventing high voltage, static electricity, or ground loops from interfering with or damaging the PLC control unit.
[0041] In this application, the rotary encoder only requires two signal lines to transmit signals, which reduces installation complexity, significantly simplifies the structure of the device, and saves installation time and labor costs.
[0042] Furthermore, such as Figure 3As shown, the signal output circuit includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first capacitor C1, a second capacitor C2, a first output terminal A1, a second output terminal A2, and an external power supply of 5V. The A-phase output terminal A of the rotary encoder is connected to the first output terminal A1 through the third resistor R3. The external power supply of 5V is connected to the A-phase output terminal A through the first resistor R1. The first end of the first capacitor C1 is connected to the first output terminal A1, and the second end of the first capacitor C1 is connected to the ground terminal. The first output terminal A1 is connected to the signal isolation transmission circuit. The B-phase output terminal B of the rotary encoder is connected to the second output terminal B1 through the fourth resistor R4. The external power supply of 5V is connected to the B-phase output terminal B through the second resistor R2. The first end of the second capacitor C2 is connected to the second output terminal B1, and the second end of the second capacitor C2 is connected to the ground terminal. The second output terminal B1 is connected to the signal isolation transmission circuit. The C-phase output terminal C of the rotary encoder is connected to the ground terminal.
[0043] Furthermore, the signal isolation transmission circuit includes a first isolation transmission circuit; such as Figure 4 As shown, the first isolation transmission circuit includes a first optocoupler U1, a fifth resistor R5, a sixth resistor R6, a first LED indicator L1, an external power supply of 5V, a first operating power supply of DC24V, and a second operating power supply of DC0V. The external power supply of 5V is connected to the anode of the light-emitting diode in the first optocoupler U1 through the first LED indicator L1. The first output terminal A1 is connected to the cathode of the light-emitting diode in the first optocoupler U1 through the fifth resistor R5. The first operating power supply of DC24V is connected to the collector of the phototransistor in the first optocoupler U1. The emitter of the phototransistor in the first optocoupler U1 is connected to the input terminal PLC_A1 of the PLC control unit. The second operating power supply of DC0V is connected to the input terminal PLC_A1 of the PLC control unit through the sixth resistor R6.
[0044] Furthermore, the signal isolation transmission circuit includes a second isolation transmission circuit; such as Figure 5 As shown, the second isolation transmission circuit includes a second optocoupler U2, a seventh resistor R7, an eighth resistor R8, a second LED indicator L2, an external power supply of 5V, a first operating power supply of DC24V, and a second operating power supply of DC0V. The external power supply of 5V is connected to the anode of the light-emitting diode in the second optocoupler U2 through the second LED indicator L2. The second output terminal B1 is connected to the cathode of the light-emitting diode in the second optocoupler U2 through the seventh resistor R7. The first operating power supply of DC24V is connected to the collector of the phototransistor in the second optocoupler U2. The emitter of the phototransistor in the second optocoupler U2 is connected to the input terminal PLC_B1 of the PLC control unit. The second operating power supply of DC0V is connected to the input terminal PLC_B1 of the PLC control unit through the eighth resistor R8.
[0045] Specifically, the rotary encoder is used to detect rotation direction, speed, and position. It requires a 5V external power supply. The signal lines are pulled up to the 5V external power supply through the first resistor R1 and the second resistor R2. When the rotary encoder rotates, it outputs two-phase square wave pulse signals, A and B, with a phase difference of 90° between phases A and B. When the rotary encoder rotates forward, phase A leads phase B; when the rotary encoder rotates in reverse, phase B leads phase A. The input terminals of the first optocoupler U1 and the second optocoupler U2 are used to receive the two-phase square wave pulse signals, A and B, output by the rotary encoder, thereby driving the... LED indicator L1 and LED indicator L2 light up. When light is received, the first optocoupler U1 and the second optocoupler U2 conduct and output a low level. When there is no light, they are cut off and output a high level. The output terminals convert the light signal into an electrical signal through the fifth resistor R5 and the seventh resistor R7, respectively, and output it to the PLC control unit. The first capacitor C1 and the second capacitor C2 are used to suppress signal jitter and ensure level matching. Finally, the isolated A and B phase square wave pulse signals are transmitted to the PLC control unit. The PLC control unit determines the direction and speed of motion by counting pulses and the phase difference.
[0046] In this embodiment, an optocoupler is used to achieve complete electrical isolation between the rotary encoder and the PLC control unit, effectively avoiding grounding interference and improving system stability; a filter circuit composed of resistors and capacitors is used to effectively suppress signal noise and enhance the reliability and stability of transmission; and LED indicators are configured to display the signal status in real time, facilitating on-site debugging and troubleshooting.
[0047] In one embodiment, the rotary encoder requires only two signal lines to transmit signals, reducing installation complexity, significantly simplifying the structure of the device, and saving installation time and labor costs.
[0048] In one embodiment, such as Figure 6 As shown, the main control module includes a processor. The interrupt output pin INT1 of the accelerometer is connected to the signal transmission pin GPIO of the processor. When the handheld device is in motion, the accelerometer sends a motion detection signal to the processor, causing the processor to control the touch serial port screen to turn on. When the handheld device is stationary for a preset time, the processor does not receive the motion detection signal sent by the accelerometer within the preset time. The processor then controls the touch serial port screen to turn off and puts the handheld device into standby mode.
[0049] In another embodiment, the motion detection signal further includes a rising edge interrupt signal and a falling edge interrupt signal. When the handheld operating device is stationary for a preset time, the accelerometer sends a rising edge interrupt signal to the processor, causing the processor to control the touch serial port screen to turn off and put the handheld operating device into standby mode. When the handheld operating device is in motion, the accelerometer sends a falling edge interrupt signal to the processor, causing the processor to control the touch serial port screen to turn on.
[0050] In this embodiment, the accelerometer continuously sends motion detection signals to the processor, enabling the processor to recognize that the handheld device is in motion. This allows the processor to control the touchscreen to open and operate normally. If the processor does not receive a motion detection signal from the accelerometer within a preset time period, it can determine that the handheld device is stationary and not in use. This allows the processor to close the touchscreen and put the handheld device into standby mode. In another embodiment, the motion detection signal is specifically divided into rising edge interrupt signals and falling edge interrupt signals. When the handheld device is stationary for a preset time, the accelerometer sends a rising edge interrupt signal to the processor, triggering the touchscreen to close and putting the device into standby mode. This significantly reduces energy consumption, especially when the device is not used for extended periods, thus saving energy. Once the handheld device begins to move... The accelerometer detects motion and sends a falling-edge interrupt signal to the processor, immediately activating the touchscreen serial port. This ensures the device can quickly recover from standby mode, providing instant response without affecting the user experience. The device provided in this application automatically monitors the device's usage status and controls the screen on / off accordingly based on status changes. This eliminates the need for manual user intervention, simplifying operation and improving the naturalness and smoothness of human-computer interaction. Furthermore, by connecting the accelerometer's interrupt output pin INT1 to the processor's signal transmission pin GPIO, it can quickly respond to status changes at the hardware level, reducing problems caused by software delays or errors. Compared to continuously monitoring device status, triggering interrupt processing only when the status changes effectively reduces the processor's workload, freeing up more resources for other critical tasks.
[0051] In one embodiment, such as Figure 2 As shown, the handwheel control module also includes a voice broadcast unit, which is connected to the main control module. The voice broadcast module obtains the control command information corresponding to the control command through the main control module and broadcasts the control command information via voice.
[0052] In this embodiment, under certain special usage conditions, users may not be able to or may find it inconvenient to view the information on the touch serial port screen. The voice broadcast function allows users to obtain necessary operation feedback and status updates without interrupting the current workflow, greatly improving the convenience and efficiency of operation. Furthermore, the voice broadcast function can help users confirm the correctness of the operation and convey key information in a timely manner, such as confirming the execution result of the instruction, warning messages, etc., ensuring that operators understand the device status and operation results in a timely manner, and reducing errors caused by misunderstanding or ignoring screen information.
[0053] In one embodiment, the handheld operating device communicates with the PLC control unit in the CNC system to be controlled based on a preset communication protocol or industrial Ethernet.
[0054] In this embodiment, the handheld operating device adopts the Siemens S7 communication protocol to ensure efficient data interaction with the PLC control unit. Specifically, it supports S7 Basic Communication or S7 Communication to realize real-time transmission of axis selection status, magnification adjustment, handwheel pulse counting, and system operating status. At the hardware level, the handheld operating device can connect to the PLC control unit via industrial Ethernet (Profinet) and realize data transmission through an external protocol conversion module. The PLC control unit pre-configures data blocks, defines handwheel control parameters and PLC feedback information, and the communication process adopts non-blocking polling (100ms cycle) to avoid affecting the scanning cycle of the PLC control unit. It also has timeout retransmission and CRC check mechanisms to ensure data reliability. In standby mode, the handheld operating device will pause S7 communication to reduce power consumption. The connection will be automatically restored after the accelerometer detects the operation. Based on this, the design of this application takes into account both real-time performance and low power consumption, and is suitable for high-precision control requirements in industrial automation scenarios.
[0055] In one embodiment, a machine tool is provided, including a machine tool body and the aforementioned handheld operating device, wherein a numerical control system to be controlled is disposed within the machine tool body; and the handheld operating device is connected to the numerical control system to be controlled.
[0056] In this embodiment, the handheld operating device can quickly respond to user input commands and control the machine tool's movements in real time via PLC, thus accelerating the operation process. Through the high-precision position feedback provided by the rotary encoder, users can fine-tune the axial movement of the machine tool, enabling high-precision machining tasks. The touchscreen serial port allows users to interact with the machine tool in a more intuitive way and provides immediate operational feedback. An accelerometer automatically detects whether the handheld operating device is in use and determines whether to turn off the screen and enter standby mode, effectively saving energy and extending working time. The handheld operating device adopts a modular structure, making it easy to add new functions or sensors, and has strong adaptability.
[0057] The handheld operating device provided in this application is used to control the machine tool body. The working principle is as follows: Figure 7 As shown, the specific operation process is as follows:
[0058] First, turn on the machine tool's power to start the system. The touch serial port screen displays the main interface, which includes information such as axis selection, magnification adjustment, and current status. The main control module initializes to check whether each component is working properly.
[0059] Furthermore, users can select the axis to be controlled, such as the X-axis, Y-axis, and Z-axis, via the touch serial port screen. Taking the X-axis as an example, the touch serial port screen highlights the X-axis and announces "X-axis has been selected" via voice. Users can then set the magnification via the touch serial port screen, such as 1x, 10x, or 100x. The magnification determines the sensitivity of the machine tool's movement when the handheld operating device is rotated. The touch serial port screen displays the currently selected axis and magnification, as well as the machine tool's current position, in real time.
[0060] Furthermore, the user rotates the handheld operating device, and the mechanical movement of the device is detected by the rotary encoder. The rotary encoder converts the rotation angle and direction of the handheld operating unit into electrical signals, which are then transmitted to the machine tool through the main control module. The machine tool calculates the distance and direction to be moved based on the received signals, and then sends drive signals to the drive motor of the machine tool. The drive motor drives the corresponding axis of the machine tool according to the drive signals, and the machine tool body moves precisely according to the instructions.
[0061] During the machine tool's movement, the main control module monitors the position and status of each axis in real time and transmits the current working status information, such as position, speed, and error, to the touch serial port screen via serial port. The touch serial port screen updates the displayed content in real time, and users can intuitively understand the machine tool's movement status and operation results through the interface.
[0062] When the main control module detects from the acceleration sensor that the handheld operating device has not been used for a long time, the main control module turns off the serial port display and enters standby mode.
[0063] When the main control module detects that the handheld operating unit has been reused based on the acceleration sensor, the main control module wakes up the serial port display, and the device returns to normal operation.
[0064] After the user completes all operations, wait for the user to perform the next operation.
[0065] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0066] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A hand-held operating device, characterized in that It includes a main control module and a handwheel control module, wherein the handwheel control module includes a touch serial port screen, a rotary encoder, an accelerometer, and a mechanical operation knob, and the main control module is connected to the CNC system to be controlled; The main control module is connected to the touch serial port screen, the rotary encoder and the accelerometer respectively; The touch serial port screen is used to receive control commands input by the user and to display the working status information of the CNC system to be controlled; The rotary encoder is used to detect the user's actions on the handheld operating device and convert them into control signals; The accelerometer is used to detect the usage status of the handheld operating device and generate motion detection signals; The main control module is used to generate drive signals according to the control instructions and the control signals, so as to control the operation of the CNC system to be controlled; When the main control module determines that the handheld operating device is in a non-working state based on the motion detection signal, the main control module controls the touch serial port screen to turn off and puts the handheld operating device into standby mode.
2. The hand-held operating device according to claim 1, characterized in that The main control module includes a signal output circuit and a signal isolation transmission circuit; The rotary encoder is connected to the PLC control unit in the CNC system to be controlled via the signal output circuit and the signal isolation transmission circuit in sequence. The rotary encoder responds to the user's operation on the handheld operating device by outputting two square wave pulse signals with a phase difference. The square wave pulse signals are then conditioned by the signal output circuit and isolated by the signal isolation transmission circuit before being transmitted to the PLC control unit as the control signal.
3. The hand-held operating device according to claim 2, characterized in that The signal output circuit includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first capacitor, a second capacitor, a first output terminal, a second output terminal, and an external power supply. The A-phase output terminal of the rotary encoder is connected to the first output terminal through the third resistor. The external power supply is connected to the A-phase output terminal through the first resistor. The first terminal of the first capacitor is connected to the first output terminal. The second terminal of the first capacitor is connected to the ground terminal. The first output terminal is connected to the signal isolation transmission circuit. The B-phase output terminal of the rotary encoder is connected to the second output terminal through the fourth resistor. The external power supply is connected to the B-phase output terminal through the second resistor. The first terminal of the second capacitor is connected to the second output terminal. The second terminal of the second capacitor is connected to the ground terminal. The second output terminal is connected to the signal isolation transmission circuit. The C-phase output terminal of the rotary encoder is connected to the ground terminal.
4. The hand-held operating device according to claim 3, characterized in that The signal isolation transmission circuit includes a first isolation transmission circuit; The first isolation transmission circuit includes a first optocoupler, a fifth resistor, a sixth resistor, a first LED indicator, an external power supply, a first operating power supply, and a second operating power supply. The external power supply is connected to the anode of the light-emitting diode in the first optocoupler through the first LED indicator. The first output terminal is connected to the cathode of the light-emitting diode in the first optocoupler through the fifth resistor. The first operating power supply is connected to the collector of the phototransistor in the first optocoupler. The emitter of the phototransistor in the first optocoupler is connected to the input terminal of the PLC control unit. The second operating power supply is connected to the input terminal of the PLC control unit through the sixth resistor.
5. The hand-held operating device according to claim 3, characterized in that The signal isolation transmission circuit includes a second isolation transmission circuit; The second isolation transmission circuit includes a second optocoupler, a seventh resistor, an eighth resistor, a second LED indicator, an external power supply, a first operating power supply, and a second operating power supply. The external power supply is connected to the anode of the light-emitting diode in the second optocoupler through the second LED indicator. The second output terminal is connected to the cathode of the light-emitting diode in the second optocoupler through the seventh resistor. The first operating power supply is connected to the collector of the phototransistor in the second optocoupler. The emitter of the phototransistor in the second optocoupler is connected to the input terminal of the PLC control unit. The second operating power supply is connected to the input terminal of the PLC control unit through the eighth resistor.
6. The hand-held operating device according to claim 1, characterized in that The rotary encoder is connected to the main control module via two signal lines.
7. The hand-held operating device according to claim 1, characterized in that The main control module includes a processor, and the interrupt output pin of the accelerometer is connected to the signal transmission pin of the processor; When the handheld operating device is in motion, the accelerometer sends the motion detection signal to the processor, causing the processor to control the touch serial port screen to turn on. When the handheld operating device is stationary for a preset time, and the processor does not detect the motion detection signal sent by the accelerometer within the preset time, the processor controls the touch serial port screen to turn off and puts the handheld operating device into standby mode.
8. The hand-held operating device according to claim 1, characterized in that The handwheel control module also includes a voice broadcast unit, which is connected to the main control module; The voice broadcast module obtains the control instruction information corresponding to the control instruction through the main control module and broadcasts the control instruction information via voice.
9. The hand-held operating device according to claim 1, characterized in that The handheld operating device communicates with the PLC control unit in the CNC system to be controlled based on a preset communication protocol or industrial Ethernet.
10. A machine tool, characterized by The system includes a machine tool body and a handheld operating device as described in any one of claims 1 to 7, wherein a numerical control system to be controlled is provided within the machine tool body; The handheld operating device is connected to the CNC system to be controlled.