CN101477355A - Numerical control system used for miniature cutter - Google Patents

Numerical control system used for miniature cutter Download PDF

Info

Publication number
CN101477355A
CN101477355A CNA2008100322936A CN200810032293A CN101477355A CN 101477355 A CN101477355 A CN 101477355A CN A2008100322936 A CNA2008100322936 A CN A2008100322936A CN 200810032293 A CN200810032293 A CN 200810032293A CN 101477355 A CN101477355 A CN 101477355A
Authority
CN
China
Prior art keywords
module
dsp
numerical control
control system
singlechip
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
CNA2008100322936A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CNA2008100322936A priority Critical patent/CN101477355A/en
Publication of CN101477355A publication Critical patent/CN101477355A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

The invention discloses a numerical control system for a miniature cutting machine, which consists of a singlechip module, a DSP motion control module, a communication module and an alternating-current servo module. The system takes a DSP and a singlechip microprocessor as hardware cores and is divided into three functional modules: firstly, a W78E516B singlechip is connected with a USB module for read and write of manipulated file codes and operation of a keyboard and LED display; secondly, the DSP and the alternating-current servo motor form a semiclosed loop servo system which bears the task of commanding the servo motor to perform cutting motion in a specified motion track and simultaneously has the functions of speed regulation, interruption of signal processing, and the like; and thirdly, the DSP is connected with the singlechip through the communication module, and collaborative work of the DSP and the singlechip is realized. The numerical control system is repeatedly tested during actual operation, and has high reliability and strong anti-interference ability. Compared with the prior widely used numerical control system of an industrial PC matched motion control card, the numerical control system has higher performance-price ratio and accords with actual conditions in China.

Description

Numerical control system for micro cutting machine
Technical Field
The invention relates to the field of computer numerical control systems, in particular to a numerical control system for a micro cutting machine.
Background
Since the birth of the middle of the 20 th century, the numerical control system of the numerical control machine tool is continuously developed along with the update of electronic devices. Especially, the numerical control system is introduced into the ultra-large scale integrated circuit technology and the microprocessor, and the maturity of the direct current and alternating current servo driving technology greatly promotes the development of the numerical control machine. Today, numerically controlled machine tools have been developed as a typical product of high mechatronics, which becomes a basic unit of modern production systems, and is a fundamental core device supporting advanced manufacturing technology, and the development of the numerically controlled machine tools represents a national design and manufacturing level.
At present, a common miniature numerical control cutting machine consists of a numerical control system, a servo system comprising a servo motor and a detection feedback device, a machine tool body and various auxiliary devices. The invention realizes a special numerical control system for a micro cutting machine based on a DSP and a singlechip microprocessor aiming at the redesign of software and hardware of a numerical control system and a servo system, and is practical and feasible in actual operation. The system has high reliability and strong anti-interference capability after repeated tests. Compared with the numerical control system of the air control card matched with the industrial PC machine which is widely used at present, the system has extremely high cost performance, better accords with the national conditions of China, and has good market prospect.
Disclosure of Invention
The invention provides a numerical control system for a micro cutting machine. The system is based on a combined control strategy of single chip microcomputer control and DSP module control.
The invention aims to be realized by the following technical scheme: a numerical control system for a micro cutting machine is composed of a single chip microcomputer module, a DSP motion control module, a communication module and an alternating current servo module.
System design objective
According to the requirements of the cutting machine on the numerical control system, various technical indexes of the system are provided: :
1.) hardware design and model selection of the numerical control system, firstly, the system is ensured to be capable of stably running, and then indexes such as operation speed, interruption capability, convenience for connection (expansion) with external equipment and the like are comprehensively considered.
2.) reasonable numerical control software ensures real-time control and reliable operation of the cutting machine tool, and meanwhile, detailed consideration should be made for operators according to actual operating environment and flow.
3.) an alternating current servo system is adopted, so that the control precision is high and the response speed is high.
4.) the system should have strong communication capability, such as keyboard, USB, etc.
Wherein,
the singlechip module adopts W78E54B as an 8-bit 51-compatible singlechip. The frequency range applicable to the crystal oscillator is large due to the fact that the program storage space of 64KB and the data storage space of 512 bytes are provided. In practical application, the crystal oscillator with the frequency of 24Mhz can meet the requirement on the speed of the CPU.
The DSP motion control module adopts MS32028X series, and is the most advanced 32-bit fixed-point DSP chip with strongest function in the international market at present, which is released by TI company. It has digital signal processing capacity, strong event management capacity and embedded control function, and is especially suitable for motor and motor servo control system.
The communication between the communication module DSP and the single chip microcomputer is realized through a double-port RAM and an interrupt. The double-port RAM is a common shared multi-port memory, one memory is provided with two sets of independent address, data and control lines, two independent CPUs or controllers are allowed to synchronously and asynchronously access the memory unit, and the method is a simple, convenient and effective method for realizing communication between the CPUs.
The alternating current servo system adopts an MSMD082P1 servo motor of Panasonic company, the rated power of the motor is 750W, and an incremental encoder with the built-in resolution ratio of 10000 is adopted.
After the technical scheme is adopted, the invention has the following advantages:
a.) on the basis of the single chip microcomputer, a man-machine interface (LED and keyboard) is realized, the man-machine interface is friendly, the graphic display is visual, and the industrial specification is met.
b.) USB read-write module based on SL811HS chip development, make the user can program at the PC, then store to every digit control machine tool, greatly reduced work load. From the operation feasibility of an industrial field, the USB flash disk operation is superior to serial communication or network transmission, and the USB flash disk is low in cost, economical and practical.
c.) a large number of numerical control system bottom algorithms are developed by utilizing DSP C language, the execution speed is high, the real-time performance is strong, and a good effect is obtained in the actual execution.
d.) through the dual-port RAM, a set of communication protocol between the single chip microcomputer and the DSP is customized, a user is allowed to access the DSP bottom layer algorithm through the interface, and the openness of the system is improved.
e.) this system supports digit control machine tool standard G code, and the user can select absolute coordinate programming and relative coordinate programming two kinds of programming modes, is fit for the user of different habits.
f.) the system realizes most functions of similar foreign systems, well meets the requirements of special processing technology in the cutting process, and can be applied to control of other high-speed moving devices through modification.
Drawings
FIG. 1 is a general block diagram of the system of the present invention;
FIG. 2 is a functional block diagram of a single-chip module of the present invention;
FIG. 3 is a functional block diagram of a DSP motion control module of the present invention;
FIG. 4 is a functional block diagram of a communication module according to the present invention;
FIG. 5 is a functional block diagram of an AC servo system of the present invention;
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings.
The overall system architecture is shown in fig. 1.
The system takes a DSP and a singlechip microprocessor as hardware cores and is divided into three functional modules: firstly, the W78E516B single chip microcomputer is connected with a USB module, reads and writes processing file codes and operates keyboard and LED display; secondly, the DSP and the AC servo motor form a semi-closed loop servo system, which is responsible for the task of commanding the servo motor to cut and run according to the specified motion track and also has the functions of speed regulation, signal processing interruption and the like; and thirdly, the DSP is connected with the singlechip through a communication module to realize the cooperative work of the DSP and the singlechip.
The functional block diagram of the single chip microcomputer module is shown in fig. 2.
W78E54B is an 8-bit 51-compatible single chip microcomputer introduced by Winbond. The frequency range applicable to the crystal oscillator is large due to the fact that the program storage space of 64KB and the data storage space of 512 bytes are provided. In practical application, the crystal oscillator with the frequency of 24Mhz can meet the requirement on the speed of the CPU.
The W78E54B mainly implements the following functions as a host computer: the SL811HS chip is controlled by the single chip microcomputer to realize the functions of identifying and configuring the U disk finished by the DOS/WINDOWS operating system in the PC. The implementation of these functions is based on the USB protocol. Therefore, the cutting file (G code) edited by the PC can be transmitted to the numerical control system through the U disk, and the cutting file edited by the numerical control system is saved to the U.
The functions of man-machine conversation (manual vehicle moving, tool setting, tool selecting, parameter setting), on-line programming and the like can be realized through a man-machine interface (a keyboard and an LED display). And a Chinese character LED display is adopted, so that the menu is simple and clear, and the operation is convenient. The processing information is transmitted and displayed by communicating with the DSP through the communication module.
The functional block diagram of the DSP motion control module is shown in fig. 3.
The TMS32028X series is the most advanced 32-bit fixed-point DSP chip with the strongest function in the international market at present, which is released by TI company. It has digital signal processing capacity, strong event management capacity and embedded control function, and is especially suitable for motor and motor servo control system. 2812 adopts high-performance static CMOS technology, so that the power supply voltage of the CPU core is reduced to 1.8V, the execution speed of 150MIPS shortens the instruction cycle to 6.67ns, and the real-time control capability of the controller is improved. 2812 contains EVA and EVB two event management modules, 12-bit ADC, and SCI, SPI and CAN interface functions.
2812 as the motion control core, receives the processing information from the upper computer via the communication module, and returns the processing progress to the upper computer in real time. The logical control is realized by a series of switching values of gas ignition, preheating treatment, steel plate perforation, working table limit position and the like through standard I/O. The PWM pulse command of the EV event management module is sent directly to the servo driver. RAM memory cells were expanded by IXNF using 64K × 16 IS61LV6414 RAM. The chip is high in speed, only needs 12ns for access time, supplies power for 3.3V, is compatible with TTL level, and ensures that a system has enough data storage space to store processing file codes.
TMS320F2812 is fundamentally used for controlling the motion trail of the machine tool (including the position, the speed and the acceleration of the machine tool) through interpolation operation. In the software design, data sampling interpolation suitable for a digital closed-loop servo system is adopted, and the data sampling interpolation outputs the distance of each axis to move in the next interpolation period instead of once interpolation without one pulse equivalent, so that the high stepping speed can be achieved, the interpolation efficiency is high, and the calculation error is small.
In addition, the numerical control machining requires stable motion and small impact in the machining process, and these requirements need to be controlled by acceleration and deceleration, and the common acceleration and deceleration control algorithm comprises: linear acceleration and deceleration, exponential acceleration and deceleration, and S-shaped acceleration and deceleration. The system adopts an S-shaped acceleration and deceleration control strategy, and the speed at the corner of the cutting line segment can be self-adapted to an optimal value, so that the optimal processing effect is achieved.
The functional block diagram of the communication module is shown in fig. 4.
The communication between the DSP and the singlechip is realized by a double-port RAM and an interrupt.
The double-port RAM is a common shared multi-port memory, one memory is provided with two sets of independent address, data and control lines, two independent CPUs or controllers are allowed to synchronously and asynchronously access the memory unit, and the method is a simple, convenient and effective method for realizing communication between the CPUs.
The system adopts IDT7132 as a communication transmission medium, the IDT7132 is a CMOS static double-port RAM with the storage capacity of 2KB, and the system is provided with two sets of I/O ports and a set of competition arbitration circuit. Therefore, the 2KB memory in IDT7132 can perform fully asynchronous memory read/write operations through any one of the left and right I/O ports, and data exchange between CPUs can be conveniently realized.
The single chip microcomputer and the DSP inform the opposite side of data written into the dual-port RAM through external interruption, then the CPU inquires corresponding storage space in the dual-port RAM through an interruption program, and can know the operation of the opposite side through a preset protocol so as to carry out related operation.
Since the operating voltage of the I/O port of the IDT7132 is 5V, and the operating voltage of the I/O port of the IDT 2812 is 3.3V, a level conversion circuit must exist between the IDT7132 and the IDT 2812, and the system adopts a 74ALVC164245 level conversion chip to solve the contradiction.
The functional block diagram of the ac servo system is shown in fig. 5.
The system adopts an MSMD082P1 servo motor, the rated power of the motor is 750W, and an incremental encoder with the built-in resolution ratio of 10000 is adopted.
The system selects an MCDDT3520 servo driver matched with MSMD082P1, the driver adopts a PWM sine wave control mode of IGBT and has a plurality of control modes such as a position control mode, a speed/position control mode, a speed/torque control mode and the like, and the speed/position control mode is adopted in the system.
The system adopts a semi-closed loop transmission control strategy, the output of the incremental encoder is used as a feedback quantity to be connected to a rotary encoder interface of the servo driver, the defects of low precision and no automatic deviation rectifying capability of an open-loop system are overcome, and the system adopts a semi-closed loop alternating current servo system as shown in figure 5.
The DSP transmits speed and position instructions to the servo driver in a PWM pulse instruction mode in real time according to interpolation results of a data sampling interpolation algorithm and an S-shaped speed curve, the driver controls the speed and the angle of the motor by controlling current in a motor winding after signal processing, an encoder in the servo motor measures the actual position of the motor, and the actual position is compared with an actual given pulse instruction after pulse encoding processing, so that the position adjustment of the semi-closed loop is realized. If the conditions of overload, overcurrent or overlarge position deviation and the like occur, the driver can stop the motor from running and automatically alarm.

Claims (5)

1. A numerical control system for a micro cutting machine is composed of a single chip microcomputer module, a DSP motion control module, a communication module and an alternating current servo module. The system is characterized in that the system is based on a combined control strategy of single chip microcomputer control and DSP module control
2. The numerical control system for micro cutting machine according to claim 1, the single chip module realizes the functions of identifying and configuring the U disk in the PC by DOS/WINDOWS operating system by controlling the SL811HS chip. The implementation of these functions is based on the USB protocol.
3. The numerical control system for the micro-cutting machine as claimed in claim 1, wherein the DSP motion control module receives the processing information sent by the upper computer of the single chip microcomputer through the communication module, and returns the processing progress to the upper computer in real time. The logical control is realized by a series of switching values of gas ignition, preheating treatment, steel plate perforation, working table limit position and the like through standard I/O. The PWM pulse command of the EV event management module is sent directly to the servo driver. The basic function is to control the motion track of the machine tool (including the position, the speed and the acceleration of the machine tool) through interpolation operation.
4. The numerical control system for the micro-cutting machine as claimed in claim 1, wherein the communication module adopts IDT7132 as a communication transmission medium, the single chip microcomputer and the DSP notify the other party that data is written in the dual-port RAM through external interrupt, then the CPU queries the corresponding storage space in the dual-port RAM through an interrupt program, and can learn the operation performed by the other party through a pre-specified protocol to perform related operations.
5. The numerical control system of claim 1, wherein the AC servo module comprises an MSMD082P1 servo motor and an MCDDT3520 servo driver. The system adopts a semi-closed loop transmission control strategy, and the output of an incremental encoder is used as a feedback quantity to be connected to a rotary encoder interface of a servo driver.
CNA2008100322936A 2008-01-04 2008-01-04 Numerical control system used for miniature cutter Pending CN101477355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100322936A CN101477355A (en) 2008-01-04 2008-01-04 Numerical control system used for miniature cutter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100322936A CN101477355A (en) 2008-01-04 2008-01-04 Numerical control system used for miniature cutter

Publications (1)

Publication Number Publication Date
CN101477355A true CN101477355A (en) 2009-07-08

Family

ID=40838083

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100322936A Pending CN101477355A (en) 2008-01-04 2008-01-04 Numerical control system used for miniature cutter

Country Status (1)

Country Link
CN (1) CN101477355A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101791709A (en) * 2010-02-10 2010-08-04 辽宁西格马数控机床有限公司 Digital servo tool turret controller
CN101916098A (en) * 2010-08-04 2010-12-15 中国科学院自动化研究所 Multi-axis motion control card with absolute code disc reading function
CN104874893A (en) * 2014-03-01 2015-09-02 南京超颖新能源科技有限公司 Groove cutting machine based on ZYNQ7000 SOC and control system thereof
CN112440298A (en) * 2019-09-05 2021-03-05 杭州特点智能科技有限公司 Numerical control flat plate cutting machine capable of automatically receiving materials and control method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101791709A (en) * 2010-02-10 2010-08-04 辽宁西格马数控机床有限公司 Digital servo tool turret controller
CN101791709B (en) * 2010-02-10 2012-01-11 辽宁西格马数控机床有限公司 Digital servo tool turret controller
CN101916098A (en) * 2010-08-04 2010-12-15 中国科学院自动化研究所 Multi-axis motion control card with absolute code disc reading function
CN101916098B (en) * 2010-08-04 2012-09-05 中国科学院自动化研究所 Multi-axis motion control card with absolute coded disk reading function
CN104874893A (en) * 2014-03-01 2015-09-02 南京超颖新能源科技有限公司 Groove cutting machine based on ZYNQ7000 SOC and control system thereof
CN112440298A (en) * 2019-09-05 2021-03-05 杭州特点智能科技有限公司 Numerical control flat plate cutting machine capable of automatically receiving materials and control method thereof
CN112440298B (en) * 2019-09-05 2024-04-16 杭州特点智能科技有限公司 A CNC flatbed cutting machine capable of automatically collecting materials and a control method thereof

Similar Documents

Publication Publication Date Title
CN103226344B (en) A kind of motion control on-chip system
CN100568131C (en) Multi-axis motion controller based on MPC5200
CN100412736C (en) A Compiled Numerical Control System and Its Compilation and Operation Control Method
CN103425106B (en) The master/slave station control system of a kind of EtherCAT based on Linux and method
CN201689302U (en) Integrated intelligent servo driver
CN1570794A (en) Numerical control system for machine tool
CN101382788A (en) Embedded digital control system based on ARM7 and FPGA
CN103576614A (en) Multi-axis motion control system
CN102830658A (en) Embedded numerical control system for multi-shaft numerical control machine tool
CN104615087A (en) Bus type motion controller
CN103901822A (en) Multi-shaft linkage motion control system
CN1936745A (en) Inlaid numerical control system based on ARM and DSP
CN102941426A (en) Intelligent deflection system matched with robot
CN101776886A (en) Power battery pole piece numerical control laser cutting control system
CN101477355A (en) Numerical control system used for miniature cutter
CN205540138U (en) But multi -axis motion control system of off -line operation
CN203070045U (en) Embedded numerical control motion control platform used for multi-spindle machine tool
CN104635624A (en) Control method and control system for controlling numerical control system of four-axis processing equipment
CN203849591U (en) Multi-shaft linkage motion control system
CN202951982U (en) Intelligent shifting system matched with robot
CN201084005Y (en) Embedded machine tool numerical control system based on ARM technology
WO2017101700A1 (en) Computer aided manufacturing method, device and system in direct communication with numerical control system
CN202929431U (en) Embedded type real time numerical control system
CN201638066U (en) Embedded numerically controlled drill lathe control device
CN102122147A (en) Embedded numerically controlled drill lathe control system and work method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090708