development of a linux- based small-size controller using poe technology t. masuda, t. fukui, r....

32
Development of a Linux Development of a Linux -based small-size cont -based small-size cont roller using roller using PoE PoE techn techn ology ology T. Masuda, T. Fukui, R. T. Masuda, T. Fukui, R. Tanaka Tanaka SPring-8 SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, ICALEPCS2005, Oct. 10-14, Geneva, Switzerland Switzerland

Post on 19-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

Development of a Linux-basDevelopment of a Linux-based small-size controller usined small-size controller usin

g g PoEPoE technology technology

T. Masuda, T. Fukui, R. TanakaT. Masuda, T. Fukui, R. Tanaka

SPring-8SPring-8ICALEPCS2005, Oct. 10-14, Geneva, ICALEPCS2005, Oct. 10-14, Geneva,

SwitzerlandSwitzerland

Page 2: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

ContentsContents

MotivationMotivation PoE technologyPoE technology Development of new controllerDevelopment of new controller

CPU cardCPU card I/O cardsI/O cards SoftwareSoftware

Temperature measurement using new controllerTemperature measurement using new controller Installation plansInstallation plans SummarySummary

Page 3: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

MotivationMotivation

We need We need temperature temperature measurementsmeasurements in the in the accelerator buildings accelerator buildings at at many pointsmany points in in SPring-8.SPring-8.Investigate correlation Investigate correlation betweenbetween temperature temperature and and orbit orbit

distortion of electron distortion of electron beamsbeams..

……

28.000

28.050

28.100

-2.0

-1.5

-1.0

-0.5

0.0

0.5

05/4

/18

0:00

:00

05/4

/18

6:00

:00

05/4

/18

12:0

0:00

05/4

/18

18:0

0:00

05/4

/19

0:00

:00

05/4

/19

6:00

:00

05/4

/19

12:0

0:00

05/4

/19

18:0

0:00

05/4

/20

0:00

:00

temperature of BPM support

high-precision collector magnet

Tem

pera

ture

(deg

ree

C)

Current (A)

time

Page 4: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Motivation (cont’d)Motivation (cont’d)

Generally, we have to handle signals Generally, we have to handle signals scattered around a large facility site.scattered around a large facility site.

Temperature,Temperature, Humidity,Humidity, ……

Total number becomes large.Total number becomes large. But a few signals at each place.But a few signals at each place.

How should we handle these signals?How should we handle these signals?

Page 5: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Motivation (cont’d)Motivation (cont’d)

How about VME or PC?How about VME or PC?

=>=> It is not cost-effective to It is not cost-effective to

install VME or PC for each install VME or PC for each place.place.

VME or PC are too much. VME or PC are too much.

Page 6: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Motivation (cont’d)Motivation (cont’d)

How about off-the-shelf, network-based How about off-the-shelf, network-based dedicated devices? dedicated devices?

Ether-to-GPIB controllerEther-to-GPIB controller Temperature and humidity Temperature and humidity measurement instrumentmeasurement instrument

These devices provide easy start-up, These devices provide easy start-up, but…but…

Page 7: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Motivation (cont’d)Motivation (cont’d)

UnstableUnstable We needed 1 year to fix the firmware bug by a We needed 1 year to fix the firmware bug by a

company.company. We had to go over there to reset when it hung We had to go over there to reset when it hung

up.up. We needed protocol conversions to fit the We needed protocol conversions to fit the

framework.framework.

=> => We need more flexible and stable controllers.We need more flexible and stable controllers.

Page 8: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

New controllerNew controller

Small sizeSmall size Linux supportLinux support Various I/O cards availableVarious I/O cards available

Temperature measurement Temperature measurement cardcard

GP-IB controller cardGP-IB controller card Power over EthernetPower over Ethernet support support

No AC power linesNo AC power lines

No AC adaptorsNo AC adaptors

100mm 130mm

30mm

Electric power comes from a network cable.

No AC adaptors

Page 9: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

PoE technologyPoE technology

Page 10: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

What is What is ““PPower ower oover ver EEthernet”?thernet”?

AC adapter

AC power line

Ethernet cable

power

datadata

AC power lineLegacy HUB Before PoE

Network device

Network devices demand Network devices demand AC power lines in addition AC power lines in addition to Ethernet cables.to Ethernet cables.

Page 11: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

What is What is ““PPower ower oover ver EEthernet”?thernet”?

Ethernet cable datadata

AC power line After PoE

AC adapter

AC power line

power

PoE Network device

PoE HUB

PoE network devices can rePoE network devices can receive power from Ethernet cceive power from Ethernet cables as well as data.ables as well as data.

power

Page 12: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

What isWhat is “PoE” “PoE”?? (cont’d)(cont’d)

IEEE standard : 802.3af (June 2003)IEEE standard : 802.3af (June 2003) Extension to the existing Ethernet standards.Extension to the existing Ethernet standards.

=> We can mix PoE devices and non-PoE devices together.

PoE HUB

PoE deviceNon-PoE device

power power AC power line

Page 13: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

The PoE standardThe PoE standard

PDPD

PDPD

PSEPSEPower Sourcing Equipment (PSE) :• Output voltage : 48V DC (typ.)• Max. output power : 15.4W / 1port

Powered Device (PD) :• Max. input power : 12.95W

Max. cable length : 100mStandard cable available

power

power

Page 14: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

The PoE standard (cont’d)The PoE standard (cont’d)

PDPD

PDPD

PSEPSE While a PD is not connected, PSE does not apply voltage to the cables.

x

x

Page 15: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

The PoE standard (cont’d)The PoE standard (cont’d)

PDPD

PDPD

PSEPSE

power

power

PSE detects a signature resistance in the PD.

Then PSE starts power supplying.

25k25k signature signature resistanceresistance

Page 16: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

The PoE standard (cont’d)The PoE standard (cont’d)

PDPD

PDPD

PSEPSE

power

power

PSE detects absence of the PD, then PSE stops power.

xx

The PoE provides safer operation of the power.

Page 17: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Management tools for PSEManagement tools for PSE

By using this tool, • We can control power supplying.• We can monitor power sourcing status.

By using this tool, • We can control power supplying.• We can monitor power sourcing status.

If you want to turn off the power to port 1,If you want to turn off the power to port 1,

Page 18: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Management tools for PSEManagement tools for PSE

Select port numberSelect port number

Select power supplying statusSelect power supplying statuspush set buttonpush set button

We can monitor the status changes of the port 1.We can monitor the status changes of the port 1.

Page 19: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Management tools for PSEManagement tools for PSE

We don’t need to rush there to reset the device when the device hangs up.

We don’t need to rush there to reset the device when the device hangs up.

We can monitor the status change of the port 1.We can monitor the status change of the port 1.We can reset the connected device remotely.We can reset the connected device remotely.

Page 20: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

Development of Development of new controllernew controller

Page 21: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

CPU cardCPU card

CPU: 240MHz CPU: 240MHz SH-4SH-4 Original architecture by HitachiOriginal architecture by Hitachi 32bit RISC CPU with 32bit RISC CPU with MMUMMU Low power consumptionLow power consumption

PCI I/FPCI I/F for an I/O card for an I/O card Extendable for new I/O cardExtendable for new I/O card

64MB SDRAM64MB SDRAM 32MB Flash Memory32MB Flash Memory 10/100baseT/Tx Ethernet I/F w10/100baseT/Tx Ethernet I/F w

ith PoEith PoE USB 2.0USB 2.0

120mm120mm

92mm92mm

Page 22: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Temperature measurement Temperature measurement cardcard

4-channel inputs4-channel inputs of of 3-wire Pt100 RTD* sensors3-wire Pt100 RTD* sensors Measurement range : -20~80˚CMeasurement range : -20~80˚C Accuracy : Accuracy : 0.1˚C0.1˚C Resolution : Resolution : 0.001˚C0.001˚C

92mm92mm

120mm120mm

4-channel 20-bit 4-channel 20-bit A/D co A/D converternverter

Full scale error : 4ppm oFull scale error : 4ppm of Vref =2.5V (typ.)f Vref =2.5V (typ.)

50Hz/60Hz notch filter50Hz/60Hz notch filter

*RTD : Resistance Temperature Detector

Page 23: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Temperature measurement Temperature measurement instrumentinstrument

Assembled from the CPU cAssembled from the CPU card and the temperature meard and the temperature measurement card.asurement card.

Combined with a dedicated Combined with a dedicated PCI connector.PCI connector.

Power consumption : 3.Power consumption : 3.7W7W (typ.) (typ.)

Temperature Temperature measurement cardmeasurement card

CPU cardCPU card

Dedicated PCI Dedicated PCI connectorconnector

Typical assembly of the temperature measurement instrument

Page 24: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

GP-IB controllerGP-IB controller

Assembled from the Assembled from the CPU card and the GPCPU card and the GP-IB controller card.-IB controller card.

Power consumption : Power consumption : 4.1W4.1W (typ.) (typ.)

Page 25: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

SoftwareSoftware

We ported We ported SH-Linux 2.4.14SH-Linux 2.4.14 to the CPU card. to the CPU card. We developed device drivers for the I/O cards.We developed device drivers for the I/O cards.

We introduced We introduced disk-less Linux system.disk-less Linux system. The system has root file system on an NFS server. The system has root file system on an NFS server.

Any of control software (Any of control software (TANGOTANGO, , EPICSEPICS, …) will , …) will workwork.. We ported RPC server software of the MADOCA We ported RPC server software of the MADOCA

frameworkframework..

Page 26: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Temperature measurement Temperature measurement using new controllerusing new controller

Can we use the PoE technology for Can we use the PoE technology for precise precise measurement systemmeasurement system?? Can it work with a shielded twisted pair (STP) cCan it work with a shielded twisted pair (STP) c

able?able?

Is voltage drop by a long Ethernet cable a problIs voltage drop by a long Ethernet cable a problem? em?

=> We tested.=> We tested.

Page 27: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Measurement systemMeasurement system

99.950 high-precision resistance for reference.stability : 5ppm/1˚C

Temperature measurement instrument

5m-long STP cable

100m-long STP cable

Equivalent to -0.128˚C in a Pt100 sensor

PSE

Sampling rate : 1Hz

Page 28: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

ResultResult

The instrument worked The instrument worked well with a STP cable.well with a STP cable.

Overall accuracy of 0.1˚C Overall accuracy of 0.1˚C was achieved.was achieved.

agreed with the expected agreed with the expected value ( -0.128 ˚C).value ( -0.128 ˚C).

errors < 0.002 ˚Cerrors < 0.002 ˚C

Voltage drop by a long Voltage drop by a long Ethernet cable did not Ethernet cable did not affect the measured affect the measured value.value.

-0.180

-0.160

-0.140

-0.120

-0.100

-0.080

0 600 1200 1800 2400 3000 3600

time (sec)

tem

pera

ture

(C̊

)

STP 5m

STP 100m

-0.128±0.0016

-0.128±0.0018

-0.128

Page 29: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Installation plansInstallation plans- Temperature measurement instrument- Temperature measurement instrument

Install into the Install into the SCSSSCSS** prototype accelerator. prototype accelerator. Measurement of air and wall temperatures of the maMeasurement of air and wall temperatures of the ma

chine tunnel.chine tunnel. Install into the machine tunnel with radiation proInstall into the machine tunnel with radiation pro

tection boxes.tection boxes.Because of low heat generation and PoE support.Because of low heat generation and PoE support.

=>=> Reduce the wiring of Pt100 sensors.Reduce the wiring of Pt100 sensors. Enhance the measurement accuracy.Enhance the measurement accuracy.

*SCSS : SPring-8 Compact SASE Source

Page 30: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

Installation plansInstallation plans- GP-IB controller- GP-IB controller

Replace VME GP-IB boards.Replace VME GP-IB boards. Because the GP-IB board makes troubles on tBecause the GP-IB board makes troubles on t

he VMEbus. he VMEbus.

Replace the off-the-shelf dedicated GP-IB Replace the off-the-shelf dedicated GP-IB controllers.controllers.

Page 31: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

October 10-14 ICALEPCS2005@Geneva, Switzerland

SummarySummary

We succeeded in developing the new Linux-basWe succeeded in developing the new Linux-based small-size controllers using ed small-size controllers using PoE.PoE.

PoE PoE maximizes degree of freedom of the installamaximizes degree of freedom of the installationtion without AC power lines. without AC power lines.

PoE PoE enhances controllabilityenhances controllability of the distributed co of the distributed controllers by using PSE management tool.ntrollers by using PSE management tool.

We can apply PoE technology to We can apply PoE technology to precise analog precise analog measurementmeasurement as well as digital devices. as well as digital devices.

Page 32: Development of a Linux- based small-size controller using PoE technology T. Masuda, T. Fukui, R. Tanaka SPring-8 ICALEPCS2005, Oct. 10-14, Geneva, Switzerland

Thank you for your Thank you for your attention.attention.