CN101913304B - Method for debugging parameters of servo carving machine - Google Patents

Method for debugging parameters of servo carving machine Download PDF

Info

Publication number
CN101913304B
CN101913304B CN 201010224913 CN201010224913A CN101913304B CN 101913304 B CN101913304 B CN 101913304B CN 201010224913 CN201010224913 CN 201010224913 CN 201010224913 A CN201010224913 A CN 201010224913A CN 101913304 B CN101913304 B CN 101913304B
Authority
CN
China
Prior art keywords
data
carving machine
display interface
characteristic parameter
signal processor
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.)
Expired - Fee Related
Application number
CN 201010224913
Other languages
Chinese (zh)
Other versions
CN101913304A (en
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.)
Nanjing Institute of Technology
Original Assignee
Nanjing Institute 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 Nanjing Institute of Technology filed Critical Nanjing Institute of Technology
Priority to CN 201010224913 priority Critical patent/CN101913304B/en
Publication of CN101913304A publication Critical patent/CN101913304A/en
Application granted granted Critical
Publication of CN101913304B publication Critical patent/CN101913304B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

The invention discloses a method for debugging the parameters of a servo carving machine, comprising the following steps of: reading feature parameters of two shafts of the servo carving machine during actual running by using a digital signal processor; transmitting packed data to a display interface in a fixed period by using the digital signal processor and simultaneously opening RS232 (Recommend Standard 232) receiving interrupt to receive command data; and judging whether the data is received or not by using the display interface through the RS232 receiving interrupt, and judging whether input data exist in a PID (Proportion Integration Differentiation) parameter input frame of the display interface or not, if so, sending out a command of stopping transmitting the packed data to the digital signal processor, and transmitting the input data in the PID parameter input frame to the digital signal processor. The method can realize convenient regulation to the parameters of a control system of the servo carving machine; the working condition and the properties of the servo carving machine can be visually displayed; the processing effect can be displayed by displaying the actual positions of two shafts, and the method has the function of processing simulation.

Description

A kind of parameter testing method of servo carving machine
Technical field
What the present invention relates to is the adjustment method in a kind of electric machines control technology field, in particular a kind of parameter testing method of servo carving machine.
Background technology
Advertising equipment is as important component part in the Digit Control Machine Tool, and kind is more and more, and range of application is also more and more wider.With the fastest developing speed in the advertising equipment have equipment such as carving machine, wide format printer, laser cutting machine, scroll machine, air brushing machine.
Carving machine comprises the coil paper transmission mechanism, carry icking tool or paint dolly feed mechanism, dolly pressure control circuit, interpolate controller, transmission mechanism driver and the parameter testing operation interface of pen.Use stepper motor as the executive component that drives in the stepping carving machine, itself have the shortcoming that speed is low, noise is big, in medium-to-high grade occasion, can't use.It is servo-drive that the most basic way of improving the carving machine performance is still changed stepper drive, and servo-drive is carving machine development in future direction.
The technology of servo-drive itself is comparative maturity, but the performance test of servo-drive and parameter testing means are relatively deficient, can not satisfy the needs of servo-drive development, and limit the application of servo-drive in two axial plane process equipments such as advertising equipment.
In Motor Control Field, parameter testing means the earliest are to use the form of button and LED combination, and the last demonstration of LED currency up adds or down subtracts by button, and this form can only realize the effect that parameter is regulated.But along with popularizing of computer, it is more convenient, directly perceived and efficient to use computer to carry out the debugging of Electric Machine Control parameter.The stepping carving machine all is to use the form of button and LED combination to realize functions such as the adjusting of carving machine process velocity, the adjusting of dolly pressure all the time.In servo carving machine, driving is not to adopt stepper drive, but adopts the servo-drive of closed loop controlling structure, and closed-loop control needs parameter testing to optimize processing effect.If in servo carving machine, also use the parameter testing method of button and LED combination, then need to rely on fully engineering staff's sense, make servo carving machine performance adjustment process prolong greatly and debug poor effect, design effectively parameter testing method more directly perceived, just become the task of top priority of servo carving machine development.
Summary of the invention
Goal of the invention: the objective of the invention is to overcome the deficiencies in the prior art, a kind of parameter testing method of servo carving machine is provided, improve the efficient of servo carving machine parameter testing.
Technical scheme: the present invention is achieved by the following technical solutions, the present invention includes following steps:
(1) digital signal processor reads the characteristic parameter in the actual motion of two axles of servo carving machine;
(2) digital signal processor is combined the formation packing data with the characteristic parameter data and the identification data that read, and send packing data for demonstration to display interface with the fixed cycle, digital signal processor is opened RS232 and is received interruption simultaneously, receives order data;
(3) display interface adopts RS232 to receive interruption and judges whether to have received data, in this way, then judges it is the return data of order data or the packing data that shows usefulness, if return data then judges whether and need resend; Otherwise, whether be the judgement of simulation processing according to the identification data in the packing data then, then enter the static demonstration of simulation processing in this way, otherwise, judge whether it is static the demonstration according to identification data again, the static state that then enters characteristic parameter in this way shows, on the contrary the dynamic demonstration that then enters characteristic parameter, after not having RS232 to receive interruption or RS232 reception interruption processing end, enter step (4);
(4) judge whether in the pid parameter input frame of display interface, the input data are arranged, if any then entering step (5), otherwise, judge whether to have on the display interface to stop the static order that shows, if any then with each the characteristic parameter of having selected with mode Dynamic continuous display on display interface of figure;
(5) digital signal processor is sent the order that stops to send the packing data that shows usefulness, and wait for return information, if in the setting-up time section, do not receive the information that has stopped, then give an order again, otherwise, step (6) entered;
(6) the input data in the pid parameter input frame are sent to digital signal processor, and wait return signal, if answer arranged then carry out the judgement of transfer of data correctness, when incorrect, resend the input data, when correct, then the command number word signal processor continues to send the demonstration data, show data Dynamic continuous display on display interface, the workflow of display interface turns back to step (3).
Display interface in the described step (2) is calculator display organization.
In the described step (3) as do not simulate processing, then select axle and the data that to show, be ordinate with data, time is that abscissa shows at display interface, judge whether it is static the demonstration according to identification data again, the static state that then enters characteristic parameter in this way shows, on the contrary the dynamic demonstration that then enters characteristic parameter, as simulate processing, the characteristic parameter of two axles of servo carving machine is carried out static state as abscissa and ordinate at display interface respectively show.
After described static demonstration finished, characteristic parameter carried out Dynamic continuous display at display interface.
Characteristic parameter comprises position, speed and electric current in the described step (1).
To read the cycle of the transmission of packing data in cycle of characteristic parameter and the step (2) all be 1 millisecond to digital signal processor in the described step (1).
Packing data in the described step (2) in the one-period comprises sign, position, speed and current data.
The characteristic parameter that shows on the described display interface is selected from one or more in the following combination: position, speed and current characteristic parameter.
In the described step (2), when the data number of the characteristic parameter that reads reaches setting value, produce RS232 and receive interruption, this setting value will determine figure to show the speed that refreshes, and be an adjustable value, and generally being chosen for 200 is the customs that meet most of users.
In the described step (6), the data of input are sent to digital signal processor with the form of MODBUS agreement.
Beneficial effect: the present invention can realize the convenient of the parameter of servo carving machine control system regulated; Servo carving machine working condition and characteristic can intuitively show; Show with the form of abscissa and ordinate the physical location of two axles just can to show processing effect, have function of processing simulation.
Description of drawings
Accompanying drawing is workflow diagram of the present invention.
The specific embodiment
Below embodiments of the invention are elaborated, present embodiment is being to implement under the prerequisite with the technical solution of the present invention, provided detailed embodiment and concrete operating process, but protection scope of the present invention is not limited to following embodiment.
As shown in the figure, the core of servo carving machine control system is a digital signal processor (DSP) in the present embodiment, and present embodiment may further comprise the steps:
(1) digital signal processor reads the characteristic parameter in the actual motion of two axles of servo carving machine;
(2) digital signal processor is combined the formation packing data with the characteristic parameter data and the identification data that read, and send packing data for demonstration to display interface with the fixed cycle, digital signal processor is opened RS232 and is received interruption simultaneously, receives order data;
(3) display interface adopts RS232 to receive interruption and judges whether to have received data, in this way, then judges it is the return data of order data or the packing data that shows usefulness, if return data then judges whether and need resend; Otherwise, whether be the judgement of simulation processing according to the identification data in the packing data then, then enter the static demonstration of simulation processing in this way, otherwise, judge whether it is static the demonstration according to identification data again, the static state that then enters characteristic parameter in this way shows, on the contrary the dynamic demonstration that then enters characteristic parameter, after not having RS232 to receive interruption or RS232 reception interruption processing end, enter step (4);
(4) judge whether in the pid parameter input frame of display interface, the input data are arranged, if any then entering step (5), otherwise, judge whether to have on the display interface to stop the static order that shows, if any then with each the characteristic parameter of having selected with mode Dynamic continuous display on display interface of figure;
(5) digital signal processor is sent the order that stops to send the packing data that shows usefulness, and wait for return information, if in the setting-up time section, in 50 milliseconds, do not receive the information that has stopped, then give an order again, otherwise, step (6) entered;
(6) the input data in the pid parameter input frame are sent to digital signal processor, and wait return signal, if answer arranged then carry out the judgement of transfer of data correctness, when incorrect, resend the input data, when correct, then the command number word signal processor continues to send the demonstration data, show data Dynamic continuous display on display interface, the workflow of display interface turns back to step (3).
Display interface in the described step (2) is calculator display organization, links to each other with servo-drive by the RS232 line, and the control core of servo-driver is digital signal processor.
In the described step (3) as do not simulate processing, then select axle and the data that to show, be ordinate with data, time is that abscissa shows at display interface, judge whether it is static the demonstration according to identification data again, the static state that then enters characteristic parameter in this way shows, on the contrary the dynamic demonstration that then enters characteristic parameter, as simulate processing, the characteristic parameter of two axles of servo carving machine is carried out static state as abscissa and ordinate at display interface respectively show.
After described static demonstration finished, characteristic parameter carried out Dynamic continuous display at display interface.
Characteristic parameter comprises position, speed and electric current in the described step (1).
To read the cycle of the transmission of packing data in cycle of characteristic parameter and the step (2) all be 1 millisecond to digital signal processor in the described step (1), can guarantee not get muddled in the packing data transmission.
Packing data in the described step (2) in the one-period comprises sign, position, speed and current data.
The characteristic parameter that shows on the described display interface is selected from one or more in the following combination: position, speed and current characteristic parameter.
In the described step (2), when the data number of the characteristic parameter that reads reaches setting value, produce RS232 and receive interruption, this setting value will determine figure to show the speed that refreshes, and be an adjustable value, and generally being chosen for 200 is the customs that meet most of users.
In the described step (6), the data of input are sent to digital signal processor with the form of MODBUS agreement.
The data value of described characteristic parameter is shown on the display interface with graphic form, when receiving setting value when being 200 packing datas, produce RS232 and receive interruption, and and the data of receive interrupting for 10 times before obtaining together as ordinate, be abscissa with the time shaft, show at display interface that this setting value will determine figure to show the speed that refreshes, be an adjustable value, generally be chosen for the custom that met most of users at 200 o'clock.Because the time that sends between two data is 1 millisecond that fixes, thus in the display interface time between former and later two data points also fix, data show and also can not get muddled.
The data of described characteristic parameter show two kinds: in order to observe the data value of the accumulation characteristic parameter behind the long-play, need Dynamic continuous display; In order to observe the temporal properties in response process of servomotor, need static the demonstration.
Present embodiment can read the real work parameter of two axles, does not add operator operation at carving machine, simulates processing, and the physical location of two axles of servo carving machine respectively as abscissa and ordinate, just can be shown processing effect.Constantly simulation processing and tuning parameter carry out actual processing again up to effect satisfaction.

Claims (10)

1. the parameter testing method of a servo carving machine is characterized in that, may further comprise the steps:
(1) digital signal processor reads the characteristic parameter in the actual motion of two axles of servo carving machine;
(2) digital signal processor is combined the formation packing data with data and the identification data of the characteristic parameter that reads, and send packing data for demonstration to display interface with the fixed cycle, digital signal processor is opened RS232 and is received interruption simultaneously, receives order data;
(3) display interface adopts RS232 to receive interruption and judges whether to have received data, in this way, then judges it is the return data of order data or the packing data that shows usefulness, if return data then judges whether and need resend; Otherwise, whether be the judgement of simulation processing according to the identification data in the packing data then, then enter the static demonstration of simulation processing in this way, otherwise, judge whether it is static the demonstration according to identification data again, the static state that then enters characteristic parameter in this way shows, on the contrary the dynamic demonstration that then enters characteristic parameter, after not having RS232 to receive interruption or RS232 reception interruption processing end, enter step (4);
(4) judge whether in the pid parameter input frame of display interface, the input data are arranged, if any then entering step (5), otherwise, judge whether to have on the display interface to stop the static order that shows, if any then with each the characteristic parameter of having selected with mode Dynamic continuous display on display interface of figure;
(5) digital signal processor is sent the order that stops to send the packing data that shows usefulness, and wait for return information, if in the setting-up time section, do not receive the information that has stopped, then give an order again, otherwise, step (6) entered;
(6) the input data in the pid parameter input frame are sent to digital signal processor, and wait return signal, if answer arranged then carry out the judgement of transfer of data correctness, when incorrect, resend the input data, when correct, then the command number word signal processor continues to send the demonstration data, show data Dynamic continuous display on display interface, the workflow of display interface turns back to step (3).
2. the parameter testing method of a kind of servo carving machine according to claim 1, it is characterized in that: the display interface in the described step (2) is calculator display organization.
3. the parameter testing method of a kind of servo carving machine according to claim 1, it is characterized in that: in the described step (3) as do not simulate processing, then select axle and the data that to show, be ordinate with data, time is that abscissa shows at display interface, judge whether it is static the demonstration according to identification data again, the static state that then enters characteristic parameter in this way shows, otherwise then enter the dynamic demonstration of characteristic parameter, as simulate processing, the characteristic parameter of two axles of servo carving machine is carried out static state as abscissa and ordinate at display interface respectively show.
4. the parameter testing method of a kind of servo carving machine according to claim 3 is characterized in that: described static show finish after, characteristic parameter carries out Dynamic continuous display at display interface.
5. the parameter testing method of a kind of servo carving machine according to claim 1 is characterized in that: characteristic parameter comprises position, speed and electric current in the described step (1).
6. the parameter testing method of a kind of servo carving machine according to claim 1 is characterized in that: to read the cycle of the transmission of packing data in cycle of characteristic parameter and the step (2) all be 1 millisecond to digital signal processor in the described step (1).
7. the parameter testing method of a kind of servo carving machine according to claim 1 is characterized in that: the packing data in the described step (2) in the one-period comprises sign, position, speed and current data.
8. the parameter testing method of a kind of servo carving machine according to claim 1, it is characterized in that: the characteristic parameter that shows on the described display interface is selected from one or more in the following combination: position, speed and current characteristic parameter.
9. the parameter testing method of a kind of servo carving machine according to claim 1 is characterized in that: in the described step (2), when the data number of the characteristic parameter that reads reaches setting value, produce RS232 and receive interruption.
10. the parameter testing method of a kind of servo carving machine according to claim 1, it is characterized in that: in the described step (6), the data of input are sent to digital signal processor with the form of MODBUS agreement.
CN 201010224913 2010-07-13 2010-07-13 Method for debugging parameters of servo carving machine Expired - Fee Related CN101913304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010224913 CN101913304B (en) 2010-07-13 2010-07-13 Method for debugging parameters of servo carving machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010224913 CN101913304B (en) 2010-07-13 2010-07-13 Method for debugging parameters of servo carving machine

Publications (2)

Publication Number Publication Date
CN101913304A CN101913304A (en) 2010-12-15
CN101913304B true CN101913304B (en) 2013-07-03

Family

ID=43321013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010224913 Expired - Fee Related CN101913304B (en) 2010-07-13 2010-07-13 Method for debugging parameters of servo carving machine

Country Status (1)

Country Link
CN (1) CN101913304B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064411B (en) * 2012-12-28 2015-08-12 四川九洲电器集团有限责任公司 A kind of one dimension servo control mechanism control and measuring method
CN108376069B (en) * 2016-11-02 2022-02-08 深圳市三诺数字科技有限公司 Data synthesis method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5621533A (en) * 1993-02-25 1997-04-15 Ohio Electronic Engravers, Inc. Method for automatically controlling an engraver in response to a plurality of engraving setup parameters which may be input in real units
CN1806988A (en) * 2006-02-21 2006-07-26 上海威特力焊接设备制造有限公司 Method for digit controlling arc characteristic under different operation mode and circuit system
CN101102421A (en) * 2007-07-27 2008-01-09 北京工业大学 Integrated intelligent page detector

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5621533A (en) * 1993-02-25 1997-04-15 Ohio Electronic Engravers, Inc. Method for automatically controlling an engraver in response to a plurality of engraving setup parameters which may be input in real units
CN1806988A (en) * 2006-02-21 2006-07-26 上海威特力焊接设备制造有限公司 Method for digit controlling arc characteristic under different operation mode and circuit system
CN101102421A (en) * 2007-07-27 2008-01-09 北京工业大学 Integrated intelligent page detector

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘洋等.交流伺服系统调试软件设计.《伺服技术》.2008,60-61. *

Also Published As

Publication number Publication date
CN101913304A (en) 2010-12-15

Similar Documents

Publication Publication Date Title
JP5564098B2 (en) Machining sequence simulation device for workpieces in machine tools
Villani et al. Towards modern inclusive factories: A methodology for the development of smart adaptive human-machine interfaces
CN201244813Y (en) Robot control system for precision forging
JP5246186B2 (en) Controller support device, control program simulation method, controller support program, and computer-readable storage medium storing controller support program
CN102441569A (en) New method for controlling flying shears for bars and wires based on T400
US20050090929A1 (en) Apparatus and method for simulation of the control and machine behavior of machine tools and production-line machines
CN101826273A (en) Network connection based teaching equipment adopting multiple numerical control systems and communication method
CN102581850A (en) GSK-Link bus based modular robot control device and control method
CN102812407A (en) Display device, display control method, program, and computer-readable recording medium
CN101913304B (en) Method for debugging parameters of servo carving machine
CN100423867C (en) Tape zero-cutting machine
CN100392587C (en) A guide for programming an intelligent module
CN202854609U (en) Man-computer interaction system for industrial robot
CN103454998B (en) Based on servo rigidity debugging apparatus and the method for Industrial Ethernet bus
CN201845498U (en) Multi-numerical control system teaching device based on network connection
CN111783184B (en) Virtual configuration system and method
CN110647120A (en) Motion control method suitable for extreme application conditions
CN101862977B (en) Electrical control system of horizontal type boring-milling machine
CN104603721A (en) Haptic device
CN205942402U (en) Cutting machine digital control system
CN102825235B (en) Continuous-casting flexible dummy bar control method without utilizing encoder
CN104656552B (en) The mobile wireless debugging terminal and its operating method of six Shaft and NC Machining Test polishing machine CNC systems
CN113593314B (en) Equipment virtual disassembly and assembly training system and training method thereof
CN202573069U (en) Working table of numerical control punching machine
CN210804975U (en) Simulation equipment for learning machine tool

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130703

Termination date: 20210713

CF01 Termination of patent right due to non-payment of annual fee