Background technology
In today of hi-tech fast development, traditional mode of production backwardness increasingly, novel automated production accepts the important way of market challenges by becoming the new century.The means of raising labour productivity are not only in robotization, play an important role to the Long-term Development Strategy in enterprise future.Due to the main tool that robot is novel robotization, the exploitation of industrial robot and application project thereof, robot is become immediate productivity, and it, changing traditional production model, boosts productivity and demonstrates great superiority to the adaptive faculty aspect in market.Simultaneously people replaces out by it from severe dangerous working environment, carries out production strictly in line with rules and regulations, and this is to promote economic development and social progress is all significant.Along with manufacturing industry is to the demand of robotic equipment and environmental protection with to improve the operating environment requirements of laborer more and more higher, special convection cell controls, and fluid drop, the automatic machinery adhesive dispensing robot that is coated on product surface or interiors of products is produced immediately.
Adhesive dispensing robot is mainly used in glue, paint and other liquid Accurate Points in Product Process, note, painting, point drip to each product exact position, can be used for that realization is got ready, setting-out, round or camber.The research and development of " adhesive dispensing robot " produce huge economic benefit and social benefit by industries such as China's shoe-making industry, pcb board binding sealing, IC sealing, PDA sealing, LCD sealing, IC encapsulation, IC are bonding.Sometimes, adhesive dispensing robot just needs repeatedly point-blank or in a two-dimentional plane to carry out simple straight line or circular arc gluing or carry out point-to-point gluing according to certain rule to some positions, this time a diaxon adhesive dispensing robot can be very fast complete above-mentioned action.A complete diaxon adhesive dispensing robot is roughly divided into following components:
1) motor: actuating motor is the power source of adhesive dispensing robot, it performs according to the instruction of microprocessor the relevant action that adhesive dispensing robot walks in the plane of processing component two dimension;
2) algorithm: algorithm is the soul of adhesive dispensing robot, adhesive dispensing robot must adopt certain intelligent algorithm to arrive in addition a bit from any quickly and accurately, is formed point-to-point, or curvilinear motion;
3) microprocessor: microprocessor is the core of adhesive dispensing robot, be the brain of adhesive dispensing robot, the information that adhesive dispensing robot is all, comprises glue point size, positional information, and motor status information etc. all needs through microprocessor processes and makes corresponding judgement.
Adhesive dispensing robot combines multi-subject knowledge, for promoting the manipulative ability of students, team collaboration's ability and innovation ability, promotes that the scope of one's knowledge of the digestion of student classroom knowledge and expansion student is all very helpful.Adhesive dispensing robot technology carry out the talent that can cultivate large quantities of association area, and then promote the technical development of association area and industrialization process.But because the unit of domestic this adhesive dispensing robot of research and development is less, relative R & D Level is relatively backward, the structured flowchart of the diaxon adhesive dispensing robot servo-control system of research and development, as Fig. 1, long-play finds to there is a lot of safety problem, that is:
(1) as adhesive dispensing robot power acquisition be direct supply after general AC power rectification, whole glue can be made to move unsuccessfully when having a power failure suddenly;
(2) what adopt as the topworks of adhesive dispensing robot is stepper motor, and the problem that often can run into pulse-losing occurs, causes occurring mistake to the memory of position;
(3) owing to adopting stepper motor, make organism fever relatively more serious, need sometimes to dispel the heat;
(4) owing to adopting stepper motor, the mechanical noise that system is operated increases greatly, is unfavorable for environmental protection;
(5) owing to adopting stepper motor, its motor body is all generally heterogeneous structure, and control circuit needs to adopt multiple power tube, makes control circuit relatively complicated, and adds controller price;
(6) owing to adopting stepper motor, system is generally not suitable at high-speed cruising, easily produces vibration during walking at a high speed;
(7) owing to adopting stepper motor, make the moment of system relatively little;
(8) owing to controlling reason improperly, stepper motor is sometimes caused to produce resonance;
(9) because adhesive dispensing robot will be closed frequently and start, increased the weight of the workload of single-chip microcomputer, single single-chip microcomputer cannot meet the requirement that adhesive dispensing robot starts fast and stops, and dynamic performance is bad;
(10) what relatively adopt is all the plug-in components that some volume ratios are larger, and make automatically dropping glue machine people control system take larger space, weight is relatively all heavier;
(11) owing to disturbing by surrounding environment labile factor, singlechip controller often there will be exception, and cause adhesive dispensing robot out of control, antijamming capability is poor;
(12) for the some glue process of adhesive dispensing robot, the pwm control signal of two motor of General Requirements wants synchronous, due to the restriction by single-chip microcomputer computing power, single-chip microcomputer servo-drive system is difficult to meet this condition, make adhesive dispensing robot point glue amount inconsistent, particularly for worse off cake when walking fast;
(13) owing to affecting by single-chip microcomputer capacity and algorithm, the information of adhesive dispensing robot to glue point does not store, and the information all when running into power-down conditions will disappear, and this makes whole some glue process to restart;
(14) put colloid system once, the motion of whole glue will be completed, middle without any suspending or the point of buffering.
In order to the needs of satisfied high speed, High-efficient Production, must redesign based on monolithic processor controlled diaxon automatically dropping glue machine people control system existing, seek a kind of high speed, efficiently some glue servo-drive system.
Summary of the invention
For the problems referred to above, the object of this invention is to provide a kind of diaxon high speed adhesive dispensing robot servo-control system, solve the defect of diaxon adhesive dispensing robot control system high speed and efficient poor performance in prior art.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide a kind of diaxon high speed adhesive dispensing robot servo-control system, comprise battery, AC power, first signal processor, secondary signal processor, processor unit, first High-speed DC motor, second High-speed DC motor and adhesive dispensing robot, the first described signal processor provides separately the processor unit described in electric current driving by AC power or battery, described processor unit sends the first control signal and the second control signal respectively, the first described control signal and the second control signal control the second described High-speed DC motor and the first High-speed DC motor respectively, the second control signal by the first described High-speed DC motor and the first control signal by the second described High-speed DC motor are after the synthesis of secondary signal processor, control the motion of adhesive dispensing robot.
In a preferred embodiment of the present invention, described processor unit is a dual core processor, comprise dsp processor, FPGA processor and be located at master system and the kinetic control system of dsp processor and FPGA processor, described master system comprises human-computer interface module, path read module and online output module, described kinetic control system comprises servo control module, data memory module and I/O control module, wherein, dsp processor is for controlling human-computer interface module, path read module, online output module, data memory module and I/O control module, FPGA processor is for controlling servo control module, and carry out exchanges data in real time and call between dsp processor and FPGA processor.
In a preferred embodiment of the present invention, described processor unit is connected with the output terminal of High-speed DC motor further.
In a preferred embodiment of the present invention, described servo control module also comprises modular converter, and described modular converter is used for digital signal to convert simulating signal to.
Whether in a preferred embodiment of the present invention, described servo control module also comprises coder module, and described coder module, for detecting the actual speed of adhesive dispensing robot, judges whether to meet rate request, too fast or excessively slow, and sends control signal.
In a preferred embodiment of the present invention, described servo control module also comprises current module, and described current module reaches the scope of adhesive dispensing robot needs for the output power adjusting battery.
In a preferred embodiment of the present invention, described servo control module also comprises acceleration module, described acceleration module is connected with coder module communication, when coder module detection adhesive dispensing robot actual speed is too fast or excessively slow, acceleration module regulates adhesive dispensing robot actual speed according to the result that coder module detects.
In a preferred embodiment of the present invention, described servo control module also comprises displacement module, and whether described displacement module arrives set displacement for detecting adhesive dispensing robot, if from set excessively away from, send assisted instruction to controller; If close to set displacement excessively, then send deceleration instruction to controller.
Diaxon high speed adhesive dispensing robot servo-control system of the present invention, in order to improve arithmetic speed, ensure stability and the reliability of diaxon high speed adhesive dispensing robot servo-control system, the present invention introduces FPGA processor in the dsp processor of monolithic, form the dual core processor based on DSP+FPGA, this processor concentrates design the multi controller systems of original chip microcontroller, and take into full account the effect of battery in this system, realize the function of Single Controller synchro control diaxon, give FPGA processor diaxon servo-drive system maximum for workload in diaxon high speed adhesive dispensing robot servo-control system to control, give full play to FPGA processor data processing speed feature faster, and human-computer interface module, path read module, online output module, the functions such as data memory module and I/O control module are given dsp processor and are controlled, so just achieve the division of labor of dsp processor and FPGA processor, dsp processor is freed from hard work amount, antijamming capability strengthens greatly.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment of the present invention is described in detail, can be easier to make advantages and features of the invention be readily appreciated by one skilled in the art, thus more explicit defining is made to protection scope of the present invention.
Along with development and the maturation of microelectric technique and Automated library system chip fabrication techniques, digital signal processing chip (DSP) is due to its computing power fast, not only be widely used in communication and video frequency signal processing, be also applied in gradually in various senior control system.TMS320F2812 is the fixed point 32 bit DSP processor on the C2000 platform of American TI Company release, is suitable for Industry Control, Electric Machine Control etc., of many uses.Run clock and also can reach 150MHz soon, handling property can reach 150MIPS, every bar instruction cycle 6.67ns, and I/O port enriches, enough the application general concerning user, two serial ports.There is the AD conversion etc. of the 0 ~ 3.3v of 12.Have the in-chip FLASH of 128k × 16 in sheet, the SRAM of 18K × 16, general application system can not want outer extension memory.Add independently ALU, have powerful digital signal processing capability.In addition, jumbo RAM is integrated in this chip, greatly can design by peripheral circuits, reduce system cost and system complexity, also substantially increase the stores processor ability of data.
Hardware Implementation based on field programmable gate array (FPGA) and modern electronic design robotization (EDA) technology has occurred a kind of brand-new design philosophy recent years.Although FPGA itself is the cell array of standard, there is no the function that general integrated circuit has, but user can according to the design needs of oneself, by specific placement-and-routing instrument, connection is reconfigured to its inside, within the shortest time, design the special IC of oneself, so just reduce cost, shorten the construction cycle.Because FPGA processor adopts the design philosophy of software implementation to realize the design of hardware circuit, so just the system based on FPGA CPU design is made to have good reusable and amendment property, this brand-new design philosophy has been applied on high performance interchange drived control gradually, and fast-developing.
As shown in Figure 2, be the schematic diagram of the diaxon high speed adhesive dispensing robot servo-control system of present pre-ferred embodiments.In the present embodiment, diaxon high speed adhesive dispensing robot servo-control system comprises battery, AC power, the first signal processor, secondary signal processor, processor unit, the first High-speed DC motor, the second High-speed DC motor and adhesive dispensing robot.Wherein, described battery is lithium ion battery, is a kind of electric supply installation, for the work of whole system provides operating voltage.
In the present invention, the first described signal processor provides separately the processor unit described in electric current driving by AC power or battery, described processor unit sends the first control signal and the second control signal respectively, the first described control signal and the second control signal control the second described High-speed DC motor and the first High-speed DC motor respectively, the second control signal by the first described High-speed DC motor and the first control signal by the second described High-speed DC motor are after the synthesis of secondary signal processor, control the motion of adhesive dispensing robot.
The present invention overcomes single-chip microcomputer in prior art can not meet the stability of diaxon adhesive dispensing robot walking and the requirement of rapidity, give up the mode of operation of the single-chip microcomputer that domestic adhesive dispensing robot adopts, provide the brand-new control model of DSP+FPGA processor, control panel with FPGA processor for process core, realize the real-time process of digital signal, dsp processor is freed in the middle of the work of complexity, the signal processing algorithm and the response that realize part are interrupted, and realize data communication and store live signal.
Refer to Fig. 3, described processor unit is a dual core processor, and it comprises dsp processor and FPGA processor, and the two can communication mutually, carries out exchanges data in real time and calls.Described processor unit also comprises the master system and kinetic control system of being located at dsp processor and FPGA processor, described master system comprises human-computer interface module, path read module and online output module, and described kinetic control system comprises servo control module, data memory module and I/O control module.Wherein, dsp processor is for controlling human-computer interface module, path read module, online output module, data memory module and I/O control module, and FPGA processor is for controlling servo control module.
Master system comprises human-computer interface module, path read module and online output module.Human-computer interface module comprises and starts/restart button and function selecting key; Path read module is for reading the speed preset, acceleration, the optimum configurations such as position; Online output module, for pointing out the duty of adhesive dispensing robot, is such as in the adhesive dispensing robot course of work or the condition prompting that arrives at a station.
Kinetic control system comprises servo control module, data memory module and I/O control module.Wherein, data memory module module is a storer; I/O control module comprises RS-232 serial line interface, ICE port etc.; Servo control module comprises modular converter, coder module, current module, acceleration module and displacement module further.
Wherein, described modular converter comprises analog-digital converter (ADC, AnalogtoDigitalConverter) and digital analog converter (DAC, DigitaltoAnalogConverter); Whether described coder module, for detecting the actual speed of adhesive dispensing robot, judges whether to meet rate request, too fast or excessively slow, and sends control signal.
Described current module is connected with battery and controller, modular converter.Modular converter, according to the electric current of battery and controller, judges operating power, and power condition is fed back to battery, and current module reaches for the output power adjusting battery the scope that adhesive dispensing robot needs.
Described acceleration module is connected with coder module communication, and when coder module detection adhesive dispensing robot actual speed is too fast or excessively slow, acceleration module regulates the actual speed of adhesive dispensing robot according to the result that coder module detects.
Described displacement module detects adhesive dispensing robot and whether arrives set displacement, if from set excessively away from, send assisted instruction to controller; If close to set displacement excessively, then send deceleration instruction to controller.
Be a dual core processor for processor unit, under power-on state, adhesive dispensing robot is introduced into self-locking state, then the glue dispensing valve of adhesive dispensing robot is placed on scrap rubber retracting device place, open glue dispensing valve door then colloid automatically flow out, after evenly, start to move to starting point, adhesive dispensing robot store Actual path parameter transmission to the dsp processor in controller, dsp processor is converted into these kinematic parameters the distance that the first High-speed DC motor and the second High-speed DC motor will run, then with the communication of FPGA processor, FPGA processor generates according to the electric current of motor and optical code disk information the PWM ripple controlling motor movement, two motor movements are controlled after driving circuit, then data communication is processed to dsp processor by FPGA processor handle, the follow-up running status of process is continued by dsp processor.
Describe in conjunction with above, master system comprises the functions such as human-computer interface module, path read module, online output module; Kinetic control system comprises the functions such as servo control module, data memory module, I/O control module.The servo control module that wherein workload is maximum is given FPGA processor and is controlled, remaining comprises master system and gives dsp processor control, so just achieve the division of labor of dsp processor and FPGA processor, also can carry out communication therebetween simultaneously, carry out exchanges data in real time and call.
The functional realiey that in the present invention, diaxon high speed adhesive dispensing robot servo-control system is concrete is as follows:
1) operating personnel are arranged on processing component on fixture;
2) opening power, can judge supply voltage source at opening power moment dsp processor, when determining to be powered battery, if cell voltage low pressure, the PWM ripple blocking FPGA processor exports by controller, and now the first High-speed DC motor and the second High-speed DC motor can not work, and voltage sensor is by work simultaneously, dual-core controller sends low pressure alarming signal, and battery is changed in human-computer interface module prompting;
3) adhesive dispensing robot automatic control program is started, by the USB interface incoming task of controller or from hard disk loading task;
4) topworks's (comprising glue brush and glue-spreading head) is moved to above starting point, adjust initialized location;
5) plastic emitting signal is effective, and time delay certain hour wait work starts;
6) in order to diaxon adhesive dispensing robot can be driven to move, this control system introduces FPGA processor, generated the PWM ripple of diaxon motor movement by it, but enter real-time communication by I/O mouth and dsp processor, controlled output and the blockade of its PWM waveform by dsp processor;
7) in adhesive dispensing robot motion process, dsp processor can the moment store the distance of process or the some glue point of process, and the distance that will run next working point adhesive dispensing robot diaxon first High-speed DC motor and the second High-speed DC motor is determined according to these range informations, dsp processor then with the communication of FPGA processor, transmit these parameters to FPGA processor, then other electric current and optical code disk information is divided to generate the speed ladder diagram controlling motor movement by FPGA processor according to the first High-speed DC motor and the second High-speed DC motor, as shown in Figure 4, the area that these ladder diagrams comprise is exactly the distance that adhesive dispensing robot first High-speed DC motor and the second High-speed DC motor will run,
8) if adhesive dispensing robot finds that glue point distance solves and occurs that endless loop will send interrupt request to dsp processor in motion process, dsp processor can do very first time response to interruption, the process if the interrupt response of dsp processor is not able to do in time, the first High-speed DC motor of adhesive dispensing robot and the second High-speed DC motor are by original place self-locking;
9) optical code disk be contained on the first High-speed DC motor and the second High-speed DC motor can export its position signalling A and position signalling B, position signalling A pulse and the B pulsed logic state of optical code disk often change once, and the location register in FPGA processor can add 1 or subtract 1 according to the traffic direction of the first High-speed DC motor and the second High-speed DC motor;
10) when the position signalling A pulse of optical code disk and B pulse and Z pulse are low level simultaneously, just produce a position signalling to FPGA processor, record the absolute position of the first High-speed DC motor and the second High-speed DC motor, be then converted into the particular location of adhesive dispensing robot in a glue component;
11) in motion process, if controller have received some glue order at a high speed, controller can according to adhesive dispensing robot in the particular location of a glue component and the position that should exist, send corresponding position data etc. to FPGA processor, FPGA processor transfers corresponding PID shaping modes automatically according to peripheral sensor signal, calculate the first High-speed DC motor of adhesive dispensing robot and the pwm control signal of the second High-speed DC motor needs renewal by FPGA processor, control puts glue at a high speed;
12) if when adhesive dispensing robot runs into unexpected power-off in operational process, battery automatically can be opened and power to adhesive dispensing robot immediately, when the flow currents of motor exceedes setting value, the PWM ripple that this Time Controller can block FPGA processor immediately exports, first High-speed DC motor and the second High-speed DC motor quit work, thus efficiently avoid the generation of high-rate battery discharge;
13) if read automatic pause point in a glue process, FPGA processor can control the first High-speed DC motor and the second High-speed DC motor stops with maximum acceleration, make process occur automatic pause and store current information, until controller is read and again pressed START button information FPGA processor just can be made to rework, and transfer storage information adhesive dispensing robot can be worked on from automatic pause point;
14) in motion process, if detect that pulsation appears in the torque of motor, the torque of FPGA processor meeting auto-compensation, decreases motor torque to an impact for glue process;
15) adhesive dispensing robot can detect cell voltage at operational process in the moment, and when low pressure appears in system, sensor can be opened and send alarm by notification controller, effectively protects battery;
16) when after the some glue motion completing whole processing component, glue dispensing valve can stop plastic emitting and time delay, and walks out movement locus;
17) adhesive dispensing robot resets position zero point, waits for the task in next cycle.
The beneficial effect that diaxon high speed adhesive dispensing robot servo-control system of the present invention has is:
1: owing to adopting high performance 32 bit DSP processors, the system processing speed of making increases greatly, can meet the requirement of some colloid system rapidities very well;
2: in motion process, take into full account battery effect in this system, all the running status of adhesive dispensing robot is being monitored and computing based on the DSP+FPGA dual-core controller moment, when running into AC power power-off, battery can provide the energy immediately, avoid the failure of diaxon high speed adhesive dispensing robot servo-control system motion, and in the process of cell powers, the electric current of moment to battery is observed and protects, avoid the generation of big current, so fundamentally solve the impact of big current to battery, avoid the generation of the battery overaging phenomenon caused due to heavy-current discharge,
3: by the independent servocontrol of FPGA processor process points glue robot motor, make control fairly simple, substantially increase arithmetic speed, solve single-chip microcomputer in prior art and run slower bottleneck, shorten the construction cycle short, and system portable ability is strong;
4: substantially realize full SMD components material, achieve veneer and control, not only save control panel and take up room, and be conducive to alleviating of adhesive dispensing robot volume and weight;
5: in order to improve arithmetic speed and precision, this automatically dropping glue machine people have employed High-speed DC motor and instead of stepper motor conventional in legacy system, and operational precision is improved greatly, and efficiency is also improved to some extent;
6: the data adopting FPGA processor process diaxon servo-drive system whole due to this controller and algorithm, dsp processor is freed from hard work amount, and effectively prevent adhesive dispensing robot out of control, antijamming capability strengthens greatly;
7: the control signal due to two spindle motors is generated by FPGA processor, PWM modulation signal and direction signal can be exported like this by FPGA processor simultaneously, by driving circuit direct-driving motor, not only alleviate the burden of dsp processor, simplify interface circuit, and eliminate dsp processor internal composition position, speeds control program, and the trouble of various pid algorithm, make the debugging of system simple, and achieve the servo-controlled synchronism of diaxon;
8: in adhesive dispensing robot operational process, controller can carry out on-line identification to the torque of motor and utilize the relation of motor torque and electric current to compensate, and decreases the impact of High-speed DC motor torque shake on adhesive dispensing robot dynamic property when walking fast;
9: in the inner servocontrol of FPGA processor, be integrated with multiple PID shaping modes, automatically the pid parameter of its inside can be adjusted according to the peripheral ruuning situation of robot, easily realize segmentation P, PD, PID to control and nonlinear PID controller, this computing is participated in owing to there is no dsp processor, make its motion process have certain adaptive function, and the system that arithmetic speed controls than special motion chip is high, is conducive to improving the some glue speed of some colloid system at a high speed;
10: owing to having memory function, this makes adhesive dispensing robot power down or can transfer the routing information that gluing is good easily after running into fault, even if also can secondary point glue easily after breaking down, need artificial intervention;
11: in whole some glue process, add breakpoint setting, be conducive to like this estimating in motion process and put the good position of glue, find some glue problem in advance.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.