try to enhance CY
This commit is contained in:
65
Readme.md
65
Readme.md
@@ -1022,8 +1022,8 @@ FrontUnivOut5 Gate3[1].Chan[1].UserFlag 6
|
||||
FrontUnivOut6 Gate3[1].Chan[2].UserFlag 7
|
||||
|
||||
Event 254 -> Pulser 0 -> FrontUnivOut4 Gate3[1].Chan[0].UserFlag
|
||||
Event 40 -> Pulser 1 -> FrontUnivOut4 Gate3[1].Chan[1].UserFlag
|
||||
Event 22 -> Pulser 2 -> FrontUnivOut4 Gate3[1].Chan[2].UserFlag
|
||||
Event 40 -> Pulser 1 -> FrontUnivOut5 Gate3[1].Chan[1].UserFlag
|
||||
Event 22 -> Pulser 2 -> FrontUnivOut6 Gate3[1].Chan[2].UserFlag
|
||||
|
||||
caput SAR-CVME-TIFALL5-EVG0:SoftEvt-EvtCode-SP 254
|
||||
|
||||
@@ -1477,7 +1477,66 @@ the cabeling has to change so that it fits as it worked before.
|
||||
SAR-EXPMX:MOT_CX: moves in closed loop, limitswitch +- must be swapped
|
||||
SAR-EXPMX:MOT_CZ: moves in closed loop, limitswitch +- must be swapped
|
||||
SAR-EXPMX:MOT_CY: before commissioning check encoder signal Level TTL?
|
||||
|
||||
-> we need the old stage to be able to check and compare each motor step by step.
|
||||
now working and new stage CY is roughly commissined
|
||||
```
|
||||
|
||||
24.11.23 Tweak CY stages
|
||||
------------------------
|
||||
```
|
||||
stage without load: slowest open loop motion:
|
||||
#3out-14
|
||||
#3out 15
|
||||
(14-15% of nominal curttent ~275mA)
|
||||
|
||||
sometimes stuck and needs up to 35% !!! of nominal current to start mofing againg.
|
||||
This is the drawback of brushes that do not provide a smooth current switching and continous torque
|
||||
|
||||
|
||||
> #3out15
|
||||
> Motor[3].ServoOut
|
||||
Motor[3].ServoOut=290.403002929687489
|
||||
|
||||
Motor[3].Servo.OutDbOn
|
||||
Motor[3].Servo.OutDbOff
|
||||
Motor[3].Servo.OutDbSeed
|
||||
|
||||
Motor[3].Servo.OutDbOn=200
|
||||
Motor[3].Servo.OutDbOff=400
|
||||
Motor[3].Servo.OutDbSeed=0
|
||||
|
||||
Motor[3].Servo.OutDbOn=200
|
||||
Motor[3].Servo.OutDbOff=400
|
||||
Motor[3].Servo.OutDbSeed=200
|
||||
|
||||
Motor[3].Servo.Kp=50
|
||||
Motor[3].Servo.BreakPosErr=5
|
||||
Motor[3].Servo.Ki=.0004
|
||||
|
||||
./PBGatherPlot.py -r2 --ssh_tunnel -p '{"motId":3,"address":"Sys.ServoCount,Motor[{motId}].DesPos,Motor[{motId}].PosError,Motor[{motId}].ServoOut,Motor[{motId}].IaMeas,Motor[{motId}].Integrator"}'
|
||||
|
||||
pp={
|
||||
'openloop':False,
|
||||
'file' :fn,
|
||||
'motor' :3,
|
||||
#'amp' :40, # openloop: % of maximal amplitude
|
||||
'amp' :100, # closed loop: um amplitude
|
||||
'minFrq' :1,
|
||||
'maxFrq' :20,
|
||||
'tSec' :6.,
|
||||
'mode' :1,
|
||||
}
|
||||
tune.bode_chirp(**pp)
|
||||
fig=plt.figure(1)
|
||||
fig.suptitle('CY closedloop 6 sec. 1-20Hz amp=100um')
|
||||
plt.show()
|
||||
|
||||
./PBGatherPlot.py -r0 --ssh_tunnel
|
||||
|
||||
./PBGatherPlot.py -r3 --ssh_tunnel -p '{"motId":3,"rng":[0,5000 ]}'
|
||||
|
||||
./PBGatherPlot.py -r3 --ssh_tunnel -p '{"motId":3,"rng":[0,2000 ],"wait":0.2, "repeat":3}' -d2
|
||||
|
||||
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user