No part of this manual may be reproduced, copied, translated, or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. The information provided in this manual is intended to be accurate and reliable.
This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This type of cable is available from Advantech. Please contact your local supplier for ordering information.
(except for 0) for hardware devices with the same model name. Refer to the device specifications for the configuration of the board ID. If changed, the new board ID value takes effect only after a cold reset of the device. PCIE-1812 User Manual...
DAQ devices. All these software packages are available on Advantech website: http://www.advantech.com/. The Advantech Navigator is a utility that allows you to set up, configure and test your device, and later store your settings in a proprietary database.
FPGA Code Updates The FPGA can also be updated via the interface in Navigator. However, it is not advised to update FPGA without first doing some research. Advantech strongly sug- gests you consult your technical support before starting an FPGA update.
PCIE-1812 card Startup Manual Hardware Installation and Configuration 2.2.1 Installation Before you install your PCIE-1812, please make sure you have the following compo- nents: PCIE-1812 card PCIE-1812 User Manual Advantech DAQNavi SDK and its corresponding device driver ...
Analog input signal connection and internal functional block diagram is shown in Fig- ure 2. 1. Figure 2.1 Analog input signal connection PCIE-1812 User Manual...
In this configuration, however, the output voltage is not calibrated, and the accuracy of the output voltage depends on the accuracy of the external reference voltage. Users can perform calibration through the calibration utility in the Advantech Navigator by themselves.
And another trigger occurs only if the signal has crossed the voltage specified by the threshold level minus the hysteresis value from above before it crosses the threshold level from below again. This is shown in Figure 2. 5. Figure 2.5 Rising edge active analog trigger PCIE-1812 User Manual...
OFF. Additionally, avoid applying a voltage that exceeds the maximum allowable ON state value or falls below the minimum allowable OFF state value, as this may cause damage to the device. Please refer to the device specifications for the exact ON and OFF voltage ranges. PCIE-1812 User Manual...
Page 21
Figure 2. 9. Be sure the voltage of the external source is within the allowable range of the ON state as specified in the device specifications. Figure 2.8 Digital input signal connection using a switch with internal pull-up resistor Figure 2.9 Digital input signal connection using a switch with internal pull- down resistor PCIE-1812 User Manual...
Each digital output channel can source or sink only finite amount of current. If this limit is exceeded, the output voltage will not stay in the specified voltage logic level. Refer to the device specifications for the maximum source and skin current values. PCIE-1812 User Manual...
ON state or lower than the minimum allowable value of the OFF state. The device may be damaged under such circumstance. Refer to the device specifications for ON and OFF state voltage ranges. PCIE-1812 User Manual...
Each counter output channel can source or sink only finite amount of current. If this limit is exceeded, the output voltage will not stay in the specified voltage logic level. Refer to the device specifications for the maximum source and skin current values. PCIE-1812 User Manual...
This is shown in Figure 2. 16. Figure 2.16 Ground loop effect If differential (ungrounded) input configuration is used instead, the high input imped- ance of the negative input terminal prevents ground loop current from flowing, and therefore rejects the common-mode noise. PCIE-1812 User Manual...
However, this will lead to an unbalanced system if the source impedance is relatively high. A balanced system is desirable from a noise immunity point of view. PCIE-1812 User Manual...
Route signal lines at right angles to noise generating cables. Use differential input configuration to reduce common-mode noise. For externally powered modules, use separate power sources for modules and other noise generating equipment. PCIE-1812 User Manual...
Figure 3. Figure 3.1 Instant (software-timed) analog input acquisition The advantage of instant acquisition is low latency. It is typically used for reading a single sample of analog input. PCIE-1812 User Manual...
Buffered acquisition is also called hardware-timed acquisition. The advantages of buffered acquisition over instant acquisition include: The sample rate can be much higher. The time of sample is deterministic. Hardware triggers can be used. PCIE-1812 User Manual...
Figure 3. 4. For synchronous update, however, the values to be updated are first stored in the device, and all analog output channels are updated synchronously when the synchronous write command is sent. This is shown in Figure 3. 5. Figure 3.4 Analog output asynchronous update PCIE-1812 User Manual...
(DMA) engine, and converted by the DAC one sample at a time. A buffer is a block of memory in the PC for temporarily storing the data to be transferred to the onboard FIFO. Because the data is moved in large PCIE-1812 User Manual...
Figure 3. 7. Figure 3.7 Instant (software-timed) digital input acquisition The advantage of instant acquisition is low latency. It is typically used for reading a single sample of digital input. PCIE-1812 User Manual...
Buffered acquisition is also called hardware-timed acquisition. The advantages of buffered acquisition over instant acquisition include: The sample rate can be much higher. The time of sample is deterministic. Hardware triggers can be used. PCIE-1812 User Manual...
Figure 3.10 Buffered (hardware-timed) digital output generation The samples to be generated are provided by the application. They are first stored in the buffer of the PC, moved to the onboard first-in-first-out (FIFO) memory of the PCIE-1812 User Manual...
Figure 3. 11 and Figure 3. 12, respectively. Figure 3.11 Rising edge event counting Figure 3.12 Falling edge event counting Counting may be temporarily paused by the counter gate signal as shown in Figure 3. 13. Figure 3.13 Event counting with pause gate PCIE-1812 User Manual...
Page 40
Figure 3. 15.The sample clock can be generated internally on the device or be provided externally. Refer to the device specifications for supported sample clock sources and the maximum allowable fre- quency of sample clock. Figure 3.15 Buffered (hardware-timed) event counting PCIE-1812 User Manual...
The frequency of the signal is then calculated by dividing this number by the time duration. This is shown in Figure 3. 17 and by the following equation. Figure 3.17 Frequency measurement by counting number of pulses in fixed duration PCIE-1812 User Manual...
Page 42
Refer to the device specifications for supported sample clock sources and the maximum allowable frequency of sample clock. Figure 3.19 Buffered (hardware-timed) frequency measurement PCIE-1812 User Manual...
Figure 3. 21. Figure 3.21 Instant (software-timed) pulse width measurement The advantage of instant pulse width measurement is low latency. It is typically used for reading a single sample of counter value. PCIE-1812 User Manual...
Page 44
Buffered pulse width measurement is also called hard- ware-timed pulse width measurement. The advantages of buffered pulse width measurement over instant pulse width mea- surement include: The sample rate can be much higher. The time of sample is deterministic. PCIE-1812 User Manual...
A signal by 90 degrees, the counter value is decrease by 1 for each pulse period. They are shown in Figure 3. 24 and Figure 3. 25, respectively. Figure 3.24 Quadrature x1 mode, counter A leads counter B PCIE-1812 User Manual...
Page 46
A signal by 90 degrees, the counter value is decrease by 2 for each pulse period. They are shown in Figure 3. 26 and Figure 3. 27, respectively. Figure 3.26 Quadrature x2 mode, counter A leads counter B Figure 3.27 Quadrature x2 mode, counter B leads counter A PCIE-1812 User Manual...
Page 47
In two pulse (or clockwise/counter-clockwise) mode, the counter value is increased by 1 for each pulse of counter A signal, and is decreased by 1 for each pulse of counter B signal. This is shown in Figure 3. 30. Figure 3.30 Two pulse (clockwise/counter-clockwise) mode PCIE-1812 User Manual...
Page 48
In position measurement, the counter value can be reset to a specified value either by the software or by the counter Z signal. Figure 3. 32 shows an example of reset by counter Z signal. Figure 3.32 Position reset to 0 by counter Z signal PCIE-1812 User Manual...
Page 49
Because the data is moved in large blocks instead of one point at a time, buffered position measurement typically allow much higher transfer rates. Buffered position measurement is also called hardware-timed position measurement. PCIE-1812 User Manual...
This is shown in Figure 3. 36. Figure 3.36 Instant position comparison The advantage of instant position comparison is that the next compare value can be decided on the fly. PCIE-1812 User Manual...
Page 51
When the counter sample clock rises, the counter value at that time is latched, offset by a specified value, and stored as the next compare value. An exam- ple is shown in Figure 3. 38. Figure 3.38 Offset position comparison with offset value of “+2” PCIE-1812 User Manual...
Page 52
The output can be gated. If counter gate is in active level, pulses are output normally. On the other hand, if counter gate is in inactive level, output is disabled. Figure 3. 41 shows an example of active high gate. Figure 3.41 Gated timer/pulse output PCIE-1812 User Manual...
Page 53
Each time a rising edge of sample clock is detected, the first sample in the FIFO is used to update the output pulse frequency, and then the sam- ple is discarded. Buffered timer/pulse is also called hardware-timed timer/pulse. PCIE-1812 User Manual...
Page 54
Figure 3.46 Infinite pulse generation The output can be gated. If counter gate is high, pulses are output normally. On the other hand, if counter gate is low, output is disabled. This is shown in Figure 3. 47. PCIE-1812 User Manual...
Page 55
Whenever the software sends an update command, the width of output pulse is updated to the specified value after current pulse is completed as shown in Figure 3. 48. Figure 3.48 Static (software-timed) timer/pulse PCIE-1812 User Manual...
Page 56
Buffered PWM output is also called hardware-timed PWM output. The advantages of buffered PWM output over static PWM output include: The time of sample is deterministic. The time of sample can be controlled by an external signal. PCIE-1812 User Manual...
A digital trigger can be configured as rising edge active or falling edge active, as shown in Figure 3. 51 and Figure 3. 52, respectively. Figure 3.51 Rising edge active digital trigger Figure 3.52 Falling edge active digital trigger PCIE-1812 User Manual...
Page 58
For external clock, on the other hand, clock frequency can be controlled by the external source in real time. PCIE-1812 User Manual...
Page 59
One of the devices is selected as the primary device, and others as secondary devices. The primary device sends the required tim- ing signals to all the secondary devices for synchronized acquisition. Figure 3.55 MDSI Layout PCIE-1812 User Manual...
Page 60
Signal synchronization can be achieved through external wiring as shown in Figure 3.56 and Figure 3.57. This method requires additional wiring boards for the connec- tions. Figure 3.56 Synchronize by External Cables Figure 3.57 Signal Connection Synchronize by External Cables PCIE-1812 User Manual...
Page 61
To use MDSI cable for synchronization, connect each cable between MDSI OUT of one device to MDSI IN of the next device as shown in Figure 3.58 and Figure 3.59. Figure 3.58 Synchronize by MDSI Cables Figure 3.59 Signal Connection of MDSI Synchronize by MDSI Cables PCIE-1812 User Manual...
Page 62
With Synchronized-MDSI acquisition, The ADCs of all acquisition enabled channels simultaneously begin to convert the analog input voltage at each rising edge of the sample clock. Figure 3.60 shows an example of Synchronized-MDSI acquisition which AI0, AI1, and AI2 are enabled. PCIE-1812 adopts Synchronized-MDSI. Figure 3.60 Synchronized-MDSI 3.7.3.2...
Page 63
The following sections will explain the setup for both the primary and secondary devices. 3.7.4.1 Primary Device In the Navigator, click on 'Settings,' then select 'Conversion.' Choose 'Internal Clock' as the conversion clock source. Figure 3.62 Setting for Primary Device PCIE-1812 User Manual...
Page 64
Figure 3.64 Trigger Setting for Secondary Device Once all the settings are completed, the primary and secondary devices will operate synchronously. Use the Data Logger to verify whether MDSI is functioning properly. Figure 3.65 illustrates an example of synchronization. PCIE-1812 User Manual...
Page 65
Figure 3.65 Data Logger for synchronization Calibration The Navigator of Advantech DAQNavi provides the calibration utility to calibrate the analog input and analog output circuitry of the device. Figure 3. 66 shows the inter- face of the calibration utility. Follow the instructions shown to calibration the device.
Page 66
“Load factory default” button. Firmware/FPGA Code Update The Navigator of Advantech DAQNavi provides the firmware/FPGA code download utility. User can use this utility to update the firmware/FPGA code of the device. Figure 3. 67 shows the interface of the firmware/FPGA code download utility. To update the firmware/FPGA code, first click “Browser”...
-94.09 dB -89.36 dB -89.39 dB -89.95 dB ±2.5 V -87.96 dB -85.20 dB -82.90 dB -82.78 dB ±1.25 V -84.11 dB -82.33 dB -80.11 dB -81.45 dB ±0.625 V -81.16 dB -77.97 dB -77.25 dB -77.64 dB PCIE-1812 User Manual...
75.43 dB 74.22 dB 73.88 dB 74.04 dB ±2.5 V 67.88 dB 68.43 dB 68.37dB 67.55 dB ±1.25 V 65.17 dB 65.17 dB 65.29 dB 65.55 dB ±0.625 V 61.80 dB 61.92 dB 62.27 dB 62.46 dB PCIE-1812 User Manual...
Output type: 5 V TTL Output logic level: – Logic high: 4.0 V min. @ 2 mA source/5.2 V max. – Logic low: 0.4 V max. @ 2 mA sink Load current: 8 mA max. PCIE-1812 User Manual...
Operating temperature: 0 °C to 60 °C (32 °F to 140 °F) Storage temperature: -40°C to 70°C (-40°F to 158°F) Operating humidity: 10% to 90% RH, non-condensing Storage humidity: 5% to 95% RH, non-condensing PCIE-1812 User Manual...
Need help?
Do you have a question about the PCIE-1812 and is the answer not in the manual?
Questions and answers