CN110794754A - Numerical control laser cutting machine control circuit based on singlechip - Google Patents

Numerical control laser cutting machine control circuit based on singlechip Download PDF

Info

Publication number
CN110794754A
CN110794754A CN201911288248.1A CN201911288248A CN110794754A CN 110794754 A CN110794754 A CN 110794754A CN 201911288248 A CN201911288248 A CN 201911288248A CN 110794754 A CN110794754 A CN 110794754A
Authority
CN
China
Prior art keywords
capacitor
terminal
resistor
circuit
grounded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911288248.1A
Other languages
Chinese (zh)
Inventor
范淇元
方紫琪
林春盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou College of South China University of Technology
Original Assignee
Guangzhou College of South China University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou College of South China University of Technology filed Critical Guangzhou College of South China University of Technology
Priority to CN201911288248.1A priority Critical patent/CN110794754A/en
Publication of CN110794754A publication Critical patent/CN110794754A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/048Monitoring; Safety
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current
    • G05F1/46Regulating voltage or current wherein the variable actually regulated by the final control device is dc
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H7/00Multiple-port networks comprising only passive electrical elements as network components
    • H03H7/01Frequency selective two-port networks
    • H03H7/0115Frequency selective two-port networks comprising only inductors and capacitors
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H7/00Multiple-port networks comprising only passive electrical elements as network components
    • H03H7/01Frequency selective two-port networks
    • H03H7/0153Electrical filters; Controlling thereof
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24032Power on reset, powering up
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24125Watchdog, check at timed intervals
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25028Power, data and clock bus
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25039Clock

Abstract

The invention discloses a numerical control laser cutting machine control circuit based on a single chip microcomputer, which comprises an STM32F103ZET6 single chip microcomputer, a clock circuit, a reset circuit, a synchronous asynchronous transceiver, an indicator light circuit, a plug circuit, a JTAG interface circuit, a voltage reduction and voltage stabilization circuit, a rectification filter circuit and a USB bus switching circuit. The control circuit of the invention can accurately control the numerical control laser cutting machine.

Description

Numerical control laser cutting machine control circuit based on singlechip
Technical Field
The invention relates to a control circuit of a laser cutting machine, in particular to a numerical control laser cutting machine control circuit based on a single chip microcomputer, and belongs to the technical field of laser cutting machine control circuits.
Background
At present, most of the machines and equipments using laser emitted from the laser emitter for cutting process are internationally representative enterprises and manufacturers: the laser devices used abroad are well known from TRUMPF (germany), PRIMA (italy), BYSTRONIC (switzerland), TANAKA (japan) and WHITNEY (usa), and most of them have been developed successively, and in addition, they have invested a lot of capital cost every year in the development of the machine devices using laser cutting, so that new machine models can be introduced every year, for example, the rapid laser device with acceleration a of 2 gm/s2, 3 gm/s2 was introduced in 2007 by the hundred super corporation, and the technology of the machine devices using laser cutting in foreign countries is mature and has a rapid development tendency.
With the popularization of the technology and process for machining and cutting by using laser, people gradually enter familiar production and manufacturing, the market further advocates the requirements of high cutting speed in machining, improvement of cutting efficiency in machining and cutting, reduction of waiting time required by platform operation of an feeding and discharging system in cutting, expansion of objects and layers for machining and cutting of three-dimensional workpieces, application and development of thick plates and high-reflection materials, reduction of electric energy loss of machines in the objects and layers, and the like.
The control circuit of the existing numerical control laser cutting machine is insufficient in control precision, large in occupied space and incomplete in function, and therefore the control circuit of the numerical control laser cutting machine based on the single chip microcomputer is designed to optimize the problems.
Disclosure of Invention
The invention mainly aims to provide a control circuit of a numerical control laser cutting machine based on a single chip microcomputer, and the control circuit can accurately control the numerical control laser cutting machine.
The purpose of the invention can be achieved by adopting the following technical scheme:
a control circuit of a numerical control laser cutting machine based on a single chip microcomputer comprises an STM32F103ZET6 single chip microcomputer, a clock circuit, a reset circuit, a synchronous asynchronous transceiver, an indicator light circuit, a plug circuit, a JTAG interface circuit, a voltage reduction voltage stabilizing circuit, a rectification filter circuit and a USB bus switching circuit, wherein the STM32F103ZET6 single chip microcomputer is connected with one group of clock circuits through PC14 and PC15 terminals, the STM32F103ZET6 single chip microcomputer is connected with two groups of reset circuits through NRST terminals, the STM32F103ZET6 single chip microcomputer is connected with the other group of clock circuits through OSC _ IN and OSC _ OUT terminals, the STM32F103ZET6 single chip microcomputer is connected with the USB bus switching circuit through NRST and BOOTO terminals, the STM32F103ZET6 PA10 and PA9 terminals are connected with the synchronous transceiver, the STM32F 103T ZET6 is connected with a PB group of plug circuit through BOOTO and PB circuits through NRST 868653 and BOOTO terminals, the STC 8672 and the STC 368672, the STM32F103ZET6 single chip microcomputer is connected with an indicator light circuit through PF5 and PR8 terminals, and the STM32F103ZET6 single chip microcomputer is connected with a rectifying and filtering circuit through VDDA, VREF +, VSSA and VREF-terminals;
the reset circuit is provided with two groups, wherein one group of reset circuit comprises a resistor R24, a capacitor C28 and a button S1 which are connected with the NRST terminal of the STM32F103ZET6 singlechip, the other end of the capacitor C28 is grounded and connected with the other end of the button S1, and the other end of the resistor R24 is connected with a 3.3V power supply; another group of reset circuits comprises a watchdog chip U1 connected with the STM32F103ZET6 single-chip microcomputer, a terminal 7 of the watchdog chip U1 is connected with one end of a resistor R3, the other end of a resistor R3 is grounded, a terminal 6 of the watchdog chip U1 is connected with one end of a resistor R2, the other end of the resistor R2 is grounded, a terminal 2 of the watchdog chip U1 is connected with one end of a capacitor C1 and a 3.3V power supply, a terminal 1 of the watchdog chip U1 is connected with one end of a resistor R1, one end of a capacitor C2, one end of a button K1 and one end of a resistor R4, a terminal 8 of the watchdog chip U1 is connected with the other end of a resistor R4, terminals 3 and 4 of the watchdog chip U1 are grounded, the other end of the button K1 is grounded, the other end of the capacitor C1 is grounded, the other end of the resistor R2 is connected with another 3.3V power supply, and the other end of the resistor R3 is grounded;
the USB bus switching circuit comprises a USB bus switching chip U2, wherein the terminal 1 of the USB bus switching chip U2 is grounded, the terminals TXD and RXD of the USB bus switching chip U2 are connected with the terminals 2 and 4 of the USART1 module, the terminal 4 of the USB bus switching chip U2 is connected with one end of a capacitor C21, the other end of the capacitor C21 is grounded, the terminals CH340D + and CH340D of the USB bus switching chip U2 are connected with the terminals 3 and 2 of an interface USB, the terminal 1 of the interface USB is connected with a power supply, the terminal 5 of the interface USB is grounded, the terminal 7 of the USB bus switching chip U2 is connected with one end of a crystal oscillator Y1 and one end of a capacitor C8, the terminal 8 of the USB bus switching chip U2 is connected with one end of a capacitor C22 and the other end of a crystal oscillator Y1, the other end of the capacitor C22 is connected with the other end of the capacitor C23, one end of a terminal 16 of the USB bus switching chip U2 is connected with one end of the capacitor C20 and the power supply and the terminal, the other ends of the capacitor C20 and the capacitor C19 are grounded, the 14 terminal of the USB bus adapter chip U2 is connected with one end of a resistor R17 and the emitter of a triode Q1, the 13 terminal of the USB bus adapter chip U2 is connected with one end of a resistor R16, the other end of the resistor R16 is connected with the base of a triode Q1, the collector of the triode Q1 is connected with the cathode of a diode D1 and one end of a resistor R15, the other end of the resistor R15 is connected with 3.3V of a power supply, the other end of the diode D1 is connected with the NRST terminal of an STM32F103ZET6 singlechip, the other end of the resistor R17 is connected with the base of a triode Q2, the collector of the triode Q2 is connected with one end of a resistor R18, the other end of the resistor R18 is connected with the BOOTO terminal of an STM32F103ZET6, and the emitter of the.
The control circuit of the numerical control laser cutting machine based on the single chip microcomputer clocks through the clock circuit and resets the control circuit through the reset circuit, and particularly, when the output power of the output power supply of the voltage reduction and voltage stabilization circuit reaches a certain value, the main control circuit can generate 'abnormal work', and particularly when the output power of the power supply is more than or equal to 80% of rated power, the occurrence probability is higher. After the reset circuit with the U1 is arranged, the resistance to external interference is obviously stable, and the working principle of the reset circuit is as follows: when K1 is pressed, a reset signal is sent to the STM32F103ZET6 single chip microcomputer through U1, and the STM32F103ZET6 single chip microcomputer is forced to reset. Because set up step-down voltage stabilizing circuit and rectifier filter circuit, consequently, can provide stable voltage for STM32F103ZET6 singlechip, let the job stabilization of STM32F103ZET6 singlechip. In the process of converting the USB into the serial port, if the USB inputs data, the data enters a USB bus transfer chip U2 through CH340D + and CH 340D-terminals, then an MOEDM contact signal is requested to occur through RTS #, the MOEDM contact signal is output through DTR #, the data terminal of an STM32F103ZET6 singlechip is notified to be ready through a BOOT0 interface of an STM32F103ZET6 singlechip, and then the USB bus transfer chip U2 generates and receives the data through TXD and RXD and PA9 and PA10 of the STM32F103ZET6 singlechip, so that the conversion of the USB data is realized. Therefore, the USB data can be transmitted and converted reliably and accurately, and the cutting precision of numerical control laser cutting is improved.
Preferably, the clock circuit is provided with two groups, wherein one group comprises a resistor R20 connected with the terminal of a PC14 of the STM32F103ZET6 singlechip, the other end of the resistor R20 is connected with one end of a capacitor C25 and one end of a crystal oscillator X1, the other end of the capacitor C25 is grounded, the terminal of the PC15 of the STM32F103ZET6 singlechip is connected with a resistor R21, the other end of the resistor R21 is connected with one end of a capacitor C16 and the other end of a crystal oscillator X1, and the other end of the capacitor C16 is grounded; the other group of clock circuits comprises a resistor R23 and a crystal oscillator X2 which are connected with an OSC _ IN terminal of the STM32F103ZET6 singlechip and a capacitor C24, the other end of the capacitor C24 is grounded, the other end of the crystal oscillator X2 is connected with an OSC _ OUT terminal of the STM32F103ZET6 singlechip, the OSC _ OUT terminal of the STM32F103ZET6 singlechip is also connected with the other end of the resistor R23 and one end of the capacitor C27, and the other end of the capacitor C27 is grounded. The two clock circuits are used for timing simultaneously, so that the timing is more accurate.
Preferably, the synchronous asynchronous transceiver comprises a USART1 module, wherein a1 wire of the USART1 module is connected with a PA10 terminal of the STM32F103ZET6 singlechip, a 3 wire of the USART1 module is connected with a PA9 terminal of the STM32F103ZET6 singlechip, and 2 and 4 wires of the USART1 module are connected with TXD and RXD terminals of the USB bus switching circuit.
Preferably, the indicating lamp circuit comprises one end of a resistor R41 connected with a PF5 terminal of the STM32F103ZET6 singlechip, the other end of the resistor R41 is connected with an anode of a light-emitting diode LD1, a PF8 terminal of the STM32F103ZET6 singlechip is connected with one end of a resistor R42, the other end of the resistor R42 is connected with a cathode of a light-emitting diode LD2, and cathodes of the light-emitting diode LD1 and the light-emitting diode LD2 are both grounded. After the STM32F103ZET6 singlechip is started, LD1 and LD2 are supplied with power through PF5 and PF8, and thus, whether the STM32F103ZET6 singlechip works or not can be intuitively known.
Preferably, the plug circuit comprises a Header3X2 plug, wherein a1 terminal and a 2 terminal of the Header3X2 plug both have a 3.3V power supply, a 3 terminal of the Header3X2 plug is connected with one end of a resistor R8, the other end of the resistor R8 is connected with a BOOTO terminal of an STM32F103ZET6 single chip microcomputer, a 4 terminal of the Header3X2 plug is connected with one end of the resistor R9, the other end of the resistor R9 is connected with a B00T1 terminal of the STM32F103ZET6 single chip microcomputer, and 5 and 6 terminals of the Header3X2 plug are grounded.
Preferably, the JTAG interface circuit includes a JTAG interface J2, where 4, 6, 8, 10, 12, 14, 16, 18 and 20 of the JTAG interface J2 are grounded, 3, 5, 7, 9, 11 and 13 of the JTAG interface J2 are respectively connected to one end of resistors R7, R6, R5, R4, R12 and R3, the other end of the resistor R12 is connected to one end of the resistor R4, the other end of the resistors R7, R6, R5, R4 and R3 is connected to a 3.3V power supply, the JTAG interface J2 is connected to 5V power supply through a resistor R14, and the 3, 5, 7, 9, 13 and 15 connection wires of the JTAG interface J2 are connected to PB4, PA15, PA13, PA14, PB3 and NRST terminals of the STM32F103ZET 6.
Preferably, the voltage reduction and stabilization circuit comprises a voltage stabilization chip U1, a 3-terminal of the voltage stabilization chip U1 is connected with one end of a capacitor C3, an anode of a polar capacitor C1 and a 5V power supply, a 2-terminal of the voltage stabilization chip U1 is connected with an anode of a polar capacitor C2 and one end of a capacitor C4 and outputs 3.3V power supply, a cathode of the polar capacitor C2, the other end of the capacitor C4, the other end of the capacitor C3 and a cathode of the organic capacitor C1 are all grounded, and a 1-terminal of the voltage stabilization chip U1 is grounded. The circuit can realize the output of stable voltage through the voltage stabilizing chip U1.
Preferably, the rectification filter circuit comprises an inductor L1 and an inductor L2 which are connected with VDDA of the STM32F103ZET6 singlechip, the inductor L1 and the inductor L2 are respectively connected with a 3.3V power supply, a VREF + terminal of the STM32F103ZET6 singlechip, and one ends of a capacitor C6 and a capacitor C7, the other ends of the capacitor C6 and the capacitor C7 are connected with a VREF-terminal of the STM32F103ZET6 singlechip and one end of an inductor L4, the other end of the inductor L4 is connected with a VSSA terminal of the STM32F103ZET6 singlechip and one end of an inductor L3, the other end of the inductor L3 is grounded, the a terminal of the STM32F103ZET6 singlechip is also connected with one end of a capacitor C5, and the other end of the capacitor C5 is connected with a VSSA terminal of the STM32F103ZET6 singlechip. This circuit, through the filtering back, can provide clean, stable voltage for STM32F103ZET6 singlechip, make the job stabilization nature of STM32F103ZET6 singlechip good.
Drawings
Fig. 1 is a circuit diagram of an STM32F103ZET6 single chip microcomputer of a preferred embodiment of a control circuit of a numerical control laser cutting machine based on the single chip microcomputer.
Fig. 2 is a schematic diagram of another reset circuit.
Fig. 3 is a schematic diagram of a synchronous asynchronous receiver.
FIG. 4 is a USB bus adapter circuit.
FIG. 5 is a diagram of a USB architecture.
Fig. 6 is a schematic diagram of an indicator light circuit.
Fig. 7 is a schematic diagram of a plug circuit.
FIG. 8 is a schematic diagram of JTAG interface circuitry.
FIG. 9 is a schematic diagram of a buck regulator circuit.
Fig. 10 is a schematic diagram of a rectifying-filtering circuit.
Detailed Description
In order to make the technical solutions of the present invention more clear and definite for those skilled in the art, the present invention is further described in detail below with reference to the examples and the accompanying drawings, but the embodiments of the present invention are not limited thereto.
As shown in fig. 1-10, the control circuit of the numerical control laser cutting machine based on the single chip microcomputer provided by the embodiment includes an STM32F103ZET6 single chip microcomputer, a clock circuit, a reset circuit, a synchronous asynchronous transceiver, an indicator light circuit, a plug circuit, a JTAG interface circuit, a voltage reduction and stabilization circuit, a rectification filter circuit, and a USB bus adapter circuit.
The STM32F103ZET6 single-chip microcomputer is connected with a group of clock circuits through PC14 and PC15 terminals, the STM32F103ZET6 single-chip microcomputer is connected with two groups of reset circuits through NRST terminals, the STM32F103ZET6 single-chip microcomputer is connected with another group of clock circuits through OSC _ IN and OSC _ OUT terminals, the STM32F103ZET6 single-chip microcomputer is connected with a USB bus switching circuit through NRST and BOOTO terminals, the STM 6F 103ZET6 single-chip microcomputer PA 6 and PA 6 terminals are connected with a synchronous asynchronous transceiver, the STM 6F 103ZET6 single-chip microcomputer is connected with a group of plug circuits through BOOTO and BOOTO 72 terminals, the STM 6F 103ZET6 single-chip microcomputer is connected with an indication circuit through PB 6 and VREF 6 terminals, and the STM 6F 103ZET6 is connected with an indication circuit through VSTP rectifying circuits and VSSA rectifying circuits.
In this embodiment, as shown in fig. 1, the clock circuit is provided with two sets, one set includes a resistor R20 connected to the terminal of the STM32F103ZET6 single chip microcomputer PC14, the other end of the resistor R20 is connected to one end of a capacitor C25 and one end of a crystal oscillator X1, the other end of the capacitor C25 is grounded, the terminal of the PC15 of the STM32F103ZET6 single chip microcomputer PC15 is connected to the resistor R21, the other end of the resistor R21 is connected to one end of the capacitor C16 and the other end of the crystal oscillator X1, and the other end of the capacitor C16 is grounded.
The other group of clock circuits comprises a resistor R23 and a crystal oscillator X2 which are connected with an OSC _ IN terminal of the STM32F103ZET6 singlechip and a capacitor C14, the other end of the capacitor C14 is grounded, the other end of the crystal oscillator X2 is connected with an OSC _ OUT terminal of the STM32F103ZET6 singlechip, the OSC _ OUT terminal of the STM32F103ZET6 singlechip is also connected with the other end of the resistor R23 and one end of the capacitor C17, and the other end of the capacitor C17 is grounded.
In this embodiment, the reset circuits are provided in two sets, as shown in fig. 1, one set of reset circuit includes a resistor R24, a capacitor C28 and a button S1, which are connected to the NRST terminal of the STM32F103ZET6 single chip microcomputer NRST, the other end of the capacitor C28 is grounded and connected to the other end of the button S1, the other end of the resistor R24 is connected to a 3.3V power supply, and when the button S1 is pressed, the capacitor C28 is short-circuited, so that reset is realized.
As shown in fig. 2, another set of reset circuits includes a watchdog chip U1 connected to the STM32F103ZET6 single chip, in this embodiment, the model of the watchdog chip U1 is SP706S, the 7 terminal of the watchdog chip U1 is connected to one end of a resistor R3, the other end of the resistor R3 is grounded, the 6 terminal of the watchdog chip U1 is connected to one end of a resistor R2, the other end of the resistor R2 is grounded, the 2 terminal of the watchdog chip U1 is connected to one end of a capacitor C1 and a 3.3V power supply, the 1 terminal of the watchdog chip U1 is connected to one end of a resistor R1, one end of a capacitor C2, one end of a button K1 and one end of a resistor R4, the 8 terminal of the watchdog chip U1 is connected to the other end of a resistor R4, the 3 and the 4 terminal of the watchdog chip U1 are grounded, the other end of the button K1 is connected to the ground, the other end of the capacitor C1 is connected to the other end of the resistor R2, the resistor R3.3V 3, the other end of the resistor R3 is grounded.
The reset circuit in STM32F103ZET6 singlechip belongs to low level reset circuit, if there is the needs of resetting the chip, can use the outage to reset and accomplish this operation.
In this embodiment, as shown in fig. 3, the synchronous-asynchronous transceiver includes a USART1 module, where 1 wire of the USART1 module is connected to the PA10 terminal of the STM32F103ZET6 single chip microcomputer, 3 wires of the USART1 module are connected to the PA9 terminal of the STM32F103ZET6 single chip microcomputer, and 2 and 4 wires of the USART1 module are connected to the TXD and RXD terminals of the USB bus adapter circuit.
In this embodiment, as shown in fig. 4 and 5, the USB bus adapter circuit includes a USB bus adapter chip U2, the 1 terminal of the USB bus adapter chip U2 is grounded, the TXD and RXD terminals of the USB bus adapter chip U2 are connected to the 2 and 4 terminals of the USART1 module, the 4 terminal of the USB bus adapter chip U2 is connected to one end of a capacitor C21, the other end of the capacitor C21 is grounded, the CH340D +, CH 340D-terminal of the USB bus adapter chip U2 is connected to the 3 and 2 terminals of the interface USB, the 1 terminal of the interface USB is connected to the power supply, the 5 terminal of the interface USB is grounded, the 7 terminal of the USB bus adapter chip U2 is connected to one end of a crystal oscillator Y1 and one end of a capacitor C23, the 8 terminal of the USB bus adapter chip U2 is connected to one end of a capacitor C22 and the other end of a crystal oscillator Y1, the other end of the capacitor C22 is grounded to the other end of the capacitor C23, the 16 wires of the USB bus adapter chip U2 are connected with one end of the capacitor C20, one end of the capacitor C19 and a 5V power supply, the other ends of the capacitor C20 and the capacitor C19 are grounded, the 14 terminal of the USB bus adapter chip U2 is connected with one end of a resistor R17 and the emitter of a triode Q1, the terminal 13 of the USB bus adapter chip U2 is connected with one end of a resistor R16, the other end of the resistor R16 is connected with the base electrode of a triode Q1, the collector of the triode Q1 is connected with the cathode of the diode D1 and one end of the resistor R15, the other end of the resistor R15 is connected with the power supply 3.3V, the other end of the diode D1 is connected with the NRST terminal of the STM32F103ZET6 singlechip, the other end of the resistor R17 is connected with the base of a triode Q2, the collector of the triode Q2 is connected with one end of a resistor R18, the other end of the resistor R18 is connected with a BOOTO terminal of an STM32F103ZET6 singlechip, and an emitter of the triode Q2 is connected with a 3.3V power supply.
In this embodiment, as shown in fig. 6, the indicator light circuit includes one end of a resistor R1 connected to the PF5 terminal of the STM32F103ZET6 single chip microcomputer, the other end of the resistor R1 is connected to the anode of a light emitting diode LD1, the PF8 terminal of the STM32F103ZET6 single chip microcomputer is connected to one end of the resistor R2, the other end of the resistor R2 is connected to the cathode of the light emitting diode LD2, and the cathodes of the light emitting diodes LD1 and LD2 are both grounded. After the STM32F103ZET6 singlechip is started, LD1 and LD2 are supplied with power through PF5 and PF8, and thus, whether the STM32F103ZET6 singlechip works or not can be intuitively known.
In this embodiment, as shown in fig. 7, the plug circuit includes a Header3X2 plug, both the 1 terminal and the 2 terminal of the Header3X2 plug have a 3.3V power supply, the 3 terminal of the Header3X2 plug is connected with one end of a resistor R8, the other end of the resistor R8 is connected with the BOOTO terminal of an STM32F103ZET6 single chip microcomputer, the 4 terminal of the Header3X2 plug is connected with one end of a resistor R9, the other end of the resistor R9 is connected with the B00T1 terminal of the STM32F103ZET6 single chip microcomputer, and the 5 and 6 terminals of the Header3X2 plug are grounded.
In this embodiment, as shown in fig. 8, the JTAG interface circuit includes a JTAG interface J2, where 4, 6, 8, 10, 12, 14, 16, 18, and 20 of the JTAG interface J2 are grounded, 1, 3, 5, 7, 9, 11, and 13 of the JTAG interface J2 are respectively connected to one end of resistors R7, R6, R5, R4, R12, and R3, another end of the resistor R12 is connected to one end of a resistor R4, another ends of the resistors R7, R6, R5, R4, and R3 are connected to a 3.3V power supply, the JTAG interface J2 is connected to the 5V power supply through a resistor R14, and 3, 5, 7, 9, 13, and 15 connection terminals of the JTAG interface J2 are connected to PB4, PA15, PA13, PA14, PB3, and NRST monolithic computer of STM32F103 t 6.
In this embodiment, as shown in fig. 9, the step-down voltage stabilizing circuit includes a voltage stabilizing chip U1, the voltage stabilizing chip U1 is LM1117-3.3, a 3 terminal of the voltage stabilizing chip U1 is connected to one end of a capacitor C3, an anode of an active capacitor C1 and a 5V power supply, a 2 terminal of the voltage stabilizing chip U1 is connected to an anode of an active capacitor C2 and one end of a capacitor C4 and outputs 3.3V power, a cathode of the active capacitor C2, the other end of a capacitor C4, the other end of the capacitor C3 and a cathode of an organic capacitor C1 are all grounded, and a1 terminal of the voltage stabilizing chip U1 is grounded. The circuit can realize the output of stable voltage through the voltage stabilizing chip U1.
In this embodiment, as shown in fig. 10, the rectifying and filtering circuit includes an inductor L1 and an inductor L2 connected to VDDA of the STM32F103ZET6 single chip microcomputer, the inductor L1 and the inductor L2 are respectively connected to a 3.3V power supply, a VREF + terminal of the STM32F103ZET6 single chip microcomputer, and one ends of a capacitor C6 and a capacitor C7, the other ends of the capacitor C6 and the capacitor C7 are connected to a VREF terminal of the STM32F103ZET6 single chip microcomputer and one end of an inductor L4, the other end of the inductor L4 is connected to VSSA terminal of the STM32F103ZET6 single chip microcomputer and one end of an inductor L3, the other end of the inductor L3 is grounded, the zea VDDA terminal of the STM32F103 t6 is also connected to one end of a capacitor C5, and the other end of the capacitor C5 is connected to VSSA terminal of the STM32F 103F 6. This circuit, through the filtering back, can provide clean, stable voltage for STM32F103ZET6 singlechip, make the job stabilization nature of STM32F103ZET6 singlechip good.
The control circuit of the numerical control laser cutting machine based on the single chip microcomputer clocks through the clock circuit and resets the control circuit through the reset circuit, and particularly, when the output power of the output power supply of the voltage reduction and voltage stabilization circuit reaches a certain value, the main control circuit can generate 'abnormal work', and particularly when the output power of the power supply is more than or equal to 80% of rated power, the occurrence probability is higher. After the reset circuit with the U1 is arranged, the resistance to external interference is obviously stable, and the working principle of the reset circuit is as follows: when K1 is pressed, a reset signal is sent to the STM32F103ZET6 single chip microcomputer through U1, and the STM32F103ZET6 single chip microcomputer is forced to reset. Because set up step-down voltage stabilizing circuit and rectifier filter circuit, consequently, can provide stable voltage for STM32F103ZET6 singlechip, let the job stabilization of STM32F103ZET6 singlechip. In the process of converting the USB into the serial port, if the USB inputs data, the data enters a USB bus transfer chip U2 through CH340D + and CH 340D-terminals, then an MOEDM contact signal is requested to occur through RTS #, the MOEDM contact signal is output through DTR #, the data terminal of an STM32F103ZET6 singlechip is notified to be ready through a BOOT0 interface of an STM32F103ZET6 singlechip, and then the USB bus transfer chip U2 generates and receives the data through TXD and RXD and PA9 and PA10 of the STM32F103ZET6 singlechip, so that the conversion of the USB data is realized. Therefore, the USB data can be transmitted and converted reliably and accurately, and the cutting precision of numerical control laser cutting is improved.
The above description is only for the purpose of illustrating the present invention and is not intended to limit the scope of the present invention, and any person skilled in the art can substitute or change the technical solution of the present invention and its conception within the scope of the present invention.

Claims (8)

1. The utility model provides a numerical control laser cutting machine control circuit based on singlechip, includes STM32F103ZET6 singlechip, clock circuit, reset circuit, synchronous asynchronous transceiver, pilot lamp circuit, plug circuit, JTAG interface circuit, step-down voltage stabilizing circuit, rectification filter circuit, USB bus switching circuit, its characterized in that: the STM32F103ZET6 single-chip microcomputer is connected with a group of clock circuits through PC14 and PC15 terminals, the STM32F103ZET6 single-chip microcomputer is connected with two groups of reset circuits through NRST terminals, the STM32F103ZET6 single-chip microcomputer is connected with another group of clock circuits through OSC _ IN and OSC _ OUT terminals, the STM32F103ZET6 single-chip microcomputer is connected with a USB bus switching circuit through NRST and BOOTO terminals, the STM32F103ZET6 single-chip microcomputer PA10 and PA9 terminals are connected with a synchronous asynchronous transceiver, the STM 9F 103ZET 9 single-chip microcomputer is connected with a group of plug circuits through BOOTO and BOOTO 72 terminals, the STM 9F 103ZET 9 single-chip microcomputer is connected with an indication circuit through PF 9 terminals and VREF terminals, the STM 9F 9 ZET 9 is connected with an indication circuit through VSTP terminals and VREF 9 and VSST terminals, and the STM 9 rectifying circuit is connected with a rectifying circuit through VSSA and a rectifying circuit;
the reset circuit is provided with two groups, wherein one group of reset circuit comprises a resistor R24, a capacitor C28 and a button S1 which are connected with the NRST terminal of the STM32F103ZET6 singlechip, the other end of the capacitor C28 is grounded and connected with the other end of the button S1, and the other end of the resistor R24 is connected with a 3.3V power supply; another group of reset circuits comprises a watchdog chip U1 connected with the STM32F103ZET6 single-chip microcomputer, a terminal 7 of the watchdog chip U1 is connected with one end of a resistor R3, the other end of a resistor R3 is grounded, a terminal 6 of the watchdog chip U1 is connected with one end of a resistor R2, the other end of the resistor R2 is grounded, a terminal 2 of the watchdog chip U1 is connected with one end of a capacitor C1 and a 3.3V power supply, a terminal 1 of the watchdog chip U1 is connected with one end of a resistor R1, one end of a capacitor C2, one end of a button K1 and one end of a resistor R4, a terminal 8 of the watchdog chip U1 is connected with the other end of a resistor R4, terminals 3 and 4 of the watchdog chip U1 are grounded, the other end of the button K1 is grounded, the other end of the capacitor C1 is grounded, the other end of the resistor R2 is connected with another 3.3V power supply, and the other end of the resistor R3 is grounded;
the USB bus switching circuit comprises a USB bus switching chip U2, wherein the terminal 1 of the USB bus switching chip U2 is grounded, the terminals TXD and RXD of the USB bus switching chip U2 are connected with the terminals 2 and 4 of the USART1 module, the terminal 4 of the USB bus switching chip U2 is connected with one end of a capacitor C21, the other end of the capacitor C21 is grounded, the terminals CH340D + and CH340D of the USB bus switching chip U2 are connected with the terminals 3 and 2 of an interface USB, the terminal 1 of the interface USB is connected with a power supply, the terminal 5 of the interface USB is grounded, the terminal 7 of the USB bus switching chip U2 is connected with one end of a crystal oscillator Y1 and one end of a capacitor C8, the terminal 8 of the USB bus switching chip U2 is connected with one end of a capacitor C22 and the other end of a crystal oscillator Y1, the other end of the capacitor C22 is connected with the other end of the capacitor C23, one end of a terminal 16 of the USB bus switching chip U2 is connected with one end of the capacitor C20 and the power supply and the terminal, the other ends of the capacitor C20 and the capacitor C19 are grounded, the 14 terminal of the USB bus adapter chip U2 is connected with one end of a resistor R17 and the emitter of a triode Q1, the 13 terminal of the USB bus adapter chip U2 is connected with one end of a resistor R16, the other end of the resistor R16 is connected with the base of a triode Q1, the collector of the triode Q1 is connected with the cathode of a diode D1 and one end of a resistor R15, the other end of the resistor R15 is connected with 3.3V of a power supply, the other end of the diode D1 is connected with the NRST terminal of an STM32F103ZET6 singlechip, the other end of the resistor R17 is connected with the base of a triode Q2, the collector of the triode Q2 is connected with one end of a resistor R18, the other end of the resistor R18 is connected with the BOOTO terminal of an STM32F103ZET6, and the emitter of the.
2. The numerical control laser cutting machine control circuit based on the single chip microcomputer according to claim 1, characterized in that: the clock circuit is provided with two groups, wherein one group comprises a resistor R20 connected with the terminal of a PC14 of the STM32F103ZET6 singlechip, the other end of the resistor R20 is connected with one end of a capacitor C25 and one end of a crystal oscillator X1, the other end of the capacitor C25 is grounded, the terminal of the PC15 of the STM32F103ZET6 singlechip is connected with a resistor R21, the other end of the resistor R21 is connected with one end of a capacitor C16 and the other end of a crystal oscillator X1, and the other end of the capacitor C16 is grounded; the other group of clock circuits comprises a resistor R23 and a crystal oscillator X2 which are connected with an OSC _ IN terminal of the STM32F103ZET6 singlechip and a capacitor C24, the other end of the capacitor C24 is grounded, the other end of the crystal oscillator X2 is connected with an OSC _ OUT terminal of the STM32F103ZET6 singlechip, the OSC _ OUT terminal of the STM32F103ZET6 singlechip is also connected with the other end of the resistor R23 and one end of the capacitor C27, and the other end of the capacitor C27 is grounded.
3. The numerical control laser cutting machine control circuit based on the single chip microcomputer according to claim 1, characterized in that: the synchronous asynchronous transceiver comprises a USART1 module, wherein a1 wiring end of the USART1 module is connected with a PA10 wiring end of the STM32F103ZET6 single chip microcomputer, a 3 wiring end of the USART1 module is connected with a PA9 wiring end of the STM32F103ZET6 single chip microcomputer, and 2 and 4 wiring ends of the USART1 module are connected with TXD (transmitter-receiver) and RXD (receiver-transmitter) wiring ends of the USB bus adapter circuit.
4. The numerical control laser cutting machine control circuit based on the single chip microcomputer according to claim 1, characterized in that: the indicating lamp circuit comprises one end of a resistor R41 connected with a PF5 terminal of the STM32F103ZET6 single chip microcomputer, the other end of the resistor R41 is connected with the anode of a light-emitting diode LD1, the PF8 terminal of the STM32F103ZET6 single chip microcomputer is connected with one end of a resistor R42, the other end of the resistor R42 is connected with the cathode of a light-emitting diode LD2, and the cathodes of the light-emitting diode LD1 and the light-emitting diode LD2 are both grounded.
5. The numerical control laser cutting machine control circuit based on the single chip microcomputer according to claim 1, characterized in that: plug circuit includes the Header3X2 plug, the 1 wiring end and the 2 wiring ends of Header3X2 plug all have the 3.3V power, the 3 wiring end termination resistance R8's of Header3X2 plug one end, the BOOTO terminal of another termination STM32F103ZET6 singlechip of resistance R8, the 4 wiring end termination resistance R9's of Header3X2 plug one end, the other termination of resistance R9 the B00T1 terminal of STM32F103ZET6 singlechip, the 5 and 6 wiring ends ground connection of Header3X2 plug.
6. The numerical control laser cutting machine control circuit based on the single chip microcomputer according to claim 1, characterized in that: the JTAG interface circuit comprises a JTAG interface J2, wherein 4, 6, 8, 10, 12, 14, 16, 18 and 20 of the JTAG interface J2 are grounded, 1, 3, 5, 7, 9, 11 and 13 of the JTAG interface J2 are respectively connected with one ends of resistors R7, R6, R5, R4, R12 and R3, the other end of the resistor R12 is connected with one end of the resistor R4, the other ends of the resistors R7, R6, R5, R4 and R3 are connected with a 3.3V power supply, the JTAG interface J2 is connected with 5V power supply through a resistor R14, and the 3, 5, 7, 9, 13 and 15 wiring of the JTAG interface J2 is connected with PB4, PA15, PA13, PA14, PB3 and NRST wiring of the single chip microcomputer interface J32F 103ZET 6.
7. The numerical control laser cutting machine control circuit based on the single chip microcomputer according to claim 1, characterized in that: the voltage reduction and stabilization circuit comprises a voltage stabilization chip U1, wherein a 3-terminal of the voltage stabilization chip U1 is connected with one end of a capacitor C3, an anode of a polar capacitor C1 and a 5V power supply, a 2-terminal of the voltage stabilization chip U1 is connected with an anode of a polar capacitor C2 and one end of a capacitor C4 and outputs 3.3V power supply, a cathode of the polar capacitor C2, the other end of the capacitor C4, the other end of the capacitor C3 and a cathode of the organic capacitor C1 are all grounded, and a 1-terminal of the voltage stabilization chip U1 is grounded.
8. The numerical control laser cutting machine control circuit based on the single chip microcomputer according to claim 1, characterized in that: the rectification filter circuit comprises an inductor L1 and an inductor L2 which are connected with VDDA of the STM32F103ZET6 singlechip, the inductor L1 and the inductor L2 are respectively connected with a 3.3V power supply, a VREF + terminal of the STM32F103ZET6 singlechip and one ends of a capacitor C6 and a capacitor C7, the other ends of the capacitor C6 and the capacitor C7 are connected with a VREF-terminal of the STM32F103ZET6 singlechip and one end of an inductor L4, the other end of the inductor L4 is connected with a VSSA terminal of the STM32F103ZET6 singlechip and one end of an inductor L3, the other end of the inductor L3 is grounded, the A terminal of the STM32F103ZET6 is also connected with one end of a capacitor C6, and the other end of the capacitor C6 is connected with a VSSA terminal of the STM 6F 103ZET 6.
CN201911288248.1A 2019-12-16 2019-12-16 Numerical control laser cutting machine control circuit based on singlechip Pending CN110794754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911288248.1A CN110794754A (en) 2019-12-16 2019-12-16 Numerical control laser cutting machine control circuit based on singlechip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911288248.1A CN110794754A (en) 2019-12-16 2019-12-16 Numerical control laser cutting machine control circuit based on singlechip

Publications (1)

Publication Number Publication Date
CN110794754A true CN110794754A (en) 2020-02-14

Family

ID=69448286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911288248.1A Pending CN110794754A (en) 2019-12-16 2019-12-16 Numerical control laser cutting machine control circuit based on singlechip

Country Status (1)

Country Link
CN (1) CN110794754A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800953A (en) * 2020-07-22 2020-10-20 刘照平 Preparation method of flexible circuit board

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156436A (en) * 2011-05-18 2011-08-17 山西飞虹激光科技有限公司 Multi-closed-loop feedback control system for laser cutter
CN102914997A (en) * 2012-10-29 2013-02-06 无锡市南方电器制造有限公司 Numerical control system of laser cutting machine
CN104785922A (en) * 2015-03-27 2015-07-22 大族激光科技产业集团股份有限公司 Laser cutting machine system and method for achieving dual-mode control
CN206115249U (en) * 2016-08-31 2017-04-19 佛山市宏石激光技术有限公司 Control circuit board based on laser cutting machine change table

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156436A (en) * 2011-05-18 2011-08-17 山西飞虹激光科技有限公司 Multi-closed-loop feedback control system for laser cutter
CN102914997A (en) * 2012-10-29 2013-02-06 无锡市南方电器制造有限公司 Numerical control system of laser cutting machine
CN104785922A (en) * 2015-03-27 2015-07-22 大族激光科技产业集团股份有限公司 Laser cutting machine system and method for achieving dual-mode control
CN206115249U (en) * 2016-08-31 2017-04-19 佛山市宏石激光技术有限公司 Control circuit board based on laser cutting machine change table

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
诺于海: ""STM32F103VET6_Nano开发板--原理图"", 《HTTPS://WENKU.BAIDU.COM/VIEW/7321B93ECE2F0066F433220C.HTML》, 18 July 2016 (2016-07-18), pages 1 *
邢媛: ""基于单片机的激光切割机控制系统设计"", 《离散制造》 *
邢媛: ""基于单片机的激光切割机控制系统设计"", 《离散制造》, no. 12, 15 December 2016 (2016-12-15), pages 64 - 65 *
黄智伟 等: ""全国大学生电子设计竞赛 ARM嵌入式系统应用设计与实践(第2版)"", 北京航空航天大学出版社, pages: 46 - 51 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800953A (en) * 2020-07-22 2020-10-20 刘照平 Preparation method of flexible circuit board

Similar Documents

Publication Publication Date Title
CN1917735A (en) Controller of LED illuminating lamp of solar energy
CN110794754A (en) Numerical control laser cutting machine control circuit based on singlechip
CN210864697U (en) USB-to-serial port circuit
CN203504233U (en) Power supply management circuit of bar code scanning gun
CN208125962U (en) A kind of PCM synthetic multiplexing device
CN116317032A (en) Faraday capacitor electric energy constant power storage and release control method
CN202737868U (en) Optical module automatic debugging tool and system thereof
CN110989502A (en) Numerical control laser cutting machine control system based on singlechip
CN209962403U (en) Dual power supply's electric power meter collection communication ware of checking
CN218040827U (en) Charging power supply structure of battery replacing cabinet
CN219960873U (en) LED control module based on CAN communication
CN108459238B (en) Distributed power grid state sensing device for energy storage
CN210639746U (en) Wireless axle load data acquisition transmitter
CN215956352U (en) Low-efficiency component searching instrument for photovoltaic power station
CN216979621U (en) Battery voltage temperature wireless communication device
CN207677645U (en) A kind of power supply circuit
CN212276242U (en) Dust removal circuit for boiler of thermal power plant
CN214751450U (en) Multi-channel information acquisition device for machine tool
CN209841952U (en) Single-chip compatible battery collection system
CN219514097U (en) Mining intrinsic safety type switch based on time-sensitive network and underground network
CN216750038U (en) Multi-point few-wire-harness temperature acquisition management device for power battery
CN208722049U (en) A kind of electric car long-distance monitorng device
CN213403017U (en) Bluetooth BLE positioning node module
CN212276562U (en) Novel wireless data acquisition device and monitoring device thereof
CN218332351U (en) Energy consumption monitoring MAU controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination