Specific implementation mode
The technical scheme in the embodiments of the invention will be clearly and completely described below, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
All other embodiment that technical staff is obtained without making creative work belongs to the model that the present invention protects
It encloses.
Fig. 2 to Fig. 7 is please referred to, the embodiment of the present invention includes:A kind of quick articulated robot control system of heavily loaded five core, should
SCARA robot of the machine artificially based on four axis rare-earth permanent-magnetic synchronous servo motors, i.e., the described articulated robot use rare earth forever
Magnetic-synchro servo motor X 7 drives robot's arm rotary motion, drives robot using rare-earth permanent-magnetic synchronous servo motor Y 8
Forearm rotary motion is driven robot wrist's rotary motion using rare-earth permanent-magnetic synchronous servo motor Z 9, is same using rare earth permanent magnet
It walks servo motor R 10 and drives robot wrist's elevating movement, avoidance displacement sensor S1 is installed on the robot's arm
12, avoidance displacement sensor S2 13, gyroscope 27 and acceleration transducer A1 17 are equipped with avoidance on the robot forearm
Displacement sensor S3 14, avoidance displacement sensor S4 15, gyroscope 27 and acceleration transducer A2 18, the robot
Alignment sensor S5 16, gyroscope 27 and acceleration transducer A3 19 are installed on wrist.
The control system includes main website control computer 1 and controller 2, and the controller 2 is controlled including dsp chip
Device 3, permanent magnet synchronous motor closed-loop control chip 26, voice recognition processor 25, PlC controllers 20 and ARM controller 4, it is described
Dsp chip controller 3, permanent magnet synchronous motor closed-loop control chip 26, PlC controllers 20 and voice recognition processor 25 are and institute
State the communication connection of main website control computer 1, the dsp chip controller 3, permanent magnet synchronous motor closed-loop control chip 26, voice
Recognition processor 25 and ARM controller 4 are communicatively connected to each other, and the PlC controllers 20 are communicated to connect with ARM controller 4.It is described
Rare-earth permanent-magnetic synchronous servo motor X7, rare-earth permanent-magnetic synchronous servo motor Y8, rare-earth permanent-magnetic synchronous servo motor Z9 and rare earth are forever
Magnetic-synchro servo motor R10 is communicated to connect with the dsp chip controller 3, the avoidance displacement sensor S1 12, avoidance
Displacement sensor S2 13, avoidance displacement sensor S3 14, avoidance displacement sensor S4 15, alignment sensor S5 16, accelerate
Spend sensors A 1 17, acceleration transducer A2 18 and acceleration transducer A3 19 simultaneously with the dsp chip controller 3,
Voice recognition processor 25, PLC controller 20 and ARM controller 4 communicate to connect.
Preferably, the quick articulated robot control system of five core of heavy duty of the invention further include for the articulated robot and
Control system provides the main power source 5 and stand-by power supply 6 of power supply, each motor and sensor in the articulated robot with
And the controller 2 in control system is electrically connected with the main power source 5 and/or stand-by power supply 6.
Preferably, the rare-earth permanent-magnetic synchronous servo motor X 7, rare-earth permanent-magnetic synchronous servo motor Y 8, rare earth permanent magnet are same
It is even on step servo motor Z 9 and rare-earth permanent-magnetic synchronous servo motor R10 to be provided with photoelectric encoder 11, the photoelectric encoder 11
It is electrically connected with the dsp chip controller 3.
Preferably, magnetoelectric transducer EM1 21 is installed on the robot's arm, is equipped on the robot forearm
Magnetoelectric transducer EM2 22 is equipped with magnetoelectric transducer EM3 23 and EM4 24, the magnetic-electric sensing on the robot wrist
Device EM1 21, magnetoelectric transducer EM2 22, magnetoelectric transducer EM3 23 and EM4 24 with the dsp chip controller 3 and ARM
Controller 4 communicates to connect.These magnetoelectric transducers read respective zero position mark respectively, detect signal when four
When, SCARA robots realize accurate reset, improve the accuracy of reset.
The present invention uses dsp controller 3(TMS320F2812)+ permanent magnet synchronous motor closed-loop control chip 26(I.e.
IRMCK203 controllers)+ voice recognition processor 25(Chip model is LD3320)+ PLC controller 20+ ARM controllers 4
(STM32F746)Five cores carry out system control.
Under power-on state, ARM controller first dynamically edits the key words list of LD3320, increases machine human speech
Sound discrimination, then to robot stand-by power supply SOC(State-of-charge)Judged with main power source, if stand-by power source is relatively low,
Controller can send out alarm signal;If stand-by power supply and main power source are working properly, first by master station by PLC controller either
Speech recognition system based on LD3320 transport goods large arm, forearm and wrist rotation angle and lifting information input to
Then ARM is calculated the parameter queue of robot servo system by ARM;The zero position sensor EM1 of SCARA robots carrying,
EM2, EM3 and EM4 start to work, and so that robot is reset to setting zero position, robot enters self-locking state;Once carrying command
After beginning, avoidance sensor, alignment sensor, acceleration transducer and gyroscope that robot carries are opened, SCARA machines
According to the transport path fast removal of setting ARM optimizations, DSP and IRMCK203 communicate people, IRMCK203 according to servo parameter and
Sensor feedback adjusts SCARA robots rare-earth permanent-magnetic synchronous servo motor X, rare-earth permanent-magnetic synchronous servo motor Y, rare earth in real time
The PWM of permanent magnet synchronous servo motor Z and rare-earth permanent-magnetic synchronous servo motor R are exported, and realize four rare-earth permanent-magnetic synchronous servo electricity
The real-time servo of machine controls, and DSP and ARM acquire robot movable information and store cargo location information in real time;If ARM is to removing
It transports some position to have a question, will be communicated with DSP, DSP makes SCARA robots stop by IRMCK203, then manually to DSP
Storage information is judged, confirms that errorless rear master station continues not completing by the secondary SCARA robots that manually start of PLC controller
Task.In robot kinematics, if an emergency situation is encountered, main website will be inputted to controller by microphone apparatus and be controlled
System order is communicated with ARM after speech recognition device LD3320 identifications, is communicated with DSP after ARM processing, DSP is converted into main website order
The control signal of each rare-earth permanent-magnetic synchronous servo motor.
Referring to Fig.1, Fig. 2, Fig. 3 and Fig. 4, Fig. 5, Fig. 6, specific function are realized as follows:
1)After SCARA robot power supplies are opened, in order to improve robot voice recognition effect, misrecognition is further decreased
Rate, ARM controller is first to the common number order of LD3320 input SCARA robots and instruction, for absorbing wrong identification, from
And achieve the purpose that reduce LD3320 false recognition rates.
2)ARM first judges stand-by power supply SOC and main power source state, if stand-by power supply SOC is relatively low, DSP will
The IRMCK203 work of four rare-earth permanent-magnetic synchronous servo motors of control, motor input PWM wave control signal is forbidden to be blocked, together
Alarm sensor will work and to master station and send out alarm signal by PLC controller;If battery SOC is normal, SCARA machines
People, which enters, waits for working condition, waits for work order.
3)Once master station's work order starts, master station can select based on the either PLC controls of LD3320 speech recognition systems
Device processed is communicated with ARM, any one controller can pass through the information such as the length of large arm, forearm lengths and elevating lever
RS485 is passed to ARM controller, then robot start correct zero position, SCARA robots carry magnetoelectric transducer EM1,
EM2, EM3 and EM4 start to work, and respectively find the zero position mark of setting, as magnetoelectric transducer EM1, EM2, EM3 and EM4
When having signal output, the PWM wave that DSP blocks four road rare-earth permanent-magnetic synchronous servo motors by IRMCK203 controls signal,
SCARA robots guide zero position to reset and complete automatically, ARM controller sets each rotation angle at this time,
Wrist lifting height。
4)In order to meet the acceleration and deceleration motion needs of SCARA robots, the present invention uses the run duration such as Fig. 6 trapezoidal
Figure, the area that this ladder diagram includes are exactly the height of robot's arm, forearm and the wrist angle to be rotated either wrist lifting
Degree controls for convenience, and the present invention uses single acceleration model.
5)SCARA robots read its operating mode, and if it is manual working pattern, master station can select to be based on LD3320
Speech recognition system either PLC controller is communicated with ARM, is needed by main website input SCARA robot's arms, forearm and wrist
The angle of rotation,,And SCARA robot wrists need to rise the height either declinedTo ARM controller,
ARM controller starts robot location according to Denavit-Hartenberg algorithms and posture forward direction solves:ARM controller is first
The angle for needing to rotate according to SCARA robot's arms, forearm and wrist,,And SCARA robot wrists need
The height of risingCalculate the position auto―control between adjacent two member coordinates,,,, it is used in combination respectively
With 4*4 two-dimensional array marks,,,,It indicates respectively as follows:
,,
,。
Then ARM controller passes through formulaWrist actuator can be found out and complete task
Position afterwards and posture, and communicated with DSP, artificial input parameter is transmitted to DSP.
6)SCARA robots read its operating mode, and if it is normal automatic transporting operating mode, main website can select
It is communicated with ARM based on LD3320 speech recognition systems either PLC controller, by first residing for input SCARA robots of main website
Beginning position and given position three-dimensional coordinate to ARM controller, ARM controller starts machine according to Denavit-Hartenberg algorithms
Device people is Converse solved:ARM controller is found out according to the X and Y coordinates in large arm, forearm lengths and final three-dimensional coordinate first
Large arm needs the angle rotated, and byValue find outValue, and wrist is found out according to the Z coordinate in three-dimensional coordinate
The height for rising or reducing, finally find out rotation angle, due to solvingWhen equation have it is bilingual, so
SCARA robots find out large arm, forearm and wrist and need the angle rotated,,And SCARA robot wrists need
The height of risingAfterwards, ARM controller can optimize solving result, and then ARM controller is communicated with DSP, robot
Most there is servo motion parameter to be transferred to dsp controller.
7)Dsp controller receives SCARA robot's arms, forearm and wrist and needs the angle rotated,,And
SCARA robot wrists need the height risenAfterwards, sensor S1 ~ S5 in large arm, forearm and wrist, EM1, EM2 and
EM3 will be opened, and SCARA robots want zero setting position to be judged first, after confirming that initial position is errorless, SCARA robots pair
Barrier in each rotating arm rotation angle is judged that such as there is barrier will send out interrupt requests to DSP, and DSP can be right
Interruption is done to be responded at the first time, and then DSP forbids four axis IRMCK203 work, four axis rare-earth permanent-magnetic synchronous servo motor PWM waves
Control signal is blocked, and SCARA robots forbid rare-earth permanent-magnetic synchronous servo motor X, rare-earth permanent-magnetic synchronous servo motor Y, dilute
Native permanent magnet synchronous servo motor Z and the R work of motor rare-earth permanent-magnetic synchronous servo motor, robot self-locking is in situ, dsp controller
Obstacle information in secondary judgement motion range, prevents information from judging by accident.
8)If dsp controller determines that clear enters moving region, dsp controller is bent according to the Velocity Time of Fig. 6
Line decomposes movement position, and DSP is first three rotation angles,,It is converted into three rare-earth permanent-magnetic synchronous servos
Acceleration, speed and the position initial order value of motor, then DSP and IRMCK203 communications, IRMCK203 combination motors X, electricity
The photoelectric encoder of machine Y and motor Z are fed back, and Program Generating motor X, motor Y and motor Z are adjusted through servo inside IRMCK203
PWM wave controls signal, and PWM wave control signal drives each motor movement after drive axle amplifies.Dsp controller is inclined according to input
Poor size adjusts the PI parameters of SERVO CONTROL program inside IRMCK203 in real time, and IRMCK203 controllers are by adjusting rare earth permanent magnet
The number of drive pulses of synchronous servo motor adjusts its rotation angle, by adjusting rare-earth permanent-magnetic synchronous Serve Motor Control signal
Frequency realize the variation of angular speed speed, so that three axis rare-earth permanent-magnetic synchronous servo motor timing synchronizations is worked, the DSP moment records
The location parameter that robot has moved.
9)In SCARA robots moving process, sensor S1 ~ S4 moment carries out the moving obstacle in motion range
Judge, if there is barrier enters motion range, DSP makes large arm, forearm and the hand of SCARA robots by IRMCK203 immediately
Wrist stops immediately according to the retarded motion curve of Fig. 6, and dsp controller records present rotation angel degree,,Information.Deng barrier
After hindering object to disappear, the rotation angle to new position is recalculated,,, then DSP control IRMCK203 according to Fig. 6 fortune
Moving curve passes through three sections of movement locus again:Accelerated motion, uniform motion and retarded motion, eventually arrive at set point.
10)In moving process, large arm, forearm and the angle of wrist rotation that the DSP moment records accelerometer feedback accelerate
Degree, controller obtain the rotation angle of large arm, forearm and wrist by quadratic integral, and compared with the position angle angle value of setting
Compared with if deviation is more than setting threshold values, this deviation is converted into three new acceleration of rare-earth permanent-magnetic synchronous servo motor by DSP
Degree, speed and position initial order value, in next sampling period, DSP and IRMCK203 is communicated, IRMCK203 combination motors X,
The feedback of motor Y and motor Z motor photoelectric encoders feedback adjust Program Generating motor X, motor through servo inside IRMCK203
The PWM wave of Y and motor Z control signal, and PWM wave control signal drives each motor movement after drive axle amplifies.Dsp controller
Adjust the PI parameters of SERVO CONTROL program inside IRMCK203 in real time according to input deviation size, IRMCK203 controllers pass through tune
The number of drive pulses of whole rare-earth permanent-magnetic synchronous servo motor adjusts its rotation angle, by adjusting rare-earth permanent-magnetic synchronous servo electricity
The frequency of machine control signal realizes the variation of angular speed speed, and then eliminates the error of upper sampling period generation, makes SCARA
Robot completes task according to setting track.
11)In SCARA robot kinematics, DSP can store passed through the location of SCARA robots at the moment
The reference point either passed through, and next reference point SCARA robots relatively are calculated by DSP according to these range informations
Rare-earth permanent-magnetic synchronous servo motor X, rare-earth permanent-magnetic synchronous servo motor Y, rare-earth permanent-magnetic synchronous servo motor Z to be run respectively
Angle, angle rates and angular acceleration, IRMCK203 combination motors X, motor Y and motor Z motor photoelectric encoders are fed back anti-
Feedback, the PWM wave that Program Generating motor X, motor Y and motor Z are adjusted through internal servo control signal, and PWM wave controls signal through driving
Each motor movement is driven after dynamic bridge amplification.Dsp controller adjusts servo inside IRMCK203 in real time according to input deviation size
The PI parameters for controlling program, its rotation angle is adjusted by adjusting the number of drive pulses of rare-earth permanent-magnetic synchronous servo motor, is led to
Cross adjustment rare-earth permanent-magnetic synchronous Serve Motor Control signal frequency realize angular speed speed variation, make SCARA robots by
It quickly moves ahead according to setting speed.
12)In SCARA robot kinematics, the ARM and real-time recorder National People's Congress arms of DSP, forearm and wrist rotation
Angle can be inputted and be accelerated to ARM by LD3320 speech recognition systems if master station finds that the robot speed of service is slower
Order communicates after ARM processing with DSP, and DSP is required according to the acceleration time, and remaining angle, which is converted into rare-earth permanent-magnetic synchronous, to be watched
Take angle, the angle rates that motor X, rare-earth permanent-magnetic synchronous servo motor Y, rare-earth permanent-magnetic synchronous servo motor Z to be run respectively
Instructed with angular acceleration, IRMCK203 controllers in conjunction with photoelectric encoder feedback, according to its internal three Close loop servo control
Program readjusts the pwm control signal signal of three rare-earth permanent-magnetic synchronous servo motors, makes robot that task be rapidly completed.
13)In SCARA robot kinematics, the ARM and real-time recorder National People's Congress arms of DSP, forearm and wrist rotation
Angle, if master station find robot need emergency service, can by LD3320 speech recognition systems to ARM input stop
Order communicates after ARM processing with DSP, and DSP is required according to down time, and IRMCK203 controllers are in conjunction with photoelectric encoder
Feedback, the PWM for readjusting three rare-earth permanent-magnetic synchronous servo motors according to its internal three Close loop servo control program control letter
Number signal, makes robot quickly complete parking, and dsp controller passes through acceleration and the real-time recorder people rotation of gyro sensor
The angle turned and storage.After main website completes maintenance, is inputted to ARM by LD3320 speech recognition systems and start order, ARM
Communicated with DSP after processing, DSP requires according to the acceleration time, remaining angle be converted into rare-earth permanent-magnetic synchronous servo motor X,
Angle, angle rates and the angle that rare-earth permanent-magnetic synchronous servo motor Y, rare-earth permanent-magnetic synchronous servo motor Z to be run respectively accelerate
Degree instruction, IRMCK203 controllers in conjunction with photoelectric encoder feedback, again according to its internal three Close loop servo control program
The pwm control signal signal for adjusting three rare-earth permanent-magnetic synchronous servo motors, makes robot that remaining task be rapidly completed.
14)Three axis rotation angles are completed in SCARA robots,,SERVO CONTROL after, DSP secondary detections accelerate
Spend sensor integrated value, if it find that SCARA robots in motion process by three rotation angles after external interference,,When error with set angle is more than setting threshold values, DSP is three rotation angle deviations,,It is converted into three
Acceleration, speed and the position initial order value of rare-earth permanent-magnetic synchronous servo motor fine position, then DSP and IRMCK203 is logical
News, the feedback of IRMCK203 combination motors X, motor Y and motor Z motor photoelectric encoders feedback, through servo inside IRMCK203
The PWM wave for adjusting Program Generating motor X, motor Y and motor Z controls signal, and PWM wave control signal drives after drive axle amplifies
Each motor movement.The PI that dsp controller adjusts SERVO CONTROL program inside IRMCK203 according to input deviation size in real time joins
Number, IRMCK203 controllers adjust its rotation angle by adjusting the number of drive pulses of rare-earth permanent-magnetic synchronous servo motor, lead to
The frequency for crossing adjustment rare-earth permanent-magnetic synchronous Serve Motor Control signal realizes the variation of angular speed speed, passes through three axis rare earth permanent magnets
The task again of synchronous servo motor makes robot's arm, forearm and wrist reach setting position.
15)When the large arm of SCARA robots, forearm and wrist complete angle,,Angle compensation reach setting
Behind position, the sensor EM4 in wrist will be again turned on, and SCARA robots want zero setting position to be judged first, be confirmed initial
After position is errorless, DSP is according to the speed time curve of Fig. 6, the distance that wrist is liftedRare-earth permanent-magnetic synchronous is converted into watch
Acceleration, speed and the position initial order value of motor R are taken, then DSP and IRMCK203 is communicated, IRMCK203 combination motors R
The feedback of photoelectric encoder, the PWM wave that Program Generating motor R is adjusted through internal servo control signal, and PWM wave controls signal through driving
Each motor movement is driven after dynamic bridge amplification.Dsp controller adjusts servo inside IRMCK203 in real time according to input deviation size
The PI parameters of program are controlled, dsp controller adjusts its rotation by adjusting the number of drive pulses of rare-earth permanent-magnetic synchronous servo motor
Gyration realizes the variation of angular speed speed by adjusting the frequency of rare-earth permanent-magnetic synchronous Serve Motor Control signal, makes wrist
Setting position is steadily reached in setting time.
16)During the motion if SCARA robots find that location parameter solution occurs during endless loop will send out to ARM
Disconnected request, ARM can do interruption and respond at the first time, and ARM controller will be communicated with DSP immediately, and DSP passes through IRMCK203 immediately
The control signal of four rare-earth permanent-magnetic synchronous servo motors, robot original place self-locking are blocked, main website is either based on by PLC
LD3320 speech recognition systems input new operating position information to ARM controller.
17)In SCARA robots repeatedly repeatedly in motion process, if main website discovery has interim vital task to need to be added
In work queue, main website will be again based on the speech recognition system of LD3320, be led to ARM by LD3320 controllers by main website
The phonetic order of news, main website input communicates after LD3320 is identified with ARM, and phonetic order is converted into important by ARM controller
The position servo parameter of business, ARM and DSP are communicated, and complete currently outstanding task by DSP controls IRMCK203 first, simultaneously
ARM updates the original servo control parameter queues of DSP, and transmits new servo position parameter to DSP, keeps DSP next
Servo control completes important temporary duty.
18)In SCARA robots repeatedly repeatedly in motion process, if when magnetoelectric transducer EM1, EM2, EM3 and EM4 are read
When to transducing signal, dsp controller will carry out new position servo control with zero position parameter instead of existing location parameter, and
Error is calculated, in next sampling period, DSP passes through three closed loop rare-earth permanent-magnetic synchronous Serve Motor Controls inside IRMCK203
Program compensates error, eliminates cumulative errors in time.
19)Mounted in rare-earth permanent-magnetic synchronous servo motor X, rare-earth permanent-magnetic synchronous servo motor Y, rare-earth permanent-magnetic synchronous servo electricity
Photoelectric encoder on machine Z, rare-earth permanent-magnetic synchronous servo motor R can export its position signal A and position signal B, photoelectric coding
The position signal A pulses of device and B pulsed logics state often change once, and the location register in DSP and ARM can be according to motor
Traffic direction adds 1 either to subtract 1;When the position signal A pulses and B pulses and Z pulses of photoelectric encoder are low level simultaneously, just
It generates an INDEX signal and gives DSP and ARM internal registers, record the absolute position of rare-earth permanent-magnetic synchronous servo motor, then
It is real-time to be converted into SCARA robot's arms, forearm either specific location of the wrist in three-dimensional coordinate system, ARM controller
It is communicated by PLC and main website, important location parameter is transferred to main website.When magnetoelectric transducer EM1, EM2 and EM3 read sensing
When signal, dsp controller will replace existing location parameter with zero position parameter, eliminate cumulative errors in time.
20)SCARA robots are monitored AC ac main powers at the operational process ARM controller moment, if control
When device finds main power source failure power-off suddenly, ARM can be communicated with DSP, and open stand-by power supply, be four axis by stand-by power supply
Rare-earth permanent-magnetic synchronous servo motor provides energy, and DSP adjusts program four rare earths of adjustment in real time by servo inside IRMCK203
The PWM of permanent magnet synchronous servo motor is exported, IRMCK203 controllers by adjusting rare-earth permanent-magnetic synchronous servo motor driving arteries and veins
It rushes number and adjusts its rotation angle, angular speed speed is realized by adjusting the frequency of rare-earth permanent-magnetic synchronous Serve Motor Control signal
Variation, so that SCARA robots is completed current carrying task, then SCARA robots are communicated by PLC and main website, and
Notice main website is overhauled.
21)In the SCARA robots Multi-asis servo system course of work, if DSP servo controllers detect some
The torque of rare-earth permanent-magnetic synchronous servo motor is pulsed, since the rare-earth permanent-magnetic synchronous servo motor that the present invention uses uses directly
Direct torque is connect, therefore controller can be easy to compensate this interference, and is adjusted inside IRMCK203 in real time according to interference size DSP
PI parameters, reduce motor torque and disturb influence to SCARA robot kinematics.
22)When SCARA robots complete task, realize position zero, the acceleration transducer A1 ~ A3, the top that carry
Spiral shell instrument 27, magnetoelectric transducer EM1, EM2, EM3 and EM4 can work at the moment, first have acceleration transducer and gyroscope to detect it and add
Speed and speed can be repaiied when acceleration and speed are more than pre-set threshold value in next cycle dsp controller by IRMCK203
The error that just upper a cycle is brought, when magnetoelectric transducer EM1, EM2, EM3, EM4 have signal output, DSP passes through
The PWM wave that IRMCK203 blocks four road rare-earth permanent-magnetic synchronous servo motors controls signal, and SCARA robots guide zero position automatically
It resetting and completes, SCARA robots realize playback from certain point to zero-bit according to the Velocity-time curve movement of Fig. 6, then zero
Position self-locking waits for next group work order.
Example the above is only the implementation of the present invention is not intended to limit the scope of the invention, every to utilize this hair
Equivalent structure or equivalent flow shift made by bright description is applied directly or indirectly in other relevant technology necks
Domain is included within the scope of the present invention.