Universal machine controller
By designing a general-purpose machine controller, the problems of poor versatility and high development costs in the existing technology are solved, and the control of different brands or models of machines is quickly adapted to the control of machines, with flexibility and stability, and intelligent control of machines is supported.
Patent Information
- Application Number
- CN202421868228.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2034-08-02
AI Technical Summary
The keyboard control methods of existing semiconductor manufacturing machines need to be customized to design according to different brands or models, resulting in poor versatility, low flexibility and high development costs.
Design a general-purpose machine controller, including a microcontroller unit, a communication unit, a voltage stabilization unit and an overvoltage protection unit, and control the machine to work through the machine keyboard or the signal output from the upper computer, which supports rapid adaptation to machines of different brands or models, and ensures the stability and flexibility of the controller through voltage stabilization and overvoltage protection.
It realizes the rapid adaptability of the machine controller, reduces development costs, improves control flexibility, and has small size, has overvoltage protection and stability, supporting intelligent control of the machine.
Smart Images

Figure CN223078614U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of machine tool control, in particular to a general-purpose machine tool controller. Background Art
[0002] In recent years, the rapid development of artificial intelligence technology has enabled all walks of life to actively explore intelligent transformation, and the semiconductor industry is no exception. As an important part of the high-tech industry, semiconductors have put forward higher requirements for the intelligent control of semiconductor manufacturing machines.
[0003] A machine tool keyboard is usually set on a semiconductor manufacturing machine tool to control the operation of the machine tool through the machine tool keyboard, that is, to perform keyboard control on the machine tool. At present, the keyboard control of the machine tool includes an implementation method based on an integrated PLC (programmable logic controller) and an HMI (human-machine interface), and an implementation method based on an embedded control system. Among them, the implementation method based on the PLC and the HMI requires writing a PLC program and designing an HMI interface according to the specific communication protocol, communication rules, and control logic between the semiconductor machine tool and the machine tool keyboard, so as to realize the control of the machine tool operation through the machine tool keyboard. This implementation method requires two kinds of hardware, namely the PLC and the HMI, and occupies a large volume. Moreover, this implementation method cannot immediately adapt to multiple types of machine tools. For machine tools of different brands or models, this method needs to rewrite the corresponding programs and interfaces according to the communication protocol, communication rules, and control logic between the machine tool and the machine tool keyboard, that is, it needs to perform secondary development for different types of machine tools, with poor versatility and low flexibility.
[0004] Although the implementation method based on the embedded control system reduces the occupied volume of the controller, it also needs to perform customized design on the embedded control system according to the communication protocol, communication rules, and control logic between the machine tool and the machine tool keyboard, and also does not have universality, and the development cost is relatively high. Summary of the Utility Model
[0005] In view of the above problems and technical requirements, the inventor of the present invention proposes a general-purpose machine tool controller.
[0006] The technical solution of the utility model is as follows:
[0007] A general-purpose machine tool controller, comprising:
[0008] A micro-control unit, which is adaptively connected to the machine tool keyboard and the machine tool;
[0009] A communication unit, which is connected between the upper computer and the micro-control unit, and is used for transmitting the control signal output by the upper computer to the micro-control unit;
[0010] A voltage stabilizing unit, which is connected to the communication unit and the micro-control unit, and is used for providing operating voltage for the communication unit and the micro-control unit;
[0011] An overvoltage protection unit, connected to the voltage stabilization unit, is used to provide overvoltage protection;
[0012] The micro-control unit controls the operation of the machine based on the keyboard signal output by the machine keyboard or the control signal output by the host computer.
[0013] A further technical solution thereof is that the overvoltage protection unit includes a switching device Q1, a switching device Q2, a resistor R5, a resistor R6, a resistor R7, a resistor R8, and a zener diode D1, wherein,
[0014] One end of the resistor R5 is connected to the cathode of the zener diode D1 and is connected to the second electrode terminal of the switching device Q1 through the resistor R6, and the anode of the zener diode D1 is grounded;
[0015] The other end of the resistor R5 is connected to the first electrode terminal of the switching device Q1, one end of the resistor R7, and the first electrode terminal of the switching device Q2. The third electrode terminal of the switching device Q1 is connected to the other end of the resistor R7, the second electrode terminal of the switching device Q2, and one end of the resistor R8, and the other end of the resistor R8 is grounded.
[0016] A further technical solution thereof is that the voltage stabilization unit includes a voltage stabilization chip, a light-emitting diode LED2, a resistor R30, a capacitor C53, a capacitor C54, a capacitor C55, a capacitor C56, an inductor L2, a capacitor C71, a capacitor C72, and an inductor L3, wherein,
[0017] The model of the voltage stabilization chip is AMS1117, and it includes a VIN pin, a VOUT pin, an ADJ pin, and a TAB pin, wherein,
[0018] The VIN pin is connected to one end of the capacitor C53, one end of the capacitor C54, and the anode of the light-emitting diode LED2. The other end of the capacitor C53 and the other end of the capacitor C54 are connected to the ADJ pin and grounded, and the cathode of the light-emitting diode LED2 is grounded through the resistor R30;
[0019] One end of the capacitor C55 and one end of the capacitor C56 are connected to the TAB pin and one end of the inductor L2. The TAB pin is connected to the VOUT pin, and the other end of the capacitor C55 and the other end of the capacitor C56 are grounded;
[0020] The other end of the inductor L2 is connected to one end of the inductor L3 through the capacitor C71, the other end of the inductor L3 is grounded, and the capacitor C72 is connected in parallel with the capacitor C71.
[0021] A further technical solution is that the communication unit is connected to the host computer through interface J1, and interface J1 includes a USB Type-A interface, and the USB Type-A interface includes a D+ pin and a D- pin.
[0022] A further technical solution is that the communication unit includes a conversion chip and a capacitor C52, where
[0023] the model of the conversion chip is CH340N, and it includes a UD+ pin, a UD- pin, an RXD pin, a TXD pin, a GND pin, and a VCC pin;
[0024] the D+ pin is connected to the UD+ pin, the D- pin is connected to the UD- pin, the GND pin is connected to the VCC pin through the capacitor C52, and the VCC pin is connected to the voltage stabilization unit.
[0025] A further technical solution is that the micro-control unit includes an MCU, and the model of the MCU is ESP32-S3, and it includes a TXD0 pin, an RXD0 pin, an IO4 pin, an IO5 pin, an IO6 pin, and a RESET0 pin;
[0026] the TXD0 pin is connected to the RXD pin, and the RXD0 pin is connected to the TXD pin.
[0027] A further technical solution is that it further includes a monitoring unit, and the monitoring unit includes a watchdog chip, a resistor R37, a resistor R38, a resistor R39, and a key switch SW1, where
[0028] the model of the watchdog chip is UM706MS, and it includes a VCC pin, a WDO pin, an MR pin, a PFI pin, a RESET pin, a WDI pin, and a PFO pin;
[0029] the PF1 pin is connected to one end of the resistor R38 and one end of the resistor R39, the other end of the resistor R38 is connected to the voltage stabilization unit, and the other end of the resistor R39 is grounded;
[0030] the MR pin is grounded through the key switch SW1, the MR pin is also connected to the WDO pin through the resistor R37, the RESET pin is connected to the RESET0 pin, and the PFO pin is connected to the IO6 pin.
[0031] A further technical solution is that the monitoring unit further includes an analog switch chip, and the model of the analog switch chip is UM3156, and it includes a B1 pin, a Select pin, a VCC pin, and an A pin, where
[0032] The B1 pin is connected to the IO4 pin, the Select pin is connected to the IO5 pin, the VCC pin is connected to the voltage regulation unit, and the A pin is connected to the WDI pin.
[0033] In a further technical solution, the switching device Q1 includes a PNP triode, and the switching device Q2 includes a PMOS transistor or an NMOS transistor.
[0034] In a further technical solution, it further includes a protective housing, and the micro-control unit, the communication unit, and the voltage regulation unit are all arranged inside the protective housing.
[0035] The beneficial technical effects of the present utility model are:
[0036] The general-purpose machine tool controller provided by the present utility model controls the machine tool according to the keyboard signals output by the machine tool keyboard or the control signals output by the upper computer. This machine tool controller can quickly adapt to machine tools of different brands or models, cooperate with the machine tool keyboard to complete the keyboard control of the machine tool work, has a low development cost and high control flexibility. At the same time, this machine tool controller also has the advantages of small occupied volume and stable operation, and can provide effective support for the intelligentization of machine tool control. Description of the Drawings
[0037] Figure 1 It is a structural block diagram of an embodiment of the general-purpose machine tool controller provided by the present utility model.
[0038] Figure 2 It is a circuit schematic diagram of an embodiment of the overvoltage protection unit provided by the present utility model.
[0039] Figure 3 It is a circuit schematic diagram of an embodiment of the voltage regulation unit provided by the present utility model.
[0040] Figure 4 It is a schematic diagram of an embodiment of the communication unit provided by the present utility model.
[0041] Figure 5 It is a schematic diagram of an embodiment of the micro-control unit provided by the present utility model.
[0042] Figure 6 It is a schematic diagram of an embodiment of the monitoring unit provided by the present utility model.
[0043] Figure 7 It is a schematic diagram of a first view direction of an embodiment of the protective housing provided by the present utility model.
[0044] Figure 8 It is a schematic diagram of a second view direction of an embodiment of the protective housing provided by the present utility model. Detailed Embodiments
[0045] The following further describes the specific embodiments of the present utility model in conjunction with the accompanying drawings.
[0046] The present utility model provides a general-purpose machine tool controller, including:
[0047] A micro control unit, which is adaptively connected to the machine tool keyboard and the machine tool;
[0048] A communication unit, which is connected between the host computer and the micro control unit and is used to transmit the control signal output by the host computer to the micro control unit;
[0049] A voltage stabilizing unit, which is connected to the communication unit and the micro control unit and is used to provide operating voltage for the communication unit and the micro control unit;
[0050] An overvoltage protection unit, which is connected to the voltage stabilizing unit and is used to provide overvoltage protection;
[0051] The micro control unit controls the operation of the machine tool based on the keyboard signal output by the machine tool keyboard or the control signal output by the host computer.
[0052] Figure 1 The structural block diagram of an embodiment of the general-purpose machine tool controller provided by the present utility model is shown. As Figure 1 shown, the controller includes a communication unit, a voltage stabilizing unit, a micro control unit, and an overvoltage protection unit. The micro control unit is connected between the machine tool keyboard and the machine tool through a control cable. The machine tool includes a machine tool semiconductor manufacturing machine tool. The power supply voltage of the controller is connected to the input end of the overvoltage protection unit by the host computer. When the power supply voltage is greater than the preset voltage, the overvoltage protection unit disconnects the connection between the input end and the subsequent circuit to prevent the subsequent circuit from being damaged by the excessive power supply voltage, so as to achieve overvoltage protection. The voltage stabilizing unit converts and stabilizes the power supply voltage input by the overvoltage protection unit into the operating voltage required by the micro control unit and the communication unit. The specific connection manners of the micro control unit, the communication unit, and the voltage stabilizing unit can be referred to the following description.
[0053] During specific implementation, after determining the machine tool to be controlled by the controller, before controlling the operation of the machine tool, it is necessary to configure the machine tool controller as a learning mode through the host computer. In the learning mode, the machine tool controller generates a key value set through the host computer, the machine tool keyboard, and the microcontroller. The key value set includes a plurality of key values and a plurality of value values corresponding to the plurality of key values one by one. Among them, the key value is usually used to represent the name of the machine tool keyboard button, and the value value is used to represent the key value of the machine tool keyboard button.
[0054] In an embodiment of the present utility model, when the host computer configures the machine tool controller into the learning mode, the host computer sends a key value to the micro-control unit through the communication unit, and then manually presses the key on the machine tool keyboard corresponding to the key value. At this time, the micro-control unit receives the key value output by the machine tool keyboard, records the key value as the value corresponding to the current key value and stores it. Repeat the above operations and traverse all the keys on the machine tool keyboard. For each key, store the key value of the key and the corresponding value in the microcontroller to generate a key value set corresponding to the machine tool in the microcontroller.
[0055] Optionally, when using the controller to control the machine tool, the micro-control unit can control the operation of the machine tool based on the keyboard signal output by the machine tool keyboard or the control signal output by the host computer. When the micro-control unit controls the operation of the machine tool based on the keyboard signal output by the machine tool keyboard, the microcontroller forwards the keyboard signal output by the machine tool keyboard, that is, directly transmits the key value output by the machine tool keyboard to the machine tool to control the operation of the machine tool using the keyboard signal. When the micro-control unit controls the operation of the machine tool based on the control signal output by the host computer, the microcontroller shields the keyboard signal output by the machine tool keyboard and uses the control signal output by the host computer to control the operation of the machine tool. The control signal is used to call the key value stored in the microcontroller. Based on the generated key value set, the microcontroller outputs the corresponding value to the machine tool according to the key value to complete the control of the machine tool. The machine tool controller can be quickly adapted to machine tools of different brands or models, cooperate with the machine tool keyboard to complete the keyboard control of the machine tool, and has high control flexibility.
[0056] Further, the overvoltage protection unit includes a switching device Q1, a switching device Q2, a resistor R5, a resistor R6, a resistor R7, a resistor R8, and a zener diode D1, where
[0057] One end of the resistor R5 is connected to the cathode of the zener diode D1 and is connected to the second electrode terminal of the switching device Q1 through the resistor R6, and the anode of the zener diode D1 is grounded;
[0058] The other end of the resistor R5 is connected to the first electrode terminal of the switching device Q1, one end of the resistor R7, and the first electrode terminal of the switching device Q2. The third electrode terminal of the switching device Q1 is connected to the other end of the resistor R7, the second electrode terminal of the switching device Q2, and one end of the resistor R8, and the other end of the resistor R8 is grounded.
[0059] Specifically, the switching device Q1 can be a PNP triode, and the switching device Q2 can be a PMOS transistor or an NMOS transistor. Figure 2The circuit schematic diagram of an embodiment of the overvoltage protection unit is shown when the switching device Q1 is a PNP triode and the switching device Q2 is a PMOS transistor. When the switching device Q1 is a PNP triode, the first electrode terminal of the switching device Q1 is the emitter terminal, the second electrode terminal of the switching device Q1 is the base terminal, and the third electrode terminal of the switching device Q1 is the collector terminal. When the switching device Q2 is a PMOS transistor, the first electrode terminal of the switching device Q2 is the source terminal, the second electrode terminal of the switching device Q2 is the gate terminal, and the third electrode terminal of the switching device Q2 is the drain terminal.
[0060] As Figure 2 shown, the source terminal of the switching device Q2 is connected to the emitter terminal of the switching device Q1, one end of the resistor R5, and one end of the resistor R7, and an input terminal VIN is formed. The drain terminal of the switching device Q2 serves as the output terminal of the overvoltage protection unit. The gate terminal of the switching device Q2 is connected to one end of the resistor R8 and the collector terminal of the switching device Q1, and the other end of the resistor R8 is grounded. The base terminal of the switching device Q1 is connected to one end of the resistor R6, and the other end of the resistor R6 is connected to the other end of the resistor R5 and the cathode of the zener diode D1. In this embodiment, the resistance values of the resistors R5, R6, and R8 are all 10 kΩ, and the resistance value of the resistor R7 is 100 kΩ. Specifically, when implemented, the resistance values of the resistors R5, R6, R7, and R8 can be selected according to actual requirements.
[0061] Next, taking the switching device Q1 as a PNP triode and the switching device Q2 as a PMOS transistor as an example, the working principle of the overvoltage protection unit will be described. As Figure 2 shown, the power supply voltage of the controller is input to the input terminal VIN. When the power supply voltage is greater than the regulated voltage value of the zener diode D1, there is a voltage difference between the emitter terminal and the base terminal of the switching device Q1, causing the switching device Q1 to conduct. After the switching device Q1 conducts, the voltages at the source terminal and the gate terminal of the switching device Q2 are equal, and the switching device Q2 turns off, preventing the power supply voltage from being output to the output terminal of the overvoltage protection unit to achieve overvoltage protection. Conversely, when the power supply voltage is less than the regulated voltage value of the zener diode D1, there is no voltage difference between the emitter terminal and the base terminal of the switching device Q1, the switching device Q1 turns off, the switching device Q2 conducts, and the power supply voltage is output from the input terminal VIN through the switching device Q2 to the output terminal of the overvoltage protection unit. In this embodiment, the power supply voltage is 5V.
[0062] Furthermore, the voltage regulation unit includes a voltage regulation chip, a light-emitting diode LED2, a resistor R30, capacitors C53, C54, C55, C56, an inductor L2, capacitors C71, C72, and an inductor L3, where,
[0063] The voltage regulator chip model is AMS1117, including a VIN pin, a VOUT pin, an ADJ pin, and a TAB pin. Among them,
[0064] The VIN pin is connected to one end of capacitor C53, one end of capacitor C54, and the anode of light-emitting diode LED2. The other end of capacitor C53 and the other end of capacitor C54 are connected to the ADJ pin and grounded. The cathode of light-emitting diode LED2 is grounded through resistor R30;
[0065] One end of capacitor C55 and one end of capacitor C56 are connected to the TAB pin and one end of inductor L2. The TAB pin is connected to the VOUT pin. The other end of capacitor C55 and the other end of capacitor C56 are grounded;
[0066] The other end of inductor L2 is connected to one end of inductor L3 through capacitor C71. The other end of inductor L3 is grounded. Capacitor C72 is in parallel with capacitor C71.
[0067] Figure 3 The circuit schematic diagram of an embodiment of the voltage regulation unit is shown. As Figure 3 shown, in this embodiment, one end of capacitor C53 is connected to the anode of light-emitting diode LED2 and forms the input end of the voltage regulation unit. Capacitor C53 and capacitor C54 are input filter capacitors. The light-emitting diode LED2 is used to indicate the power supply situation. In this embodiment, when the 5V power supply voltage is loaded to the input end of the voltage regulation unit through the overvoltage protection unit, the light-emitting diode LED2 emits light. One end of capacitor C55, one end of capacitor C56, and one end of inductor L2 are connected to the TAB pin and form the first regulated output end. One end of capacitor C71, one end of capacitor C72, and one end of inductor L2 are connected and form the second regulated output end. Capacitor C55, capacitor C56, capacitor C71, and capacitor C72 are all output filter capacitors. Inductor L1 and inductor L2 are output filter capacitors. In this embodiment, the voltage regulator chip converts the 5V power supply voltage into a 3.3V operating voltage. The 3.3V operating voltage is output from the first regulated output end and the second regulated output end. The voltage regulation unit and the overvoltage protection unit can improve the stability of the controller power supply and enable the controller to work stably.
[0068] Further, the communication unit is connected to the host computer through interface J1. Interface J1 includes a USB Type-A interface. The USB Type-A interface includes a D+ pin and a D- pin. The communication unit includes a conversion chip and capacitor C52. Among them, the model of the conversion chip is CH340N, including a UD+ pin, a UD- pin, an RXD pin, a TXD pin, a GND pin, and a VCC pin;
[0069] The D+ pin is connected to the UD+ pin, the D- pin is connected to the UD- pin, the GND pin is connected to the VCC pin through a capacitor C52, and the VCC pin is connected to a voltage regulation unit.
[0070] Figure 4 A schematic diagram of an embodiment of the communication unit is shown. As shown in the figure, the conversion chip of model CH340N further includes a V3 pin. The V3 pin and the VCC pin can be connected to the first regulated output terminal or the second regulated output terminal to access a working voltage of 3.3V. In this embodiment, the interface J1 is a USB Type-A interface, and the host computer refers to a computer. The interface J1 is inserted into the USB interface of the computer, and the computer is connected to the conversion chip through the interface J1 to realize the conversion from the computer USB interface to the UART serial port. The D+ pin and the D- pin of the USB Type-A interface are both used for data transmission. The USB Type-A interface generally also includes a power input pin, and the power input pin is connected to the input terminal VIN of the overvoltage protection unit. The power supply voltage of the controller is accessed from the power input pin of the USB Type-A interface to the overvoltage protection unit.
[0071] Further, the microcontroller unit includes an MCU. The model of the MCU is ESP32-S3, which includes a TXD0 pin, an RXD0 pin, an IO4 pin, an IO5 pin, an IO6 pin, and a RESET0 pin.
[0072] The TXD0 pin is connected to the RXD pin, and the RXD0 pin is connected to the TXD pin.
[0073] Figure 5 A pin diagram of the MCU of model ESP32-S3 is shown. As shown in the figure, the MCU further includes an EN pin, a 3V3 pin, and a GND pin. Among them, the EN pin is connected to the 3V3 pin through a resistor R40, and the EN pin is also grounded through a capacitor C88. One end of the resistor R40, one end of the capacitor C87, and one end of the capacitor C86 are connected to form a power input terminal VCC. The power input terminal VCC is connected to the first regulated output terminal or the second regulated output terminal to access a 3.3V working voltage. The other end of the capacitor C87 and the other end of the capacitor C86 are grounded. The machine platform and the machine platform keyboard are generally connected by a cable. In this embodiment, the signal input / output pins of the microcontroller unit, that is, the IO pins, are connected to the connection cable between the machine platform and the machine platform keyboard through a control cable to connect the microcontroller unit between the machine platform keyboard and the machine platform.
[0074] Further, the controller further includes a monitoring unit. The monitoring unit includes a watchdog chip, a resistor R37, a resistor R38, a resistor R39, and a key switch SW1. Among them,
[0075] The watchdog chip model is UM706MS, including a VCC pin, a WDO pin, an MR pin, a PFI pin, a RESET pin, a WDI pin, and a PFO pin;
[0076] The PF1 pin is connected to one end of resistor R38 and one end of resistor R39. The other end of resistor R38 is connected to the voltage stabilization unit, and the other end of resistor R39 is grounded;
[0077] The MR pin is grounded through the push-button switch SW1. The MR pin is also connected to the WDO pin through resistor R37. The RESET pin is connected to the RESET0 pin, and the RESET0 pin is not shown in Figure 5 It. The PFO pin is connected to the IO6 pin.
[0078] Figure 6 The figure shows a schematic diagram of an embodiment of the monitoring unit. The monitoring unit is used to monitor the operating state of the MCU to prevent the MCU from entering an infinite loop due to a running error. When the MCU is working, it is necessary to periodically control the level of the WDI pin of the watchdog chip to flip. If the level of the WDI pin does not flip within the preset time, the RESET pin will send a RESET signal to the MCU to reset the MCU. However, since the MCU generally takes from dozens of seconds to several minutes of non-fixed time to start up, during the startup process of the MCU, the watchdog chip is prone to misjudging the operating state of the MCU, resulting in the MCU entering a deadlock state of repeated startup and reset. Therefore, the monitoring unit also needs to set an analog switch chip. The model of the analog switch chip is UM3156, including a B1 pin, a Select pin, a VCC pin, and an A pin. Among them, the B1 pin is connected to the IO4 pin, the Select pin is connected to the IO5 pin, the VCC pin is connected to the voltage stabilization unit, and the A pin is connected to the WDI pin.
[0079] When the MCU is not started, the IO5 pin is at a low level. The level states of the A pin and the B0 pin of the analog switch chip UM3156 are the same and are both in a floating state. The A pin connects the WDI pin to the floating state. At this time, the watchdog chip UM706MS will disable the watchdog function, that is, the monitoring function of the MCU operating state. After the MCU starts up, the IO5 pin of the MCU is at a high level. The level states of the A pin and the B1 pin of the analog switch chip UM3156 are the same. The watchdog chip starts to monitor the operating state of the MCU. The B1 pin of the watchdog chip is connected to the IO4 pin of the MCU. The MCU controls the level state of the WDI pin of the watchdog chip by switching the level state of the IO4 pin to periodically control the level of the WDI pin of the watchdog chip to flip.
[0080] Furthermore, the machine controller also includes a protective shell, and the micro control unit, the communication unit and the voltage stabilizing unit are all arranged in the protective shell.
[0081] Figure 7 as well as Figure 8 A schematic diagram of an embodiment of a protective housing is shown. Figure 7 and Figure 8 As shown, the protective shell in this embodiment is a hollow cuboid, and a rectangular mounting opening 1 is provided on the first surface of the protective shell, and a circular connecting hole 2 is provided on the second surface of the protective shell opposite to the first surface, and the rectangular mounting opening 1 and the circular connecting hole 2 both penetrate the protective shell wall. The microcontroller unit, the voltage stabilizing unit, the overvoltage protection unit, the communication unit and the monitoring unit are all arranged in the hollow cavity formed by the shell wall, and the interface J1 extends out of the protective shell from the rectangular mounting opening 1 to realize the connection between the communication unit and the host computer through the interface J1. One end of the control cable is connected to the microcontroller unit, and the other end extends out of the protective shell from the circular connecting hole 2 to connect to the connecting cable between the machine and the machine keyboard. The various units of the controller are encapsulated by the protective shell, which can protect the various components of the controller while reducing the volume of the controller, making the controller easy to use.
[0082] The above is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiments. It is understood that other improvements and changes directly derived or associated by those skilled in the art without departing from the spirit and concept of the present invention should be considered to be included in the protection scope of the present invention.
Claims
1. A general-purpose machine controller, characterized in that, Comprising: A microcontroller unit, adaptively connected to the machine keyboard and the machine; A communication unit, connected between the host computer and the microcontroller unit, for transmitting the control signal output by the host computer to the microcontroller unit; A voltage regulation unit, connected to the communication unit and the microcontroller unit, for providing operating voltage for the communication unit and the microcontroller unit; An overvoltage protection unit, connected to the voltage regulation unit, for providing overvoltage protection; The microcontroller unit controls the operation of the machine based on the keyboard signal output by the machine keyboard or the control signal output by the host computer.
2. The general machine platform controller according to claim 1, characterized in that, The overvoltage protection unit includes a switching device Q1, a switching device Q2, a resistor R5, a resistor R6, a resistor R7, a resistor R8, and a zener diode D1, wherein, One end of the resistor R5 is connected to the cathode of the zener diode D1, and is connected to the second electrode terminal of the switching device Q1 through the resistor R6, and the anode of the zener diode D1 is grounded; The other end of the resistor R5 is connected to the first electrode terminal of the switching device Q1, one end of the resistor R7, and the first electrode terminal of the switching device Q2. The third electrode terminal of the switching device Q1 is connected to the other end of the resistor R7, the second electrode terminal of the switching device Q2, and one end of the resistor R8. The other end of the resistor R8 is grounded.
3. The general machine platform controller according to claim 1, characterized in that, The voltage regulation unit includes a voltage regulation chip, a light-emitting diode LED2, a resistor R30, a capacitor C53, a capacitor C54, a capacitor C55, a capacitor C56, an inductor L2, a capacitor C71, a capacitor C72, and an inductor L3, wherein, The model of the voltage regulation chip is AMS1117, including a VIN pin, a VOUT pin, an ADJ pin, and a TAB pin, wherein, The VIN pin is connected to one end of the capacitor C53, one end of the capacitor C54, and the anode of the light-emitting diode LED2. The other end of the capacitor C53 and the other end of the capacitor C54 are connected to the ADJ pin and grounded. The cathode of the light-emitting diode LED2 is grounded through the resistor R30; One end of the capacitor C55 and one end of the capacitor C56 are connected to the TAB pin and one end of the inductor L2. The TAB pin is connected to the VOUT pin. The other end of the capacitor C55 and the other end of the capacitor C56 are grounded; The other end of the inductor L2 is connected to one end of the inductor L3 through the capacitor C71. The other end of the inductor L3 is grounded. The capacitor C72 is connected in parallel with the capacitor C71.
4. The general-purpose machine tool controller according to claim 1, wherein, The communication unit is connected to the host computer through an interface J1. The interface J1 includes a USB Type-A interface, and the USB Type-A interface includes a D+ pin and a D- pin.
5. The general machine platform controller according to claim 4, wherein The communication unit includes a conversion chip and a capacitor C52, wherein, The model of the conversion chip is CH340N, including a UD+ pin, a UD- pin, an RXD pin, a TXD pin, a GND pin, and a VCC pin; The D+ pin is connected to the UD+ pin, the D- pin is connected to the UD- pin. The GND pin is connected to the VCC pin through the capacitor C52, and the VCC pin is connected to the voltage regulation unit.
6. The general machine platform controller according to claim 5, characterized in that, The microcontroller unit includes an MCU, and the model of the MCU is ESP32-S3, which includes a TXD0 pin, an RXD0 pin, an IO4 pin, an IO5 pin, an IO6 pin, and a RESET0 pin; The TXD0 pin is connected to the RXD pin, and the RXD0 pin is connected to the TXD pin.
7. The general-purpose machine tool controller according to claim 6, wherein, It further includes a monitoring unit, and the monitoring unit includes a watchdog chip, a resistor R37, a resistor R38, a resistor R39, and a key switch SW1. Among them, The model of the watchdog chip is UM706MS, which includes a VCC pin, a WDO pin, an MR pin, a PFI pin, a RESET pin, a WDI pin, and a PFO pin; The PFI pin is connected to one end of the resistor R38 and one end of the resistor R39. The other end of the resistor R38 is connected to the voltage stabilization unit, and the other end of the resistor R39 is grounded; The MR pin is grounded through the key switch SW1. The MR pin is also connected to the WDO pin through the resistor R37. The RESET pin is connected to the RESET0 pin, and the PFO pin is connected to the IO6 pin.
8. The general machine platform controller according to claim 7, characterized in that, The monitoring unit further includes an analog switch chip. The model of the analog switch chip is UM3156, which includes a B1 pin, a Select pin, a VCC pin, and an A pin. Among them, The B1 pin is connected to the IO4 pin, the Select pin is connected to the IO5 pin, the VCC pin is connected to the voltage stabilization unit, and the A pin is connected to the WDI pin.
9. The general machine platform controller according to claim 3, wherein The switching device Q1 includes a PNP triode, and the switching device Q2 includes a PMOS transistor or an NMOS transistor.
10. The general-purpose machine tool controller according to claim 1, characterized in that, It further includes a protective housing, and the microcontroller unit, the communication unit, and the voltage stabilization unit are all arranged inside the protective housing.