Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ACKNOWLEDGEMENT
Contents
Preface
1. General description 1
2. Operating 2
1.1. Adjusting the preamplifier gain 4
1.2. Irradiation process 6
3. Ion detector 7
4. Preamplifier 8
5. Pulse shaper 9
6. Negative pulse suppressor 22
7. Analog to digital converter 11
8. Digital processor FPGA 12
9.1. 8 bit Computer interface 13
9.2. Clock divider 15
9.3. Instruction decoder 16
9.4. Registers 20
9.5. Irradiation machine 23
9.6. Peak detector 25
9.7. FIFO memory and interface 28
9.8. Acquire state machine 30
9.9. Printer state machine 31
Preset number of ions irradiation system Contents
9. Communication interface 41
11.3. Acquire VI 50
11.4. Irradiation VI 52
12. Mechanics 54
Appendix 1 66
Appendix 2 79
Appendix 3 84
Appendix 4 102
Appendix 5 119
Appendix 6 120
Bibliography
Acknowledgement
Preset number of ions irradiation system
1. General description
The system is aimed to irradiate long polymer films (polycarbonate,
polyimmide, PET, etc), 35mm wide, with or without perforations, with
preset number of ions coming from an ion accelerator. Other goals to
be achieved by the present system are:
• to mark on the tape good and bad frames,
• to be mobile (light weight and small dimensions),
• to be easy to install and to operate,
• to perform ion counting and energy analysis,
• to enable irradiation under different angles,
• to be remote via Ethernet network.
The system has three parts: a beam diagnostic system, a tape
roller, and an electronic system.
The beam diagnostic system is aimed for trimming the beam
before the irradiation is started, down to 10÷100 ions per second, in
order to reduce the probability of double pulses at the detector level.
This part works in vacuum. It has three main parts: the Faraday cup
for measuring the beam current, the fluorescent screen to see the
beam shape and roughly estimating the flux, and the TV camera to
observe the fluorescent screen. The fluorescent screen and the
Faraday cup can be flipped in or out using to bi-stable magnets. On
the flange of the beam diagnostic system there are 4 double BNC
connectors: Fluorescent screen magnet, Faraday cup magnet, TV
camera and Faraday cup repeller. First three are signals coming from
the digital part of the electronic system and the repeller should be
connected to a picoamperemeter.
The tape roller consists of three DC motors and a printer head
mounted on a metal plate. Two motors are attached on the two tape
roles and the third one is driving a pressure rubber role. The motors
attached on the roles serve as breaks during irradiation or as traction
motors for FF or REW the tape. The third motor has an angular
encoder for measuring the tape displacement (the distance between
frames).
1
Preset number of ions irradiation system
pA FF Motor
Tape roller DAQ card
DAQ6062
LAN
2. Operating
The irradiation system is a complex machine which has to fulfill many
tasks. These should be scheduled in a proper order: beam trimming,
gain and sampling frequency adjustment and irradiation itself, in
order to obtain the expected results.
3
Preset number of ions irradiation system
pA FF Motor
Tape roller DAQ card I
DAQ6062
III
LAN
Power
EPF10k10LC84
Angular circuits
encoder FPGA
Video
camera
Digital
Pressure Driving Motor processor
role
Communication I VII BeamDiagControl.vi
interface
pA FF Motor
Tape roller DAQ card
DAQ6062
LAN
pA FF Motor
Tape roller DAQ card
DAQ6062
LAN
NOTE: the gain adjustment should be performed with the same tape
that will be irradiated in front of the detector in order to get proper
results.
5
Preset number of ions irradiation system
Figure 5 Pulse
2.3. Irradiation process
After the calibration is done, one can start the irradiation process. For
this Main.vi is available. The gain value, determined in the previous
step, must be used. According to the pulse shape, and noise
recorded, the thresholds for good pulse must be chosen too. The
virtual instrument is performing the irradiation automatically, saving
the peaks recorded in the log file (Irr + date and hour.txt) together
with some explaining note. The instrument is described in chapter 0.
The irradiation process is thought as a sequential one, different tasks
to be accomplished successively: switching-on the ion beam (I, II),
waiting for receiving the desired number of ions (III, IV, V, VI, VII),
reading the number of peaks and the peaks values (IX, X), deciding if
Fluorescent Faraday Ion Detector REW Motor Electronics Power Configuration
screen cup
memory
supply
Beam EPC2
line Preamplifier
Memory
Beam III
diagnostic IV Shaping V VI
ADC Peak det
Filter
VII
Printing
head IX FIFO
XIII
Readmem
machine
XVI Power XII
Angular circuits EPF10k10LC84
encoder XV
Video FPGA
camera
Digital
Pressure Driving Motor processor
VIII II
role
Communication X Acquire.vi
I
Beam interface
Control
pA FF Motor
Tape roller DAQ card XI, XIV
DAQ6062
LAN
the irradiation is good, saving data to file, printing on tape (XI, XII,
XIII), advancing the tape for next frame (XIV, XV, XVI). After the
desired number of samples is recorded, the beam is switched off
automatically (VII). This process is presented in Figure 6.
3. Ion detector
The ion detector is a PIN diode (S1223). It is dedicated for
optical measurements. In order to be used for ion detection, the
quartz window has been removed.
100nF 100pF
10µF
1M 100K -5V
Det-
Det+
1M 100K +5V
10µF
100nF 100pF
Figure 8 PIN diode capacitance versus
Figure 7 Biasing the PIN the reverse voltage
diode
smooth and without noise, otherwise these will add to the useful
signal.
4. Preamplifier
∑2⋅ R
i =3
k
(1)
Choosing R4=10k we obtain for the other resistors the
following values: R0 = 5k, R1=2.5K, R2=1.25K, R3=2.5K. For R0 will
be used 4.7K in series with 300, for R1 and R3 2.2K plus 300 will be
used and for R2 1.1K plus 150. The feedback resistors have a 3p
1n
R4 10k
1M
Det+ Op27
1n
VEE VDD
X0
In Xcom X1 16k 16k
G3 A X2
B X3 1k
4052 Y3
Y2
Ycom Out
Y1
Y0
47p OP27
VSS INH
5. Pulse shaper
In order to avoid multiple pulses, rising on the previous tail, the
pulse tail must be shortened. This is usually achieved using a pulse
shaper. The pulse shaper consists of two cascaded filters: a high
pass filter followed by a low pass filter. Both are MFB 2 pole Bessel
filters, in inverting configuration. Because the high pass filter will
strongly reduce the amplitude of the pulses, and to distribute the
necessary gain on both stages, the high pass has been used before
the low pass filter.
The high pass filter is F1 in Figure 11 and the low pass filter is
F2 in Figure 11.
9
Preset number of ions irradiation system
15p
4.7k
6.8p
320k
22p 22p
InF2 22p
InF1 OP27
OutF1 4.7k 12k OP27
120k OutF2
33p
F1 F2
The high pass filter has the cutting frequency at 50KHz and the gain
of about 1.5. The low pass filter has the cutting frequency at 1MHz
and the gain of about 1. After filtering the pulses, length decreases
from about 150µs down to 3.5µs, the amplitude remaining almost
constant. The measured 3dB bandwidth of the whole shaper is from
42KHz to 310KHz with a maximum around 87KHz. The maximum
measured gain using sine wave is about 2.64 and using pulses from
the fission source (similar to ion pulses) the gain is around 2.
10k
3p
From
shaper BAT85
BAT85 Out
In 10k OP37
To
ADC
Figure 12.
The circuit is a fast half wave precision rectifier. The diodes are fast
Schottky diodes in order to have an accurate response. The
compensation capacitor can miss from the circuit. This circuit will
give negative output voltages for positive inputs. This has to be
considered in the following stage (see Figure 13).
13 12
10 DGND 100nF DVDD CLK 100nF
14 11 DGND
VC AVDD DVDD
15 10
AVDD D7
1 8 10 16 9
2 NC SEL 7 100nF VRTS D6
3 +Vin NC 6 2.5V 17 8
4 TEMP Vout 5 VRT D5
GND TRIM 18 7
1uF 100nF AD780 AVDD D4
To digital processor
100nF 19 6
100uF 100nF VIN D3
+5Vaf 100nF 20 5
-5Vaf +5Vaf AVSS D2
1k
21 4
AVSS D1
510 22 3
10k 10k VRBS D0
7 1
100nF 23 2
3 VRB DVSS
+
6 24 1
2 DVSS NOE
-
AD817 51
1k
From suppressor DGND AD775 DGND
4 8 10pF
-5Vaf
1k
3pF
Analog ground
LM7805
AD775
Digital ground
INPUT OUTPUT
7 DIO[7..0] VCC 3 Q[7..0]
CLRN
11
DFF
DIO1 PRN Q1
D Q
CLRN
12
DFF
NOT AND2 DIO2 PRN Q2
D Q
INPUT
5 nStrobe VCC
INPUT 8
10 nInhibit VCC 9
CLRN
13
INPUT
19 nRST VCC
DFF
DIO3 D
PRN
Q
Q3
CLRN
14
DFF
DIO4 PRN Q4
D Q
CLRN
15
DFF
DIO5 PRN Q5
D Q
CLRN
16
DFF
DIO6 PRN Q6
D Q
CLRN
17
DFF
DIO7 D
PRN
Q
Q7
CLRN
18
16
Preset number of ions irradiation system
flip-flops to logic 1. This happens only when nrd or nwr are active,
that is to say when it is a write or read instruction. Also two delayed
replicas of the nrd and nwr (nrd1 and nwr1) signals are generated
here for having the proper timing for the registers reading or writing.
One of these signals is generated and remains active just for the
duration of the second low state of the internal nStrobe of any
read/write instruction, when data is transferred into or from register.
18
Preset number of ions irradiation system
19
Preset number of ions irradiation system
presented in Appendix 1.
8.4. Registers
Bit 7= State[7] bit signals the overflow of the ion flux measurement
(logic1).
24
Preset number of ions irradiation system
MUX F M FIFO
1
C WR
A>B A>B
A A
R
Peak
ADCdata COMP COMP
S
B B A<B
Threshold
Clk N No of peaks
samples with the same value, both a>b and a<b should be
considered in order to get the derivative sign change. Because of
hazard, they have to be synchronized with the clock (DFF 133 and
134). DFF 137 will be set when the derivative sign is becoming
negative. Its output is the clock for the ioncounter 54, and also the
positive edge will store the peak value in the external FIFO memory.
The digital comparator 142 will signal when the number of ions
recorded is equal with the preset one (setionno[9...0]).
27
Preset number of ions irradiation system
Due to the wide area that an internal FIFO memory will occupy, the
use of an external memory has been considered. It is a Cypress 32k
dual access FIFO. Interfacing this memory asks for 21 pins: 8 data
in, 8 data out, 2 for read and write, 1 for reset and 2 for signaling
flags. Internally, they are many blocks which read or write from/into
this memory: the peakdetector, the readmemmachine and the
acquire blocks. This sub-chapter will describe just the
readmemmachine and some other parts that are not included in any
28
Preset number of ions irradiation system
29
Preset number of ions irradiation system
In order to adjust the proper gain for the analog chain, the signal that
is acquired by the ADC must be visualized. The acquire block reads
data coming from ADC and stores it into the FIFO memory. The start
moment of the acquiring process is triggered with a numerical
comparator. This block can be seen in Figure 33.
This block has been designed to generate signals for the printer
drivers according to the information contained in the PRNR. The
schematic is in Figure 34. The block is organized around a 3 bits shift
register (DFF 8, 9, 10). It is initially loaded with “100”, and at the end
of printing process is loaded again with the same state. When the
instruction decoder receives the printing instruction (90h), it activates
the nPRN signal (logic 0). The flip-flop DFF 4 will be set-up at the
falling edge of this signal, activating the busy signal and starting the
printing process. Printing means activating the needles once. This
happens when the shift register is in the state “010”. The clock
frequency of the register is around 4.76Hz. This means the printing
pulse is 210 ms long. The outputs of the print register (PRNR) are
chopped by the outputs 2 of the pulse register through 7 AND gates
(16 to 21 and 23). When DFF 10 receives the logic 1 (state “001”) the
block is returning again in the initial state (shift register and DFF 4
are reset).
This block is named encread in the project and reads the data from
31
Preset number of ions irradiation system
The main parts are the two 10bits up-down counters: the pulse
counter and the frame counter (counters 25 and 42). They are used
in the present design just as a indicator for the frame length.
Because the number of pulses given by the encoder is 2520 per
rotation, and the circumference of the driving role is 63 mm, the
number of pulses per frame is about 800 for about 20 mm. This
means that the role will turn one third of turn for advancing the tape
to a new frame. The counter carry output cout is the clock signal for
the next counter. The signals q[8] and q[9] were used to generate a
signal (slow) used by other block (Motors) to decide the speed of the
tape. First the tape was pulled with low speed (according to the value
in MPRLR) then it runs with high speed (according to the value in
MPRR), and in the end again with the low speed. This regime was
chosen in order to avoid the pressure role slipping on the film, and to
prevent long stopping time. Actual design does not use this, slow
being unused. The block Motors applies a constant number of pulses
to the PR motor.
In order to choose the right count direction the DFF 3 has
been used. ChanelA is the clock signal and ChanelB is the data
input. If the motor is turning forward, ChanelB has an advance of one
quarter of period from ChanelA, and the rising edge of the ChanelA
32
Preset number of ions irradiation system
will find ChanelB in logic 1 and DFF 3 will go to logic 1. The pulse
counter and the frame counter will count forward. If the motor is
turning backward that ChanelB is delayed with a quarter of period,
and the flip-flop will go to logic 0, determining the counters to count
backwards. The counters can be initialized (reset) with external reset
signal or when resetting the registers (instruction A0h). This feature
is used only for monitoring the frame length.
33
Preset number of ions irradiation system
35
Preset number of ions irradiation system
36
Preset number of ions irradiation system
One can see the counting time, 996.1472s, and pulses are
very condensed at the beginning of the interval.
There are 20 groups of two pulses each (a), this means 40 pulses
(see Freq[7..0] in Figure 37).
37
Preset number of ions irradiation system
a) detail
In order to drive the flipping magnets for Faraday cup and fluorescent
screen, pulse generators must be used (Figure 43). The signals for
driving these magnets are mapped in the control register (CR): bits
D6 and D7. As it is said before, logic one means “IN” and 0 means
“OUT”. Because the flipping magnets must be driven just with a short
pulse (small power dissipation) the edges must be detected. For the
positive edge will be a pulse acting one branch of the bridge, and for
the negative edge another pulse acting the other branch. In order to
obtain these pulses the following schematic has been used. The idea
is simple. An edge sensitive flip-flop is used to start the pulse (DFF 1
or DFF 14) on the desired edge (Signal). Its output is the pulse
output. Also, it allows the clock to reach a counter (counter 7 or 16)
through a AND gate (AND2 5 or AND2 15). The counter counts 7
38
Preset number of ions irradiation system
clock periods and then reset the flip-flop and itself through QD output.
The pulse length is about 7 clock periods (CLKDIV[17]). This means
the pulse duration is about 267 µs.
The waveforms are available in Figure 44. Two such detectors are
used: one for Faraday cup (bit D7) and one for the fluorescent screen
(bit D6).
39
Preset number of ions irradiation system
40
Preset number of ions irradiation system
The pins assignment for the FPGA is shown in the Figure 45.
It was done like this in order to achieve a simple PCB.
The external digital electronics around this processor is
reduced to the FIFO memory and some gates. It also includes the
EEPROM (EPC2LC20) for configuring the FPGA at power-up, reset
circuit, connectors with other blocks, the JTAG programming
interface and a 20MHz oscillator. The connection with EPC2 memory
is the classic one for multi-device JTAG chain configuration. Some
connectors for debugging the hardware are available too. This part
can be found in Error! Reference source not found..
9. Communication interface
The digital processor must be driven by a host computer or by
processor. It just receives instructions and executes them or sends
data back. The interface is a parallel one, having 8 bits bidirectional
data lines and one strobe signal driven always by the host (computer
41
Preset number of ions irradiation system
16 DIO0 DIO0 52
17 DIO1 DIO1 17
18 DIO2 DIO2 49
19 DIO3 DIO3 47
21 DIO4 DIO4 19
22 DIO5 DIO5 51
23 DIO6 DIO6 16
24 DIO7 DIO7 48
25 nStrobe GPCTR0OUT 2
42
Preset number of ions irradiation system
43
Preset number of ions irradiation system
The irradiation system contains three motors. All motors are driven
using the same schematic: galvanic separated H-bridge. The
schematic is presented in Figure 47.
The driving signals are TTL level (pins 3 and 4 on J3
connector) and they are coming directly from the FPGA. The bridge
is optically coupled with the rest of circuit in order to protect the low
power electronics. Two transistors were used as buffers to drive
common type optocouplers (CNY17). The power transistors in the
bridge are Tip102 for NPN and TIP105 for PNP. These are too big for
this purpose, but they were available from an old printer. Also, less
powerful transistors can be used (BD 677 and BD678). The bridge is
supplied at 12V DC.
Applying +5V to pin 3, Q6 will open to saturation, and the
LED’s in optocouplers U3 and U1 will light. The phototransistors from
U3 and U1 will be saturated also (0.2-0.4V collector-emitter voltage).
The current flowing through these transistors will generate a voltage
drop on the resistors R1 and R3, which will open the power
transistors Q1 and Q3 to saturation. Then the load, connected at J2
will be supplied with around 10V, with plus on pin 1 and minus on
pin2. If the driving signal is pulsed one, the load is connected to the
power supply just for short time during one period of the pulsed
+5V
+12V
R1 R4
1k 1k
3 6 U1 1 1 U4 6 3
Q1 1 5 5 1 Q4
2 2
TIP105 4 4 TIP105
R5 CNY17-4 2 J2 Motor 2 CNY17-4
R8
100k 100k
1
2
J1
M+ M-
1
2
R6 6 U2 1 1 U3 6 R7 12V
100k
5 5 100k
2 2
1 4 4 1
Q2 CNY17-4 2 2 CNY17-4 Q3
3 3
TIP102 R2 R3 TIP102
1k 1k
GNDPOW
R9 R10
100 100
R11 Q5 Q6 R12
1k Q2N2222 Q2N2222 1k
4
3
2
1
J3 TTL
signal. If the load is inductor or motor, it acts like a low pass filter,
and only the DC component will be used. Varying the filling factor of
the pulsed wave, the DC voltage can be changed. It results a nice
and simple control of the DC on the load (from zero to maximum).
The same description is available for the other branch (Q5, U2, U4,
Q2 and Q4). This time, the polarity applied to the load is minus on pin
1 and plus on pin2 (reversed as in the previous). Some simulation
waveforms are presented in Figure 48. The bottom plots show the
two driving signals at the J3 connector (V(V1:+) and V(V2:+)), and
the top one shows the voltage V(Q1:c,Q4:c), on the load (pure
resistive). In this case, the DC component is zero, but it was chosen
to demonstrate both polarities.
The same schematics are used too for driving the magnets
which switch in and out the Faraday cup and the fluorescent screen.
The driving signal is just one short pulse, on one or the other input.
How this is done is described above in paragraph 0.
10V
0V
SEL>>
-11V
V(Q1:c,Q4:c)
5.0V
2.5V
0V
V(V2:+)
5.0V
2.5V
0V
0s 0.2ms 0.4ms 0.6ms 0.8ms 1.0ms 1.2ms 1.4ms 1.6ms 1.8ms 2.0ms
V(V1:+)
Time
The printer head consists of nine needles (only seven are used)
actuated by 9 coils. They accept for short time voltage between 5
and 12 V, and the needle will be advanced for about 1mm. The coil
resistance is about 6 ohms. This means a quite high impulse current.
To drive the coils Darlington transistors like in Figure 49.
45
Preset number of ions irradiation system
330 5 100k
2
4 1
2 CNY17-4 Q5
3
R16 R11 TIP102
1 U10 6 R17
1k
330 5 100k
2
4 1
2 CNY17-4 Q10
3
R27 R26 TIP102
1 U11 6 R28
1k
330 5 100k
2
4 1
2 CNY17-4 Q11
3
R34 R33 TIP102
1 U12 6 R35
J3 1k
330 5 100k
1 2
2 4 1
3 2 CNY17-4 Q16
4 3
5 R37 R36 TIP102
6 1 U13 6 R38
7 1k
8 330 5 100k
9 2
10 4 1 J6
11 2 CNY17-4 Q17
12 3 18 17
R44 R43 TIP102 16 15
CON12 1 U18 6 R45 14 13
1k 12 11
330 5 100k 10 9
2 8 7
4 1 6 5
2 CNY17-4 Q22 4 3
3 2 1
R51 R50 TIP102
1 U19 6 R52 Print Head
1k
330 5 100k
2
4 1
2 CNY17-4 Q23
3
R58 R57 TIP102
1 U24 6 R59
1k
330 5 100k
2
4 1
2 CNY17-4 Q28
3
R69 R68 TIP102
1 U25 6 R70
1k
330 5 100k
2
4 1
2 CNY17-4 Q33
3
R75 TIP102
J33
J32 1k
1
1
-12V
+12V
operator can observe the tape movement and if something does not
work. Because the system is thought to be mobile, only one image is
available at a time through the Hauppage video capture device. This
part has the role to switch both, the video signal and the power
supply signal to one or the other video camera.
Figure 51 shows this circuit. It is driven from FPGA (pin 79 from
Flex10k10) through an optocoupler CNY17-4. It drives two TTL
compatible relays. One switches the video signals (K1) and the
second switches the power supply (K2). Switching the power supply
is necessary because the video camera is getting hot and it cannot
be cooled in vacuum.
U3 J2
J1 LM7805C/TO220 100k R1 IN 4
1 3 U2 CNY 17-1 R2
1 IN OUT 6 1 1 3
2 Q13
GND
+ C1 C2 + BD190 1 5 330 2
+5V 10uF 2
10uF 4
Out 4 2
2
5
D1
1 3
1N4148 R3 J3 2
D2 10k
5
1N4148
47
Preset number of ions irradiation system
J11
5
4
5 1 3
4 J12 R78 2
3 1 1 U26 6
2 Video1
TVCam 270 5 R79
100k
4 K1
2 CNY17-4 VIDEO J14
16
1
5
4
1 3 J15
-12V
2 5
14
4
8
1 3
Video2 2
12V Cam1
K2 -12V
CAM POWER
16
1
D1 J175
4
1n4148 1 3
2
14
12V Cam2
8
+12V
R90
100
For easyness of operation the VI's which operates the camera can be
48
Preset number of ions irradiation system
started from the main control panel. This instrument is called Main.vi.
It allows to open and close other applications and to reset the digital
processor in the FPGA. The main panel is presented in Figure 52.
On the panel there are three butons (Beam trimming, Acquire
and Irradiate) with arrows between them. The arrows show the order
the operator should follow. First the beam must be trimmed. After this
is accomplished, the next operation is to check the quality of the
signal and trimm the gain of the preamplifier. For this the "Acquire"
button must be pressed. This action will close the previous
application and open Acquire.vi. "GO" button will start the acquiring
procedure. After accomplishing the gain trimming, one can start the
irradiation procedure. By pressing the "Irradiate" button, any other VI
will be shut down and Irradiation.vi will be activated. After setting up
the irradiation parameters, the operator has to press GO button to
start the procedure.
On the panel there is also "Reset FPGA", which will reset teh
digital processor, and the "Stop" button that closes the Main.vi.
Warning: "Reset FPGA" must not be pressed when acquire or
irradiation processes are running. It is available only for extreme
cases, when the system is not responding.
11.3. Acquire VI
50
Preset number of ions irradiation system
51
Preset number of ions irradiation system
11.4. Irradiation VI
process and recording data. The main panel is shown in Figure 55. It
contains controls, info field, graphs and digital displays. Their
functionality is described in the following.
• Gain – controls slide for the preamplifier gain. This value goes in
bits 0 and 1 in control register.
• F sample – control slide button for the ADC sampling frequency.
Four sampling frequencies are available: 10MHz, 5MHz, 2.5MHz
and 1.25MHz. This value goes in bits 2 and 3 in control register.
• Threshold – digital control for the threshold value (above which
the digital processor inside FPGA considers that a pulse starts). It
is displayed in ADC counts too. This value goes in TR.
• No of Ions/Frame – control for programming the number of
desired ions per frame. This value goes in PNILR and PNIHR in
FPGA.
• No of Frames – program the desired number of frames for the
current irradiation.
• Fluorescent screen – this button flips in and out the fluorescent
screen. This is bit D6 in control register.
• Faraday Cup – this button flips in and out the Faraday cup for
beam intensity measurements. This is bit D7 in control register.
• Video – it switch the images from video cameras: Beam Camera
for looking o fluorescent screen or Tape Camera to survey the
tape motion.
• Minimum energy – control the minimum value for accepting good
peaks
• Maximum energy - control the maximum value for accepting good
peaks
• Good Frame – is a digital indicator. Green light for this indicator
means that the current frame had fulfilled the tests and is
considered good one.
• Comments – character field in which the user can introduce some
comments about the irradiation that he wants to be saved in the
file.
• Info – Field for displaying messages about the current action.
• Frame Counter - displays the frame counter value (the software
counter)
• No of Ions Detected - Displays the number of ions detected in the
current frame.
• Peak - the value of the peak that is currently brought from FPGA.
• Peaks Data Graph - displays the amplitude of peaks detected
53
Preset number of ions irradiation system
12. Mechanics
The mechanical part includes the beam diagnostic system and the
tape roller. The first one is located inside the beam line, in vacuum,
and the second one is attached through a flange by the first and is
located outside the vacuum. Both will be described in the following
paragraphs.
54
Preset number of ions irradiation system
Fluorescent
BNC connector
screen Flipping magnet for
fluorescent screen
Mounting
flange
BNC connector
Fluorescent
BNC connector screen
Flipping magnet for
fluorescent screen
Mounting
flange
Faraday cup
NC connector
O ring
The tape roller is dedicated for polymer tape transport in front of the
ion beam. A 3D view is presented in both Figure 58 and Figure 55.
56
Preset number of ions irradiation system
Base plate
Rubber
pressure
role
Ion DC motor
detector with
DC motors encoder
for tape
advance
Guiding x
role
Base plate
Polymer
tape Guiding
role
Rubber DC motor
Ion pressure with
detector role encoder
for tape
advance
58
Preset number of ions irradiation system
59
Appendix 1 Electronic schematics
60
Appendix 1 Electronic schematics
2 poles, gain 1.47, fT=50kHz 2 poles, gain 2,1, fT=1MHz
JP2
1 2
BP Inverter JP3
1 2
Half wave rectifier
-5Vaf R6 1k R8 +5Vaf HP
1 3
+5Vaf
10k R72 10k
R9
0 +5Vaf
7 1
U3 C6 C7
+ R10
3 D1 10nF 510
R11 + 7 1
6 10uF U4 toADC
2
-
BAT82 3 JP4
R12 +
10k 4 8 OP37/SO 6 1 2
2
-
AD817 BP
4 8
1k
-5Vaf D2
3pF R14 1k C9
10k 3pF
+5V +5Vaf
R15
10
+ C10 + C11 + C12 + C13
C14 C15 10uF 10uF C16 C17 10uF 10uF
100nF 100nF 100nF 100nF
10
-5V -5Vaf
Debouncer
61
Appendix 1 Electronic schematics
Digital circuits
62
Appendix 1 Electronic schematics
ADCClk
VC
VC VC
C1 C2
U1
R1 13 12
10 DGND 100nF DVDD CLK 100nF
14 11 DGND
VC R2 AVDD DVDD
15 10
U2 AVDD D7 ADCD7
1 8 10 C3 16 9
NC SEL 100nF VRTS D6 ADCD6
2 7
3 +Vin NC 6 2.5V 17 8
TEMP Vout VRT D5 ADCD5
4 5
C4 C5 GND TRIM C7 18 7
AVDD D4 ADCD4
1uF 100nF AD780 C6
100nF C8 C9 19 6
VIN D3 ADCD3
100uF 100nF
100nF 20 5
AVSS D2 ADCD2
21 4
AVSS D1 ADCD1
22 3
VRBS D0 ADCD0
23 2
R3 VRB DVSS
24 1
toADC DVSS NOE
51
C10 DGND AD775 DGND
10pF
63
Appendix 1 Electronic schematics
Power supplies
64
Appendix 1 Electronic schematics
Power drivers
65
Appendix 1 Electronic schematics
U1
J1 LM7805C/TO220
1 3
1 IN OUT +5V
GND
+5Va 100nF
C2 C3
C1 100nF
1000uF
2
J2
J3 J4 J5 J6 J7
hole1 hole2 hole3 hole4
hole5 1
AGND
1
1
LM7905C/TO220
1
100nF
DGND C4 C5 C6
GND
100nF
J8 1000uF
2 3
1 IN OUT -5V
DGND
U2
-5Va
U3
J9 LM7805C/TO220
1 3
1 IN OUT VC
+5Vadc
GND
C7 C8 C9
100nF 100nF
1000uF
2
J10
1
AGND
Voltage stabilizers
66
Appendix 2 - FPGA schematics
Receiver
68
Appendix 2 - FPGA schematics
Debouncer
Edge detector
69
Appendix 2 - FPGA schematics
Instruction decoder
70
Appendix 2 - FPGA schematics
Registers
71
Appendix 2 - FPGA schematics
Irradiation machine
72
Appendix 2 - FPGA schematics
Peak detector
73
Appendix 2 - FPGA schematics
Acquire
74
Appendix 2 - FPGA schematics
Readmem machine
75
Appendix 2 - FPGA schematics
Freq
76
Appendix 2 - FPGA schematics
77
Appendix 2 - FPGA schematics
Encread
PWM
78
Appendix 2 - FPGA schematics
Motors
79
Appendix 3 – Instruction description
Write instructions
80
Appendix 3 – Instruction description
Read instructions:
81
Appendix 3 – Instruction description
Instruction code: 22h VVh, where VVh is the data existing in INR;
22h=34d
Number of bytes: 2
Action: read VVh from INR
82
Appendix 3 – Instruction description
Commands:
• Print (PRN)
Instruction code: 90h; 90h=144d
Number of bytes: 1
Action: start printing on tape process. The tape is marked with the
needle printing head. The process is signaled by turning to 1 bit 5 in
SR and will last until it returns to 0.
Number of bytes: 1
Action: start acquiring data from detector. 128 bytes of data from the
input signal is stored in FIFO memory. The process is signaled by
turning to 1 bit 4 in SR and will last until it returns to 0. Also the ion
beam will be open, this being signaled with bit 1 in SR on logic 1.
84
Appendix 4 Connections and cables
Appendix 4
Panels of irradiation system
C17
C1
C5 C16
C6
Panel 1 – Card 1 Panel 2 – Card 2 Panel 3 – Card 3 Panel 4 – Card 4 Panel 5 – Card 5 Panel 6– Card 6
MOTORS
PRINTER HEAD
C27
K TEST A
C34
C29 C31 C30
OUT C28 C33
ENCODER
C32
Back panel Front panel
85
Appendix 4 Connections and cables
Connecting the preamplifier
C28 C9 R10
J4 K12
Preamplifier
EPF10k10
C28
J8, J7 C3
U20
J5, J6 K1
Preamplifier – panel 1
Signal C27 Preamplifier Signal
-5V 1 J8 -5V
GND 2 J10 GND
GND 3 J10 GND
GND 4 J10 GND
+5V 5 J7 +5V
NC 6 NC
G1 7 J6 G1
G0 8 J5 G0
DGND 9 J10 DGND
86
Appendix 4 Connections and cables
Preamplifier J4 – Panel C28
K12 – LEMO connectors, coaxial
87
Appendix 4 Connections and cables
Connecting the printer head
C34 Tape roller panel
C34’
K8
J3
EPF10k10
C10 C10’
C5
J4
J6 K2
Cables: K2 and K8
K2 - multiple wires, band
Panel 1 C5 – Card 1 J4
Signal J4 C5 Signal
+5V 1 9 +5V
Needle 0 2 7 Needle 0
Needle 1 3 5 Needle 1
Needle 2 4 3 Needle 2
Needle 3 5 1 Needle 3
Needle 4 6 2 Needle 4
88
Appendix 4 Connections and cables
Needle 5 7 4 Needle 5
Needle 6 8 6 Needle 6
GND 9 8 GND
10 NC
89
Appendix 4 Connections and cables
Needle 0 3 18 Needle 0
NC 2
NC 1
90
Appendix 4 Connections and cables
Connecting flipping magnets and encoder
C32 Tape roller panel
C32’
K5
J5 EPF10k10
J4 C1
J6
K6 J5
Card 4 C16 C16’ C1’ Card 1
Cables: K2 and K8
K6 – band, multiple wires
Signal C1’ C16’ Signal
+5V 1
A 2
B 3
GND 4
+5V 5 1 +5V
PWM 6 2 PWM
nPWM 7 3 nPWM
GND 8 4 GND
NC 9
NC 10
5 NC
6 NC
7 NC
8 NC
9 NC
10 NC
91
Appendix 4 Connections and cables
K5 – band, multiple wires
Signal C1’ C32’ Signal
10 NC
9 NC
8 NC
+5V 1 7 +5V
A 2 6 A
B 3 5 B
GND 4 4 GND
+5V 5
PWM 6
nPWM 7
GND 8
NC 9
NC 10
3 NC
2 NC
1 NC
92
Appendix 4 Connections and cables
Q3Q9 6 3 Q3Q9
Q4Q8 7 4 Q4Q8
GND 8 2 GND
NC 9
NC 10
93
Appendix 4 Connections and cables
Connecting the motors
C33 Tape roller panel
C33’
J7 J8
C24 C24'
JP4
K4
EPF10k10
J18 J9 J10
C2
J13 K7
Card 5 C23 C2’
C23’ Card 1
Cables: K4 and K7
95
Appendix 4 Connections and cables
VCC 5 1 VCC
X1 6 3 X1
VCC 7
GND 8 2 GND
GND 9 2 GND
GND 10 2 GND
4 NC
4 NC
4 NC
96
Appendix 4 Connections and cables
TV camera switch and Beam control
C26 C25
C25 Panel 6
K9 J2
C7
EPF10k10
to beam
control
J15 J3
K13
Card 5 C17 C8
Card 1
97
Appendix 4 Connections and cables
Connecting TV cameras
Hauppauge
S Video
K13
K22
K23
Hauppauge
C18 C19
C20 C21
K15 K10
K14
C22
K10 K14
Role
TV camera
K15
Panel 5
98
Appendix 4 Connections and cables
Computer interface
SW1
DAQ 6062
EPF10k10
C6’
J1
SCB-68
K3
National Instruments U15
C6’ Card 1
cable K3
100
Appendix 4 Connections and cables
Connecting the Beam diagnostic system
Faraday cup flipping Fluorescent
magnet screen flipping
(K18, K19) magnet
(K16, K17)
Vacuum video
Faraday cup camera
repeller (K14, K15)
(K21, K20)
Cable connections to beam diagnostic
C14 K17
J1
C15 K16
Card 4
101
Appendix 4 Connections and cables
Connection between the cards
• Card 1 – Card 2
Card 1 Card 2
Connector Signal Signal Connector
J8 +5VA +5VA J19
J9 AGND AGND J21
J11 -5VA -5VA J23
J24 +5VADC +5VADC J12
J25 AGND AGND J13
• Card 4 – Card 5
+12 V for TV cameras is cut-off on card 5 and it is brought from card 4 (see
appendix 4).
102
Appendix 5 – Boards: layout and placement
Not used
R35→100nF
1n
4k7
103
Appendix 5 – Boards: layout and placement
104
Appendix 5 – Boards: layout and placement
10k
10nF
cut
1k
10k
105
Appendix 5 – Boards: layout and placement
cut
106
Appendix 5 – Boards: layout and placement
107
Appendix 5 – Boards: layout and placement
108
Appendix 5 – Boards: layout and placement
109
Appendix 5 – Boards: layout and placement
110
Appendix 5 – Boards: layout and placement
111
Appendix 5 – Boards: layout and placement
112
Appendix 5 – Boards: layout and placement
113
Appendix 5 – Boards: layout and placement
114
Appendix 5 – Boards: layout and placement
115
Appendix 5 – Boards: layout and placement
+12V
from
card 4
GND
from Cut
card 4
116
Appendix 5 – Boards: layout and placement
117
Appendix 5 – Boards: layout and placement
+12V
from card 4
118
Appendix 5 – Boards: layout and placement
119
Appendix 6 – Mechanical Assemblies
Beam diagnostic system
Lateral view
120
Appendix 6 – Mechanical Assemblies
Tape roller
121
Appendix 6 – Mechanical Assemblies
Tape roller and beam diagnostic assembled together
122
Appendix 6 – Mechanical Assemblies
Electronic control unit
123
Preset number of ions irradiation system Bibliography
BIBLIOGRAPHY