embedded device set for control systems. implementation and application. victor r. kozak binp,...

17
Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Upload: neil-stafford

Post on 01-Jan-2016

226 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Embedded device set for control systems.Implementation and application.

Victor R. KozakBINP, Novosibirsk, Russia

Budker INP, Novosibirsk RuPAC-2006

Page 2: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Introduction

70th - 90th - VEPP-2M, VEPP-3/4, Siberia (Moscow) etc. Control systems were based on CAMAC.

Page 3: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Now BINP builds new installations (VEPP-5, FEL, FEL-KAERI) and upgrades VEPP-2000. Growing requirements to functions, parameters and reliability of automation components initialize creating a new generation of automation devices. An activity on creating new automation components, new structural and architectural decisions was begun in 2000 year.

Requirements to new device set

All devices must be embedded in terminal equipment.

All devices must be based on micro-controller or microprocessor.

All devices should use CANbus for interaction with control computer or with other devices.

Devices should combine a number typical function (many devices in single).

Devices should be maximally unified by functions, command set, connectors for external connections.

Page 4: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Microcontroller

CANbuscontroller

DC-DCconverters

PLD

FunctionalcircuitryOptocouplers

8 outputs(digital)

8 inputs(digital)

Inputs/outputs(digital/analog

)

CANBUS line

Unified structure of all devices

ADC

DAC

PWM

Registers

Generators

e.t.c.

Page 5: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Designation Functional descriptionCANDAC16 16 channel 16 bit DACCANADC40 40 channel 24 bit ADCCDAC20 6 channel 24 bit ADC, 21 bit DACCEDAC20 6 channel 24 bit ADC, 21 bit DAC, euromechanicsCAC208 20 channel 24 bit ADC, 8 channel 16 bit DACCGVI8 8 channel delayed pulse generatorCPKS8 8 channel pulse-width generatorCURVV Multiport input/output registerSLIO24 24-bit bi-directional registerCKVCH Reconfigurable RF multiplexer

Embedded device set

Page 6: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Analog-to-digital structureMULTIPLEXER

0+0-

1+1-

N+N-

+-ADC

Uref

Urange

Gain

PGA

•Differential multiplexer•High precision reference•Programmable gain amplifier or instrumentation amplifier•ADC chip

Inputs:•External•Internal (calibration, temperature, power supply voltage)

Page 7: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Multichannel digital-to-analog structure (CANDAC16, CAC208)

Multiplexer

AD669

Uref

Output Output

Channel Code

Page 8: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Parameters of CAC208

Parameter of CAC208 ValueExternal ADC inputs 20ADC bits 24Range, V 10Effective resolution, bits rms 22Scale drift, ppm/C 1,5Accuracy, % 0,003DAC outputs 8DAC resolution, bits 16Range, V 10Accuracy, % 0,05Input digital channels 8Output digital channels 8

Page 9: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Structure of precise DAC

Digital-to-analogcircuitry

Analog-to-digitalcircuitry

Micro-controller

CANBUS

Udac

Uadc

DACregister

Correctionregister

ADC

DAC

Micro-controller

Output voltage of DAC

7,498

7,4985

7,499

7,4995

7,5

7,5005

7,501

7,5015

7,502

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31

Page 10: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Parameters of CDAC20Parameter ValueExternal ADC inputs 5ADC bits 24Range, V 10Effective resolution, bits rms 22Scale drift, ppm/C 1,5Accuracy, % 0,002DAC outputs 1DAC resolution, bits 21Range, V 10Accuracy (digital correction off), % 0,01Scale drift (digital correction off), ppm/C 5Accuracy (digital correction on), % 0,002Scale drift (digital correction on), ppm/C 1Input digital channels 8Output digital channels 8

Page 11: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

CGVI8- 8-channel delayed pulse generator. It provides delayed pulses with jitter 10ns and with delay from 100 nS to 214 Sec.

CPKS8- 8-channel pulse-width converter;

CURVV- multi-port input/output register;

CKVCH- reconfigurable multiplexer for high frequency signals;

SLIO24- multiport bi-directional register for interfacing old equipment to CANBUS.

Today these devices are using in VEPP-2000 control system for replacing old CAMAC modules in different subsystems.

Digital devices

Page 12: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Typical application: multichannel power supply

ControlledPowerSupply

ControlledPowerSupply

ControlledPowerSupply

CAC208RefIoutUout

RefIoutUout

RefIoutUout

Magnet

Magnet

Magnet

CANbus

Page 13: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Typical application: FEL (2002), KAERI (2003)

Multichannel controlled powersupplies for lenses and correctors(total 192 channels)

Controlled power supplies forlenses and correctors (total 98

channels)

Page 14: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Typical application, VEPP-2000 (2006)

Page 15: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Typical application (FEL-KAERI, 2003)

Temperature measurements, 40-channel module. Total 160 channels in FEL-BINP control system.

16,600

16,650

16,700

16,750

16,800

16,850

16,900

16,950

1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69

SENSOR001_T

SENSOR005_T

Page 16: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Device set for automation

•Hardware compatibility - connectors, pin-outs, ranges for ADCs, DACs.

•Software compatibility - ADCs, DACs, registers.

•Additional on-board resources - microsystems, based on single controlled device.

•Embedded software evolution - function generator, DAC digital correction, etc.

•Custom software - special function implementation (Karnaval).

•Autonomous working - function generator for accelerator, thermostabilization and so on.

Page 17: Embedded device set for control systems. Implementation and application. Victor R. Kozak BINP, Novosibirsk, Russia Budker INP, Novosibirsk RuPAC-2006

Conclusion

•Installations: VEPP-5, VEPP-2000, FEL-BINP, FEL-KAERI, KEDR, wigglers, coolers, etc.

•Geography: Russia (Novosibirsk, Moscow, Dubna), Korea, China.

•Control computers: PC, VME-Motorola, CAMAC-Motorola, Odrenok.

•OS: Windows, Linux, VxWorks, ODOS.

Additional information

http://www.inp.nsk.su/~kozak/designs/designs.htm

or

http://www.inp.nsk.su/~kozak/