Files
gitea-pages/software/vme/VHQ.php.html
T
2025-07-08 08:18:09 +02:00

359 lines
14 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title>VHQ Programmable High Voltage Power Supply</title>
</head>
<body>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="author" content="Dennis Armstrong">
<style type="text/css">
<!--
body { font-family:Arial,sans-serif,espy;
background:white; margin:0; }
body,p,ul,ol,dl,div,table {font-size:12pt; }
p { line-height:120%; }
pre,code,tt { font-family:"Courier New",Courier,monospace; }
code,tt { font-size:13pt; }
h1 { font-size: 24pt; margin-top:1ex; margin-bottom:0; text-align:center; }
h2 { font-size: 18pt; margin-bottom:0.5ex; }
h3 { font-size: 14pt; margin-bottom:0.5ex; }
h4 { font-size: 13pt; margin-bottom:0.5ex; }
h5 { font-size: 12pt; margin-bottom:0.5ex; }
small { font-size: 9pt; }
code { color:#0000C0; }
li { margin-top: 2pt; margin-bottom: 2pt; }
pre { font-size: 13pt;
white-space:pre; }
.box { border:1px solid #000000;
background-color:#f4f4f4;
padding:1ex;
margin: 0 2ex 1ex 2ex; font-size:90%; }
th.PageTitle {
font-size : 14pt;
font-weight : bold; }
.menuf {
font-size:11pt;
color:#333333;
font-weight:600;
text-decoration:none;
}
.menuf:link {color:#333333;}
.menuf:visited {color:#666666;}
.menuf:hover {color:#FF0000;}
.menuf:active {color:#FF0000;}
.menus, .menus a {
font-size:10pt;
color:#333333;
text-decoration:none;
}
.menus:visited, .menus a:visited {color:#666666;}
.menus:hover, .menus a:hover {color:#FF0000;}
.menus:active, .menus a:active {color:#FF0000;}
a:hover {color:#FF0000;}
.red {color:#FF0000;}
.green {color:#008000;}
.blue {color:#0000C0;}
@media screen {
.printlayout {display:none;}
}
@media print {
.screenlayout {display:none;}
code { color:#000000; }
a:link {color:#000000;text-decoration:none}
a:visited {color:#000000;text-decoration:none}
a:hover {color:#000000;text-decoration:none}
a:active {color:#000000;text-decoration:none}
}
-->
</style>
<link rel="shortcut icon" href="http://epics.web.psi.ch/images/sls_icon.ico">
<title>VHQ Programmable High Voltage Power Supply</title>
</head>
<body bgcolor="#FFFFFF">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr class="screenlayout">
<td bgcolor="#267ab8" colspan="5" valign="bottom" height="10">
<img
src="../../images/black"
width="100%" height="1" alt=""></td>
</tr>
<tr class="screenlayout">
<td rowspan="2" colspan="2" align="center">
<a class="menuf" href="http://www.psi.ch"><img
src="../../images/psi_logo" border="0"
alt="PAUL SCHERRER INSTITUT"></a></td>
<td rowspan="2"><img
src="../../images/space"
width="1" height="65" alt=""></td>
<th class="PageTitle"><center>
<big>EPICS at PSI<big>
</center>
</th>
<td><img
src="../../images/space"
width="10" height="1" alt=""></td>
</tr>
<tr class="screenlayout">
<th width="100%" valign="bottom" align="left">
<table border="0" cellspacing="0" cellpadding="0"><tr><td><a
href="https://www.psi.ch"
class="menuf">PSI</a></td><td><img
src="../../images/space"
width="10" height="1" alt=""></td><td bgcolor="black"><img
src="../../images/space"
width="1" height="1" alt=""></td><td><img
src="../../images/space"
width="10" height="1" alt=""></td><td><a
href="https://www.aps.anl.gov/epics"
class="menuf">EPICS</a></td><td><img
src="../../images/space"
width="10" height="1" alt=""></td><td bgcolor="black"><img
src="../../images/space"
width="1" height="1" alt=""></td><td><img
src="../../images/space"
width="10" height="1" alt=""></td><td><a
href="https://www.psi.ch/en/sls"
class="menuf">SLS</a></td><td><img
src="../../images/space"
width="10" height="1" alt=""></td><td bgcolor="black"><img
src="../../images/space"
width="1" height="1" alt=""></td><td><img
src="../../images/space"
width="10" height="1" alt=""></td><td><a
href="https://www.psi.ch/en/swissfel"
class="menuf">SwissFEL</a></td><td><img
src="../../images/space"
width="10" height="1" alt=""></td><td bgcolor="black"><img
src="../../images/space"
width="1" height="1" alt=""></td><td><img
src="../../images/space"
width="10" height="1" alt=""></td><td><a
href="https://www.psi.ch/en/protontherapy"
class="menuf">Proscan</a></td></tr></table>
</th>
</tr>
<tr class="screenlayout">
<td height="5" bgcolor="#267ab8" colspan="6" valign="bottom">
<img
src="../../images/black"
width="100%" height="1" alt=""></td>
</tr>
<tr>
<td class="screenlayout" bgcolor="#e3eaf6" valign="top" align="center" width="179">
<br><a href="http://www.aps.anl.gov/epics"><img
src="../../images/EPICS_small"
alt="EPICS" border=0></a><br><br>
<table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td><img
src="../../images/space"
width="20" height="29" alt=""></td><th width="100%" align="left"><a
href="../../index.html"
class="menuf">EPICS at PSI</a>
<img
src="../../images/black"
height="1" width="100%" alt=""></th></tr></table>
<table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td><img
src="../../images/space"
width="20" height="29" alt=""></td><th width="100%" align="left"><a
href="../../software.html"
class="menuf">Software</a>
<ul style="margin:0 0 0 0; padding-left:1em;">
<li class="menus"><a href="../s7plc.html"
>PLC Communication</a></li>
<li class="menus"><a href="../streamdevice.html"
>StreamDevice</a></li>
<li class="menus"><a href="../regDev.html"
>regDev</a></li>
<li class="menus"><a href="../iocmon.html"
>IOC Monitoring</a></li>
<li class="menus"><a href="../pcmon.html"
>PC Monitoring</a></li>
<li class="menus"><a href="../firewire.html"
>Firewire Camera</a></li>
<li class="menus"><a href="http://dps.web.psi.ch/template.html?/psc/"
>Digital PS Control</a></li>
<li class="menus"><a href="../tclioc.html"
>Tcl-IOC</a></li>
<li class="menus"><a href="../iocLogBrowser.html"
>iocLogBrowser</a></li>
<li class="menus"><a href="../ioc-octave.html"
>IOC-Octave</a></li>
<li class="menus"><a href="http://gfa-it.web.psi.ch/epicsSharp/"
>C# EPICS</a></li>
<li class="menus"><a href="../generalTime.html"
>generalTime</a></li>
<li class="menus"><a href="../GPMM.html"
>GPMM</a></li>
<li class="menus"><a href="../sequencer.html"
>SNC/SEQ</a></li>
<li class="menus"><a href="../caqtdm.html"
>caQtDM</a></li>
<li class="menus"><a href="../CSDataQuick.html"
>CSDataQuick</a></li>
</ul>
<img
src="../../images/black"
height="1" width="100%" alt=""></th></tr></table>
<table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td><img
src="../../images/space"
width="20" height="29" alt=""></td><th width="100%" align="left"><a
href="../../training.html"
class="menuf">Training</a>
<ul style="margin:0 0 0 0; padding-left:1em;">
<li class="menus"><a href="../../training/PSI-training.html"
>Courses at PSI</a></li>
<li class="menus"><a href="../../training/caClientLessons.html"
>CA client lessons</a></li>
<li class="menus"><a href="../../training/downloads.html"
>Downloads</a></li>
</ul>
<img
src="../../images/black"
height="1" width="100%" alt=""></th></tr></table>
<form method="get" action="http://www.google.com/search">
<table border="0" cellpadding="0" cellspacing="0">
<tr><td align="center" nowrap>
<input type="search" placeholder="search" name="q" size="13" maxlength="255" value=""><br>
<input type="hidden" name="domains" value="epics.web.psi.ch">
<small>
<input type="radio" name="sitesearch" value=""> web
<input type="radio" name="sitesearch" value="epics.web.psi.ch"
checked="checked"> epics.web.psi.ch<br>
</small>
</td></tr></table>
</form><p></p><small>
Author: <a href="mailto:Dennis Armstrong &lt;dennis.armstrong&#64;psi.&#99;&#104;&gt;?subject=http://epics.web.psi.ch%2Fsoftware%2Fvme%2FVHQ.php">Dennis Armstrong</a><br>
Phone: +41 56 310 5109<br>
Updated: 12.6.2007<br>
<br><a
href="http://epics.web.psi.ch/software/vme/%2Fsoftware%2Fvme%2FVHQ.php?forprint"><img
src="../../images/printer"
border="0" alt=""></a>
<br><a
href="http://epics.web.psi.ch/software/vme/%2Fsoftware%2Fvme%2FVHQ.php?forprint">Printer friendly version</a>
<br>&nbsp;</small><img
src="../../images/space"
width="179" height="1" alt=""></td>
<td width="1" bgcolor="#000000"><img
src="../../images/space"
width="1" height="1" alt=""></td>
<td><img
src="../../images/space"
width="10" height="1" alt=""></td>
<td valign="top" width="100%" colspan="2">
<a name="top"></a><center><h1>VHQ Programmable High Voltage Power Supply</h1></center>
<h2>Introduction</h2>
<p>The iseg Spezialelektronik GmbH company specialises in the development and production of High Voltage Power Supplies for Industry and Research.<br>
This is based on 20 years of experience in the development and
use of technologies of modern High Voltage generation.</p>
<p>These VME hardware modules are VME High Voltage power supplies in 2 slot width. They are available in 1 channel and 2 channel versions in same dimensions. This application supports the 2 channel versions.<br>
It has a LCD display to show the voltage or current.<br>
It supports a variable rate of change of output voltage, and has switchable polarity. It includes integrated protection and control circuits with
output overload and short circuit protection. It has a SHV connector on the front side for High Voltage connection.<br>
Full software control of parameters are available via the VMEbus.</p>
<p>The full specification is available on the iseg Spezialelektronik GmbH company website <a href="http://www.iseg-hv.de/download.php/483/file_url_en/vhqx0x_eng.pdf">[Manuals: VHQ STANDARD]</a> (499,7 kB).</p>
<h2>Setup</h2>
<p>There are 4 templates available for the different VME modules:-</p>
<ul>
<li>VHQ202M.template</li>
<li>VHQ203M.template</li>
<li>VHQ204L.template</li>
<li>VHQ205L.template</li>
</ul>
<p>The simplest method to obtain the correct version of the template file is to use the
"getCommons" program. This requires a file called COMMON_FILES in your development directory.</p>
<p>The COMMON_FILES file has the following structure:</p>
<font color="blue">
<tt>
#####################################################<br>
# File name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CVS Location&nbsp;&nbsp;&nbsp;CVS Tag<br>
####################################################<br>
VHQ202M.template&nbsp;&nbsp;&nbsp;VHQ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HEAD<br>
</tt>
</font>
<p>Create a substitution file and define the macro parameters needed</p>
<p>
Five macronames have been defined for these templates:-
</p>
<table border="1">
<tbody><tr bgcolor="#e3eaf6"><td>Macroname</td><td>Typical Values</td><td>Description</td></tr>
<tr><td>DEVICE</td><td>EXAMPLE-202M</td><td>The device name used to generate the PV names</td></tr>
<tr><td>cardN</td><td>0</td><td>Card number in the VME Crate </td></tr>
<tr><td>Mh</td><td>3000</td><td>This value depends on the M-h option for the template which is used.<br>> See the notes in the example substitution file</td></tr>
<tr><td>HOPRVA</td><td>2000</td><td>High Operating Range for Voltage A<br>> See the notes in the example substitution file</td></tr>
<tr><td>HOPRVB</td><td>2000</td><td>High Operating Range for Voltage B<br>> See the notes in the example substitution file</td></tr>
<tr><td>SIMM</td><td>NO</td><td>Default is NO, for Simulation use YES</td></tr>
<tr><td>SIML</td><td> VHQ-TST </td><td>PV name for Simulation mode.<br>> With the default of "NO", SIML pv link name is ignored</td></tr></tbody>
</table>
<h2>Graphical Interface</h2>
<p>There is a MEDM engineering gui defined for this application, <b>G_VHQ.adl</b>.</p>
<table border="0">
<tbody><tr>
<td><center><img src="VHQ.jpg" alt="VHQ engineering GUI"></center></td>
<td>
It can be started with the following invocation:-
<p>
medm -x -macro <font color="red">VHQ-MODEL</font>=VHQ202M,<font color="red">DEVICE</font>=EXAMPLE-202M <b>G_VHQ.adl</b>
</p>
<p>with correct values for the macro names <font color="red">VHQ-MODEL</font> and <font color="red">DEVICE</font></p>
<p><font color="red">VHQ-MODEL</font> macro can take the following names VHQ202M, VHQ203M, VHQ204L or VHQ205L</p>
<p>For each channel the required voltage is selected on the thumbwheel switch.</p>
<p>The required voltage ramp speed can be selected by entering its value.</p>
<p>The required current soft limit is also selectable.</p>
</td>
</tr>
<tr>
<td><p>The GUI shows when the voltage selected has exceeded the hard voltage limit by displaying a yellow background around the hard limit information.</p>
<p>Select a lower voltage on the wheelswitch or change the hard limit on the VME card.</p></td>
<td><img src="VHQ_slimit.jpg" alt="VHQ engineering limit error GUI"></td>
</tr>
<tr>
<td><img src="VHQ_strip.jpg" alt="VHQ engineering limit error GUI"></td>
<td><p>A striptool like display is started by the Strip button on the GUI. This display shows the Voltage, Current and Power supplied by the selected channel.</p></td>
</tr></tbody>
</table>
<h2>Alarms</h2>
<p>For each VME Module the following alarms are defined in the alh template:-</p>
<ul>
<li><font color="red">$(DEVICE):ChanErr-A</font> - Error on Channel A.</li>
<li><font color="red">$(DEVICE):ChanErr-B</font> - Error on Channel B.</li>
<li><font color="red">$(DEVICE):Actual-VA</font> - Channel A Voltage exceeded limit.</li>
<li><font color="red">$(DEVICE):Actual-IA</font> - Channel A Current exceeded limit.</li>
<li><font color="red">$(DEVICE):Actual-VB</font> - Channel B Voltage exceeded limit.</li>
<li><font color="red">$(DEVICE):Actual-IB</font> - Channel B Current exceeded limit.</li>
</ul>
<p>When used in an application the alh alarm file must be created using the correct device names.</p>
<h2>Changelog</h2>
<p>Changes to the software are shown here <a href="VHQ_Changelog.html">Software Changelog</a>.</p>
<hr>
<address><a href="mailto:dennis.armstrong@psi.ch">Dennis Armstrong</a></address>
<!-- Created: Fri Apr 13 11:44:06 CEST 2007 -->
<!-- hhmts start -->
Last modified: Tue Jun 12 10:18:13 CEST 2007
<!-- hhmts end -->
</body>
</html>
<hr noshade size=1><small>
<span class="printlayout">Author:&nbsp;Dennis Armstrong&nbsp;&nbsp; Phone:&nbsp;+41&nbsp;56&nbsp;310&nbsp;5109&nbsp;&nbsp; Email:&nbsp;dennis.armstrong&#64;psi.&#99;&#104;&nbsp;&nbsp; Updated:&nbsp;12.6.2007&nbsp;&nbsp; </span>
Source:&nbsp;/afs/psi.ch/project/epics/webhosting/software/vme/VHQ.php&nbsp;&nbsp;
</small>
</td></tr></table>
</body></html>