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
control system
servo
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

A kind of digital control system that is used for miniature cutter
Technical field
The present invention relates to the Computerized digital control system field, in particular, is the digital control system that is used for miniature cutter about a kind of.
Background technology
Numerically-controlled machine is since being born mid-term in 20th century, and its digital control system is along with the also constantly development of update of electron device.Particularly very large scale integration technology and microprocessor are introduced digital control system, and the maturation of direct current and AC servo Driving technique, have promoted the development of numerically-controlled machine greatly.Today, numerically-controlled machine developed into a kind of typical products of height electromechanical integration, became the elementary cell of modern production system, was the basic nucleus equipment that supports advanced manufacturing technology, and a national designing and manufacturing level has been represented in its development.
At present general micro numerical cutting machine is made up of digital control system, the servo-drive system, machine body and all kinds of servicing unit that comprise servomotor and detect feedback assembly.The present invention is directed to wherein digital control system and soft, the hardware redesign of servo-drive system, realized a kind of miniature cutter special-purpose numerical control system based on DSP and singlechip microprocessor, practical in actual motion.Native system is through test repeatedly, and reliability height, antijamming capability are strong.And, cooperate the digital control system of the empty control card of fortune to compare with present widely used Industrial PC Computer, native system has high performance price ratio, meets the national conditions of China more, and good market outlook are arranged.
Summary of the invention
Problem solved by the invention provides a kind of digital control system that is used for miniature cutter.This system is based on the combination control tactics of Single-chip Controlling and DSP module controls.
Goal of the invention of the present invention is achieved by the following technical solution: a kind of digital control system that is used for miniature cutter, form by one-chip computer module, DSP motion-control module, communication module and AC servo module.
System design goal
According to the requirement of cutting off machine, every technical indicator of native system is proposed to digital control system::
1.) hardware design of digital control system and type selecting should guarantee that at first this system can stable operation, take all factors into consideration its arithmetic speed, interrupt capabilities then, be connected indexs such as whether convenient (expansion) with external unit.
2.) rational numerical control software guarantees the real-time control and the reliability service of cutting off machine, should do detailed consideration for operating personnel according to the operating environment and the flow process of reality simultaneously.
3.) adopt AC servo, the control accuracy height, response speed is fast.
4.) system will have stronger ability to communicate, as keyboard, USB etc.
Wherein,
It is the single-chip microcomputer of one 8 51 compatibilities that one-chip computer module adopts W78E54B.Have the program's memory space of 64KB and the data space of 512 bytes, the frequency range that is suitable for crystal oscillator is big.In actual applications, frequency of utilization is that the crystal oscillator of 24Mhz can satisfy the requirement to CPU speed.
The DSP motion-control module adopts MS32028X series, 32 most advanced on the present international market for the release of TI company, that function is the most powerful fixed-point DSP chip.It had both had digital signal processing capability, had powerful incident management ability and embedded Control function again, was particularly suitable for motor, motor servo-control system etc.
Communication between communication module DSP and the single-chip microcomputer is by dual port RAM and interrupt realization.Dual port RAM is common shared formula multiport memory, a storer is equipped with two and overlaps independently address, data and control line, allowing two independent CPUs or controller storage unit access asynchronously simultaneously, is to realize a kind of simple and effective method of communicating by letter between the CPU.
AC servo adopts the MSMD082P1 servomotor of PANASONIC, motor rated power 750W, the incremental encoder of built-in resolution 10000.
After adopting aforesaid technical scheme, the present invention has following superiority:
A.) on the single-chip microcomputer basis, the man-machine interface of realization (LED, keyboard), man-machine interface close friend, graphic presentation is directly perceived, meets industry standard.
B.) based on the USB module for reading and writing of SL811HS chip development, the user can be programmed at PC, store every numerically-controlled machine then into, significantly reduced workload.From the operation possibility of industry spot, the USB flash disk operation is better than serial communication or Network Transmission, and cost is low and economical and practical.
C.) a large amount of digital control system underlying algorithm of having utilized DSP C language development, execution speed is fast, and is real-time, obtained good effect in reality is carried out.
D.) by dual port RAM, the communications protocol between a self-defined cover single-chip microcomputer and the DSP allows the user by this interface accessing DSP underlying algorithm, has improved the style of opening of system.
E.) native system number of support controlled machine standard G code, the user can select absolute coordinates programming and two kinds of programming modes of relative coordinate programming, is fit to the user of different customs.
F.) native system has been realized most of function of similar foreign system, has satisfied the special processing technology requirement in the cutting process well, can be through transforming the high-speed motion device control that is applied to other.
Description of drawings
Fig. 1 is system global structure figure of the present invention;
Fig. 2 is an one-chip computer module functional block diagram of the present invention;
Fig. 3 is a DSP motion-control module functional block diagram of the present invention;
Fig. 4 is a communication module functional block diagram of the present invention;
Fig. 5 is an AC servo functional block diagram of the present invention;
Embodiment
Below in conjunction with accompanying drawing the present invention is done detailed description.
System global structure as shown in Figure 1.
Native system is a hardware core with DSP and singlechip microprocessor, is divided into three big functional modules: the one, and the W78E516B single-chip microcomputer is by linking to each other with the USB module, read-write processed file code, and the operation that keyboard, LED are shown; The 2nd, DSP and AC servo motor constitute the semiclosed loop servo-drive system, are undertaking and are ordering the task of servomotor by designated movement track cutting operation, also play effects such as speed governing, look-at-me processing simultaneously; The 3rd, DSP links to each other with single-chip microcomputer by communication module, realizes both collaborative works.
The functional block diagram of one-chip computer module as shown in Figure 2.
W78E54B is the single-chip microcomputer of one 8 51 compatibilities of Winbond company release.Have the program's memory space of 64KB and the data space of 512 bytes, the frequency range that is suitable for crystal oscillator is big.In actual applications, frequency of utilization is that the crystal oscillator of 24Mhz can satisfy the requirement to CPU speed.
W78E54B mainly realizes function as host computer: be implemented in the identification to USB flash disk, the configuration feature of being finished by DOS/WINDOWS operating system among the PC by Single-chip Controlling SL811HS chip.The realization of these functions is to realize on the basis of usb protocol.The cutting file of finishing at PC (G code) can be transferred to digital control system by USB flash disk thus, and the cutting file that digital control system edits is saved in U.
Can realize functions such as man-machine conversation (manually move car, tool setting, select cutter, parameter setting), online programming by man-machine interface (keyboard, light-emitting diode display).Adopt the Chinese character light-emitting diode display, menu is simply clear, simple operation.By communication module will with the DSP communication to transmit and to show machining information.
The functional block diagram of DSP motion-control module as shown in Figure 3.
TMS32028X series is 32 most advanced on the present international market released of TI company, that function is the most powerful fixed-point DSP chip.It had both had digital signal processing capability, had powerful incident management ability and embedded Control function again, was particularly suitable for motor, motor servo-control system etc.2812 adopt the static CMOS technology of high-performance, make the CPU core supply voltage reduce to 1.8V, and the execution speed of 150MIPS makes the instruction cycle shorten to 6.67ns, has improved the real-time control ability of controller.2812 comprise two event manager modules of EVA, EVB, and 12 ADC also has SCI, SPI, interface functions such as CAN.
2812 as the motion control core, receives the machining information that the single-chip microcomputer host computer sends by communication module, and real-time returns host computer to processing progress.By standard I/O a series of switching values such as gas ignition, thermal pretreatment, steel plate perforation, worktable extreme position are realized logic control.The pwm pulse instruction of EV event manager module directly sends to servo-driver.By IXNF expansion RAM storage unit, use the IS61LV6414RAM of 64K * 16.This chip speed is fast, and the access time only needs 12ns, the 3.3V power supply, and compatible Transistor-Transistor Logic level, the system of assurance has enough data spaces and deposits the processed file code.
TMS320F2812 is basic, and effect is by interpolation operation the movement locus (comprising machine tool position, speed and acceleration) of lathe to be controlled.In the software design, adopt the data sampling interpolation that is fit to digital closed loop servo system, because data sampling interpolation output is each distance that will move in the next interpolation cycle, rather than do not walk a pulse equivalency interpolation once, thereby can reach the very high step velocity of advancing, interpolation efficient height, the error of calculation are little.
In addition, digital control processing requires the process motion steadily, impacts for a short time, and these need to require by acceleration and deceleration control, and algorithm is controlled in acceleration and deceleration commonly used to be had: linear acceleration and deceleration, index acceleration and deceleration, the acceleration and deceleration of S type.Native system adopts S type acceleration and deceleration control strategy, and cutting line segment corner speed can be adapted to optimum value, reaches optimal processing effect.
The functional block diagram of communication module as shown in Figure 4.
Communication between DSP and the single-chip microcomputer is by dual port RAM and interrupt realization.
Dual port RAM is common shared formula multiport memory, a storer is equipped with two and overlaps independently address, data and control line, allowing two independent CPUs or controller storage unit access asynchronously simultaneously, is to realize a kind of simple and effective method of communicating by letter between the CPU.
Native system adopts IDT7132 as the communication transmission medium, and IDT7132 is that a kind of memory capacity is the static dual port RAM of CMOS of 2KB, and two cover I/O mouths are arranged, and a cover competition ruling circuit is arranged.Therefore, the 2KB storer of IDT7132 inside can carry out complete asynchronous memory read write operation by the arbitrary group of I/O mouth of the right and left, can realize the exchanges data between the CPU easily.
Notify the other side to have data to write dual port RAM by external interrupt between single-chip microcomputer and the DSP, CPU can learn operation that the other side does and then the operation of being correlated with by pre-specified agreement by corresponding storage space in the interrupt routine inquiry dual port RAM then.
Because the operating voltage of the I/O mouth of IDT7132 is 5V, and 2812 I/O mouth operating voltage is 3.3V, thus 2812 and IDT7132 between must have level shifting circuit, native system adopts the 74ALVC164245 level transferring chip to solve this contradiction.
The functional block diagram of AC servo as shown in Figure 5.
Native system adopts MSMD082P1 servomotor, motor rated power 750W, the incremental encoder of built-in resolution 10000.
System selects the MCDDT3520 servo-driver supporting with MSMD082P1 for use, this driver adopts the sinusoidal wave control mode of the PWM of IGBT, various control patterns such as position control mode, speed control mode, speed/positional, speed/torque control model are arranged, in native system, adopt the speed/positional control model.
System adopts the bad transmission control strategy of semi-closure, be connected to the rotary encoder interface of servo-driver with the output of incremental encoder as feedback quantity, it is low to have overcome the open cycle system precision, the shortcoming of no automatic deviation correction ability, system adopts the semiclosed loop AC servo, as shown in Figure 5.
DSP is according to the interpolation result and the S type rate curve of sampled-data interpolation algorithm, speed, the real-time mode with the pwm pulse instruction of position command are passed to servo-driver, driver is through signal Processing, final speed and angle by the Current Control motor in the control motor windings, scrambler in the servomotor is measured the position of motor reality, the given pulse command that the process pulse code is handled back and reality compares, thereby realizes the position adjusting of semiclosed loop.If situation such as overload, overcurrent or position deviation be excessive, driver can stop the motor operation, reports to the police automatically.

Claims (5)

1. a digital control system that is used for miniature cutter is made up of one-chip computer module, DSP motion-control module, communication module and AC servo module.It is characterized in that this system is based on the combination control tactics of Single-chip Controlling and DSP module controls
2. a kind of digital control system that is used for miniature cutter according to claim 1, one-chip computer module is implemented in the identification to USB flash disk, the configuration feature of being finished by DOS/WINDOWS operating system among the PC by control SL811HS chip.The realization of these functions is to realize on the basis of usb protocol.
3. a kind of digital control system that is used for miniature cutter according to claim 1, the DSP motion-control module receives the machining information that the single-chip microcomputer host computer sends by communication module, and real-time returns host computer to processing progress.By standard I/O a series of switching values such as gas ignition, thermal pretreatment, steel plate perforation, worktable extreme position are realized logic control.The pwm pulse instruction of EV event manager module directly sends to servo-driver.Basic effect is by interpolation operation the movement locus (comprising machine tool position, speed and acceleration) of lathe to be controlled.
4. a kind of digital control system that is used for miniature cutter according to claim 1, communication module adopts IDT7132 as the communication transmission medium, notify the other side to have data to write dual port RAM by external interrupt between single-chip microcomputer and the DSP, CPU can learn operation that the other side does and then the operation of being correlated with by pre-specified agreement by corresponding storage space in the interrupt routine inquiry dual port RAM then.
5. a kind of digital control system that is used for miniature cutter according to claim 1, the AC servo module adopts MSMD082P1 servomotor and supporting with it MCDDT3520 servo-driver.System adopts semiclosed loop transmission control strategy, is connected to the rotary encoder interface of servo-driver as feedback quantity with the output of incremental encoder.
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 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

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 coded disk 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 杭州特点智能科技有限公司 Numerical control flat plate cutting machine capable of automatically receiving materials and control method thereof

Similar Documents

Publication Publication Date Title
CN103226344B (en) A kind of motion control on-chip system
CN104786221B (en) A kind of open method for controlling robot based on Ethernet
CN100517144C (en) Distributed type open system structure digital control system
CN101114174A (en) Built-in type 4 axis sport controller
CN1570794A (en) Numerical control system for machine tool
CN202372834U (en) Embedded numerical control system with dual-core central processing unit (CPU)
CN201689302U (en) Integrated intelligent servo driver
CN101382788A (en) Embedded digital control system based on ARM7 and FPGA
CN103901822A (en) Multi-shaft linkage motion control system
CN103576614A (en) Multi-axis motion control system
CN102122149A (en) Embedded control system for carton proofing machine and control method thereof
CN1936745A (en) Inlaid numerical control system based on ARM and DSP
CN104615087A (en) Bus type motion controller
CN103057072B (en) Controller for bus-type fully electric injection molding machine
CN104741718A (en) Quick wire cutting control system
CN103941650A (en) Logic and movement integrated controller
CN110480658A (en) A kind of six-joint robot control system merging vision self-calibration
Xu et al. Research and development of open CNC system based on PC and motion controller
CN102830658A (en) Embedded numerical control system for multi-shaft numerical control machine tool
CN201163363Y (en) General multi-axis motion control system on numerical control machine
CN101477355A (en) Numerical control system used for miniature cutter
CN202583813U (en) Bus type numerical control device based on POWERLINK protocol
CN205540138U (en) But multi -axis motion control system of off -line operation
CN203849591U (en) Multi-shaft linkage motion control system
CN104635624A (en) Control method and control system for controlling numerical control system of four-axis processing equipment

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