WE1_3-4O - icalepcs 2005

Download Report

Transcript WE1_3-4O - icalepcs 2005

Development of a Linuxbased small-size controller
using PoE technology
T. Masuda, T. Fukui, R. Tanaka
SPring-8
ICALEPCS2005, Oct. 10-14, Geneva,
Switzerland
Contents



Motivation
PoE technology
Development of new controller






CPU card
I/O cards
Software
Temperature measurement using new controller
Installation plans
Summary
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Motivation
0.5
0.0
28.000
-0.5
28.050
-1.0
-1.5
28.100
time
October 10-14
ICALEPCS2005@Geneva,
Switzerland
05/4/20 0:00:00
05/4/19 18:00:00
05/4/19 12:00:00
05/4/19 6:00:00
05/4/19 0:00:00
05/4/18 18:00:00
05/4/18 12:00:00
05/4/18 6:00:00
temperature of BPM support
05/4/18 0:00:00
Investigate correlation
between
 temperature and orbit
distortion of electron
beams.
 …
high-precision collector magnet
-2.0
Current (A)
We need temperature
measurements in the
accelerator buildings
at many points in
SPring-8.
Temperature (degree C)

Motivation (cont’d)

Generally, we have to handle signals
scattered around a large facility site.





Temperature,
Humidity,
…
Total number becomes large.
But a few signals at each place.
How should we handle these signals?
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Motivation (cont’d)
How about VME or PC?
=>
 It is not cost-effective to
install VME or PC for each
place.

VME or PC are too much.
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Motivation (cont’d)

How about off-the-shelf, network-based
dedicated devices?
Ether-to-GPIB controller
Temperature and humidity
measurement instrument
These devices provide easy start-up, but…
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Motivation (cont’d)

Unstable



We needed 1 year to fix the firmware bug by a
company.
We had to go over there to reset when it hung up.
We needed protocol conversions to fit the
framework.
=> We need more flexible and stable controllers.
October 10-14
ICALEPCS2005@Geneva,
Switzerland
New controller
100mm

130mm

30mm

Small size
Linux support
Various I/O cards available


No AC adaptors
Electric power comes
from a network cable.
October 10-14

Temperature measurement
card
GP-IB controller card
Power over Ethernet support
No AC power lines
No AC adaptors
ICALEPCS2005@Geneva,
Switzerland
PoE technology
What is
“Power over Ethernet”?
Legacy HUB
AC power line
Before PoE
Network device
power
Ethernet cable
data
Network devices demand
AC power lines in addition
to Ethernet cables.
October 10-14
ICALEPCS2005@Geneva,
Switzerland
AC adapter
AC power line
What is
“Power over Ethernet”?
PoE HUB
AC power line
After PoE
PoE Network device
power
Ethernet cable
data
PoE network devices can
receive power from Ethernet
cables as well as data.
October 10-14
ICALEPCS2005@Geneva,
Switzerland
power
AC adapter
AC power line
What is “PoE”? (cont’d)

IEEE standard : 802.3af (June 2003)

Extension to the existing Ethernet standards.
=> We can mix PoE devices and non-PoE
devices together.
PoE HUB
Non-PoE device
PoE device
power AC
power
line
October 10-14
ICALEPCS2005@Geneva,
Switzerland
The PoE standard
PSE
Power Sourcing Equipment (PSE) :
• Output voltage : 48V DC (typ.)
• Max. output power : 15.4W / 1port
Powered Device (PD) :
• Max. input power : 12.95W
PD
Max. cable length : 100m
Standard cable available
PD
October 10-14
ICALEPCS2005@Geneva,
Switzerland
The PoE standard (cont’d)
PSE
While a PD is not connected,
PSE does not apply voltage
to the cables.
x
PD
x
PD
October 10-14
ICALEPCS2005@Geneva,
Switzerland
The PoE standard (cont’d)
PSE
PSE detects a signature
resistance in the PD.
Then PSE starts power
supplying.
25kW signature
resistance
PD
PD
October 10-14
ICALEPCS2005@Geneva,
Switzerland
The PoE standard (cont’d)
PSE
PSE detects absence of
the PD, then PSE stops
power.
x
x
PD
The PoE provides safer
operation of the power.
PD
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Management tools for PSE
By using this tool,
•If We
you can
wantcontrol
to turnpower
off thesupplying.
power to port 1,
• We can monitor power sourcing status.
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Management tools for PSE
Select port number
Select power supplying statuspush set button
We can monitor the status changes of the port 1.
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Management tools for PSE
We don’t need to rush there to reset the
We device
can reset
thethe
connected
deviceup.
remotely.
when
device hangs
We can monitor the status change of the port 1.
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Development of
new controller
CPU card

CPU: 240MHz SH-4







120mm
PCI I/F for an I/O card


Original architecture by Hitachi
32bit RISC CPU with MMU
Low power consumption
Extendable for new I/O card
64MB SDRAM
32MB Flash Memory
10/100baseT/Tx Ethernet I/F
with PoE
USB 2.0
October 10-14
ICALEPCS2005@Geneva,
Switzerland
92mm
Temperature measurement
card





4-channel inputs of 3-wire Pt100 RTD* sensors
Measurement range : -20~80˚C
Accuracy : 0.1˚C
120mm
Resolution : 0.001˚C
4-channel 20-bit  A/D
converter
 Full scale error : 4ppm
of Vref =2.5V (typ.)
 50Hz/60Hz notch filter
92mm
*RTD : Resistance Temperature Detector
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Temperature measurement
instrument
Typical assembly of the temperature
measurement instrument



Assembled from the CPU
card and the temperature
measurement card.
Combined with a dedicated
PCI connector.
Power consumption :
3.7W (typ.)
October 10-14
CPU card
Dedicated PCI
connector
ICALEPCS2005@Geneva,
Switzerland
Temperature
measurement card
GP-IB controller


Assembled from the
CPU card and the
GP-IB controller card.
Power consumption :
4.1W (typ.)
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Software

We ported SH-Linux 2.4.14 to the CPU card.


We introduced disk-less Linux system.


We developed device drivers for the I/O cards.
The system has root file system on an NFS server.
Any of control software (TANGO, EPICS, …) will
work.

We ported RPC server software of the MADOCA
framework.
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Temperature measurement
using new controller

Can we use the PoE technology for precise
measurement system?

Can it work with a shielded twisted pair (STP)
cable?

Is voltage drop by a long Ethernet cable a
problem?
=> We tested.
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Measurement system
PSE
Temperature
measurement
instrument
5m-long STP cable
Sampling rate : 1Hz
100m-long STP cable
99.950W high-precision
resistance for reference.
stability : 5ppm/1˚C
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Equivalent to -0.128˚C
in a Pt100 sensor
Result
temperature ( ˚C)
-0.080
STP 5m
STP 100m
-0.100
-0.128±0.0018
-0.120


-0.128
-0.140
The instrument worked
well with a STP cable.
Overall accuracy of 0.1˚C
was achieved.

-0.128±0.0016

-0.160

-0.180
0
600 1200 1800 2400 3000 3600
time (sec)
October 10-14
agreed with the expected
value ( -0.128 ˚C).
errors < 0.002 ˚C
Voltage drop by a long
Ethernet cable did not
affect the measured value.
ICALEPCS2005@Geneva,
Switzerland
Installation plans
- Temperature measurement instrument

Install into the SCSS* prototype accelerator.


Measurement of air and wall temperatures of the
machine tunnel.
Install into the machine tunnel with radiation
protection boxes.
Because of low heat generation and PoE support.
=>
 Reduce the wiring of Pt100 sensors.
 Enhance the measurement accuracy.
*SCSS : SPring-8 Compact SASE Source
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Installation plans
- GP-IB controller

Replace VME GP-IB boards.


Because the GP-IB board makes troubles on
the VMEbus.
Replace the off-the-shelf dedicated GP-IB
controllers.
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Summary

We succeeded in developing the new Linuxbased small-size controllers using PoE.

PoE maximizes degree of freedom of the
installation without AC power lines.

PoE enhances controllability of the distributed
controllers by using PSE management tool.

We can apply PoE technology to precise analog
measurement as well as digital devices.
October 10-14
ICALEPCS2005@Geneva,
Switzerland
Thank you for your
attention.