Home
USER`S MANUAL
Contents
1. SALON SION 338 gt ra 2 31ON 338 QvOldAD i AlddNS LWNOILOSNNOO ONnOHDHLHV3 D 4 2053 Y i ZOHO 5 LIS LOHO E 153 di 10HO a 00HO g BE CJ 053 2 00HO W E EERE quvoa WEOdW OdV 22 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus SERIES APC341 88S 10Grv Q3Q13iHS 318 2 1 14 OL 2 1595 781 8206 1300N SYISNNN Juv SYSENNN Lavd LIDIO NIAIS 310N LL8 v00Ol TI3HS32V8 3013 5 M3IA LNOYS ld 215 9001 7 30193NNOO 318 2 Nid EK i on len 92 1 A BE A E BE EX R oo E 5E EX 928 7001 BH ES MOI93NNOO R oo jon R ae EINE T R 0G 2 Ni ma 1 jee E DG E HLON31 HONI 859 7002 ES E 0G Nid N EX 5 lt 9002 318v2 lt E XINIMHS 5 7 6 700 4373 M3IA dOL ld Zd S3HONI 0 0 0 S3HONI Z 8Z SUALIW 2 T3Nvd NOLLVNIAW331 07 1 256 4005 1300W O1 620 HONI 1
2. 1 Memory Location 800 Not Used 31 20 Tag bits 19 16 Data 15 0 d 512 Memory Location FFC Not Used 31 20 Tag bits 19 16 Data 15 0 Notes Table 3 2 1 The APC344 will return O for all addresses that are Not Used 2 All Reads and writes are 8 clock cycles 3 This byte is reserved for use at the factory to enable writing of the reference voltage This memory map reflects byte accesses using the Little Endian byte ordering format Little Endian uses even byte addresses to store the low order byte The Intel x86 family of microprocessors uses Little Endian byte ordering Big Endian is the convention used in the Motorola 68000 microprocessor family and is the VMEbus convention In Big Endian the lower order byte is stored at odd byte addresses Interrupt Register Read Write Base 00H This read write register is used to enable board interrupt determine the pending status of interrupts and release an interrupt The function of each of the interrupt register bits are described in Table 3 3 This register can be read or written with either 8 bit 16 bit or 32 bit data transfers A power up or system reset sets all interrupt register bits to 0 Table 3 3 Interrupt Register FUNCTION Board Interrupt Enable Bit Read Write Bit 0 Disable Interrupt 1 Enable Interrupt If enabled via this bit an interrupt request from the board will be issued to the system if the Mem
3. vw 3O193NNOO 91313 FINGOW OL ws 5 FN L 2 2 S 5 9 9 L L 8 8 6 6 ei 91 T m vk vk 91 91 Zt Li E 61 61 ez ec 12 i 44 44 2 z 9 9 12 42 82 82 62 62 ec ec In 16 43 43 se 9c 19 19 8c 8 6 zv v v 42 42 Sv Sv 9v 9v Lv 4 9v 87 6v 6v os ld VA 113 539 8 03013165 OL S 193NNO2 318 2 13 5 ES 23 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus SERIES APC341 GEOS 1 NOILWNINYAL 3N3H NMOHS lt NIG TIVE 9 B Ld
4. Reference Voltage Read Data Status Register MODES OF CONVERSION eese Single Conversion dite Continuous Conversion PROGRAMMING CONSIDERATIONS Single Conversion Mode Continuous Conversion Mode w Interrupt Example USE OF CALIBRATION REFERENCE SIGNAL Uncalibrated Calibrated Calibrated Programming Programming Interrupts THEORY OF FIELD ANALOG apes LOGIC POWER PCI INTERFACE LOGIC s BURST READ OF APC341 CONVERSION CONTROL MULTIPLEXER CONTROL CIRCUITRY DATA TRANSFER FROM ADC TO CONVERSION MEMORY BUFFER SWITCH CONTROL EXTERNAL 412 INTERRUPT CONTROL REF VOLTAGE MEMORY CONTROL LOGIC APG SOFTIWARE ete sd eritis SERVICE AND SERVIC
5. PREPARATION FOR UNPACKING AND CARD CAGE CONSIDERATIONS eese BOARD Software Front Panel Field Connector Analog Inputs Noise and Grounding Considerations External Trigger PCI Bus Connections for P1 PROGRAMMING PCI Configuration Address Configuration 5 MEMORY MAP de dne eee treo echter abend Interrupt Control Channel Enable Control Register Low Bank Timer High Bank Timer 5 Memory Threshold Start Convert Memory Analog Input amp Corresponding Digital Codes Reference Voltage Access Register
6. 6 c ho 31 ___ 8 COMMON 33 COMMON 9 cH 34 ndicates that the signal is active low Analog Inputs Noise and Grounding Considerations Differential inputs require two leads and per channel and provide rejection of common mode voltages This allows the desired signal to be accurately measured However the signal being measured cannot be floating it must be referenced to analog common on the APC341 board and be within the normal input voltage range Differential inputs are the best choice when the input channels are sourced from different locations having slightly different ground references and when minimizing noise and maximizing accuracy are key concerns See Drawing 4501 928 for analog input connections for differential ended inputs Shielded cable of the shortest length possible is also strongly recommended The APC341 is non isolated since there is electrical continuity between the logic and field I O grounds As such the field I O connections are not isolated from the APC341 board and backplane Care should be taken in designing installations without isolation to avoid noise pickup and ground loops caused by multiple ground connections This is particularly important for analog inputs when a high level of accuracy resolution is needed External Trigger Input Output The external trigger signal on pin 49 of the front panel connector can be programmed as an input output or disab
7. Lud 2 7 KI T3Nvd b LNOY4 1 9 106 9 89 3NVd NOLLVNIW2 SL CGS GCOS 13QON 6v LY Gv 6 LE SESS 16 62 LZ 92 6212 6L 21 G1 111 6 D p Ob Cv Ov 86 96 ZE OL BZ 92 HZ ZZ 02 81 91 vL OL 8 9 v SN313AITIIN S3HONI NI SNOISN3NIG S310N Y 3015 MAIA 01 2 51 TWAOWSY SIES 1015 YIANYOMIYIS 7 A al SN FTU 71 00000084000 0 2 0 20 6 2 2 2 DN lee i 2200020202220 0 6 200 2 2 2 2 2 0 m 181 72006 NJ ep 0 41 383H NMOHS zeoe TIVA ale aaa 5 TANVd NOILVNINYSL 255 6 065 13000 Lv Gv vr Cv Vv 62 LE OE GE HE SE 1 06 62 82 72 90 GC 72 0 0012 OC 61 BILAL 91 GL vL CL CL IL OLO 8 9 S 181 ld 6v Lv Gv vv Cv Ov LE 9 HE SE IS OF 62 82 72 90 52 72 C CC 10500 61 81 1 91 GL vL 21 CL 1101 6 872 9 6 C 1 24
8. Radiated Field Immunity RFI Electromagnetic Interference Immunity EMI Surge Immunity Electric Fast Transient Immunity EFT 0 to 70 C 40 to 85 C E Versions 5 95 Non Condensing 55 C to 100 C Logic and field commons have a direct electrical connection Designed to comply with IEC1000 4 3 Level 3 10V m 80 to 1000MHz AM amp 900MHz keyed and European Norm EN50082 1 with error less than 0 50 of FSR Error is less than 0 25 of FSR under the influence of EMI from switching solenoids commutator motors and drill motors Not required for signal I O per European Norm EN50082 1 Complies with IEC1000 4 4 Level um zu 2 0 5KV at field input and output terminals and European Norm EN50082 1 Radiated Emissions Meets or exceeds European Norm EN50081 1 for class A equipment CE All models are designed to comply with EMC Directive 89 336 EEC per European Standard EN 61000 6 1 2001 Electromagnetic compatibility EMC Part 6 1 Generic standards Immunity for residential commercial and light industrial environments and European Standard EN 61000 6 3 2001 Electromagnetic compatibility EMC Part 6 3 Generic standards Emission standard for residential commercial and light industrial environments Note Only the APC Models have the CE Mark Only the APC Models are compliant to
9. 18 External Trigger Input Output As An Must be an active low 5 volt logic TTL compatible debounced signal referenced to digital common Conversions are triggered on the falling edge of this trigger signal Minimum pulse width 250nano seconds As An Active low 5 volt logic TTL compatible output is generated The trigger pulse is low for typically 500nano seconds SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus PCI BUS COMPLIANCE Specification This device meets or exceeds all written PCI Specification Version 2 2 Electrical Mechanical Interface Short 5V Board PCI Target Implemented by Altera FPGA 4K Memory Space Required One Base Address Register PCI commands Supported Configuration Read Write Memory Read Write 32 16 and 8 bit data transfer types supported 5V Compliant 3 3V Tolerant Interrupt A is used to request an interrupt Interrupt will occur when the amount of new converted data in the memory buffer exceeds that set by the Memory Threshold register 8 PCI Clock Cycles for all non burst register accesses Burst read of the 512 sample memory buffer implements three PCI clock cycles for each sample read Access APPENDIX CABLE MODEL 5028 187 SCSI 2 to Flat Ribbon Shielded Type Round shielded
10. Table 3 3 1 All bits labeled Not Used will return logic 0 when read Control Register Read Write Base 04H This read write register is used to enable single or continuous conversions select conversion of calibration voltages or field analog signals control external trigger input output mode monitor Memory status and issue a software reset to the board The function of each control register bit is described in Table 3 4 This register can be read or written via 8 bit 16 bit or 32 bit data transfers A power up or system reset sets all control register bits to 0 Table 3 4 Control Register FUNCTION 00 Conversions are disabled 01 Enable Single Conversion Mode A single conversion is initiated per software start convert or external trigger The internal channel timer controls the start conversion of channels 8 15 Enable Continuous Conversion Mode Conversions are initiated by a software start convert or external trigger and continued by internal hardware triggers generated at the frequency set by the interval timer registers Reserved All Channels Differential Input Auto Zero Calibration Voltage Input Auto Span Calibration Voltage Reserved External Trigger Disable External Trigger Set as Input External Trigger Set as Output Reserved As an output Internal Timer triggers are driven on the External trigger pin of the field connector The External Trigger output signal can be used to syn
11. The output of this Low Bank Timer is used to precisely generate periodic trigger pulses to control the frequency at which all enabled channels are converted The time period between trigger pulses is described by the following equation Low Bank TimerValue 1 T in seconds 8 000 000Hz The following equation can be used to calculate the Low Bank Timer value Note this gives the value in decimal It must still be converted to hex before it is written to the Low Bank Timer register Low Bank Timer Value T seconds x 8 000 OOOH 1 Where T the desired time period between trigger pulses in seconds Low Bank Timer Value can be a minimum of 63 decimal if only channels 0 to 7 are enabled for conversion If any channels in the upper bank channels 8 to 15 are also enabled then the minimum value is 127 decimal The maximum value is 16 777 214 decimal The maximum period of time which can be programmed to occur between simultaneous conversions is 16 777 214 1 8 000 000 2 097151875 seconds The minimum time interval which can be programmed to occur is 63 1 8 000 000 8 seconds This minimum of 8 seconds is defined by the minimum conversion time of the hardware given only channels 0 to 7 are enabled for conversions If any of channels 8 to 15 are enabled for conversion then the minimum time that the Low Bank Timer can be programmed is 127 decimal The minimum time of 16 seconds allows 8u seconds for channe
12. Auto Zero values corresponding to channels 0 to 3 to be stored in the memory buffer Execute Write of BFH to the Low Bank Timer register at Base Address OCH This sets the interval time between conversions to 24u seconds Execute Write of 18FH to the Memory Threshold register at Base Address 14H Since interrupts are 13 enabled in the control register interrupt request will be issued when 400 values of the Auto Zero calibration voltage have been stored in the memory buffer This corresponds to 100 values for each of the four channels enabled Execute Write of 0001H to the Start Convert Bit at Base Address 18H This starts the continuous mode of conversions Upon system interrupt Analog input is disabled as requested via bit 6 of the Control register Execute Write of 8000H to the Interrupt Register at Base Address 00H Interrupts are disabled and the Interrupt request is released Software must read the memory buffer and calculate a County value for each channel 0 to 3 by averaging the 100 values for each channel Determination of the Countsy Value 9 10 11 12 18 14 Execute Write of 01H to the Interrupt Register at Base Address 4 00H a Interrupts Enabled Execute Write of 004AH to the Control Register at Base Address 04H a Continuous Mode Enabled b Auto Span Calibration Voltage Selected Counts External Trigger Disabled d Analog Input is Disabled on Memor
13. accomplished in 200 nano seconds typically the reference voltage digit will not be available in the Reference Voltage Data Status register for approximately 2 5 milliseconds Bit 0 of the Reference Voltage Data Status register is the read complete status bit This bit will be set high to indicate that the requested reference voltage digit is available on data bits 15 to 8 of the Reference Voltage Data Status register This bit is cleared upon initiation of a new read access of the memory or upon issue of a hardware reset Writes to Reference Voltage memory require a special enable code and are normally only performed at the factory The board should be returned to Acromag if the reference voltage must be re measured and stored to memory A write operation to the memory initiated via the Reference Voltage Access register will take approximately 5 milliseconds Bit 1 of the Reference Voltage Data Status register serves as a write operation busy status indicator Bit 1 will be set high upon initiation of a write operation and will remain high until the requested write operation has completed New read or write accesses to the memory via the Reference Voltage Access 11 register should not be initiated unless the write busy status bit 1 is clear set low to 0 A hardware reset of the IP board will also clear this bit Read accesses to the Reference Voltage Data Status register are possible via 32 bit or 16 bit data transfers only A
14. boards APC products use the corresponding PMC Module software 5 0 SERVICE AND REPAIR SERVICE AND REPAIR ASSISTANCE The APC344 is shipped pre calibrated by Acromag and may be returned at the discretion of the customer to measure the accuracy of the calibration at some defined period Recalibration if required can be performed by the customer if the proper equipment is available to them and is otherwise offered through the Service Department at Acromag for a fee Surface Mounted Technology SMT boards are generally difficult to repair It is highly recommended that a non functioning board be returned to Acromag for repair The board can be easily damaged unless special SMT repair and service tools are used Further Acromag has automated test equipment that thoroughly checks the performance of each board When a board is first produced and when any repair is made it is tested placed in a burn in room at elevated temperature and retested before shipment Please refer to Acromag s Service Policy Bulletin or contact Acromag for complete details on how to obtain parts and repair PRELIMINARY SERVICE PROCEDURE Before beginning repair be sure that all of the procedures in Section 2 Preparation For Use have been followed Also refer to the documentation of your CPU board to verify that it is correctly configured Replacement of the board with one that is known to work correctly is a good technique to isolate a faulty board CAUTI
15. cable 50 wires SCSI 2 male connector at one end and a flat female ribbon connector at the other end The cable length is 2 meters 6 56 feet This shielded cable is recommended for all I O applications both digital I O and precision analog I O Application Used to connect Model 5025 552 termination panel to the APC341 Module Length Standard lenght is 2 meters 6 56 feet Consult factory for other lenghts It is recommended that this length be kept to a minimum to reduce noise and power loss Cable 50 conductors 28 AWG on 0 050 inch centers permits mass termination for IDC connectors foil braided shield inside a PVC jacket Connectors One End SCSI 2 50 pin male connector with backshell and spring latch hardware Other End IDC 50 pin female connector with strain relief Keying The SCSI 2 connector has a D Shell and the IDC connector has a polarizing key to prevent improper installation Schematic and Physical Attributes See Drawing 4501 758 Electrical Specifications 30 VAC per UL and CSA SCSI 2 connector spec s 1 Amp maximum at 50 energized SCSI 2 connector spec s Operating Temperature 20 C to 80 C Storage Temperature 40 C to 85 C Shipping Weight 1 0 pound 0 5Kg packed 19 TERMINATION PANEL MODEL 5025 552 Type Termination Panel For APC Module Boards Application To connect field I O signals to the APC Module Termination Panel Acromag Part 4001 040 Phoenix Contact Typ
16. channels 0 7 are converted immediately upon trigger and then channels 8 15 are converted after a user programmable delay from the start of the first eight channels An overall count value is also used to control when conversions will start again for the first eight channels Supports a maximum interval of 2 09 seconds Continuous Conversion Mode All channels selected for conversion are continually digitized with the interval between conversions controlled by the user programmed conversion timer registers Scanning is initiated by a software or external trigger Scanning is stopped by software control Single Cycle Conversion Mode All channels selected for conversion are digitized once with the time between channels 0 to 7 and 8 to 15 controlled by a programmable timer Single cycle conversion mode is initiated by a software or external trigger External Trigger Input or Output The external trigger is assigned to a field I O line This external trigger may be configured as an input output or disabled As an output this signal provides a means to synchronize other boards to a single APC341 timer reference As an input the signal will trigger the APC341 hardware to initiate data conversions Precision On Board Calibration Voltages Calibration autozero and autospan precision voltages are available to permit host computer correction of conversion errors The calibration voltages can be converted and then compared to the expect
17. represented as an ASCII character To initiate a read of the second memory location of the reference voltage value the Reference Voltage Access register must be written with data value 8100H at Base Address When bit 0 of the Calibration Coefficient Status register is set to logic high then the data on bits 15 to 8 of this register contains the decimal point digit of the reference voltage value This procedure must continue until the null ASCII character is read from memory The string can then be converted into a float by using your compiler s atof function 16 Since Countgy Counts 5VRefValue are known corrected input data values can now be determined Start Conversion Of Differential Input Channel Data 17 Execute Write of 01H to the Interrupt Register at Base Address 00H a Interrupts Enabled Execute Write of 0042H to Control Register at Base Address 04H a Continuous Mode Enabled Channel Differential Input Selected External Trigger Disabled Analog Input is Disabled on Memory Bank Switch b 9 Execute Write 0001H to the Start Convert Bit at Base Address 18H This starts the continuous mode of conversions Continuous simultaneous conversions of channels 0 to 3 are implemented and corresponding results are stored in the Memory buffer 20 Upon system interrupt the Memory buffer at Base Address 800H must be read The data read should be corrected per equation 1 of this section Prog
18. software or hardware reset will clear all bits to zero MODES OF CONVERSION The APC341 provides two methods of analog input operation for maximum flexibility with different applications The following sections describe the features of each method and how to best use them Single Conversion Mode In the Single Conversion mode conversions are initiated by a software or external trigger Upon the trigger channels 0 to 7 will be simultaneously converted Then after the time programmed into the High Bank Timer has been reached channels 8 to 15 will be converted All channels enabled in the Channel Enable Control register will be tagged with their channel number and stored to the memory buffer No additional conversions will be initiated unless a new software or external trigger is generated To select this mode of operation bits 1 and 0 of the Channel Control register must be set to digital code 01 Then issuing a software start convert or external trigger will initiate conversions The Low Bank Timer is not used in this mode of operation Also the High Bank Timer is not needed if channels 8 to 15 are disabled This mode of operation can be used to initiate conversions based on external triggers This can be used to synchronize multiple boards to a single board running in a continuous conversion mode The external trigger of a APC341 master must be programmed as an output The external trigger signal of that board must then be co
19. standard FCC PART 15 Subpart NOTE This equipment has been tested and found to comply with the limits for a Class B digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this installation does cause harmful interference to the radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient relocate the receiving antenna Increase the separation between the equipment and receiver Connect equipment an outlet on a circuit different from that to which the receiver is connected Consult dealer or experienced radio TV technician for help Warning This is a class A product In a domestic environment this product may cause radio interference in which the user may be required to take adequate measures to suppress Note 3 Reference Test Conditions Temperature 25 C 100K conversions second using a 1 meter shielded cable length connection to the field ana
20. valid The Transition Status bit will be set when valid data is available in the memory buffer The Transition Status bit is cleared upon the first read of the memory buffer and will not be set again until the memory buffers switch again based upon the Threshold register value PROGRAMMING CONSIDERATIONS The APC344 provides different methods of analog input acquisition to give the user maximum flexibility for their application Examples are presented in the following sections to illustrate programming the different modes of operation Single Conversion Mode Example This example will enable channels 0 3 and 8 through 15 for the single conversion mode of operation Conversions can be initiated via software or external trigger Channels 8 to 15 will be simultaneously converted 16u seconds after channels 0 and 3 1 Execute Write of 0011H to the Control Register at Base Address 04H a Single Conversion is enabled b External and Software generated triggers are enabled 2 Execute Write of FFO9H to the Channel Enable Control register at Base Address 08H This will enable channels 0 3 and 8 through 15 for conversion 3 Execute Write of 007FH to the High Bank Timer at Base Address 10H Channels 8 to 15 will be converted 16 seconds after channels 0 and 3 4 Execute Write of 0001H to the Start Convert Bit at Base Address 18H This starts the simultaneous conversion of channels and 0 Then 16 seconds later channels 8 t
21. 1 will issue an interrupt to the system when more than 430 samples are present in the Memory buffer 7 Execute Write of 0001H to the Start Convert Bit at Base Address 18H a This starts the simultaneous conversion of channels 0 to 7 Then after 23u seconds channels 8 through 13 are simultaneously converted The cycle repeats every 80u seconds USE OF CALIBRATION REFERENCE SIGNAL A Reference voltage signal for analog input calibration has been provided for use to improve the accuracy over the uncalibrated state The use of software calibration allows the elimination of hardware calibration potentiometers traditionally used in precision analog front ends Software calibration uses some fairly complex equations Acromag recommends purchase of our ActiveX QNX or VxWorks software to make communication with the board and calibration easy It relieves you from having to turn the equations in the following sections into debugged software calibration code Uncalibrated Performance The uncalibrated performance is affected by two primary error sources These are the Instrumentation Amplifier IN AMP and the Analog to Digital Converter ADC The untrimmed IN AMP and ADC have significant offset and gain errors see specifications in chapter 6 which reveal the need for software calibration Calibrated Performance Very accurate calibration of the APC341 can be accomplished by using the calibration reference voltage and auto zero anal
22. 50 conductor shielded cable with a male SCSI 2 connector at one end and a flat female ribbon connector at the other end The cable is used for connecting the APC341 board to Model 5025 552 termination panels Termination Panel Model 5025 552 DIN rail mountable panel provides 50 screw terminals for universal field I O termination Connects to Acromag APC341 via SCSI 2 to Flat Ribbon Cable Shielded Model 5028 187 APC341 ActiveX CONTROL SOFTWARE Acromag provides a software product sold separately consisting of APC341 ActiveX Object Linking and Embedding drivers for Windows 95 and newer compatible application programs Model PMCSW ATX This software provides individual drivers that allow Acromag APC341 boards to be easily integrated into Windows application programs such as Visual C Visual Basic Microsoft Office applications and others The ActiveX controls provide a high level interface to APC341 boards eliminating the need to perform low level reads writes of registers and the writing of interrupt handlers all the complicated details of programming are handled by the ActiveX controls These functions consist of an ActiveX control for each Acromag PMC board APC products use the corresponding PMC Module software SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus APC341 VxWORKS SOFTWARE Acromag provides a software product sold separately consisting of APC341 VxWorks library This software Mo
23. Acromag Series APC341 Simultaneous Sampling Analog Input Board PCI Bus USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 295 0310 Fax 248 624 9234 Copyright 2002 Acromag Inc Printed in the USA Data and specifications are subject to change without notice 8500 685 13C010 SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus The information contained in this manual is subject to change without notice Acromag Inc makes no warranty of any kind with regard to this material including but not limited to the implied warranties of merchantability and fitness for a particular purpose Further Acromag Inc assumes no responsibility for any errors that may appear in this manual and makes no commitment to update or keep current the information contained in this manual No part of this manual may be copied or reproduced in any form without the prior written consent of Acromag Inc Table of Contents 1 0 2 0 3 0 4 0 5 0 GENERAL KEY APC341 PCI BUS INTERFACE SIGNAL INTERFACE PRODUCTS APC341 ActiveX CONTROL SOFTWARE APC341 VXWORKS 2 APC341 QNX
24. E AND REPAIR ASSISTANCE PRELIMINARY SERVICE 16 6 0 5 17 PHYSICAL 17 2 2 2 2 4 0 0 0 17 ANALOG INPUT ce 18 PCI Bus 19 19 CABLE SCSI 2 to Flat Ribbon Shielded MODEL 5028 187 trente diee He 19 TERMINATION PANEL MODEL 5025 552 19 DRAWINGS Page 4501 926 APC341 MECHANICAL ASSEMBLY 20 4501 927 APC341 BLOCK 21 4501 928 APC341 ANALOG INPUT CONNECTION 22 4501 758 CABLE SCSI 2 to Flat Ribbon Shielded 23 IMPORTANT SAFETY CONSIDERATIONS It is very important for the user to consider the possible adverse effects of power wiring component sensor or software failures in designing any type of control or monitoring system This is especially important where economic property loss or human life is involved It is important that the user employ satisfactory overall system design It is agreed between the Buyer and Acromag that this is the Buyer s responsibility Trademarks are the property of their respective owners 1 0 GENERAL INFORMATION The Series APC341 14 bit analog input b
25. ON POWER MUST BE TURNED OFF BEFORE REMOVING OR INSERTING BOARDS 5 Applications Engineers can provide further technical assistance if required When needed complete repair services are also available from Acromag SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus 6 0 SPECIFICATIONS PHYSICAL Max Component Height Recommended Card mee Connectors P1 PCI P2 Field Power Requirements 5v 5 412V Typical 5 12V 5 Note Short PCI 5 Volt Board 4 200 inches 106 68 mm 6 600 inches 167 64 mm 0 062 inches 1 59 mm 0 570 inches 14 48 mm 0 800 inches 20 32 mm PCI Specification Version 2 2 5 card finger edge spacing 50 pin SCSI 2 female receptacle header AMP 787082 5 or equivalent APC341 265 mA 320 mA 0 0 0 0 1 Circuit board is selectively coated with fungus resistant acrylic conformal coating 2 Maximum rise time of 100m seconds 3 The 4 12 volt power supplies on the PCI bus interface connector are not used This board uses a DC DC converter which uses the 5V supply from the PCI bus interface connector and generates 15 volt supplies for the board ENVIRONMENTAL Operating Temperature Relative Storage Temperature Non Isolated
26. Read Data Status register The Counts Countgy reference voltages should not be determined immediately after startup but after the board has reached a stable temperature about 20 minutes and updated periodically e g once an hour or more often if ambient temperatures change to obtain the best accuracy Note that several readings e g 100 of the reference voltages should be taken via the ADC and averaged to reduce the measurement uncertainty since these points are critical to the overall system accuracy Calibration Programming Example Assume that channels 0 through 3 are enabled and corrected input channel data is desired The calibration parameters Counts and Countgy need to be determined for channels 0 through 3 before the analog field signals can be corrected Note that channel 0 and 8 share the same INAMP and ADC and thus share the same 5 Countoy values This is also true for channels 1 and 9 2 and 10 etc Determination of the Countgy Value 1 Execute Write of 01H to the Interrupt Register at Base Address 4 00H a Interrupts Enabled Execute Write of 0046H to the Control Register at Base Address 04H a Continuous Mode Enabled b Auto Zero Calibration Voltage Selected Countgy External Trigger Disabled d Analog Input is Disabled on Memory Bank Switch Execute Write of to the Channel Enable Control Register at Base Address 08H This will permit the
27. Register which must be read to determine the base AD 08 0 address assigned to the APC341 and the interrupt request line AD 07 that goes active on an APC341 interrupt request s used to indicate an active low signal SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus Table 3 1 Configuration Registers Device ID 4D4D a D7 DO Vendor ID 16D5 Command Rev ID 00 Cache 32 bit Memory Base Address for APC341 4K Byte Block Not Used Subsystem 10 0000 Not Used Reserved MEMORY MAP Class Code 118000 BIST 5 10 Subsystem Vendor 10 0000 Inter Line This board is allocated a 4K byte block of memory that is addressable in the PCI bus memory space to control the acquisition of analog inputs from the field As such three types of information are stored in the memory space control status and data The memory space address map for the APC344 is shown in Table 3 2 Note that the base address for the APC341 in memory space must be added to the addresses shown to properly access the APC341 registers Register accesses as 32 16 and 8 bit in memory space are permitted Table 3 2 APC341 Memory Map m WoW Addr DOO Addr IBS d _ ue ID Control Low Bank Timer ee Register Lp aun Du Bits 31 to 01 Bit 0 Low Le Access Register 1C BINE PN Data amp Status Write Enable Code 29 1 NotUsed 1298
28. ULTANEOUS ANALOG INPUT BOARD PCI Bus TABLE 2 2 PCI Bus P1 CONNECTIONS BOLD ITALIC Logic Lines are NOT USED by this board Pm Pin sina Bracket Er TRST T 3 0 PROGRAMMING INFORMATION This Section provides the specific information necessary to Ground 03 TMS program and operate the APC341 board This Acromag APC344 board complies with PCI Specification NTC Version 2 2 It is a PCI bus slave board INTB BOT A07 INTC INTD The PCI bus is defined to address three distinct address PRSNT1 spaces I O memory and configuration space The APC341 board can be accessed via the PCI bus memory space and PRSNT2 configuration spaces only The PCI card s configuration registers are initialized by system software at power up to configure the card The PClis a RST Plug and Play card As a Plug and Play card the board s base address and system interrupt request line are not selected via GNT jumpers but are assigned by system software upon power up via REQ B18 A18 Ground the configuration registers A PCI bus configuration access is used to access a PCI card s configuration registers ADISI AD SO I GUAE 91997 PCI Configuration Address Space AD 28 Wh is fi en the computer is first powered up the computer s AD 27 AD 26 system configuration software scans the PCI bus to determine AD 25 what PCI devices are present The software also determines the npea configuration requirements of the PCI ca
29. accuracy of the analog input voltage over the uncalibrated state The reference voltage is precisely measured at the factory and then stored to this location at the addresses given in table 3 6 The Reference Voltage Access Register is a write only register and is used to configure and initiate a read cycle to the Reference Voltage memory Setting bit 15 of this register high to 1 initiates a read cycle The address of the Reference Voltage to be read must be specified on bits 14 to 8 of the Reference Voltage Access register Most Significant Byte of Reference Voltage Access Reg Read or Write 14 13 12 11 10 9 8 The reference voltage is stored in memory as a null terminated ASCII character string For example if the value 4 99835 were stored to memory the corresponding ASCII characters would be 34 2E 39 39 38 33 35 00 as shown in Table 3 6 Note the ASCII equivalent of a decimal point is 2E and the null character is 00 The memory should be read starting at address 00 until the null ASCII character is read This string can then be converted into a float by using your compiler s ATOF function SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus Table 3 6 Reference Voltage Address Memory Map oo o os 04 05 o 07 8 3 5 ASCII Characters As Stored In Memory 34 2E 39 38 33 35 00 The address corresponding to eac
30. as been configured the control logic performs the following e Controls Multiplexers for selection of channel data e Controls serial transfer of data from the eight ADC s to the FPGA memory buffer Controls conversion rate as user programmed Provides memory buffer switch control Provides external or internal trigger control Controls read and write access to the reference voltage value stored in memory e Controls interrupt requests to the CPU and responds to interrupt select cycles MULTIPLEXER CONTROL CIRCUITRY Analog channels are multiplexed into the ADC s The multiplexers allows the programmable selection of analog channel data or the auto span and auto zero calibration voltages When selected for differential analog input of channel data channels 0 to 7 are automatically selected for simultaneous conversion first Channels 0 to 7 are converted upon an external trigger or software start convert Then 1 251 seconds after channels 0 to 7 are converted the multiplexers swith to channels 8 to 15 for input to the ADC s This provides a setup time for channels 8 to 15 of the High Bank time minus 1 25u seconds DATA TRANSFER FROM ADC TO FPGA A 16 bit serial shift register is implemented in the board s FPGA for each of the eight channels Internal FPGA counters are used to synchronize the transfer of digitized data from the A D converters to the memory buffer Only the channels enabled for conversion are stored in memory and
31. ce voltage memory The reference voltage memory EEPROM contains an ASCII null terminated string that represents the exact voltage of the on board reference circuit as measured and stored at the factory APC Software Acromag also provides a software product sold separately consisting of APC341 ActiveX Object Linking and Embedding drivers for Windows 956 and newer compatible application programs Model PMCSW ATX This software provides individual drivers that allow Acromag APC341 boards to be easily integrated into Windows application programs such as Visual C Visual Basic Microsoft Office applications and others The ActiveX controls provide a high level interface to APC341 boards eliminating the need to perform low level 16 reads writes of registers and the writing of interrupt handlers all the complicated details of programming are handled by the ActiveX controls These functions consist of an ActiveX control for each Acromag PMC board APC products use the corresponding PMC Module software In addition Acromag provides a software product sold separately consisting of APC341 VxWorks library or QNX library This software Model PMCSW API VXW or Model PCISW API QNX is composed of VxWorks or QNX real time operating system libraries for all Acromag PMC boards The software is implemented as a library of C functions which link with existing user code to make possible simple control of all Acromag PMC
32. chronize the conversion of multiple boards A single master APC341 must be selected for External Trigger output and Continuous Conversion mode while all other boards are selected for External Trigger input and Single Conversion mode The external trigger signals pin 49 of the field I O must be wired together for all synchronized boards Also the High Bank Timer must be programmed with the same value on all synchronized boards The External Trigger input can be sensitive to external EMI noise which can cause erroneous external triggers If External Trigger input or output is not required the External Trigger should be configured as Disabled 6 0 Enable Continued Analog Input Read 1 Disable Conversions on Memory Bank Switch Write Bit If the system cannot read all valid data values available in the memory buffer before the rate of new input data acquisition causes the buffers to switch then the automatic disabling of analog input acquisition upon memory bank switching can be selected via this control register bit If this bit is set to 1 analog input conversions will be disabled upon FUNCTION a memory bank switch Also bits 0 and 1 of this register will be set to 00 to reflect the disabled analog input mode 8 Transition Status Bit 1 Valid Data in Memory 0 Waiting for New Valid Data in Memory This transition status bit can be polled to insure the Memory buffer data is valid The transition status bit will be set w
33. ctions oU gs a Disable the interrupting APC341 by writing to bit 0 of the Interrupt Register to disable interrupts on the 41 b Service the interrupt reading converted data resident in the Memory buffer of the APC341 C Clear the interrupt request by writing a 1 to bit 15 of the Interrupt register d Enable the APC341 for interrupts by writing 1 to bit 0 of the Interrupt register 8 Write End Of Interrupt command to systems interrupt controller 9 If the APC341 s interrupt stimulus has been removed the interrupt cycle is completed and the board holds the INTA inactive 4 0 THEORY OF OPERATION This section contains information regarding the hardware of the APC341 A description of the basic functionality of the circuitry used on the board is also provided Refer to the Block Diagram shown in Drawing 4501 927 as you review this material FIELD ANALOG INPUTS The field interface to the board is provided through front panel connector refer to Table 2 1 Field I O signals are NON ISOLATED This means that the field return and logic common have a direct electrical connection to each other As such care must be taken to avoid ground loops see Section 2 for connection recommendations Ignoring ground loops may cause operational errors and with extreme abuse possible circuit damage Refer to Drawing 4501 928 for example wiring and grounding connections Analog inputs and calibratio
34. del PMCSW API VXW is composed of VxWorks real time operating system libraries for all Acromag PMC boards The software is implemented as a library of functions which link with existing user code to make possible simple control of all Acromag PMC boards APC products use the corresponding PMC Module software APC341 QNX SOFTWARE Acromag provides a software product sold separately consisting of APC341 QNX library This software Model PCISW API QNX is composed of QNX real time operating system libraries for all Acromag PMC boards The software is implemented as a library of functions which link with existing user code to make possible simple control of all Acromag PMC boards APC products use the corresponding PMC Module software 2 0 PREPARATION FOR USE UNPACKING AND INSPECTION Upon receipt of this product Inspect the shipping carton for evidence of mishandling during transit If the shipping carton is badly damaged or water stained request that the carrier s agent be present when the carton is opened If the carrier s agent is absent when the carton is opened and the contents of the carton are damaged keep the carton and packing material for the agent s inspection For repairs to a product damaged in shipment refer to the Acromag Service Policy to obtain return instructions It is suggested that salvageable shipping cartons and packing material be saved for future use in the event the product must b
35. disconnect The APC341 logic also implements interrupt requests via interrupt line INTA All register accesses to the APC341 require 8 PCI clock cycles with the exception of burst read operations which will be implemented in three PCI clock cycles BURST READ OF APC341 MEMORY Burst read of APC341 memory buffer will allow a 40Mbyte per second data read rate With every three PCI clock cycles a new data sample is read from the memory buffer The APC341 will automatically stop the burst operation upon reaching the end of the Memory buffer Note that burst mode read operations can only be used on hardware that is prefetchable The APC341 is prefetchable since it makes use of RAM not FIFO memory to retrieve sample data Prefetchable hardware requires read operations that do not 15 destroy the data In burst read operations it is possible for the system to read more data from a PClbus board than is actually delivered to its destination When this happens given a FIFO implementation the data would be forever destroyed lost However with the APC341 RAM implementation the undelivered data could be read again Reading of Memory buffer can start at any address location allowing access to any of the 512 available samples CONVERSION CONTROL LOGIC All logic to control data conversions is imbedded in the APC board s FPGA The control logic of the board is responsible for controlling the programmed mode of operation Once the APC board h
36. e external trigger is enabled as an input via bits 4 and 5 of the control register the falling edge of the external trigger will initiate simultaneous conversions for channels 0 to 7 Once the external trigger signal has been driven low it should remain low for a minimum of 250n seconds for proper external trigger operation The external trigger input signals must be TTL compatible The APC341 uses a diode clamping circuit to protect the board from external trigger signals that violate the 5 volt logic TTL requirement As an output an active low TTL signal is driven from the APC board The trigger pulse generated is low for 500n seconds typical See section 3 0 for programming details to make use of this signal INTERRUPT CONTROL LOGIC The APC341 can be configured to generate an interrupt using a programmable Memory Threshold level When the memory buffer has more samples than set in the Memory Threshold register the APC interrupt signal INTA is driven active to the CPU to request an interrupt Bit 1 of the Interrupt register at Base Address 0H can be read to identify a pending interrupt The interrupt release mechanism employed is release on register access The APC341 will release the interrupt request when bit 15 of the Interrupt register at Base Address 0H is set to a logic 1 REFERENCE VOLTAGE MEMORY CONTROL LOGIC The FPGA of the APC341 board contains control logic that implements read and write access to referen
37. e FLKM 50 The 5025 552 termination panel facilitates the connection of up to 50 field I O signals and connects to the APC Module connectors only via a flat ribbon cable Model 5025 551 x Field signals are accessed via screw terminal strips The terminal strip markings on the termination panel 1 50 correspond to field I O pins 1 50 on the APC board Each APC board has its own unique pin assignments Refer to the APC board manual for correct wiring connections to the termination panel Schematic and Physical Attributes See Drawing 4501 464 Field Wiring 50 position terminal blocks with screw clamps Wire range 12 to 26 AWG Mounting Termination panel is snapped on the DIN mounting rail Printed Circuit Board Military grade FR 4 epoxy glass circuit board 0 063 inches thick Operating Temperature 40 C to 100 Storage Temperature 40 C to 100 C Shipping Weight 1 25 pounds 0 6kg packaged SIMULTANEOUS ANALOG INPUT BOARD PCI Bus SERIES APC341 9 6 LOGY MIGWASSV IVOINVHOdNW Lve 2dv ra 009 9 09 0 040 48097 6470 0 0 RM jOVdHdlNIOIDOllOd Id 0007 AO VAYSALNI 9 20 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus SERIES APC341 vLC6 LOSY 32018 Lv O9dV Od V NOWNOO 25 snag IOHLNO snassauaav gt gt snaviva Id
38. e shipped This board is physically protected with packing material and electrically protected with an anti static bag during shipment However it is recommended that the board be visually inspected for evidence of mishandling prior to applying power CAUTION SENSITIVE ELECTRONIC DEVICES 00 NOT SHIP OR STORE NEAR STRONG ELECTROSTATIC ELECTROMAGNETIC MAGNETIC OR RADIOACTIVE FIELDS The board utilizes static sensitive components and should only be handled at a static safe workstation CARD CAGE CONSIDERATIONS Refer to the specifications for loading and power requirements Be sure that the system power supplies are able to accommodate the power requirements of the APC341 board within the voltage tolerances specified IMPORTANT Adequate air circulation must be provided to prevent a temperature rise above the maximum operating temperature Adequate air circulation must be provided to prevent a temperature rise above the maximum operating temperature and to prolong the life of the electronics If the installation is in an industrial environment and the board is exposed to environmental air careful consideration should be given to air filtering BOARD CONFIGURATION Power should be removed from the APC341 board when installing cables termination panels and field wiring Refer to Mechanical Assembly Drawing 4501 925 and the following discussion for configuration and assembly instructions Software Configurat
39. ecise time intervals between conversions The Low Bank Timer register is a 24 bit register value that controls the interval time between conversions of all enabled channels The Low Bank Timer is used to control the frequency at which the conversion cycle is repeated for all enabled channels For example upon software or external trigger channels 0 to 7 are simultaneously converted The time programmed into the High Bank Timer Register then determines when channels 8 to 15 are simultaneously converted The cycle repeats when the time programmed into Low Bank Timer has lapsed At this time channels 0 to 7 will again be simultaneously converted Thus the Low Bank Timer value must always be greater then the High SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus Bank Timer value by at least 8u seconds If Continuous Conversions are selected via the Control register then conversions will continue until disabled See figure 1 for an illustration of the sequence of conversions described in this paragraph The conversion cycle repeats gt CHO 7 P CH8 15 CHO 7 22 10 ti t2 pa Min time 8us Min time 8us t1 ET High Bank Low Bank Timer Value Timer Value external trigger Where High Bank Timer Value must be 8u seconds Low Bank Timer Value must be gt t1 8u seconds Figure1 Time line of channel bank conversions The 24 bit Low Bank Timer value divides an 8 MHz clock signal
40. ed value stored in on board memory Calibration voltages include OV local analog ground and a precision 5 volt reference e Fault Protected Input Channels Analog input overvoltage protection to 25V with power on and 40V with power off PCI BUS INTERFACE FEATURES Slave Module All read and write accesses are implemented as either a 32 bit 16 bit or 8 bit single data transfer e Immediate Disconnect on Read The PCI bus will immediately disconnect after a read The read data is then stored in a read FIFO Data in the read FIFO is then accessed by the PCI bus when the read cycle is retried This allows the PCI bus to be free for other system operations while the read data is moved to the read FIFO interrupt Support PCI bus INTA interrupt request is supported All board interrupts are mapped to INTA The APC341 board software programmable registers are utilized as interrupt request control and status monitors SIGNAL INTERFACE PRODUCTS See Appendix for more information on compatible products The APC341 field I O is accessed from SCSI 2 50 pin front panel connector This board only supports front I O access The cables and termination panels described in the following paragraphs are also available For optimum performance with the APC341 analog input board use of the shortest possible length of shielded input cable is recommended Cables Model 5025 187 SCSI 2 to Flat Ribbon Cable Shielded A round
41. f 39VdH3LNI 31901 LbEOdW Od W 21901 AdflHH3 LNI NOIS H3ANOO HJANOO AS 93151999 599151999 TANNVHO S3 IdNVS ZLS 8 0515 881 dHANOO HYiivavd OL WI 985 53139 21411 31901 9 N LAdLNO HO LNdNI H399IH L IVNH3LLX3 QVAS SS Qd SLHO ZHO H S viva 8HO80HO H S LAdNI NOISI O3 Ld 39V4WU3 LNI STANNVHO LAdNI SOW NV 1 N 1 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus SERIES APC341 440 Le Odv 2d9 V v8co 10Sv INVSOVIO NOLLOJNNOO 1fldNI SOVLIOA WILNSY dOO1 OL NOAWOO 9OTVNV OL GSLOSNNOO 38 10N LSfIW 3ON3HzH3H GNNOYD V ONIAVH AQvaulv STqNNVHO 3SIMH3HLO NONNOO 9OTVNV OL STINNVHO 30N3HzH3H 2 59001 GNNOYD LNOHLIM 9NIGT3IHS 3GIAOHd OL AINO AN3 3NOLV 3ON3H3H3H OL Q3LO3NNOO SI GT3IHS ASIONLSAMOT Q3GON3AINOO3H SI 318V9 Q3GT3IHS E
42. h of the reference voltage digits is given in hex The most significant digit is stored at address 00 hex For additional details on the use of the reference voltage refer to the Data Correction section Write accesses to the Reference Voltage Access register are possible via 32 bit or 16 bit data transfers only Storing the reference voltage value to memory is normally only performed at the factory A software or hardware reset has no affect on this register Reference Voltage Read Data Status Register Read 20H The Reference Voltage Read Data Status register is a read only register and is used to access the read data and determine the status of a read cycle initiated by the Reference Voltage Access register In addition this register is used to determine the status of a write cycle to the memory When bit 1 of this register is set it indicates the memory is busy completing a write cycle All read accesses to this Data Status register initiate an approximately 1millisecond access to the memory Thus you must wait 1 millisecond after reading this Data Status register before a new read or write cycle to the memory can be initiated an EEPROM latency limitation A read request initiated through the Reference Voltage Access register will provide the addressed digit of the reference voltage on data bits 15 to 8 of the Reference Voltage Data Status register Although the read request via the Reference Voltage Access register is
43. hannels While the digitized values are read the inputs are in the acquire mode Digital noise generated by reading the newly digitized values will not be present when the ADC transitions into the hold mode since the analog signals are allowed to settle for an interval after the digitized values are read This pipelined mode of operation facilitates a maximum system throughput with minimum system noise The board contains two precision voltage references and ground autozero reference for use in calibration A 2 5 volt reference is used by the ADC A 5 volt reference is used to provide accurate auto span voltage for offset and gain correction of the ADC and INAMP LOGIC POWER INTERFACE The logic interface to the board is made through and one P1 PCI connector refer to Table 2 2 This connector also provides 5V and 12V power to the board Note that the signals in bold italic are not used A Field Programmable Gate Array FPGA installed on the APC Module provides an interface to the board per PCI Local Bus Specification 2 2 The interface to the CPU board allows complete control of all APC341 functions PCI INTERFACE LOGIC The PCI bus interface logic is imbedded within the FPGA This logic includes support for PCI commands including configuration read write and memory read write In addition the PCI target interface performs parity error detection uses a single 4K base address register and implements target abort retry and
44. hen the memory buffer switches causing new valid data to be available in the read memory buffer The transition status bit is cleared upon the first read of the memory buffer and will not be set again until new valid data is available 15 0 Software Reset Inactive Write 1 Software Reset Issued Reset signal is held Only Bit active for 300ns Notes Table 3 4 1 All bits labeled Not Used will return logic 0 when read Read Only Bit The software reset will clear this control register the channel enable register counters and the Memory Threshold register Channel Enable Control Register Read Write 08H The Channel Enable Control register bits 15 to 0 is used to select the channels desired for conversion Only those channels enabled are stored into the data Memory buffer When the channel s corresponding bit is set high per the table below the channel s converted data is tagged and stored into the Memory buffer For example to enable channels 15 11 and 7 through 0 the Channel Enable register must be set as 88FF hex Reading or writing to this register is possible via 32 bit 16 bit or 8 bit data transfers This register s contents are cleared upon reset Channel Enable Control Register MSB LSB 15 14 13 12 11 10 09 Ch08 LSB MSB 07 06 05 04 01 0 Low Bank Timer Register Read Write Timed periodic triggering can be used to achieve pr
45. hile bits 19 to 16 represent the channel tag Care should be taken when reading data from the memory buffer To insure the memory buffer data is valid the Transition Status bit bit 8 of the Control Register can be polled The Transition Status bit will be set when valid data is available in the memory buffer The Transition Status bit is cleared upon the first 10 read of the memory buffer and will not be set again until the memory buffers switch based upon the Threshold register value Alternatively an interrupt upon threshold met condition can be used to start reading of valid data Reading of the Memory is possible via 32 bit 16 bit or 8 bit data transfers Analog Input and Corresponding Digital Codes The data coding is in binary two s compliment The digital code corresponding to each of the given ideal analog input values is given in binary two s complement format in Table 3 5 Note that the 14 bit data values are left justified within the 16 bit word For the APC341 the least significant 2 bits will be returned as zero when read Table 3 5 Digital Output Codes and Input Voltages DESCRIPTION ANALOG INPUT Model APC341 14 bit Least Significant Minus One LSB Volts hex Midscale hex Minus Full Scale 10V Reference Voltage Access Register Write 1CH This register is used to initiate a read of the reference voltage value The reference voltage value is provided so that software can adjust and improve the
46. ion Software configurable control registers are provided for control of external trigger mode conversion mode timer control channel enable and interrupt mode selection No hardware jumpers are required for control of these functions These control registers must also be configured as needed for the application before starting analog input conversions Refer to section 3 for programming details CONNECTORS Connectors of the APC341 board consist of one 50 pin front panel SCSI 2 field I O connector and P1 PCI local bus connector These interface connectors are discussed in the following sections Front Panel Field I O Connector The front panel connector provides the field I O interface connections The front panel connector is a SCSI 2 50 pin female connector AMP 787082 5 or equivalent employing latch blocks and 30 micron gold in the mating area per MIL G 45204 Type Il Grade C Connects to Acromag termination panel 5025 552 from the front panel via round shielded cable Model 5028 187 Front panel connector pin assignments are shown in Table 2 1 When reading Table 2 1 note that channel designations are abbreviated to save space For example channel 0 is abbreviated as amp CHOO for the amp connections respectively SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus Table 2 1 APC341 Field I O Pin Connections Pin Description Number Pin Description Number COMMON
47. led As an input the external trigger must be a 5 Volt logic TTL compatible debounced signal referenced to analog common The external trigger signal is an active low edge sensitive signal That is the external trigger signal will trigger the APC341 hardware on the falling edge Once the external trigger signal has been driven low it should remain low for a minimum of 500 nano seconds As an output an active low TTL signal can be driven to additional APC341s thus providing a means to synchronize the conversions of multiple APC341s The additional 415 must program their external trigger for signal input and convert on external trigger only mode See section 3 0 for programming details to make use of this signal The external trigger signal can also be disabled This prevents external noise from falsely triggering the board See section 3 0 for programming details to make use of this signal PCI Bus Connections for P1 Table 2 3 indicates the pin assignments for the PCI bus signals at the card edge connector Connector pins are designated by a letter and a number The letter indicates which side of a particular connector the pin contact is on B is on the component side of the board while A is on the solder side Connector gold finger numbers increase with distance from the bracket end of the printed circuit board Refer to the PCI bus specification for additional information on the PCI bus signals SERIES APC341 SIM
48. log input channels 0 7 SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus Reliability Prediction 5 Volt Calibration Reference Voltage Mean Time Between Failure MTBF TBD hours not available at time of printing 25 Using MIL HDBK 217F Notice 2 Temperature Drift 2ppm C Typical 5 Max Maximum Overall Calibrated Error 25 C APC341 Max Total Error ANALOG INPUTS 2 4 LSB 0 014 Span Input Channels Field Access Two Banks of Eight Channels Channels 0 7 and 8 15 The Channels of Each Bank are Simultaneously Converted Analog Input Memory Buffer 512 Sample Memory Input Signal Voltage Non isolated Input Bipolar 10 to 10 Volts Input Overvoltage Protection 25 Volts Power On 40 Volts Power Off Binary two s complement format left justified within the 16 bit word Impedance Frequency Operation ka The maximum corrected i e calibrated error is the worst case accuracy It is the sum of error components due to ADC quantization of the low and high calibration signals instrumentation amplifier and ADC linearity error at 25 C For critical applications multiple input samples should be averaged to improve performance Data Note 6 Software calibration must be performed in order to achieve the specified accuracy Follow the output connection recom
49. ls 0 to 7 and 8u seconds for channels 8 to 15 The 8u seconds maximum sample rate corresponds to maximum sample frequency of 125KHz The maximum analog input frequency should be band limited to one half the sample frequency An anti aliasing filter should be added to remove unwanted signals above 1 2 the sample frequency in the input signal for critical applications Reading or writing the Low Bank Timer register is possible with 32 bit 16 bit or 8 bit data transfers This register s contents are cleared upon reset High Bank Timer Register Read Write 10H The High Bank Timer register is a 24 bit register that controls when the upper bank of channels 8 to 15 are converted The High Bank Timer is used to control the delay after channels 0 to 7 are converted until channels 8 to 15 are simultaneously converted For example upon software or external trigger channels 0 to 7 are simultaneously converted Then the time programmed into this counter determines when channels 8 to 15 will be simultaneously converted See figure 1 for an illustration of this sequence of events If a channel within the 8 to 15 bank is enabled in the Channel Enable Control register then the High Bank Timer register must be programmed with a delay If this register is left as zero erroneous operation will result The 24 bit High Bank Timer value is divided by an 8 MHz clock signal The output of this Timer is used to precisely generate periodic trigger pulse
50. mendations of Chapter 2 to keep non ideal grounds from degrading overall system accuracy Input Noise APC341 1 LSB rms Typical Note 7 Reference Test Conditions Temperature 25 C 125K conversions second using test PC with a 2 meter cable length connection to the field analog input signal Note 4 Alow source impedance is required at the maximum operating frequency when channels 0 to 7 and 8 to 15 are in use This is due to the leakage current experienced when the input multiplexer switches between the lower bank channels 0 to 7 and the high bank channels 8 to 15 ADC Spec s Conversion 125KHz Input Voltage 10 Volts Data Format Binary 2 s Complement APC341 PD Analog Devices AD7894 ADC Resolution 14 Bits No Missing 14 Bits Differential Nonlinearity 1 to 41 5 LSB Maximum Gain 6 LSB Maximum Bipolar Zero 8 LSB Maximum Instrumentation Amplifier Burr Brown INA128 Nonlinearity 0 001 of FSR Maximum Offset Voltage 550p Volt Maximum Gain 0 024 Maximum Settling 7 seconds Typical to 0 01 Note 5 Software calibration minimizes these error components
51. n voltages are selected via analog multiplexers APC341board control logic drives the select signals of the multiplexer as required per the programming of the control register Up to 16 differential inputs can be monitored The multiplexer stage directs one of two groups of eight channels for simultaneous conversion Channels 0 to 7 are simultaneously selected and converted by eight individual ADC s and channels 8 to 15 are also simultaneously converted The output of the multiplexer stage feeds an instrumentation amplifier INAMP stage The INAMP has a fixed gain of one The INAMPs high input impedance allows measurement of analog input signals without loading the source The INAMP SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus takes in the channel s and inputs and outputs a single ended voltage proportional to it The output of the INAMP feeds an Analog to Digital Converter ADC The ADC is a state of the art 14 bit APC341 successive approximation converter with a built in sample and hold circuit The sample and hold circuit goes into the hold mode when a conversion is initiated This maintains the selected channel s voltage constant until the ADC has accurately digitized the input Then it returns to sample mode to acquire the next analog input signal Once a conversion has been completed control logic on the board automatically and simultaneously serially reads the digitized values corresponding to the eight c
52. nnected to the external trigger signal of all other boards that are to be synchronized These other boards must be programmed for Single Conversion mode and external trigger input Also the High Bank Timer must be programmed with the same value on all synchronized boards Data conversion can then be initiated via the Start Convert bit of the master board configured for continuous conversion mode Continuous Conversion Mode In the Continuous Conversion mode the hardware controls the continuous conversions of all enabled channels All channels 0 to 15 are converted at the rate specified by the Low Bank Timer Channels 8 to 15 are converted after channels 0 to 7 The time programmed into the High Bank Timer specifies how long after channels 0 to 7 are converted before channels 8 to 15 are converted To initiate this mode bits 1 and 0 of the Channel Control register must be set to digital code 10 Then issuing a software start convert or external trigger will initiate the continuous conversions of all enabled channels The interrupt capability of the board can be employed as a means to indicate to the system that up to 512 samples depending on the threshold selected via the Threshold register are available to be read SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus Alternatively a polling method could be used The Transition Status bit bit 8 of the Control Register can be polled to insure the memory buffer data is
53. ntegral sample and hold are utilized 8 5 Conversion Time A maximum conversion rate of 125KHz is supported Two 512 Sample Memory Buffers Two 512 sample deep memory buffers are available to reduce CPU interactions While new digitized data is written to one memory buffer data can be read from the other at burst data rates This allows the external processor to service more tasks within a given time Data tagging is also implemented for easy channel data identification e Memory Buffers Switch Condition When the number of new data samples exceed a programmable threshold value the input buffer switches to the data read buffer which allows reading of the new data The old read buffer will simultaneously switch from the data read to the data input buffer interrupt Upon Reaching a Memory Threshold Condition An interrupt be generated when the number of new data samples reaches a programmable threshold condition This feature can be used to minimize CPU interaction Programmable Control of Channels Converted Up to 16 differential analog inputs are monitored Channels 0 to 7 are simultaneously converted followed by the simultaneous conversion of channels 8 to 15 Channels may be individually enabled disabled for simultaneous conversion e User Programmable Conversion Timer A programmable conversion timer is available to control the time between simultaneous conversion of new banks of channel data For example
54. o 15 are simultaneously converted Continuous Conversion Mode with Interrupt Example This example will enable channels 0 through 13 for the continuous conversion mode of operation Interrupts are enabled and an interrupt threshold of 430 samples is programmed The Low Bank Timer will be set for an 80u second interval The High Bank Timer is set to activate the simultaneous conversion of channels 8 through 13 at 23u seconds after channels 0 to 7 Conversions can be initiated via software or external trigger 1 Enable interrupts for the APC board by writing a 1 to bit 1 of the Interrupt Register at Base Address 00H 2 Execute Write of 0012H to the Control Register at Base Address 04H a Continuous Conversion mode is selected b External and Software generated triggers are enabled 3 Execute Write of 3FFFH to the Channel Enable Control register at Base Address 08H This will enable channels 0 through 13 for conversion 4 Execute Write of 027FH to the Low Bank Timer Register at Base Address OCH 12 This sets the Conversion Timer to 639 decimal as needed for an 80u second interval a 5 Execute Write of 00B7H to the High Bank Timer Register at Base Address 10H This sets the High Bank Timer to 183 decimal as needed for a 23u seconds delay after channels 0 through 7 Note 183 1 8 000 000 23 seconds 6 Execute Write of 1AEH to the Memory Threshold register at Base Address 14H a The APC34
55. oard is a precision short size PCI board with simultaneous sampling of analog input signals Sixteen differential analog input channels are provided with an input range of 10 volts The 16 differential analog voltage input channels are converted as two banks of eight channels After the first bank of eight channels are simultaneously converted the second bank of 8 channels can then be simultaneously converted at the time specified in a user programmable delay counter All 16 channels share two generous 512 sample memory buffers from which digitized values are read Since all channels share the same memory buffer data tagging is implemented for easy identification of corresponding channel data To minimize CPU interaction interrupt generation is also supported upon reaching a programmable memory full threshold condition The APC341 utilizes state of the art Surface Mounted Technology SMT to achieve its wide functionality and is an ideal choice for a wide range of industrial and scientific applications that require high performance analog inputs SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus The APC341 boards are available in standard or extended temperature range as follows Resolution 512 Sample Temperature Momery Buffer Range APC341 0 to 70 C APC341E 40 to 85 C KEY APC341 FEATURES 14 Bit ADC Resolution Eight individual 14 bit successive approximation Analog to Digital Converters ADC with i
56. og ground reference present on the board The five volt and the analog ground references are used to determine two points of a straight line which defines the analog input characteristic The exact value of the five volt reference is stored in on board memory to provide the most accurate calibration The APC341 has eight separate ADC circuits As such each of the first eight channels will have their own unique offset and gain errors Note channels 8 through 15 share the gain and offset values of channels 0 through 7 The five volt reference Auto Span Calibration Voltage and the ground reference Auto Zero voltage will need to be selected and converted through each of the eight channels to determine the corrected value as given in equation 1 SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus Equation 1 following is used to correct the actual ADC data i e the uncorrected bit count read from the ADC making use of the stored reference voltage 5VRefValue CorrectValue m Count 1 OV Count Count 5V OV Where Countsy Actual ADC Data Read With 5 Volt Calibration Voltage Applied Countgy Actual ADC Data Read With Auto Zero Calibration Voltage Applied CountRead Uncorrected ADC Data Read For Channel Undergoing Correction The 5VRefValue represents the five volt reference value as it is read from stored memory via the Reference Voltage Access register and the Reference Voltage
57. onversions by setting data bit 0 to a logic one This method of starting conversions is most useful for its simplicity and for when precise time of conversion is not critical Typically software triggering is used for initiating the first conversion The APC341 control and timer register bits must first be configured before the Start Convert bit is set This register can be written via 32 bit 16 bit or 8 bit data transfer Data bit 0 must be a logic one to initiate data conversions Start Convert Register Not Used Start Convert 3 e 0 00 Memory Buffer Read Only 800H to FFCH In order to support burst data acquisition of digitized converted data two 512 sample memory buffers are used While one buffer functions to acquire new data input from the converters the other functions as a read buffer Data can be read at burst rates via the PCI bus to obtain new digitized data The two memory buffers switch functions based upon the Memory Threshold register value when the number of new input digitized data samples exceeds the Memory Threshold value Since all channels share the same memory channel data tagging is implemented The tag value identifies the channel to which the data corresponds The hardware tags each memory location with a channel number so the data can easily match with its source channel The Memory samples are 20 bit data values The least significant bits 15 to 0 represent the digitized data w
58. ory contains more than the threshold number of bytes selected via the Memory Threshold register The interrupt request will remain active until the interrupt release bit is set or by disabling interrupts via this bit FUNCTION Board Interrupt Pending Status Bit Read Only Bit 0 Interrupt Not Pending 1 Interrupt Pending This bit can be read to determine the interrupt pending status of the APC341 When this bit is logic 1 an interrupt is pending and will cause an interrupt request if bit 0 of the register is set When this bit is a logic 0 an interrupt is not being requested This bit will only indicate a pending status if the board is enabled for interrupt via bit 0 Once the bit is in the pending status it will remain until the pending interrupt is removed even if 14102 NotUsed interrupts are disabled via bit 0 14102 Not Used 15 Board Interrupt Release Bit Write Only Bit 0 Interrupt Not Released 1 Interrupt Released This bit must be set to a logic 1 to release an interrupt request This bit is typically set in the interrupt service routine to remove the interrupt request Once an interrupt request is generated on the APC341 it will continue to assert the interrupt request until this Interrupt Release bit is set to logic 1 or interrupts are disabled via bit 0 of this register SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus Notes
59. ramming Interrupts Interrupts can be enabled for generation after the Memory buffer contains more new data values than that set by the Memory Threshold register Interrupts generated by the APC341 use interrupt request line INTA The interrupt release mechanism is release on register access That is the APC341 will release the INTA signal when bit 15 of the Interrupt Register at Base Address 00H is set to logic 1 Interrupt Programming Example 1 Enable APC341 board interrupt by writing a 1 to bit of the Interrupt register at Base Address 00H 2 Setthe Memory Threshold register as desired at Base Address 14H 3 Interrupts can now be generated after more samples than that set in the Memory Threshold register are available in the Memory buffer 14 General Sequence of Events for Processing an Interrupt 1 The APC344 asserts the Interrupt Request Line INTA in response to an interrupt condition 2 Determine the IRQ line assigned to the APC341 during system configuration read configuration register number 15 3 Set up the system interrupt vector for the appropriate interrupt Unmask the IRQ in the system interrupt controller The interrupt service routine pointed to by the vector set up in step 3 starts 6 Interrupt service routine determines if the APC341 has a pending interrupt request by reading the Interrupt pending bit 1 of the Interrupt register 7 Example of Generic Interrupt Handler A
60. rd IDSEL AD 23 The system software accesses the configuration registers to AD 22 determine how many blocks of memory space the board requires 0 21 AD 20 It then programs the boards configuration registers with the AD 19 unique memory address range assigned AD 18 AD 17 AD 16 The configuration registers are also used to indicate that the C BE 2 PCI board requires an interrupt request line The system FRAME software then programs the configuration registers with the IRDY interrupt request line assigned to the PCI board 33V 36 96 TRDY MM DEVSEL Since this PCI board is relocatable and not hardwired in address space this board s mapping and IRQ information is STOP stored in the board s Configuration Space registers LOCK PERR _ 40 40 SDONE SBO Configuration Registers a ETAT The PCI specification requires software driven initialization and configuration via the Configuration Address space This 1 AD 15 board provides 256 bytes of configuration registers for this AD 14 purpose The APC341 contains the configuration registers shown Table 3 1 to facilitate Plug and Play compatibility AD 12 AD 11 AD 10 The Configuration Registers are accessed via the AD 09 Configuration Address and Data Ports The most important KEYWAY Configuration Registers are the Base Address Registers and the KEYWAY KEYWAY Interrupt Line
61. s to control the frequency at which the bank of channels 8 to 15 are simultaneously converted The time period between trigger pulses is described by the following equation High Bank Timer Value 1 8 000 000 Hz Tin seconds Where T the desired time period between trigger pulses in seconds The High Bank Timer Value can be minimum of 63 decimal The maximum value is 16 777 150 decimal The maximum period of time which can be programmed to occur between conversions is 16 777 150 1 8 000 000 2 097143875 seconds The minimum time interval which can be programmed to occur is 63 1 8 000 000 8 0u seconds This minimum of 8 seconds is defined by the minimum conversion time of the hardware This gives channels 0 to 7 eight micro seconds to complete their simultaneous conversion Then channels 8 to 15 can be simultaneously converted Reading or writing the High Bank Timer register is possible with 32 bit 16 bit or 8 bit data transfers This register s contents are cleared upon reset Memory Threshold Register Read Write 14H The Memory Threshold register is an 8 bit register that is used to control transition between two 512 deep memory banks One memory bank is used to store converted analog input data while the other is accessible for reading of converted analog input data When the analog input memory buffer contains more samples than the Memory Threshold value the memory banks will switch This allows
62. software to read the new converted analog input data The new data must be read before the memory banks switch again If the system cannot keep up by reading the memory buffer before they switch then the automatic disabling of analog input upon memory bank switching can be selected via the control register bit 6 SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus The number of valid analog input data samples available in the memory buffer will be one more than the value set in the Memory Threshold register Thus if the memory threshold value is 33 then 34 valid data entries will be present in memory when the memory buffer switch occurs The Memory Threshold register value can be any value between 1 and 511 An interrupt can also be issued upon exceeding the specified threshold level if enabled via bit 0 of the interrupt register This interrupt indicates that new data is available in the memory buffer An interrupt request can be released by setting bit 15 of the Interrupt register to a logic one The interrupt request can also be disabled by setting bit 0 to a logic zero however the interrupt request will remain active on the APC341 until released via bit 15 Reading or writing to this register is possible via 32 bit 16 bit or 8 bit data transfers This register s contents are set to 1FF hex 511 decimal upon reset Start Convert Register Write Only 18H The Start Convert register is write only and is used to trigger c
63. tagged for channel identification CONVERSION COUNTER The ADC conversion rate is controlled by a conversion counter which is a 24 bit counter implemented in the FPGA The counter provides variable time periods up to 2 0889 seconds The output of this counter is compared to the value stored in the Low Bank Timer register to trigger the start of new conversions for the continuous mode of operation The output of the conversion counter is also compared to the value stored in the High Bank Timer register to determine when the second bank of channels 8 through 15 are to be simultaneously triggered for conversion SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus MEMORY BUFFER SWITCH CONTROL Two 512 sample memory buffers are provided in the FPGA logic to control simultaneous data acquisition and data reading via the PCI bus One memory buffer accepts new data input samples along with a channel tag value The other memory buffer is available for data reading at PCI burst data rates over the PCI bus The Memory Threshold value is used to control transition between the two 512 sample memory buffers When the analog input memory buffer contains more samples then the Memory Threshold value the memory banks will switch See section 3 0 for programming details and use of the Memory Threshold register EXTERNAL TRIGGER The external trigger connections are made via pin 49 of the Field I O Connector For all modes of operation when th
64. y Bank Switch Writing the Channel Enable register Low Bank Timer Value and the Memory Threshold is not necessary because they need not change from that programmed in the previous steps Execute Write of 0001H to the Start Convert Bit at Base Address 18H This starts the continuous mode of conversions Upon system interrupt Analog input is disabled as requested via bit 6 of the Control register Execute Write of 8000H to the Interrupt Register at Base Address 00H Interrupts are disabled and the Interrupt request is released Software must read the memory buffer and calculate a Countsy value for each channel 0 to by averaging the 100 values for each channel Read the Reference Voltage Value From Memory 15 Read the reference voltage memory to retrieve the unique reference voltage value bVRefValue To obtain the reference voltage value the ASCII characters comprising the reference voltage must be read until the null terminating character 00 is read To read the most significant digit the Reference Voltage Access register must be written with data value 8000H at Base SERIES APC341 SIMULTANEOUS ANALOG INPUT BOARD PCI Bus Address The data can be read by polling the Reference Voltage Read Data Status register When bit 0 of the Reference Voltage Read Data Status register is set to logic high then the data on bits 15 to 8 contains the most significant digit of the reference voltage value
Download Pdf Manuals
Related Search
Related Contents
こちらからダウンロードください。 Samsung AM012HNQDCH/AA manual do usuário GB Operating Instructions FR Mode d'emploi Manutenção e Manual Suplementar da versão 2 Supermicro 1022G-URF 取扱・施工説明書 Life Fitness SL30-35 User's Manual Manual do Utilizador Genomic DNA and RNA purification User manual Navigation Software Manual Copyright © All rights reserved.
Failed to retrieve file