Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
ptblab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daniele Nicolodi
ptblab
Commits
056a1203
Commit
056a1203
authored
1 year ago
by
Daniele Nicolodi
Browse files
Options
Downloads
Patches
Plain Diff
si5servo: Adjust minimum cryofan speed
parent
78958f1c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
si5servo.py
+12
-9
12 additions, 9 deletions
si5servo.py
with
12 additions
and
9 deletions
si5servo.py
+
12
−
9
View file @
056a1203
...
@@ -65,18 +65,21 @@ def main(setpoint, params, frequency, amplitude, source, datadir, dataname):
...
@@ -65,18 +65,21 @@ def main(setpoint, params, frequency, amplitude, source, datadir, dataname):
# Get output device.
# Get output device.
output
=
rpc
.
Client
(
cryo124k
.
ADDRESS
,
cryo124k
.
TIMEOUT
)
output
=
rpc
.
Client
(
cryo124k
.
ADDRESS
,
cryo124k
.
TIMEOUT
)
#
C
ontrol loop parameters.
#
Parse c
ontrol loop parameters.
args
=
{
name
:
float
(
value
)
for
name
,
value
in
(
param
.
split
(
'
=
'
)
for
param
in
params
)}
args
=
{
name
:
float
(
value
)
for
name
,
value
in
(
param
.
split
(
'
=
'
)
for
param
in
params
)}
args
.
setdefault
(
'
o
'
,
output
.
attr
(
'
output
'
))
args
.
setdefault
(
'
o
'
,
output
.
attr
(
'
output
'
))
# PI control loop with anti-windup. With the cryofan speed set to
# When the cryofan speed is set to zero, there is no He circulation and
# zero, there is no He circulation and the gas in the He circuit
# the He in the closed circuit warms up. When the He starts circulating
# warms up to a temperature above the system temperature. When the
# again, the system temperature increases instead of decreasing.
# He starts circulating again, the system temperature increases
# Maintaining a minimum He flow prevents this effect. Experimentally it
# quickly instead of decreasing. To avoid this effect, always keep
# has been found that for this setup the flow obtained with a cryofan
# a minimum He flow by setting the minimum cryofan control voltage
# control voltage of 2.2 V does not contribute significant cooling while
# to 0.1 V.
# not allowing warm He to accumulate.
servo
=
control
.
AntiWindupPI
(
setpoint
=
setpoint
,
vmin
=
0.1
,
vmax
=
10.0
,
**
args
)
vmin
,
vmax
=
2.2
,
10.0
# PI control loop with anti-windup.
servo
=
control
.
AntiWindupPI
(
setpoint
=
setpoint
,
vmin
=
vmin
,
vmax
=
vmax
,
**
args
)
# Log loop parameters.
# Log loop parameters.
data
=
datalogger
.
open_data_file
(
datadir
,
dataname
,
None
)
data
=
datalogger
.
open_data_file
(
datadir
,
dataname
,
None
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment