Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_main_telescope
-
Story Points:3
-
Sprint:TSSW Sprint - Jul 6 - Jul 20, TSSW Sprint - Jul 20 - Aug 3
-
Team:Telescope and Site
-
Urgent?:No
Description
Fix the following error in the rotator Simulink model. There is the problem of physical model in plant that the rotator's position will differ from the related position command gradually until the trigger of followingError (the difference >= threshold) and this stops the motion of rotator. According to the observation, this happens if the rotator moves in the negative direction.
In the following figure, there are two targets: (1) position=1.2 deg and velocity=0.01 deg/sec and (2) position=1.5 deg and velocity=-0.01 deg/sec. The total simulation time is 20.1 sec. There is no big difference between the position command and position. The error of noNewTrackCmdError after the slew of the second target is triggered as expected.
However, if the second target has position=-1.5 deg and velocity=-0.01 deg/sec, the following error is triggered while the rotator turns the direction to slew to the second target:
Mike Warner found there is the problem of torque in the plant/load dynamics block. He put the scopes in the torque input, Gravity Compensation, and Friction/Damping Compensation, and noticed that the sum of both Compensations is similar to the maximum torque, and there is no torque left to get a motion started (marked as TTorque, see the following figure:
To fix it, he inserted a gain of 0.5 to the Coulomb Friction output and the system seems to work fine.
He has no idea what the friction value should be, maybe this is something we need to bring up with MOOG, as the sum of both compensations exceeds the available torque in this particular situation. He contacted Ghavimi, Ali to see he could help this or not.
I asked the following questions and Mike Warner replied:
1. What will happen for the positive point-to-point movement (positionSet 1.5)? It looks like this gain value will affect all control modes globally.
This change should have a minimal effect in the performance of the system, Coulomb Friction, also called Stiction, is usually destabilizing in a control loop, if anything the system should be more stable, I tried the positive motion with no problems.
2. Why is this an asymmetric behavior? I thought the plant model should be symmetric. But why it is not?
The system is not really symmetrical, as it includes a gravity compensation, which sometimes might push/pull the system in one direction, in this case a positive motion it helped, and a negative motion it was pulling, and it needed more torque that was available causing the failure.
3. If there is no other concern, should we just put this gain=0.5 correction and claim the bug is fixed? Will it affect other subsystem's behavior in the plant model? I do not understand the meaning of Coulomb friction here. Can you explain to me what is that? And what will happen if we assume the Coulomb friction was original half?
I have no concerns, as the real hardware was tested and seems to work fine, maybe we can get telemetry and refine the actual Coulomb Friction model eventually, the values used in the model could be an unrealistic worst case.