HOME Prise de donnees MML Controle commande Simulations Notes Hardware Ligne X Laser Interaction Diagnostiques Synchronisation
Synchronisation
  Elog synchro, Page 7 of 7  Not logged in ThomX    logo
ID Date Author Statusdown Type Category Important Subject Icon
  75   Thu Dec 7 14:01:21 2023 VC, ND InfoTiming Intervention synchro 

Objectif: test du nouveau code CPLD.

- Un montage avait été installé sur le système de synchro entrainement une modulation d'amplitude de certains signaux. Nous l'avons retiré.

Le nouveau code CPLD semble fonctionner. Sdev 6.8ps entre les deux 500Mhz.

=> tests avec modulateur cf autre entrée elog.

 

  80   Tue Jan 16 11:16:20 2024 VC,ND FixTiming Ajustement temps déclenchement laser 

Suite aux modifications sur le laser photocathode le temps de déclenchement du laser photocathode était trop tard. Il a été changé de -8us à -8.20us.

Une nouvelle recette a été sauvée. Elle a aussi été mise en mémoire 9 des générateurs de retard.

 

  91   Tue May 21 14:17:51 2024 MO, MEK, KD, IC, ND InfoTiming Modification arivee RF/modulateur 

Suite discussion avec Maher et Mohamed:

Changement du retard "Linac trigger RF Gun (PA) de -9.3 a -8.5us

  92   Tue May 21 14:23:32 2024 MO, MEK, KD, IC, ND InfoTiming RE: Modification arivee RF/modulateur 

Cela n'a pas l 'effet recherche! Annulation, retour a -9.3us

MO, MEK, KD, IC, ND wrote:

Suite discussion avec Maher et Mohamed:

Changement du retard "Linac trigger RF Gun (PA) de -9.3 a -8.5us

 

  93   Tue May 21 14:42:17 2024 MO, MEK, KD, IC, ND InfoTiming RE: RE: Modification arivee RF/modulateur 

Passage de Ctrl Klystron TTL2 de -11,5 a  -12.5

MO, MEK, KD, IC, ND wrote:

Cela n'a pas l 'effet recherche! Annulation, retour a -9.3us

MO, MEK, KD, IC, ND wrote:

Suite discussion avec Maher et Mohamed:

Changement du retard "Linac trigger RF Gun (PA) de -9.3 a -8.5us

 

 

  109   Wed Feb 19 13:59:26 2025 Entered by Nicolas Delerue from 80.119.21.73 on Wed Feb 19 13:59:11 2025 ProblemTiming Problème avec le DS SIM/SY/DEG.sim 

Il y a un problème avec le DS  SIM/SY/DEG.sim qui stock des valeurs entières au lieu de valeures décimales.

Le problème peut être caractérisé avec le code ci-dessous:

 

import PyTango

#We create the proxy
tango_synchro = PyTango.DeviceProxy("SIM/SY/DEG.sim")

#we read and printthe delay array
delay_array=tango_synchro.read_attribute("delay")
print(delay_array)
delay_array_val=delay_array.value

#we check one value and modify it to a non interger value and wrote it
print(delay_array_val[2*25+9])
delay_array_val[2*25+9]=42.5
tango_synchro.write_attribute("delay",delay_array_val)

#and read it again
delay_array_val=tango_synchro.read_attribute("delay").value
print(delay_array_val[2*25+9])


#try again
delay_array_val[2*25+9]=44.5
tango_synchro.write_attribute("delay",delay_array_val)
delay_array_val=tango_synchro.read_attribute("delay").value
print(delay_array_val[2*25+9])

  110   Wed Feb 19 14:01:04 2025 Entered by Nicolas Delerue from 80.119.21.73 on Wed Feb 19 13:59:11 2025 ProblemTiming RE: Problème avec le DS SIM/SY/DEG.sim 

$ ls /data/shared/tangoscripts/DeviceServer/Calibrations/DS/SY
create_ds.sh         ds_GeneRetard2_int.py     ds_GeneRetard.py    launch_ds_Freq.sh           loop_create_ds.py
DS_GeneRetard         ds_GeneRetard2.py     fill_GeneRetard.py  launch_ds_gene_retard_loc.sh
DS_GeneRetard2         ds_GeneRetard_float.py  Freq             launch_ds_gene_retard_new.sh
ds_GeneRetard2_float.py  ds_GeneRetard_int.py     Freq.py         launch_ds_gene_retard.sh

On voit qu'il existe deux versions de ds_GeneRetard, l'une entière et l'autre flottante.

head -50 DS_GeneRetard montre la version de DS_GeneRetard dans tangoscript est la bonne (dtype=float).

$ cat launch_ds_gene_retard.sh
#!/bin/bash

PYTHON=/usr/bin/python
DIR=/data/shared/DS_CALC/gene_retard

$PYTHON $DIR/ds_GeneRetard.py DS_GENERETARD &
$PYTHON $DIR/ds_GeneRetard2.py DS_GENERETARD2 &

On voit que le script execute la version dans DS_CALC et non la version dans tangoscript.

Sur client5:

$ ps -aux | grep ds_Gene
operate+ 48899  0.0  0.1 1465728 118380 ?      Sl   Jan09   8:47 /usr/bin/python /data/shared/DS_CALC/gene_retard/ds_GeneRetard.py DS_GENERETARD
operate+ 50690  0.0  0.2 1959808 146012 ?      Sl   Jan09  44:33 /usr/bin/python /data/shared/tangoscripts/DeviceServer/Calibrations/DS/SY/ds_GeneRetard2.py DS_GENERETAR2
nicolas+ 54085  0.0  0.0  12780   952 pts/1    S+   14:02   0:00 grep ds_Gene

On voit que la version de ds_GeneRetard.py qui s'execute est celle de /data/shared/DS_CALC/gene_retard/ et non celle de /data/shared/tangoscripts

Il faudrait l'arrêter et lancer la bonne version.

Sur client5 (à faire):

 kill -9 48899

ps -aux | grep ds_Gene

cd /data/shared/tangoscripts/DeviceServer/Calibrations/DS/SY

ipython /data/shared/tangoscripts/DeviceServer/Calibrations/DS/SY/ds_GeneRetard.py DS_GENERETARD &

 

 

 

Entered by Nicolas Delerue from 80.119.21.73 on Wed Feb 19 13:59:11 2025 wrote:

Il y a un problème avec le DS  SIM/SY/DEG.sim qui stock des valeurs entières au lieu de valeures décimales.

Le problème peut être caractérisé avec le code ci-dessous:

 

import PyTango

#We create the proxy
tango_synchro = PyTango.DeviceProxy("SIM/SY/DEG.sim")

#we read and printthe delay array
delay_array=tango_synchro.read_attribute("delay")
print(delay_array)
delay_array_val=delay_array.value

#we check one value and modify it to a non interger value and wrote it
print(delay_array_val[2*25+9])
delay_array_val[2*25+9]=42.5
tango_synchro.write_attribute("delay",delay_array_val)

#and read it again
delay_array_val=tango_synchro.read_attribute("delay").value
print(delay_array_val[2*25+9])


#try again
delay_array_val[2*25+9]=44.5
tango_synchro.write_attribute("delay",delay_array_val)
delay_array_val=tango_synchro.read_attribute("delay").value
print(delay_array_val[2*25+9])

 

  111   Wed Mar 12 17:26:49 2025 Entered by Nicolas Delerue from 80.119.21.73 on Wed Feb 19 13:59:11 2025 ProblemTiming RE: RE: Problème avec le DS SIM/SY/DEG.sim 

Changement de DS effectué en accord avec la salle de contrôle. Problème résolu, cependant les DS ont mis beaucoup de temps à se charger.

Entered by Nicolas Delerue from 80.119.21.73 on Wed Feb 19 13:59:11 2025 wrote:

$ ls /data/shared/tangoscripts/DeviceServer/Calibrations/DS/SY
create_ds.sh         ds_GeneRetard2_int.py     ds_GeneRetard.py    launch_ds_Freq.sh           loop_create_ds.py
DS_GeneRetard         ds_GeneRetard2.py     fill_GeneRetard.py  launch_ds_gene_retard_loc.sh
DS_GeneRetard2         ds_GeneRetard_float.py  Freq             launch_ds_gene_retard_new.sh
ds_GeneRetard2_float.py  ds_GeneRetard_int.py     Freq.py         launch_ds_gene_retard.sh

On voit qu'il existe deux versions de ds_GeneRetard, l'une entière et l'autre flottante.

head -50 DS_GeneRetard montre la version de DS_GeneRetard dans tangoscript est la bonne (dtype=float).

$ cat launch_ds_gene_retard.sh
#!/bin/bash

PYTHON=/usr/bin/python
DIR=/data/shared/DS_CALC/gene_retard

$PYTHON $DIR/ds_GeneRetard.py DS_GENERETARD &
$PYTHON $DIR/ds_GeneRetard2.py DS_GENERETARD2 &

On voit que le script execute la version dans DS_CALC et non la version dans tangoscript.

Sur client5:

$ ps -aux | grep ds_Gene
operate+ 48899  0.0  0.1 1465728 118380 ?      Sl   Jan09   8:47 /usr/bin/python /data/shared/DS_CALC/gene_retard/ds_GeneRetard.py DS_GENERETARD
operate+ 50690  0.0  0.2 1959808 146012 ?      Sl   Jan09  44:33 /usr/bin/python /data/shared/tangoscripts/DeviceServer/Calibrations/DS/SY/ds_GeneRetard2.py DS_GENERETAR2
nicolas+ 54085  0.0  0.0  12780   952 pts/1    S+   14:02   0:00 grep ds_Gene

On voit que la version de ds_GeneRetard.py qui s'execute est celle de /data/shared/DS_CALC/gene_retard/ et non celle de /data/shared/tangoscripts

Il faudrait l'arrêter et lancer la bonne version.

Sur client5 (à faire):

 kill -9 48899

ps -aux | grep ds_Gene

cd /data/shared/tangoscripts/DeviceServer/Calibrations/DS/SY

ipython /data/shared/tangoscripts/DeviceServer/Calibrations/DS/SY/ds_GeneRetard.py DS_GENERETARD &

 

 

 

Entered by Nicolas Delerue from 80.119.21.73 on Wed Feb 19 13:59:11 2025 wrote:

Il y a un problème avec le DS  SIM/SY/DEG.sim qui stock des valeurs entières au lieu de valeures décimales.

Le problème peut être caractérisé avec le code ci-dessous:

 

import PyTango

#We create the proxy
tango_synchro = PyTango.DeviceProxy("SIM/SY/DEG.sim")

#we read and printthe delay array
delay_array=tango_synchro.read_attribute("delay")
print(delay_array)
delay_array_val=delay_array.value

#we check one value and modify it to a non interger value and wrote it
print(delay_array_val[2*25+9])
delay_array_val[2*25+9]=42.5
tango_synchro.write_attribute("delay",delay_array_val)

#and read it again
delay_array_val=tango_synchro.read_attribute("delay").value
print(delay_array_val[2*25+9])


#try again
delay_array_val[2*25+9]=44.5
tango_synchro.write_attribute("delay",delay_array_val)
delay_array_val=tango_synchro.read_attribute("delay").value
print(delay_array_val[2*25+9])

 

 

  112   Thu Apr 17 16:54:51 2025 Entered by Nicolas Delerue from 134.158.195.142 on Thu Apr 17 16:54:35 2025 InfoTiming Routage 500MHz anneau pour camera a balayage 

Le 500MHz pour la camera a balayage est injecte sur la voie C9 dans la baie 09, passe par le cable 90542 et arrive sur la voie A4.

Pour l'instant le 500MHz est pris a la place du scope de la baie 9.

  113   Thu Apr 17 17:24:58 2025 Entered by Nicolas Delerue from 134.158.195.142 on Thu Apr 17 17:24:43 2025 InfoTiming Routage 16,7MHz pour camera a balayage 

Baie 9: B14 =>cable 94545 => baie 34 A5

  114   Mon May 5 12:17:18 2025 VC, ND InfoTiming Mise a jour synchronisation. 

Attention au démarrage de l'interface faire 'restore laser and Kicker' pour etre sur que le systeme de synchro est en mode "normal"

Les codes de synchronisations ont ete mis a jour afin de permettre le 50Hz.

L'interface a ete mise à jour et un git pull a ete fait.

 

Le bit 4 est un reset du CPLD (il n'y a plus de synhcro tant que Bit 4 = 1 et la LED du chassis synchro ne clignote pas) 

Il existe 6 codes possibles

Modulateur  Linac Ring Diag

code 1    50 50 50 12.5
code 2    50 25 25 12.5  
code 3    50 12.5 12.5 12.5
code 4    50  6.25 6.25 6.25
Code 5   50  3.125 3.125 3.125
Code 6    50  1.5625 1.5625 1.5625
 

 

  123   Tue Jul 8 09:37:21 2025 ND ProblemTiming Pb DEG4 (a nouveau) 

La PLL du DEG4 a de nouveau delocké.

 

Attachment 1: Screenshot_from_2025-07-08_09-31-23.png
Screenshot_from_2025-07-08_09-31-23.png
  124   Tue Jul 8 10:18:24 2025 ND ProblemTiming RE: Pb DEG4 (a nouveau) 

Les voies du DEG4 ont ete reportees sur le DEG1 qui a ete mis a 12.5Hz. Cela change la frequence de declenchement du klystron.

ND wrote:

La PLL du DEG4 a de nouveau delocké.

 

 

  125   Tue Jul 8 10:27:00 2025 ND, VC ProblemTiming RE: RE: Pb DEG4 (a nouveau) 

Gen4, voie 1 => Gen1,voie2, RF Gun

Gen4, voie 2 => Gen1,voie3, Laser

Gen4, voie 6 => Gen1,voie4, RedPitaya

Gen4, voie 8 => Gen1,voie5, Salle de controle

Sauve en memoire 8 des DEG

 

ND wrote:

Les voies du DEG4 ont ete reportees sur le DEG1 qui a ete mis a 12.5Hz. Cela change la frequence de declenchement du klystron.

ND wrote:

La PLL du DEG4 a de nouveau delocké.

 

 

 

  126   Tue Jul 8 13:13:37 2025 VC, KD, ND ProblemTiming Problème double déclenchement DEG 

Captrures d'écran voie 5 DEG1 avec Trig ECT=12,5Hz: double déclenche.

Image 1: pas de double déclenche

Image 2: avec double déclenche

Image 3: avec persistence: montre que la double déclenche ne se produit pas tout le temps.

 

Attachment 1: TEK00000.PNG
TEK00000.PNG
Attachment 2: TEK00002.PNG
TEK00002.PNG
Attachment 3: TEK00005.PNG
TEK00005.PNG
  128   Thu Jul 10 17:55:46 2025 Entered by Nicolas Delerue from 193.55.29.172 on Thu Jul 10 17:55:23 2025 ProblemTiming Etude problème double pulse sur générateurs de retard 

Test 1: vérification de l'observation de la double pulse sur DEG4: Cf image TEK00011.PNG. Il y a bien une double pulse sur le DEG4.

Test 2: Image de l'impulsion en entrée N4 (venant de la trigger box), mode persistance = 5s. 

Élements pulsés eteint: image TEK00012.PNG

Élements pulsés allumés: image TEK00015.PNG On voit une impulsion à t=195us.

On ne voit rien sur N1,  EP allumés (TEK00016.PNG) ou eteints (TEK00017.PNG).

 

Attachment 1: TEK00011.PNG
TEK00011.PNG
Attachment 2: TEK00015.PNG
TEK00015.PNG
Attachment 3: TEK00012.PNG
TEK00012.PNG
Attachment 4: TEK00016.PNG
TEK00016.PNG
Attachment 5: TEK00017.PNG
TEK00017.PNG
  129   Fri Jul 11 09:41:54 2025 Entered by Nicolas Delerue from 193.55.29.172 on Fri Jul 11 09:41:38 2025 ProblemTiming Etude signal sortie boîtier de déclenchement 

Signal N4.

Zoom sur t=+195ns, persistence allumée

TEK00018.png: All EP on.

TEK00019.png: Ext kick only.

TEK00020.png: Inj kick only.

TEK00021.png: Deux kickers allumés

TEK00024.png: Septum only.

Étude de N2: pas de bruit en retour sur N2. TEK00025.png

Installation d'un T sur N3.

TEK00030.png: 2 kickers allumés

TEK00031.png: Zoom

10h15 Arrêt pour accès RP

11h15: Impossible de reproduire le problème (TEK00034.png)! Quelque chose s'est passé pendant l'arrêt...

TEK00033.png: Zoom sur le début de l'impulsion N3...

Attachment 1: TEK00018.PNG
TEK00018.PNG
Attachment 2: TEK00019.PNG
TEK00019.PNG
Attachment 3: TEK00020.PNG
TEK00020.PNG
Attachment 4: TEK00021.PNG
TEK00021.PNG
Attachment 5: TEK00024.PNG
TEK00024.PNG
Attachment 6: TEK00025.PNG
TEK00025.PNG
Attachment 7: TEK00030.PNG
TEK00030.PNG
Attachment 8: TEK00031.PNG
TEK00031.PNG
Attachment 9: TEK00033.PNG
TEK00033.PNG
Attachment 10: TEK00034.PNG
TEK00034.PNG
  130   Sat Jul 12 00:09:28 2025 Entered by Nicolas Delerue from 193.55.29.172 on Fri Jul 11 09:41:38 2025 ProblemTiming RE: Etude signal sortie boîtier de déclenchement 

TEK00035.png: Bruit sur le câble venant du DEG3 (2 kickers allumés) lorsque celui-ci est débranché de la trigger box.

TEK00036.png: Bruit sur le câble venant du DEG3 (2 kickers allumés) lorsque celui-ci est débranché de la trigger box et débranché du DEG3.

TEK00036.png: Bruit sur le câble N2 lors d'un changement de fréquence (utilisation d'un T).

TEK00044.png: Lorsque l'on avance le kicker d'extraction de 1us, le bruit disparait.

TEK00045.png: Lorsque le déclenchement du kicker d'extraction est trop proche du déclenchement du kicker d'injection, le bruit revient.

Entered by Nicolas Delerue from 193.55.29.172 on Fri Jul 11 09:41:38 2025 wrote:

Signal N4.

Zoom sur t=+195ns, persistence allumée

TEK00018.png: All EP on.

TEK00019.png: Ext kick only.

TEK00020.png: Inj kick only.

TEK00021.png: Deux kickers allumés

TEK00024.png: Septum only.

Étude de N2: pas de bruit en retour sur N2. TEK00025.png

Installation d'un T sur N3.

TEK00030.png: 2 kickers allumés

TEK00031.png: Zoom

10h15 Arrêt pour accès RP

11h15: Impossible de reproduire le problème (TEK00034.png)! Quelque chose s'est passé pendant l'arrêt...

TEK00033.png: Zoom sur le début de l'impulsion N3...

 

Attachment 1: TEK00035.PNG
TEK00035.PNG
Attachment 2: TEK00036.PNG
TEK00036.PNG
Attachment 3: TEK00042.PNG
TEK00042.PNG
Attachment 4: TEK00044.PNG
TEK00044.PNG
Attachment 5: TEK00045.PNG
TEK00045.PNG
ELOG V3.1.4-395e101