Home
High-Density Device Interface User Manual
Contents
1. CONFiguration CALIBrate Clear Save Load Digital Input Polarity active high MAO Application 4 2 033 54 BLISS T 8 Gain Offset Gain Offset Units EI NE NNI EI NET EI Output 1 1 0059 0 0136 1 0000 0 0000 Output 2 1 0059 0 0130 1 0000 0 0000 Trigger Points Avg Period Output 3 1 0059 0 0095 1 0000 0 0000 INFANTE INF 1 667E 002 s Output4 1 0059 0 0114 1 0000 0 0000 Output 5 1 0059 0 0132 1 0000 0 0000 Output 6 1059 00050 10000 o0o00 Output 7 1 0059 0 0066 1 0000 0 0000 Output 8 1 0059 0 0000 1 0000 0 0000 Input 1 1 0388 0 0007 1 0000 0 0000 Input 2 1 0355 0 0004 1 0000 0 0000 Input 3 1 0375 0 0003 1 0000 0 0000 Input 4 1 0360 0 0001 1 0000 0 0000 Input 5 1 0354 0 0000 1 0000 0 0000 Input 6 1 0338 0 0004 1 0000 0 0000 Input 7 1 0365 0 0005 1 0000 0 0000 Input 8 1 0350 0 0004 1 0000 0000 Usetemporary scaling Scientific display Figure 12 Setup tab Digital input polarity By default the digital inputs show true green LEDs on the Data tab when the electrical level is TTL high You can change this individually for the eight inputs using the check boxes so that true is TTL low Trigger points The trigger points field determines how many readings will be taken following Initiate The INF button sets a state where acquisition will continue indefinitely Averaging period The analog inputs are converted in the M40 at 50 kSa s
2. GUI PC Figure 17 Example network for EPICS communications M40 User Manual M40 UM 150226 Page 35 of 62 PSI System Controls and Diagnostics There is a wide range of client interfaces from the EPICS community including interfaces for C C Java Python Labview and Matlab TM The Control System Studio or CS Studio http controlsystemstudio github 10 is a set of ready made tools built on Java and Eclipse http www eclipse org that allows users to get started with little or no programming required There are various logging plotting post processing and alarm point tools A fully featured drag and drop user interface editor BOY allows quite complex customized user interfaces to be created with minimum development time As an example the following screenshot shows a simple user interface created in the CS Studio BOY OPI editor The M40 was assumed to be controlling a high voltage power supply E CS Studio kaba MIO demo opi 3 ES Deflector 1_56 10 60 20 arida 80 O Pty Mi e QV 25 oe 1 100 RR 5 51 2 mA ES Me Local control on d Local Enable Fault D Enabled Reset Figure 18 Example user screen created using CS Studio BOY 1 2 Installing and Configuring IG2 The IG2 package is available to users of Pyramid products Itis supplied as a zip file which should be de compressed and the entire folder moved to the computer that w
3. PSI System Controls and Diagnostics 8 Specification Analog outputs Number Eight identical bipolar 10 V Configuration Single ended Compliance 5 mA max per channel via internal 100R series resistance Resolution 16 bit over full range Linearity 0 1 maximum deviation of any point from linear fit to all points over full span Noise lt 0 5 mV RMS measured by loopback to analog inputs with line frequency averaging Typical RMS noise measured with external DVM lt 50 uV Crosstalk lt 1 mV for 10 V output on another channel Thermal stability 200 uV C 1 Slewing rate 0 6 V usec 1 typical Maximum output refresh rate 100 kHz internal wavetable driven 10 kHz host controlled via fiber optic interface special host software Calibration Independent gain and offset stored for each output in NVR Analog inputs Number Eight identical bipolar 10 V Configuration Single ended Input impedance gt Mohm Input protection 4 7 kohm series input Analog filter 2 pole LP filter 10 kHz 3dB Noise lt 0 50 mV RMS with line frequency averaging Typical measured RMS noise with unconnected inputs lt 200 uV at le 4 s averaging lt 30 uV at le 2 s averaging lt 10 uV at 2e 1 s averaging Digitization 16 bit over full range Crosstalk lt 1 mV with 10 VDC on another input M40 User Manual M40_UM_150226 Page 12
4. PSI System Controls and Diagnostics Since the two programs are similar we shall concentrate on the differences Download the PTC Diagnostic G2 installer msi file or find the copy on the USB memory stick if you purchased the M40 as an end user We recommend that you copy the installer file into a directory on your host PC Check the Pyramid Technical Consultants Inc web site at www ptcusa com for the latest version The program runs under the Microsoft Windows operating system with the 4 0 NET framework This has to be installed before the PSI Diagnostic Most new PCs have NET already installed or it can be downloaded from the Microsoft web site at no charge The Pyramid installer will prompt you if you need to update the version on your computer 10 3 1 Establishing communication with the M40 Start the PTC Diagnostic G2 The program expects all connections to devices like the M40 be via Ethernet ports whether through dedicated loop controllers like the A500 A560 and A360 or via other Ethernet enabled devices that support slave devices such as the 1128 Unlike the PSI Diagnostic you do not need to specify the IP address When you launch the program it will open the Discover Devices dialog Pressing the Discover Controllers button will give you a list of available controllers The search will include all devices visible on your accessible subnet including any on the far end of a VPN link In the following example the search h
5. M40 High Density Device Interface User Manual Pyramid Technical Consultants Inc 1050 Waltham Street Suite 200 Lexington MA 02421 USA US TEL 781 402 1700 FAX 781 402 1750 EMAIL SUPPORT PTCUSA COM Europe TEL 44 1273 492001 PSI System Controls and Diagnostics 1 Contents 1 jU 2 2 jv 5 3 erigi uU Me X n 6 4 a nnIJrse C n 8 5 Scope of Supply eee TEE 9 6 j Ur 10 DE NEN VOTAR DIT ce CES 10 6 2 S Signal cables sisse dete deed dea be e DR dV e Neng tees ian ita 10 0 3 JDalta CObless ee fete eti e et eee tne te ent itte er eee e e tnde ite fes 10 OR DOSE CONNECTIONS o TAREA RR Ae a tte be 10 OI Fiber optic loop erreien 10 6 6 DIN Atl OUT nea EE AE E E OTOR O E E daa Rand E E 10 7 Intended Use and Key Features eerie ee eee eee eee eee tenet tn etna tn setas tn stans tas stas tn setas een sees sts esos sense tn seen seus 11 LL MENA i ss o tete Cb do etie ite e tis APR M GENE 11 LR REY Features geenin EEE EN EA EE ia 11 8 Specification scscsrcsrssssrssrsscssessssscsersssse
6. Optional items as specified in your order OEM customers will not receive all items M40 User Manual M40 UM 150226 Page 9 of 62 PSI System Controls and Diagnostics 6 Optional Items 6 1 Power supplies PSU24 40 1 24 VDC 1 62 A PSU 100 250 VAC 50 60 Hz IEC C14 3 pin plug receptacle with output lead terminated in 2 1mm threaded jack 6 2 Signal cables CAB D44F 10 D44M Signal cable 44 way screened D44 male to D44 female 10 Other lengths available 6 3 Data cables CAB ST HCS 10 ST Fiber optic cable 200 um silica ST terminated 10 Other lengths available up to 1000 6 4 Test connectors Loopback test connector for the M40 6 5 Fiber optic loop A360 fiber optic loop controller Ethernet adaptor A500 intelligent real time controller with Ethernet interface A560 intelligent real time controller with Ethernet interface 6 6 DIN rail mount MTG DIN35 11462 Mounting adaptor for 35mm standard DIN rail M40 can be mounted along or across the rail M40 User Manual M40 UM 150226 Page 10 of 62 PSI System Controls and Diagnostics 7 Intended Use and Key Features 7 1 Intended Use The M40 is intended for general control and monitoring applications using analog voltages in the 10 V range and TTL level digital inputs and outputs It has similar features to the M10 device and the same case size but it provides a higher number of inputs and outputs than the M10 A typical M4
7. A digital filter then averages the samples over the selected period to give the final values make up each reading on each channel and that are transmitted back to the host system for display and logging A useful setting is the period of the local mains electricity 16 67 msec or 20 msec as this will zero any mains pickup in the readings Calibrate The M40 uses two linear calibrations The M40 calibration is established during manufacture or factory recalibration and is intended to correct for small differences in the electronics so that the outputs and inputs are accurate in volts It is stored in the M40 itself in NVR The application calibration is applied by the PSI Diagnostic in addition to the permanent calibration when the Use temporary scaling box is checked Any physical units you have entered will be displayed alongside the relevant input output values on the Data tab The parameters are stored M40 User Manual M40 UM 150226 Page 29 of 62 PSI System Controls and Diagnostics on your computer referenced to the serial number of the M40 This calibration is primarily intended to allow you to program and readback a power supply or similar device in its native units See section for more information on using the calibrations 10 2 4 Device tab Click on the Device tab You can check the communication link status read the M40 manufacturing serial number and verify the ve
8. 62 PSI System Controls and Diagnostics to the device being controlled are unavoidable then you should observe the following precautions Long signal cables increase the chances of picking up unwanted signals and noise on the analog voltage lines A maximum length of 10 m is advised and you should use good quality shielded cable with twisted pair cores for the analog inputs analog in and and outputs analog out and AGND The strategy for connecting screens will vary according to the nature of the noise At RF frequencies it is generally best to connect the screen to the grounded chassis at both ends At lower frequencies it is often best to connect at one end only to break up ground loops Connect the cable screens to the M40 case using the shell of the D connector and leave them unconnected at the other end In some cases you may get better noise performance by reversing this screen connection arrangement If you are working with fast digital output pulses from the M40 you should also be careful with long cable runs To avoid pulse distortion use matched impedance around 100 ohm screened twisted pair cores digital output and DGND for each fast digital signal and terminate the line with 100 ohms at the receiving end 9 3 4 Embedded installation The M40 is suitable for installation inside the equipment being controlled and this is generally the arrangement that minimizes noise and minimizes risk of damage fro
9. Out 7 27 Analog Out 8 42 Digital Out 8 13 Analog Out 5 28 Analog Out 6 43 Gnd 14 Analog Out 3 29 Analog Out 4 44 5 VDC out 15 Analog Out 1 30 Analog Out 2 CAUTION Do not connect 24 V to any of the inputs or outputs CAUTION M40 User Manual M40 UM 150226 Page 46 of 62 PSI System Controls and Diagnostics A Digital inputs should not lie outside the range O to 5 5 V or damage may result Analog inputs should not lie outside the range 15V or damage may result 15 2 Rear panel connectors 15 2 1 Power input 2 1 mm threaded jack To mate with Switchcraft S761K or equivalent Center pin 24VDC N VN Outer OV 15 2 2 Fiber optic communications ST bayonet To mate with ST male terminated fiber optic cable Recommended cable types 1 mm plastic such as Avago HEBR EUS 500 or 200 um silica such as OCS BC03597 10 BL Signal 650 nm light red Transmit eceive light grey dark grey Note Most fiber optic ST connectors include a key tab which must align with the keyway in the M40 connectors Rotate the cable and centre of the mating connector until the key engages before pushing the connector home and engaging the bayonet M40 User Manual M40 UM 150226 Page 47 of 62 PSI System Controls and Diagnostics 16 Controls and Indicators 16 1 Front panel controls None 16 2 Rear panel controls 16 2 1 Address switch 16 position rotary switch setting de
10. devices such as the A560 1128 F460 and C400 plus a growing selection of other Pyramid devices including the M40 It allows you to connect the M40 via an A500 or A560 controller Ethernet communications use TCP IP and UDP Both Diagnostics are standalone Windows programs which allow you to set outputs and read graph and log data from the M40 Their user interfaces are similar For some applications one of the Diagnostic programs may be adequate for all of your data acquisition needs In any event it is useful to understand what you can do with the Diagnostic programs because they expose all of the functions of the devices they connect to Application programmers will find this useful to help decide which functions to implement in their own host software 10 1 Preparing the M40 for operation Inspect the unit carefully to ensure there is no evidence of shipping damage If there appears to be damage or you are in doubt contact your supplier before proceeding Connect 24 V DC power but no other connections The LEDs will go through a startup sequence when the power is applied All four LEDs light then the power LED stays lit while the other three indicators light in sequence When the M40 has started correctly and prior to connecting to a controller only the power LED will remain lit It is simplest to start with to connect the M40 directly to a loop controller as the only device on the loop The address switch can be set to anything between
11. graph You can display the analog signals either as a scrolling value against time graph like a chart recorder or as an analog bargraph The scope display mode looks the same as the strip chart but the data is displayed without scrolling for each 256 readings M40 User Manual M40 UM 150226 Page 25 of 62 PSI System Controls and Diagnostics A M40 8 Address 8 on Loop 6 on A5OORST5 192 168 100 213 100 cc E U comeded j Peng Ene 0 0003 0 0002 0 0001 0 0001 0 0002 0 0003 A 1 Buffer 22249 x Initiate Measuring Triggering Fast Mode Abort DAC 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 Ci eS E ee 6n 3 E Sa yt LAA 1 Digital 031 094 6 e r Qe sr 3 T T 5 T Temperature Y Auto z 5 x Fast o No avg a Di AA zeo e a ju Triggers 22638 METE lt Figure 11 Data tab bargraph display Try out the various screen controls and readouts to see their effect Initiate Abort These buttons start and stop data acquisition LEDs indicate whether the M40 is measuring triggered or streaming data to the controller in fast mode ADC The eight analog inputs are continuously updated while the M40 is acquiring data The displayed values are Input_voltage Gain Offset The offset and gain values are set o
12. hex file to load 52 Figure 32 Firmware upload in progress 52 M40 User Manual M40 UM 150226 Page 5 of 62 PSI System Controls and Diagnostics 3 Safety Information This unit is designed for compliance with harmonized electrical safety standard EN61010 1 2000 It must be used in accordance with its specifications and operating instructions Operators of the unit are expected to be qualified personnel who are aware of electrical safety issues The customer s Responsible Body as defined in the standard must ensure that operators are provided with the appropriate equipment and training The unit is designed to make measurements in Measurement Category I as defined in the standard Although the M40 does not generate dangerous voltages nor is it designed to measure directly such voltages in your application it may be controlling power supplies that do Appropriate precautions must be taken The unit must not be operated unless correctly assembled in its case Only Service Personnel as defined in EN61010 1 should attempt to work on the disassembled unit and then only under specific instruction from Pyramid Technical Consultants Inc or their authorized distributors Pyramid may agree to the M40 being embedded within a customer device where this is necessary for an application either cased or un cased The customer assumes responsibility for the safety design and performance of the integrated system The unit is designe
13. yet Ge An 16 4 TREAT panel indica 16 4 1 POWET E as 16 4 2 AVIY geo a E deg RP gn 16 4 3 hey ieee 16 4 4 DEVICE uem o pe Ni e bise 16 5 Internal setting ieren eiiiai R 16 5 1 JPRT Set ngs heh eee ree tete nts eee Se Ret cena t mede Ashok e e 17 Software Updates wis cc soio 17 1 EPGA firmware updates ut I is 17 2 PIG firmware upddtes 2 RR A e RR Reus I MEN OC CS IND ID P CC M A ES AAA END TTE EE NE 20 Returns procedure ee PAD ECCE PPM tin A T 23 Declaration of Conformity 4 eere eee eese esee esee esee en eese tn setas tasto sense ta setas teas ets sese es etas e ense taste senes easet aaea ZA Revision HISLOLY O NON M40 User Manual M40_UM_150226 Page 4 of 62 PSI System Controls and Diagnostics 2 Figures Figure 1 M40 chassis end panels Dimensions mm 15 Figure 2 M40 case plan and side views Dimensions mm 16 Figure 3 DIN rail mounting shown for the identically shaped M10 device 17 Figure 4 M40 power input options 18 Figure 5 Schematic M40 installati
14. 0 application would be the remote control and monitoring of one or more power supplies The analog outputs would set voltage and current commands or compliance limits the analog inputs would monitor actual voltage and current The digital outputs can be assigned to functions such as enable reset and so on and the digital inputs can monitor status bits The M40 has design features which make it tolerant of electrically noisy environments but the place of use is otherwise assumed to be clean and sheltered for example a laboratory or light industrial environment The unit may be used stand alone or networked with other devices and integrated into a larger system Users are assumed to be experienced in the general use of precision electronic circuits for sensitive measurements and to be aware of the dangers that can arise in high voltage circuits 7 2 Key Features Precision analog inputs and outputs 10 V range with 16 bit digitization Fast digital inputs and outputs On board digital averaging of analog inputs Very low transition transients on analog outputs between DAC levels compatible with control of wideband devices Multiple waveform output capability with synchronized data collection Can be operated in a fiber optic serial communication loop with up to fifteen other devices 100BaseT Ethernet interfacing to a host computer available through the A360 A500 and A560 loop controllers M40 User Manual M40 UM 150226 Page 11 of 62
15. 1 and 15 Figure 5 shows a connection to an A500 M40 User Manual M40 UM 150226 Page 21 of 62 PSI System Controls and Diagnostics Ethernet 24V in Figure 6 Example of a connection to the M40 via an A500 and Ethernet 10 2 Installing and Using the PSI Diagnostic Program Download the PSI Diagnostic installer msi file or find the copy on the USB memory stick if you purchased the M40 as an end user We recommend that you copy the installer file into a directory on your host PC Check the Pyramid Technical Consultants Inc web site at www ptcusa com for the latest version The program runs under the Microsoft Windows operating system with the 4 0 NET framework This has to be installed before the PSI Diagnostic Most new PCs have NET already installed or it can be downloaded from the Microsoft web site at no charge The Pyramid installer will prompt you if you need to update the version on your computer Launch the installer and follow the screen prompts Once the program has installed you can run it at once It will allow you to connect to the M40 via an A500 controller and depending upon your setup to multiple additional devices at the same time The Diagnostic uses the concepts of ports and loops to organize the connected devices A port is a communications channel from your PC such as a COM port a USB port or Ethernet port The A500 communicates via an Ethernet port Each port
16. 11 Interfacing to EPICS via IG2 esee eese esee e teen eene testata SS sensns tn sensns esses sesenta SESS SeNet conos 35 I Wh tisEPICS duce ERR dte eoa He diede HE M Rede iei 35 1 2 Installing and Configuring IGZ essi d et eth a AAA e inde eee detis 36 12 Circuit OVervieW 39 13 CalibratioM oomonommsnsmimsrsirmmsmmrs 43 13 1 M40 Calibration Factors t A A OEA RAE AAA idad 43 13 2 Application Calibration Factors inia a iU aids ee Re Me RE ER ate Rea 43 14 Wavetable Output and Logging 4 eese eese eese eee eene eene testa etna tasa stas ts staat en sense osea sese ta setas teas eta tenue 45 15 ComnectorS 46 15 1 ETONE PANEL conti CIOoTS aus d a tee ds 46 15 1 1 Analog and digital I O ettet ee e e HERR Pe EE ee eee re eee Eaa 46 15 2 Rear Patel connectors i ete t I ed A PE ved t e ek IEEE CS 47 15 2 1 Pow rdhnp t eget me Ree dete de bn ee tees 47 15 2 2 Fib r optic COMMIAUMICALIONS eric Ad 47 16 Controls and Indicators scccesscssssrsscsrsersscsesesssssrsesseseesesseseesessessesssseseesessessesessessesessesessessessesesessesesseses 48 16 1 EPONE PANEL CONTO dc 48 16 2 Rear panel controls iet aio 48 16 2 1 Address uite ati 48 M40 User Manual M40 UM 150226 Page 3 of 62 PSI System Controls and Diagnostics 16 3 Front panel indicators eitile de ete tibi ven tia tle
17. 40 UM_150226 Page 49 of 62 PSI System Controls and Diagnostics 17 Software updates The M40 has three embedded firmware releases Firmware Function FPGA pof file fhex file General logic loop message passthrough ADC reading and averaging PIC Boot hex file Boot up code upload PIC Application hex file Main application calibration conversion to floating point values communication messaging The PIC microcontroller boot code should not require updating It would require access to the circuit board and dedicated programming tools to load new code If the boot code ever does need to be updated your supplier will contact you and make arrangements either to return the unit for upgrade or to have an engineer perform the upgrade for you The FPGA and PIC microcontroller application code may be updated periodically to add new operating features New code releases will be provided by your supplier or can be downloaded from the Pyramid Technical Consultants Inc website The fhex for FPGA and hex for PIC microcontroller files can be loaded using the PSI Diagnostic host without any need to access the unit The uploads can be performed directly from the PC host 17 1 FPGA firmware updates To update the FPGA click the Select fhex file button under Upload FPGA on the Device tab and navigate to the relevant file The code will then load The process takes about 20 seconds M40 Us
18. Controls and Diagnostics Power Power input 24 VDC 12 V 4 V 120 mA typical 200 mA maximum excluding any direct user load 500 mA fused User power Maximum user power from 24V supply 400 mA 500 mA fused Mechanical Case Stainless steel Connector Signal connector DSub 44 pin high density female Power connector Switchcraft 2 1mm jack Case protection rating The case is designed to rating IP43 protected against solid objects greater than 1mm in size protected against spraying water Weight 0 28 kg 0 62 Ib Dimensions see figures 1 and 2 Environmental Operating environment 10 to 35 C 15 to 25 C recommended to reduce drift and offset 8096 humidity non condensing vibration 0 2 g all axes 1 to 100 Hz Shipping and storage environment 0 to 50C 8096 humidity non condensing vibration 2 g all axes 1 to 100 Hz M40 User Manual M40 UM 150226 Page 14 of 62 PSI System Controls and Diagnostics 44 PIN D SUB FEMALE l O E El 77 5 0 60 79 9 ADDRESS SELECTOR STATUS LEDs FIBER OPTIC RX FIBER OPTIC TX 24VDC POWER IN Power Transmit Receive Address A CN 0 424V Uu Figure 1 M40 chassis end panels Dimensions mm M40 User Manual M40 UM 150226 Page 15 of 62 PSI System Controls and Dia
19. Incorrect analog output values Terminating impedance is too low Disconnect load and re measure Ensure load is within the current compliance of the analog outputs Outputs drop to zero SAFEstate is enabled and communication has been lost Check setting and state of communications Check connections to controller status of controller Use appropriate SAFEstate setting for the application High noise levels Integration time too short for signal being measured Noise level reduces with integration period Use an appropriate integration time for the signal level Line voltage pickup Noise level drops sharply if integration period is 16 7 msec 60 Hz or 20 msec 50 Hz Keep M40 and signal cables clear of unscreened high current mains voltage Use integration periods N line frequency if possible M40 User Manual M40_UM_150226 Page 54 of 62 PSI System Controls and Diagnostics Averaging period does not Check averaging period Use integration periods N line match the line frequency setting frequency if possible Analog in signals respond very M40 averaging period has Check setting Set averaging appropriate to slowly been set very long the required time resolution and noise levels PSI Diagnostic filter has been Check setting Set filtering appropriate to the set required time resolution and noise levels Digital input not registeri
20. M10 I IP 192 168 100 238 100 r IP 192 168 100 213 100 r IP 192 168 0 213 100 r IP 192 168 100 205 100 Add IP_ 192 168 100 210 100 Remove Start Cancel Figure 8 PSI Diagnostic Search Utility detection in progress After a few seconds the program should find the M40 plus any other devices you have connected and display the list of available devices in the System window In the example M40 User Manual M40 UM 150226 Page 23 of 62 PSI System Controls and Diagnostics shown below we have found one A500 controller with an M40 on loop 6 plus other devices on loops 1 and 3 system o O e E E A500R515 192 168 100 amp amp Loop 1 H10 1 amp amp Loop 3 13200 8 amp amp Loop 6 BR M40 8 Figure 9 Result of device search 10 2 2 Data tab Clicking on the M40 entry in the explorer list will open the M40 window with the data tab showing figure 9 You can read the eight analog and eight digital inputs and set the eight analog and eight digital outputs At the top of the window a communications status bar progresses if the M40 is communicating successfully with the loop controller and there are LEDs which indicate the connected state the pending state the M40 is occupied processing a command and the error state You can resize maximize and minimize this window in the usual manner At startup the M40 will be acquiring data using default settings and you should se
21. REQuency 50 Hz SERIALnumber 0000000001 COMM TIMEout 3 Reset Counters Properties Utilities p Device Version 4 0B p FPGA Version 2 0 16 p Hardware Version 0 Reset Device Upload Application A 36 complete CIO Input Length 2 IO Output Length _ 16 Select fhex file Upload FPGA Last Error 3 07 18 PM SENDIO 200 NotConnected Figure 32 Firmware upload in progress M40 User Manual M40_UM_150226 Page 52 of 62 PSI System Controls and Diagnostics When the upload is complete the M40 will reset itself and start running the new firmware You should see the new device version number displayed on the screen M40 User Manual M40 UM 150226 Page 53 of 62 PSI System Controls and Diagnostics 18 Fault finding Symptom Possible Cause Confirmation Solution Incorrect analog input readings Cabling error Check signals are connected to the correct pins Use appropriate connection Calibration incorrect or corrupted Check calibration values Re enter correct values or contact supplier or Pyramid Technical Consultants Inc if no problem found Unintentional or incorrect use of the application calibration Check application calibration values and whether Use temporary scaling is checked
22. as found five A500 controllers The A60 Recovery entry is a diagnostic utility used for some G2 devices which you can ignore i a PTC Diagnostic Discover Devices el R RAMID f N A Technical Consultants Inc PTC Diagnostic v5 4 0 Address Name Owner amp 192 168 100 213 A500 192 168 100 213 Not Connected zm 192 168 100 188 A500 192 168 100 188 Not Connected Em 192 168 100 236 A500 192 168 100 236 Not Connected E2 192 168 100 189 A500 192 168 100 189 Not Connected amp 192 168 100 187 A500 192 168 100 187 Not Connected fs AGO Recovery 66 Discover Controllers 0 0 0 0 Add IP Address gt Load System File Connect amp Discover Subdevices Cancel Figure 14 PTC Diagnostic G2 discovery dialog Highlight the target device to enable the Connect amp Discover Subdevices button Clicking this should result in the controller appearing in the System area on the left with its connected subdevices shown In this case we only have an M40 on loop 6 M40 User Manual M40 UM 150226 Page 32 of 62 PSI System Controls and Diagnostics System 4 amp 192 168 100 213 A500 192 168 100 213 Not Connected loop_1 loop_2 loop_3 loop_4 loop_5 4 loop 6 tes M40 8 loop 7 loop 8 loop 9 loop 10 y n J 1 T 2 Figure 15 System pane showing M40 connected via A500 Clicking on the M40 entry opens a window for it with the same basic strip chart a
23. b You do not inject noise into the M40 that will degrade its performance The M40 fuses are internal automatically re setting PTC fuses rated at 500 mA However the external power supply for power delivered via the 2 1 mm power jack should in no circumstances be rated higher than the connector limit of 5 A and a maximum rating of 2 0 A is recommended 9 3 Connection to equipment 9 3 1 Typical setup Figure 5 shows a typical installation to control a group of power supplies in schematic form An M40 provides a current program and voltage compliance limit and reads back actual current and voltage from each of four power supplies Digital outputs are used to enable the supplies and reset fault conditions Digital inputs are used to monitor enabled and fault states The M40 is on a fiber optic communication loop under control of one of the Pyramid Technical Consultants M40 User Manual M40 UM 150226 Page 18 of 62 PSI System Controls and Diagnostics Inc loop controllers A360 A500 A560 Software on the host computer exposes the I O points provided by the M40 and thus allows remote control of the power supplies Power for the M40 is obtained in this example from a separate power module 4 prog 4 V_prog Programmable gt mon gt 4 b power supplies V mon Dig ctrl Dig mon x 4 24V in Figure 5 Schematic M40 installation f
24. can be a channel to one or more loops and each loop may contain up to 15 devices 10 2 1 Establishing communication with the M40 Start the PSI Diagnostic It will search the available ports on your computer and present a search list in an autodetect utility window If the first search does not reveal any ports a second attempt will usually reveal them The example in figure 6 shows two autodetected COM ports plus two previously entered IP addresses We ll work through an example where the connection to the M40 is via an A500 at IP address 192 168 100 238 We can add any specific IP address to the network search by typing the address followed by a colon and the standard port number 100 as shown in the figure below and clicking Add IP M40 User Manual M40 UM 150226 Page 22 of 62 PSI System Controls and Diagnostics Pramp Technical Consultants Inc PSI Diagnostic v4 114 Select Ports for Autodetect Below r COM10 i IP 192 168 100 238 100 IP 192 168 100 213 100 IP 192 168 0 213 100 r IP 192 168 100 205 100 Add IP 192 168 100 210 100 Remove Cancel Figure 7 PSI Diagnostic Search Utility adding a target IP address and port Check that the target port is checked for inclusion in the search and click the Start button The autodetection process will start n cR s Technical Consultants Inc PSI Diagnostic v4 114 Detecting Hardware B i b NN I DN I HN IN 0 H0 8 r CO
25. convention of wires for Pyramid device process variables and the fixed names of those wires for each supported product are described in the document ig2_scripting_v pdf where 1s the document revision number included with each release The document also describes how you can scale the values for example to convert voltages from general purpose I O devices to physical units relevant to the item they are controlling and how you can set up monitoring against tolerance bands The choice of a corresponding working name for each wire is up to the user it is sensible to choose something descriptive that is relevant to what you are measuring or controlling We nevertheless recommend a naming convention that makes it clear whether a value is a readback or control the prefixes c_ and r_ are used in the example which particular device the value is associated with and a number or letter to indicate the channel for multichannel devices M40 User Manual M40 UM 150226 Page 37 of 62 PSI System Controls and Diagnostics Sal version 1 0 encoding isg 8859 1 9 system xmlns http www ptcusa com xmlns xsi http www w3 org 2001 xMLSchema instance E xsi schemaLocation http www ptcusa com A510 xsd type pyramid gt i lt hosts gt lt host ip 192 168 1 65 name PTCE Laptopl localhost true gt Pp lt hosts gt E lt loopcontrollers gt E lt loopcontroller type A360 name A360 1 ip 192 168 1 68 t
26. d to operate from 24VDC power with a maximum current requirement of 200mA A suitably rated power supply module is available as an option The unit must be grounded by secure connection to a grounded conducting surface If the unit is mounted on an insulating surface then one of the four mounting screws must be re assigned as a grounding connection Some of the following symbols may be displayed on the unit and have the indicated meanings M40 User Manual M40 UM 150226 Page 6 of 62 PSI System Controls and Diagnostics Direct current Earth ground terminal Protective conductor terminal Frame or chassis terminal Equipotentiality Supply ON Supply OFF CAUTION RISK OF ELECTRIC SHOCK CAUTION RISK OF DANGER REFER TO MANUAL PPO 6 M40 User Manual M40 UM 150226 Page 7 of 62 PSI System Controls and Diagnostics 4 Models M40 Universal device interface with eight analog outputs eight analog inputs eight TTL outputs eight TTL inputs NOCASE Option for supply as uncased circuit board for embedded applications M40 User Manual M40 UM 150226 Page 8 of 62 PSI System Controls and Diagnostics 5 Scope of Supply M40 model as specified in your order PSU24 40 1 power supply USB memory stick containing Datasheet User manual PSI diagnostic software files PTC DiagnosticG2 software files IG2 interface layer files for EPICS connectivity Test data
27. developed collaboratively and used worldwide to create distributed soft real time control systems for scientific instruments such as particle accelerators telescopes and other large scientific experiments EPICS uses Client Server and Publish Subscribe techniques to communicate between the various computers Most servers called Input Output Controllers or IOCs perform real world I O and local control tasks and publish this information to clients using the Channel Access CA network protocol CA is specially designed for the kind of high bandwidth soft real time networking applications that EPICS is used for and is one reason why it can be used to build a control system comprising hundreds of computers Pyramid supplies an executable called IG2 which embeds an open source Channel Access Server from the EPICS community This allows connection via the Ethernet interface G2 is configured for the devices you wish to connect using editable xml files Once IG2 is running on a computer in your network then any other computer can run a client program which can display and control the process variables for the devices In the simple network in figure 17 the process variables of an M40 attached to an A360 via fiber optics are exposed to the network by the IG2 service running on a server computer One or more client GUI computers can then access the values ee Sees AA Switch E 4 Router IG2 server
28. digital output configuration M40 User Manual M40 UM 150226 Page 42 of 62 PSI System Controls and Diagnostics 13 Calibration 13 1 M40 Calibration Factors Ideally the M40 would output and input perfectly accurate analog voltages In practice small circuit offsets and gain errors result in small inaccuracies The M40 stores calibration factors Permanent calibration that allow these to be compensated increasing the absolute accuracy of the device by an order of magnitude There is a gain and offset factor for each analog output and a gain and offset factor for each analog input The values can be viewed on the setup tab in either version of Diagnostic host The factors are determined using high precision test equipment and stored in the M40 internal memory as part of the manufacturing process or if the unit is returned for recalibration The parameters are reloaded whenever the M40 is powered up The permanent calibration factors are applied as follows Output Vou Gain V zaw Offset where Vou is the voltage sent out by the M40 and Vaw is the voltage that would be sent out if there was no calibration Input Vead Gain Vin Offset where Vi is the actual input voltage and Vyeaq is the displayed value Note that the input gains should all be around 3 4 greater than 1 000 This is by design to ensure that the full scale voltage of 10 00 V can be read without risk of ADC overrange 13 2 Application Cal
29. e 1 second selected on this control then every Pai tenth reading will be stored 10s Filtering The PSI Diagnostic can apply a filter to the plotted data to allow you to Noa E pick small signals out of noise This filter is independent of and additional pem to the block averaging filtering implemented by the M40 itself The PSI o Diagnostic filter is a simple IIR type Y prior N Ynew A 1 1 A Y ptot_n 1 1000x av where Y new is the latest reading Y pio n is the current value to be plotted Y piot N 1 i the prior plotted value and A is the averaging value from the pull down menu You clear and restart the filter at any time by pressing M40 User Manual M40 UM 150226 Page 27 of 62 PSI System Controls and Diagnostics the reset button al The filtering affects the graphed data and digital displays If you choose to save the buffered data you will have the opportunity to save the raw values or the filtered values DC AC oc ac The DC AC toggle removes the DC component from the strip chart or scope mode graphic data but does not affect the digital display nor the logged data Zero correction 2 Zero Zero a When you press zero the current values are captured and subtracted from all subsequent readings as displayed on all the graphic and digital displays until you press the clear zeroes button If you choose to save the buffered data you will have the opportunity t
30. e background noise values for all channels If there is no connection to the M4O signal connector then analog inputs will float towards a 10V limit and the digital inputs will be pulled high by the internal pullups so all the inputs will show set green LEDs on the display On the M40 itself the network LED will blink indicating that the device is being polled by the loop controller over the fiber optic connection and the Device LED will flash indicating that the M40 is initiated and acquiring data If you abort the acquisition the Device LED will turn off M40 User Manual M40 UM 150226 Page 24 of 62 PSI System Controls and Diagnostics M40 1 Address 1 on Loop 1 on ASOORSTS 192 168 100 238 100 Comms HH Initiate Abort 99 9 8 v 9 7 q 96 4 e x X 954 j Connected Pending 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0 0000 boo nan j Error d Measuring Triggering Fast Mode DAC xx IA EE Digital 944 308 34 309 Buffer 7421 vao x Fast 1 312 59 AE Triggers 18760 1 1 310 311 zla oc y No avg De zero a aju 3r 41 3 sp eor 071 esr eo Temperature c Figure 10 Data tab M40 running with default settings showing autoscaled background noise on the inputs Select one of the fixed Y scales if you want to inhibit autoscaling of the
31. e it will start uploading to the M40 immediately Upon completion you will need to power cycle the M40 which will cause the new code to be loaded You will see the new FPGA Version number displayed See section 16 for more details Reset This button causes a full warm reset of the M40 All outputs will go to zero during the reset then will be set back to their prior settings by the PSI Diagnostic 10 3 Installing and Using the PTC Diagnostic G2 Program The PTC Diagnostic G2 host software provides the same user functions as the PSI Diagnostic and has a similar look and feel but it is built on a different software foundation Unlike the PSI Diagnostic the PTC Diagnostic G2 uses the same DLL function libraries that Pyramid uses to build user applications These libraries can be provided to customers who want to build their own applications The G2 Diagnostic can often provide faster average data rates to the host by its use of block data transfers If you need a Diagnostic to operate the M40 in conjunction with G2 devices such as the A560 1128 and C400 then you must use the PTC Diagnostic G2 PTC Diagnostic G2 can coexist with the PSI Diagnostic on the same computer Both programs can in fact communicate with an A500 or A560 the M40 at the same time the PSI Diagnostic must be launched first although this is not generally recommended as the results could be very confusing M40 User Manual M40 UM 150226 Page 31 of 62
32. echnical Consultants Inc If you need to return a unit contact Pyramid Technical Consultants at support ptcusa com stating model serial number nature of fault An RMA will be issued including details of which service center to return the unit to M40 User Manual M40 UM 150226 Page 58 of 62 PSI System Controls and Diagnostics 21 Support Manual and software driver updates are available for download from the Pyramid Technical Consultants website at www ptcusa com Technical support is available by email from support ptcusa com Please provide the model number and serial number of your unit plus relevant details of your application M40 User Manual M40 UM 150226 Page 59 of 62 PSI System Controls and Diagnostics 22 Disposal We hope that the M40 gives you long and reliable service The M40 is manufactured to be compliance with the European Union RoHS Directive 2002 95 EC and as such should not present any health hazard Nevertheless when your device has reached the end of its working life you must dispose of it in accordance with local regulations in force If you are disposing of the product in the European Union this includes compliance with the Waste Electrical and Electronic Equipment Directive WEEE 2002 96 EC Please contact Pyramid Technical Consultants Inc for instructions when you wish to dispose of the device M40 User Manual M40 UM 150226 Page 60 of 62 PSI System Contr
33. emperature This is a readback of the internal temperature of the M40 in degrees centigrade Buffer Buffer 22249 The PSI Diagnostic collects data coming from the M40 into a buffer with a rate that is the lesser of the actual acquisition rate or the X axis rate setting The buffer contents can be cleared with the Clr button Bh or can be written to a csv file with the save button El The buffer number shows how much data is currently in the buffer The maximum allowed is 65535 bytes after which the buffer wraps around to overwrite the earliest values You can toggle data plotting and accumulation into the buffer with the Run Plot control MI NS When the accumulation is halted then the slider is enabled which allows you to scroll back through the data when in strip chart mode Y This drop down controls the vertical scaling of the data plot You can A select automatic scaling or various fixed proportions of the nominal 10 V E full scale 100 50 20 10 5 2 16 7 Display only This control is enabled for fixed vertical scaling It toggles the graphic positive values from a display that is symmetric around 0 to one that shows only 1096 of the vertical scale in the negative direction X This drop down controls how fast new points are added to the data plot and p the data log For example if your acquisition settings generate a value every 100 msec but you hav
34. er Manual M40 UM 150226 Page 50 of 62 PSI System Controls and Diagnostics A M40 8 Address 8 on Loop 6 on A500R5T5 192 168 100 213 100 Comms Communication Properties Utilities r Messages Sent SAFEslale Device Version Reset Device ray Upload Application SS a Select hex file Organize New folder amp 080 Favorites Name Date modified Upload FPGA JE Desktop _ M40_FPGAD2 0 16 120418 fhex 4 19 2012 6 49 PM Select fhex file J Downloads 55 Recent Places 23 Libraries 3 Documents A Music No preview available Pictures amp Videos a Homegroup gt al File name M40 FPGAD2 0 16 120418 fhex v FPGA Firmware fhex M Computer Figure 29 Selecting the fhex file to load When the upload is complete you will get a prompt to power cycle the M40 in order to load the new code FPGA Upload Successful Please repower board to start new FPGA s Figure 30 Restart prompt after FPGA update If the FPGA upload fails for any reason such as loss of power during the upload or data corruption then the M40 may not be able to communicate In the unlikely circumstance that this happens it can be recovered using an FPGA programming tool and the pof version of the FPGA code Contact your supplier or Pyramid Technical Consultants who will arrange for the unit to be repa
35. g AUTOrecover sets a state in which the M40 will attempt to M40 User Manual M40_UM_150226 Page 30 of 62 PSI System Controls and Diagnostics restart automatically if it detects data corruption The COMM Term and COMM Checksum controls are not used on the M40 You can ignore them when using the PSI Diagnostic The system controls are software password protected so you will see a red warning message at the bottom of the window when you use them The PSI Diagnostic automatically sends the password Frequency This parameter sets the averaging period that will be used by default on power up You should set it to the dominant electronic noise frequency in your environment normally the line frequency SerialNumber This is the manufacturing serial number of your device and should be left unchanged Comm Timeout The time period in seconds without communications before the M40 goes to the safe state Set to zero if you don t want this feature Select hex file This button starts the M40 PIC firmware update process It opens a file selection dialog When you select a hex file it will start uploading to the M40 immediately Upon completion the M40 will restart automatically and you will see the new Device Version number displayed See section 16 for more details Select fhex file This button starts the M40 FPGA firmware update process It opens a file selection dialog When you select a fhex fil
36. gnostics 4X 3 66 MOUNTING HOLE 3 8 114 0 iq DD 62 0 T l a dq PH 103 7 p 121 6 1 Figure 2 M40 case plan and side views Dimensions mm M40 User Manual M40 UM 150226 Page 16 of 62 PSI System Controls and Diagnostics 9 Installation 9 1 Mounting The M40 may be mounted in any orientation or may be simply placed on a level surface A fixed mounting to a secure frame is recommended in a permanent installation for best low current performance as this can be degraded by movement and vibration Four M3 clear holes are provided in the base flange on a 62 mm by 114 mm rectangular pattern see figure 2 An adaptor for 35 mm EN 50022 DIN rail is available NAO e pevic y f WO c Ras O K onica S To Figure 3 DIN rail mounting shown for the identically shaped M10 device The mounting position should allow sufficient access to connectors and cable bend radii Leave 60mm clearance at either end for mating connectors and cable radii Best performance will be achieved if the M4O is in a temperature controlled environment No forced air cooling is required but free convection should be allowed around the case 9 2 Grounding and power supply A secure connection should be made via the mounting flange to local ground potential If the unit i
37. he M40 The names you declared will now be recognized as process variables by any EPICS compatible client program CAUTION Don t try to control the M40 simultaneously from an EPICS client and from a Diagnostic The results will be confusing In particular if you attempt to run the IG2 service and PTC DiagnosticG2 on the same computer the communications will conflict M40 User Manual M40 UM 150226 Page 38 of 62 PSI System Controls and Diagnostics 12 Circuit overview E 24V Ext Tm Reg 15 V Digital Schmidt 3 3 V Reg inputs trigger 5 VA 24V DC in PCB O Status n temp Micro LO LEDs Digital sensor controller _ outputs gt Fiber optic 4 Analog inputs Analog outputs Buffer gain Figure 20 M40 block schematic All input and output functions are handled through an FPGA A PIC microcontroller handles calibration communications message handling and some ancillary I O Incoming 24 VDC power is fused clamped against overvoltage and heavily filtered Isolation DC DC converters generate independent voltage rails for the internal analog and digital circuitry The eight identical analog inputs with allowable range 10 to 10V are inrush limited by 4 7k resistors and buffered through a unity gain buffer M40 User Manual M40 UM 150226 Page 39 of 62 PSI Sy
38. ibration Factors Application calibration factors are provided to allow you to map the 10 V native range of the M40 onto the output and readback of a power supply or similar device that it is controlling The temporary calibration is applied on top of the permanent calibration when the Use temporary scaling option is checked The simplest way to appreciate this function is to consider an example Say we have a high voltage power supply designed by a rather confused engineer that outputs 50 kV to 50 kV linearly in response to a control input of O to 5 V It has a linear readback of 10 V to 10 V corresponding to 50 kV to 100 kV We want to enter and read back values in kV on the M40 diagnostic and we know that the permanent calibration is good so that the M4O outputs and inputs are accurate in voltage When we have selected the analog input and output pair we shall use we can enter kV in the units field so that the Data tab readings are labeled appropriately For the output Vout Gain V set Offset so for the example we put Gain 0 05 and Offset 50 M40 User Manual M40 UM 150226 Page 43 of 62 PSI System Controls and Diagnostics For the input Vieaa Gain Vin Offset so for the example Gain 6 25 and Offset 12 5 In practice you may be able measure the response of the power supply by independent means as a function of the M40 output and input values with the temporary calibration disabled
39. ill act as the server The server and the user interface computer can be the same machine The loop controller the server and the user interface computer should be able to communicate with each other over your network M40 User Manual M40 UM 150226 Page 36 of 62 PSI System Controls and Diagnostics In the folders you have saved there is an xml files in the service subdirectory that need to be edited to customize your particular setup IG2 looks for the file system xml in the service subdirectory to establish the configuration of the system You can locate system xml elsewhere than the default location or give it a different name in which case you need to specify the path and file name by means of an argument in the command line that launches IG2 The system file comprises a header section on the xml schema which does not need to change Then comes a description of the user interface host computer descriptions of the fiber optic loop controller devices in your system and descriptions of the devices attached to loops You don t have to describe every device and every input output point that is present in your system but only the ones that you expose in the system file will be visible to EPICS The simplified example in figure 19 illustrates the xml schema The analog inputs and outputs are scaled to suit the application and only those necessary are exposed The A360 is supporting the M40 as the only looped device The
40. imeout 50 timeslice 1000 gt z loops EH lt loop number 1 name A360 1 loop 1 gt EH lt boards gt T lt board type M40 name m40_1 address 1 gt E lt channels gt lt channel name r m40 1 ainl wire analog in 1 scaleB 10 lt channel name r m40 1 ain2 wire analog in 2 scaleB 2 scaleC 5 5 lt channel name c m40 1 aouti wire analog out 1 scaleB 10 limitLow 0 limitHigh 100 lt channel name c_m40 1 aout2 wire analog out 2 gt lt channel name r m40 1 dini wire digital in 1 gt lt channel name r m40 1 din2 wire digital in 2 gt lt channel name r m40 1 din3 wire digital in 3 gt lt channel name c_m40 1 douti wire digital out 1 gt lt channel name c m40 1 dout2 wire digital out 2 gt lt channel name c m40 1 dout3 wire digital out 3 gt H lt channels gt H lt board gt F lt boards gt lt loop gt lt loops gt F lt loopcontroller gt F lt loopcontrollers gt lt interpreter gt HH lt devices gt lt epicscas type epicscas name epics server gt F lt devices gt r lt interpreter gt lt system gt Figure 19 Example xml system configuration file for IG2 EPICS Once you have created and saved your system file you can run the IG2 service executable If the server has a display you will see a console window that shows the connection process and then records subsequent control value changes sent to t
41. ired 17 2 PIC firmware updates To update the PIC microcontroller click the Select hex file button on the Device tab and navigate to the relevant file The code will then load The process takes about 30 seconds M40 User Manual M40 UM 150226 Page 51 of 62 PSI System Controls and Diagnostics Actions Options Window Help leiu 00 o um a Wee yy Pah Gaeta ea A500R5T5 192 168 100 z amp amp Loop 1 B H10 1 E amp Loop 3 Device 8 13200 8 amp amp Loop 6 E M40 8 Communication SYSTem Properties Utilities Messages Sent Device Version 9 SAF Estate L Reset Device 4 PTC Software Firmware M40 4s Search M40 Pp Epiosdiappuicatonie Select hex file Organize New folder E e N Favorites Name j Date modified Upl load FPGA i Wi Deskop Select fhex file J Downloads 5 Recent Places 23 Libraries 2 Documents No preview 2 Music available 8 Pictures B videos 3 Homegroup amp Comnuter M uu File name M40 PIC4 1C 120612 hex Actions Option Window Help leld 900 o a ASOOR5T5 192 168 100 5 8 Loop 1 8 H10 1 2 2 Loop 3 E 152006 8 2 Loop 6 E Mao Communication SYSTem y Messages Sent SAFEstate 960125 AUTORECover p Checksum Errors COMMTERM COMM CHECksum Echo Errors F
42. m electrical transients In some cases space considerations may dictate that the M40 is installed without its steel case Since this may expose the device to mechanical damage or electrical interference such installations should only be performed in collaboration with Pyramid Technical Consultants Inc This option is available as M40 NOCASE The CE marking of the M40 is not applicable if it is operated without its case and the user should make separate arrangements to ensure conformity of the overall assembly with applicable standards M40 User Manual M40 UM 150226 Page 20 of 62 PSI System Controls and Diagnostics 10 Getting Started using the Pyramid Diagnostic Host Programs Usually you will use a custom application to communicate with the M40 either one you write yourself using the software interfaces available from Pyramid Technical Consultants Inc or one that is supplied by Pyramid However you can get started immediately using one of the PSI Diagnostic host programs These are available for free download from www ptcusa com and are provided with the M40 for end user customers There are two generations of the Diagnostic software and the M40 is compatible with both PSI Diagnostic This software supports all Pyramid products apart from G2 devices It allows you to connect the M40 via an A500 controller Ethernet communications use UDP with an added reliability layer PTC Diagnostic G2 This software supports all G2
43. n the Setup tab see next section The colour codes show which are the corresponding traces on the graphic display and you can suppress plotting of any channel by unchecking it This does not affect the data logging all channels are always logged DAC You can set the eight analog outputs The new value will be sent out as soon as you press the enter key or click in another parameter field The values that are sent out in volts are Raw_value Offset Gain up to the 10V limit The offset and gain values are set on the Setup tab see next section If you have selected the check box to use the application calibration on the Setup tab and supplied physical units then these will be displayed on the Data tab alongside the relevant channel Digitals Eight check boxes allow you to set the corresponding digital outputs high Eight LEDs show the states of the digital inputs By default the LED is illuminated if the input is TTL high but this logic can be inverted using M40 User Manual M40_UM_ 150226 Page 26 of 62 PSI System Controls and Diagnostics controls on the Setup tab Triggers This counter shows the number of readings made by the M40 since the last initiate The number of readings you can log on the host computer may be less depending on the number of readings you request the averaging period and the available data rate up to the loop controller and the host computer T
44. nd histogram graphing options and digital displays M40 8 Loop 6 Address 8 SO Initiate 0 0008 m Channel Data V DAC V 0 0006 m 0 0004 gt 9 0 0002 s o gt 0 0 0002 0 0004 10 185 10 186 10 187 10 188 10 189 4 W LI Y Auto No Avg M zero 3 V strip IX Scope V Histogram Setup Calibration State Measuring Last Error a E Properties Figure 16 M40 data display in PTC Diagnostic G2 M40 User Manual M40 UM 150226 Page 33 of 62 PSI System Controls and Diagnostics Checking the Auto Initiate button causes the program to automatically start data taking after you make any change to the M40 parameters The Setup and Calibration buttons access areas that provide the same functions as the PSI Diagnostic Setup tab PTC Diagnostic G2 does not support application calibration in its current version Buffered data acquisition uses M40 on board memory to permit bursts of contiguous data to be captured at high rate This will be supported in a future M40 firmware release The firmware update utility is accessed on the Properties area M40 User Manual M40 UM 150226 Page 34 of 62 PSI System Controls and Diagnostics 11 Interfacing to EPICS via IG2 1 1 What is EPICS The Experimental Physics and Industrial Control System EPICS http www aps anl gov epics iS A set of Open Source software tools libraries and applications
45. ng signal as expected Incorrect electrical connection to target device typically lack of appropriate ground path Check that unloaded output changes as expected with a loop back connector all outputs connected directly to corresponding inputs Make correct electrical arrangement Digital inputs operate with incorrect polarity Input polarity setting is incorrect for the application Check requirement and set input polarities accordingly Use the correct digital input settings Unable to set digital outputs as expected Incorrect electrical connection to target device typically lack of appropriate ground path Check that unloaded output changes as expected with a loop back connector or by direct measurement Make correct electrical configuration Data taking stops Selected number of triggers has been reached Check trigger points setting Use the correct setting or click INF for continuous acquisition Unable to communicate with M40 Duplicate address setting Check address against expected address in host software Use correct switch setting Switches can be changed while the unit is operating Communication link timeout Investigate and fix communications issue Use a longer timeout setting if M40 User Manual M40_UM_150226 Page 55 of 62 PSI System Controls and Diagnostics necessary RX and TX cables cross connec
46. o save the raw values or the zero offset corrected values Differential display When this control is pressed the graphic changes to display the difference between successive readings The buffered data is not affected Graphic mode You can plot the data as a rolling strip chart or a bar chart histogram The scope mode is a variant of the strip chart Instead of a rolling chart the graphic is refreshed as a whole for each 256 samples In histogram mode you can place a cursor on a particular channel to read out its value E Clear buffered data Values are cleared from the PSI Diagnostic data buffer but any acquisition in progress continues and timestamps are not reset El Save data buffer contents to csv file When you click this button you will Raw Data see a drop down selection Potted Data which allows you to save either the raw data or the values with the PSI Diagnostic zero offset and averaging 10 2 3 Setup tab Click on the Setup tab On this screen you can alter digital input logic polarities analog input filtering and analog calibration values M40 User Manual M40 UM 150226 Page 28 of 62 PSI System Controls and Diagnostics M40 8 Address 8 on Loop 6 on ASOORSTS 192 168 100 213 100 Comms HH j Connected eco atl Pending Error
47. of 62 PSI System Controls and Diagnostics lt 30 mV with 10 VAC 1 MHz on another input Conversion rate 250 kHz on each input fully simultaneous Digital filtering Software configurable block averaging 1 second maximum Linearity 0 1 maximum deviation of any point from linear fit to all points over full span Calibration Independent gain and offset stored for each input in NVR Waveform memory future option Outputs 1024 output values x 8 analog channels plus one synch bit Output rate Period selectable 10 usec to 3600 seconds Inputs 1024 input readings x 8 analog channels plus digital input byte Digital outputs Number Eight Voltage levels TTL Maximum compliance 3 mA per channel source or sink Output series resistance 100 ohm Minimum output pulse 15 nsec length Digital inputs Number Eight Voltage levels TTL Configuration Active low with internal 47 kohm pull up to 5V Input protection 470 ohm series Controls and displays Controls 16 position rotary switch for loop address selection Displays Four LEDs power activity network device Communications Interface Fiber optic 640 nm ST connectors 10 Mbit sec Data rate Typical data rate to host gt 1 kHz Rate in optimised systems up to 10 kHz M40 User Manual M40_UM_150226 Page 13 of 62 PSI System
48. ols and Diagnostics 23 Declaration of Conformity Declaration of Conformity Issued by Pyramid Technical Consultants Inc 1050 Waltham Street Lexington MA 02421 USA The undersigned hereby declares on behalf of Pyramid Technical Consultants Inc that the referenced product conforms to the provisions as listed Refer to the document Extension of testing and analysis to the PTC product line December 10 2007 and its continuations and the 1400 Technical Construction File for detailed testing information Product M40 High Density Device Interface Year of initial manufacture 2012 Applicable Directives 73 23 EEC Low Voltage Directive Laws for electrical equipment within certain voltage limits 89 336 EEC EMC Directive Laws relating to electromagnetic compatibility Applicable Standards IEC 610101 2002 2 4 Edition UL 61010 1 2004 EN 61326 1997 A1 1998 A2 2001 EN 55011 1998 A2 2002 EN 61000 6 2 2001 Electromagnetic Compatibility Generic Standard Immunity for Industrial Applications Issuing Agencies Safety TUV Rheinland North America 12 Commerce Rd Newtown CT 06470 USA EMC TUV Rheinland North America 12 Commerce Rd Newtown CT 06470 USA Applicable Markings TUV FCC CE f j Authorized by Ys f i f m LN President Pyramid Technical Consultants Inc Date QS June doa The Technical Construction File required by theses Directives are maintained at the offices of Pyramid Technical Con
49. on for remote control of a power supply group 19 Figure 6 Example of a connection to the M40 via an A500 and Ethernet 22 Figure 7 PSI Diagnostic Search Utility adding a target IP address and port 23 Figure 8 PSI Diagnostic Search Utility detection in progress 23 Figure 9 Result of device search 24 Figure 10 Data tab M40 running with default settings showing autoscaled background noise on the inputs __ 25 Figure 11 Data tab bargraph display 26 Figure 12 Setup tab 29 Figure 13 Device tab showing firmware update utility controls 30 Figure 14 PTC Diagnostic G2 discovery dialog 32 Figure 15 System pane showing M40 connected via A500 33 Figure 16 M40 data display in PTC Diagnostic G2 33 Figure 17 Example network for EPICS communications 35 Figure 18 Example user screen created using CS Studio BOY 36 Figure 19 Example xml system configuration file for IG2 EPICS 38 Figure 20 M40 block schematic 39 Figure 21 M40 analog input configuration referenced to AGnd 40 Figure 22 M40 analog input filter response 40 Figure 23 M40 analog output configuration 41 Figure 24 M40 analog output slew rate for full scale step 20 V in 32 usec 41 Figure 25 M40 digital input configuration 42 Figure 26 M40 digital output configuration 42 Figure 27 Using application scaling 44 Figure 28 Location of jumpers 49 Figure 29 Selecting the fhex file to load 51 Figure 30 Restart prompt after FPGA update 51 Figure 31 Selecting the
50. or remote control of a power supply group Typical M40 applications involve its use as part of a large control system integrated under one or more A500 or A560 controllers The M40 may be the only device on the loop or one of up to fifteen devices As the number of devices is increased the loop bandwidth has to be shared so for fast control you would generally keep the number of devices on each loop to the minimum The M40 has very low glitch energy when its analog outputs change from one DAC setting to another so it is well suited to the control of fast power supplies such as those for electrostatic or magnetic beam scanners An arbitrary output waveform table can be loaded into the M40 and used to drive the outputs whilst the inputs are recorded The M40 can thus function as a highly flexible multi channel signal generator and data recorder 9 3 2 Compatibility with loop controllers The M40 is compatible with any A500 controllers running DSP firmware version 5 40 or later and FPGA firmware 2 7 178 or later The M40 is compatible with any A560 controllers running firmware package 0 6 138 15 or later 9 3 3 Signal cables Try to locate the M40 as close to the equipment being controlled as possible with the case sharing the equipment ground The longest transmission distance is thus handled by the fiber optic lines which are completely immune to electrical noise If long signal cables from the M40 M40 User Manual M40 UM 150226 Page 19 of
51. rsions of the hardware and firmware On the right is the firmware update utility You can use this to download firmware updates hex and fhex files downloaded from the Pyramid Technical Consultants Inc web site M40 8 Address 8 on Loop 6 on ASOORSTS 192 168 100 213 100 Comms je j Connected o j Pending Communication Messages Sent 757627 Checksum Errors 0 Echo Errors 0 Reset Counters SYSTem SAFEstate AUTORECover FREQuency 50 Hz SERIALnumber COMM TIMEout 5 0000000001 Properties Device Version 4 0B FPGA Version 2 0 16 Hardware Version 0 IO Input Length 2 10 Output Length 16 Utilities Reset Device Upload Application Select hex file Upload FPGA Select fhex file Figure 13 Device tab showing firmware update utility controls Error Communication The counters show details of the communications between the M40 and its host You can click the Reset Counters button to reset the fields to zero System controls Pressing SAFEstate sets a mode in which the M40 goes to a defined safe state all outputs zeroed if it does not communicate with its host controller in the timeout period in seconds set by the COMM TIMEout parameter If communications are restored then the M40 will re assert its prior output state If you want to disable this feature set the timeout to 0 Pressin
52. s mounted on an insulating surface then one of the four mounting screws must be re assigned as a grounding connection 24 VDC power should be provided from a suitably rated power supply with the following minimum performance Output voltage 24 0 5 VDC Output current 300 mA minimum 2000 mA maximum M40 User Manual M40 UM 150226 Page 17 of 62 PSI System Controls and Diagnostics Ripple and noise lt 100 mV pk pk 1 Hz to 1 MHz Line regulation lt 240 mV The M40 is tolerant of line voltage in the range 18 VDC to 28 VDC although we recommend using a 24 V supply with reasonable output regulation as indicated You may deliver or extract 24 V power through the unit through one of two alternative connections as illustrated in figure 4 Signal connector 33 32 500 mA Power jack O O ___ 24 V 0 V PS Gnd To M40 power circuits Figure 4 M40 power input options The primary input is the 2 1 mm power jack and the alternative is pins 33 24V 32 OV of the 44 way D connector The second arrangement is provided for situations where the device being controlled is able to supply 24 VDC power If power is provided through the jack input then it is available as an output on pins 33 32 of the D connector for user applications In this case you must ensure the following a Maximum current draw does not exceed the external power supply limit or 500 mA
53. sesssssessssssscsssssssessssesscssseesessssssssesesssssessessssesssssssacsesessecsessssessesessess 12 9 jUrn 17 OL MOUNTING ia t en tiim ip aei ee o bed er i p eit ts 17 9 2 Grounding and power Supply cues o Get e e e i e e e Ree 17 9 3 Connection to equiprmeritz an EC REO EE Ree Hee er I erase eae e EE Ede bee 18 9321 SEypical Setup iecore CREE metet d eo Eve M SIL a scenes iens 18 9 3 2 Compatibility with loop controllers oooonncnnnnnnnnonnnonnnonanononanonnncnnncononnonnonnnonnn cnc eene ennt eren eren 19 9 3 3 Signal Cables onc n erm ec e EH e HI ee e rie oce eoe ee eese 19 M40 User Manual M40 UM 150226 Page 2 of 62 PSI System Controls and Diagnostics 9 34 Embedded installations tt in e etd emet 20 10 Getting Started using the Pyramid Diagnostic Host PrograMsS cmocmommmmmmmssm 21 10 1 Preparing the M40 for operation ena a a E E EE E iE 21 10 2 Installing and Using the PSI Diagnostic Program esses nennen nennen eene 22 10 2 1 Establishing communication with the M40 sess eene rennen 22 10 2 2 Data tab Eg RR SER E ed ae cde a Ru Mendieta re epe pope en 24 10 2 3 Setup tabs oe eas tito Pe e c then feni 28 10 2 4 Device tabs iiu b etes eem pat 30 10 3 Installing and Using the PTC Diagnostic G2 Program eese eene entnehmen nennen 3l 10 3 1 Establishing communication with the M40 sess een enne 32
54. stem Controls and Diagnostics Input 1 of 8 Figure 21 M40 analog input configuration referenced to AGnd The signals then pass through a two pole low pass analog filter with a 3dB point at 10 kHz and a gain of 0 50 before being delivered to the ADC gt T x3 N 10 20 40 100 200 400 1k 2k 4k 10k 20k 40k 100k Frequency Hertz Figure 22 M40 analog input filter response The multichannel ADC is fully bipolar 5V range with 16 bit resolution All eight inputs are sampled simultaneously at 250 kHz and accumulated in the averaging buffer of the FPGA The use of averaging downsampling increases the effective resolution of the M40 greatly The amount of averaging is under software control The PIC microcontroller applies the calibration to convert to floating point values in volts The eight identical analog outputs are generated by a 16 bit DAC offset to give an analog value centred on 0 0 V and passed through an output stage with gain 2 01 to give a certain 10 to 10 V range A 100 ohm series resistor in the feedback loop protects against external short circuits M40 User Manual M40 UM 150226 Page 40 of 62 PSI System Controls and Diagnostics 100 Output 1 of 8 100R j a 10K Figure 23 M40 analog output configuration The analog voltage outputs slew at around 0 6 V per microsecond when changing from one setting to another This rate of change ma
55. sultants Inc 1050 Waltham Street Lexington MA 02421 USA A copy of this file is available within the EU at the offices of Pyramid Technical Consultants Europe Ltd Suite 3 Unit 6 7 Henfield Business Park Henfield BNS 9SL United Kingdom M40 User Manual M40 UM 150226 Page 61 of 62 PSI System Controls and Diagnostics 24 Revision History The release date of a Pyramid Technical Consultants Inc user manual can be determined from the document file name where it is encoded yymmdd For example M10_UM_080105 would be a M10 manual released on 5 January 2008 Version Changes M40_UM_120621 First general release M40_UM_120703 Added information about data buffer save options introduced in PSI Diagnostic version 4 114 M40_UM_120907 Correction to analog output circuitry M40_UM_141212 Update specification table Add section on EPICS interfacing via IG2 M40_UM_150226 Update specification table M40 User Manual M40_UM_150226 Page 62 of 62
56. ted somewhere in loop Network LED not lit Correct cabling as necessary Fiber optics are damaged Inspect fibers especially the connectors Check light can be seen through fiber Exchange fibers and retry Fit new fibers or re terminate as necessary Unexpected changes in parameters Another host software program is accessing the device Check host programs running on connected computers Run a single host program only Communications interruptions Other processes on PC host interfering with comms ports Use a dedicated PC with simple configuration and minimum number of processes running M40 User Manual M40_UM_150226 Page 56 of 62 PSI System Controls and Diagnostics 19 Maintenance The M40 does not require routine maintenance or calibration There is risk of contamination which may degrade performance if the case is opened There are no user serviceable parts inside The M40 is fitted with a 0 5 A automatically resetting positive temperature coefficient PTC fuse in the 24 VDC input No user intervention is required if the fuse operates due to overcurrent The fuse will reset when the overcurrent condition ends M40 User Manual M40 UM 150226 Page 57 of 62 PSI System Controls and Diagnostics 20 Returns procedure Damaged or faulty units cannot be returned unless a Returns Material Authorization RMA number has been issued by Pyramid T
57. to obtain the necessary parameters Notice that this procedure is most intuitive when you can associate one M40 analog input and output pair to setting and reading back one parameter so that the physical units are common For example analog output 3 could be calibrated as described to provide a command in kV and analog input 3 would be used to read back the corresponding monitor value also scaled in kV Then we might use analog input 4 to readback and scale a monitored current in mA for example and analog input 5 to readback and scale a temperature in centigrade The following figure shows how this might look A M40 8 Address 8 on Loop 6 on A500R5T5 192 168 100 213 100 oc C Be Comms __ j Comeded j Pending Error 80 Initiate Measuring Triggering Fast Mode Abort DAC 0 0000 0 0000 70 0000 kV 0 0000 0 0000 0 0000 0 0000 0 0000 Digital 8 3 8 4r J 0 S 6r STL Beer 1 1 1 1 T T 1 47554 476 477 478 479 480 480 7 Buffer 23750 fen y Auto 5 x Fast y Noavg y a Di Last Error 3 27 03 PM OutputVoltage 222 DataOutOfRange Temperature Im Oe zero a a w e al Triggers 24040 BED o Figure 27 Using application scaling M40 User Manual M40 UM 150226 Page 44 of 62 PSI System Controls and Diagnostics 14 Wavetable Output and Logging The M40 is able to output tables of values on
58. up to eight analog outputs simultaneously While these values are being put out the device can log the eight inputs Thus it can act as a multichannel arbitrary waveform generator and data logger If the output and sampling rate is high the output values and logged data reside in the M40 on board memory to ensure contiguous data but this limits the size of the tables At lower rates the tables can be managed by the host system thus much larger files can be handled The wavetable facility will be added in a future firmware release M40 User Manual M40 UM 150226 Page 45 of 62 PSI System Controls and Diagnostics 15 Connectors 15 1 Front panel connectors 15 1 1 Analog and digital I O Forty four pin high density Dsub female Pin15 A y Pin1 Pin30 gt Pin44 Pin 31 External view on connector solder side of mating plug 1 Analog In 7 16 Analog In 8 31 Shield 2 Analog In 5 17 Analog In 6 32 Power Supply Gnd 3 Analog In 3 18 Analog In 4 33 24 VDC in out fused 4 Analog In 1 19 Analog In 2 34 Digital In 1 5 Gnd 20 Digital In 2 35 Digital In 3 6 Gnd 21 Digital In 4 36 Digital In 5 7 Gnd 22 Digital In 6 37 Digital In 7 8 Gnd 23 Digital In 8 38 Digital Out 1 9 Gnd 24 Digital Out 2 39 Digital Out 3 10 Gnd 25 Digital Out 4 40 Digital Out 5 11 Gnd 26 Digital Out 6 41 Digital Out 7 12 Analog
59. vice address Choice of address is arbitrary but each device in a fiber optic loop system must have a unique address Setting Function 0 Reserved to loop controller 1 F decimal 1 to 15 Available address settings 16 3 Front panel indicators None 16 4 Rear panel indicators Quad green LED Device Network Activity Power 16 4 1 Power Green LED On input power is present internal DC DC converters are running 16 4 2 Activity Green LED Green LED Flashes when M40 has received new analog or digital output setting 16 4 3 Network Green LED Flashes when M40 is processing messages on the fiber optic channel 16 4 4 Device Green LED Green LED Flashing 5 Hz M40 is initiated and acquiring data M40 User Manual M40 UM 150226 Page 48 of 62 PSI System Controls and Diagnostics 16 5 Internal settings We do not recommend that you open the M40 case unless specifically instructed to do so by your supplier or Pyramid Technical Consultants Inc There are no user serviceable parts inside The following information is provided for reference only CINCON IN 18 36VDC y OUT 5VDC X B x E y T 37 LII i m w uL gm 99 imr E si Sii gt i WA dr MIA d Figure 28 Location of jumpers 16 5 1 JPR1 settings Links Function None Normal operation mode 1 Reserved 2 Reserved 1 amp 2 Reserved M40 User Manual M
60. y be too high for some devices controlled by the M40 in which case the change should be delivered as a sequence of smaller steps Tek Ju W Pos 0 000s SAVE REC Action Des i eeel 2 1 EUM File B Format irr uera i IA eirca rrr irri 11 Jun 12 Figure 24 M40 analog output slew rate for full scale step 20 V in 32 usec The eight digital inputs are pulled up to 5 V via 47 kohm and protected by 470 ohm series Schmitt triggers buffer and clean the inputs before they pass to the M40 digital processing M40 User Manual M40 UM 150226 Page 41 of 62 PSI System Controls and Diagnostics RN47k i5VD 74LVC14A 43 3V T Gnd 4 25 2 yi A1 r Y2 A2 B Y3 A3 _al Ya A4 9 RN 470R 10 Y5 A5 ii 4 12 v6 A6 134 74LVC14A Tw Inputs Vcc 14 Gnd 2 4 4 Sy Ad 4 Y2 A2 8 amp v3 A3 B Ya A4 10 Y5 A5 di 12 Y6 A6 H3 Figure 25 M40 digital input configuration The eight digital outputs are buffered and level shifted to TTL levels by a line driver and the signal passes out via a 100 ohm current limiting resistor RN 100R At Yi 2 A2 Y2 2 A3 2 Y3 M Y4 A5 z y5 Outputs A6 amp Y6 v v 2 1A7 Y7 A8 Y8 gt r 9 G1 VddH 5VD G2 GND 4 Figure 26 M40
Download Pdf Manuals
Related Search
Related Contents
Title: SMOS L2 OS Prototype Processor Software User Manual Doc POSIFLEX Business Machines LM-6601 User's Manual CBI-485120WB A Comparison of Amateur Radio Digital Voice Systems Marchés de l`ONU Krell Industries Evolution One Stereo Amplifier User Manual User Manual Copyright © All rights reserved.
Failed to retrieve file