
D
DB
B8
81
10
0
D
Di
ig
gi
it
ta
al
l
D
DC
C
S
Se
er
rv
vo
o
D
Dr
ri
iv
ve
er
r
V
V1
1.
.0
0
Tel: (86)755-26471182Fax: (86)755-26402718URL: www.leadshine.com
7
either themotoriswiredbackwardsorthetrimpotsare misadjusted.Checkthe
trimpot settings. If theyarerightthenswitchthemotorleadsandtryagain.If itstill
doesn tworkafter you followedalloftheprevioussteps, pleasecontactusat
tech@leadshine.com.
Nowturnon yourSTEPpulse sourceandrampthespeed up to see ifthemotorruns.
Itshouldrunclockwise with a logical “1”onthe DIRECTION input.
5.2 Tuning the Servo
Theoptimumwaytotunetheservo istoinduceanimpulseloadonthemotorwhile
watchinganoscilloscopetoseehowthemotorbehavesinresponse,thenadjusting
thePIDcoefficientsforoptimalbehavior.Inall cases themotorshouldreturnto the
command position,whatmatters ishowitdoes it.Themanner in whichthemotor
returnstoitscommand position iscalleddamping.Atoneextremecalled
overdampedresponse,themotorreturnstopositionafter along,drawnoutdelay.
Attheother extremecalledunderdampedresponse, themotorreturnsto itsposition
toorapidly,overshoots, returnsand undershootsandsoonuntil it finally settles atits
command position.Thisisalsocausedringing;whenextreme, theover/undershoot
buildsinamplitudeuntil themotorenters violentoscillation.Betweenthetwo
extremes istheoptimalresponsecalled criticaldamping.Here the motorrapidly
returnsto itspositionwithlittleor noovershoot in theminimalamount of time.
TherearethreetrimpotsatthesideofDB810.TheyareGAIN,DAMPandLIMIT
separatelyforcurrentsetting, as shownin Figure 5.
D
DB
B8
81
10
0
D
Di
ig
gi
it
ta
al
l
D
DC
C
S
Se
er
rv
vo
o
D
Dr
ri
iv
ve
er
r
V
V1
1.
.0
0
Tel: (86)755-26471182Fax: (86)755-26402718URL: www.leadshine.com
8
Figure 5:Sketchof DB810
GAINand DAMPING settinggenerallytrack eachother.If youincreaseGAIN
(greater stiffness), thenincrease DAMPING isneededas well torestore critical
damping. Be careful,increasing GAINwithout increasingDAMPING maycause the
motorto breakout intoviolentoscillation.ThehigherGAINisset,thenoisier the
motorwill bewhenstopped.Thisisbecausehigher gaincauses more vigorous
dithering betweenencoder counts atrest.
5.3 Adjusting PIDCoefficients
Theerrorbetweenservoactualpositionandpulsecommand position canbereduced
bytuning servoparameters.
You candetectivehowthemotorbehaves inresponse toanimpulseloadby
watchinganoscilloscope, as showninFigure 6. Theeasiestwayto induce a
disturbanceistoswitchtheDIRECTION inputwhilecommandingaconstantspeed
viatheSTEPinput.Theabruptdirectionchangeputsjustthemomentaryload
neededonthemotorwhileyouwatchhowitresponds. If you areusingan
oscilloscope,use channel1onthetestpointandchannel2ontheDIRECTION
input.Setthetrigger to “normal”,trigger sourcetochannel2andtrigger edgeto “+”.
You shouldsee a single sweepforeveryclockwise change indirection.
Authorized Distributor of Leadshine Technology www.leadtronker.com
www.leadtronker.com雷赛智能官方代理:雷创智能科技