NI USB-6008简要说明
USB-6008 6009
USER GUIDE AND SPECIFICATIONSUSB-6008/6009This guide describes how to use the National Instruments USB-6008/6009data acquisition (DAQ) devices and lists specifications. IntroductionThe NI USB-6008/6009 provides connection to eight analog input (AI)channels, two analog output (AO) channels, 12 digital input/output (DIO)channels, and a 32-bit counter with a full-speed USB interface.Note This manual revision updates naming conventions to reflect the conventions used inNI-DAQmx. Table1 notes the correlation between the old and updated names.Table 1. Digital Output Driver Type Naming ConventionsHardware Functionality NI-DAQmx TerminologyOpen-drain Open collectorPush-pull Active driveTable 2. Differences Between the USB-6008 and USB-6009Feature USB-6008USB-6009AI Resolution12 bits differential,11 bits single-ended 14 bits differential, 13 bits single-endedMaximum AI Sample Rate,Single Channel*10 kS/s48 kS/sMaximum AI Sample Rate,Multiple Channels (Aggregate)*10 kS/s42 kS/sDIO Configuration Open collector Open collector or active drive * Might be system dependent.USB-6008/6009 User Guide and Specifications 2Figure 1. USB-6008/6009Figure 2. USB-6008/6009 Back ViewSafety GuidelinesCautionOperate the hardware only as described in these operating instructions.The following section contains important safety information that you must follow when installing and using the USB-6008/6009.Do not operate the USB-6008/6009 in a manner not specified in thisdocument. Misuse of the device can result in a hazard. You can compromise the safety protection built into the device if the device is damaged in any way. If the device is damaged, contact National Instruments for repair.Do not substitute parts or modify the device except as described in this document. Use the device only with the chassis, modules, accessories, and cables specified in the installation instructions. You must have all covers and filler panels installed during operation of the device.Do not operate the device in an explosive atmosphere or where there maybe flammable gases or fumes. If you must operate the device in such anenvironment, it must be in a suitably rated enclosure.If you need to clean the device, use a dry cloth. Make sure that the deviceis completely dry and free from contaminants before returning it to service.Operate the device only at or below Pollution Degree 2. Pollution is foreignmatter in a solid, liquid, or gaseous state that can reduce dielectric strengthor surface resistivity. The following is a description of pollution degrees:•Pollution Degree 1 means no pollution or only dry, nonconductivepollution occurs. The pollution has no influence.•Pollution Degree 2 means that only nonconductive pollution occurs inmost cases. Occasionally, however, a temporary conductivity causedby condensation must be expected.•Pollution Degree 3 means that conductive pollution occurs, or dry,nonconductive pollution occurs that becomes conductive due tocondensation.You must insulate signal connections for the maximum voltage for whichthe device is rated. Do not exceed the maximum ratings for the device. Donot install wiring while the device is live with electrical signals. Do notremove or add connector blocks when power is connected to the system.Avoid contact between your body and the connector block signal when hotswapping modules. Remove power from signal lines before connectingthem to or disconnecting them from the device.Operate the device at or below the Measurement Category I1. Measurementcircuits are subjected to working voltages2 and transient stresses(overvoltage) from the circuit to which they are connected duringmeasurement or test. Measurement categories establish standard impulsewithstand voltage levels that commonly occur in electrical distributionsystems. The following is a description of measurement categories:•Measurement Category I is for measurements performed on circuitsnot directly connected to the electrical distribution system referred toas MAINS3 voltage. This category is for measurements of voltagesfrom specially protected secondary circuits. Such voltagemeasurements include signal levels, special equipment, limited-energyparts of equipment, circuits powered by regulated low-voltage sources,and electronics.1 Measurement Category as defined in electrical safety standard IEC 61010-1. Measurement Category is also referred to as Installation Category.2 Working V oltage is the highest rms value of an AC or DC voltage that can occur across any particular insulation.3 MAINS is defined as a hazardous live electrical supply system that powers equipment. Suitably rated measuring circuits may be connected to the MAINS for measuring purposes.© National Instruments Corporation3USB-6008/6009 User Guide and SpecificationsUSB-6008/6009 User Guide and Specifications •Measurement Category II is for measurements performed on circuits directly connected to the electrical distribution system. This category refers to local-level electrical distribution, such as that provided by a standard wall outlet (for example, 115 V for U.S. or 230 V for Europe). Examples of Measurement Category II are measurements performed on household appliances, portable tools, and similar E Series devices. •Measurement Category III is for measurements performed in the building installation at the distribution level. This category refers to measurements on hard-wired equipment such as equipment in fixed installations, distribution boards, and circuit breakers. Other examples are wiring, including cables, bus-bars, junction boxes, switches, socket-outlets in the fixed installation, and stationary motors with permanent connections to fixed installations.•Measurement Category IV is for measurements performed at the primary electrical supply installation (<1,000 V). Examples include electricity meters and measurements on primary overcurrent protection devices and on ripple control units.SoftwareSoftware support for the USB-6008/6009 for Windows 2000/XP is provided by NI-DAQmx.The NI-DAQmx CD contains example programs that you can use to get started programming with the USB-6008/6009. Refer to the NI-DAQmx for USB Devices Getting Started Guide , that shipped with your device and is also accessible from Start»All Programs»National Instruments»NI-DAQ for more information.Note For information about non-Windows operating system support, refer to /info and enter rddqld .VI LoggerThe NI-DAQmx CD includes VI Logger Lite which is an easy-to-use configuration-based tool specifically designed for data logging applications. The application is available at Start»All Programs»National Instruments»VI Logger.HardwareThe following block diagram shows key functional components of theUSB-6008/6009.Figure 3. Device Block Diagram© National Instruments Corporation5USB-6008/6009 User Guide and SpecificationsUSB-6008/6009 User Guide and Specifications 6Setting Up HardwareComplete the following steps to set up the hardware:1.Install combicon screw terminal blocks by inserting them into the combicon jacks.NoteThe USB-6008/6009 kit ships with signal labels. You can apply the signal labels to the screw terminal blocks for easy signal identification.2.Refer to Table 3 and Figure 4 for label orientation and affix the provided signal labels to the screw terminal blocks. Until the signal labels are applied, you can insert the screw terminal blocks into either of the combicon jacks. Refer to Figure 4 for more information about signal label orientation.Figure 4. Signal Label Application DiagramNoteOnce you label the screw terminal blocks, you must only insert them into thematching combicon jack, as indicated by the overlay label on the USB-6008/6009 device.3.Connect the wiring to the appropriate screw terminals.1Overlay Label with Pin Orientation Guides 2Combicon Jack 3Signal Labels 4USB CableI/O ConnectorThe USB-6008/6009 ships with one detachable screw terminal block foranalog signals and one detachable screw terminal block for digital signals.These terminal blocks provide 16 connections that use 16AWG to28AWG wire.Table3 lists the analog terminal assignments, and Table4 lists the digitalterminal assignments.Table 3. Analog Terminal Assignments© National Instruments Corporation7USB-6008/6009 User Guide and SpecificationsTable 4. Digital Terminal AssignmentsUSB-6008/6009 User Guide and Signal DescriptionsTable5 describes the signals available on the I/O connectors.Table 5. Signal DescriptionsSignal Name Reference Direction Description GND——Ground—The reference point for thesingle-ended AI measurements, biascurrent return point for differential modemeasurements, AO voltages, digitalsignals at the I/O connector, +5VDCsupply, and the +2.5VDC reference.AI <0..7>Varies Input Analog Input Channels 0 to 7—Forsingle-ended measurements, each signal isan analog input voltage channel. Fordifferential measurements, AI0and AI4are the positive and negative inputs ofdifferential analog input channel 0.The following signal pairs also formdifferential input channels:<AI 1, AI 5>, <AI2,AI 6>, and<AI3,AI7>.AO 0GND Output Analog Channel 0 Output—Supplies thevoltage output of AO channel 0.AO 1GND Output Analog Channel 1 Output—Supplies thevoltage output of AO channel 1.P1.<0..3> P0.<0..7>GND Input or Output Digital I/O Signals—You canindividually configure each signal as aninput or output.+2.5 V GND Output+2.5 V External Reference—Provides areference for wrap-back testing.+5 V GND Output+5 V Power Source—Provides +5Vpower up to 200mA.PFI 0GND Input PFI 0—This pin is configurable as either adigital trigger or an event counter input.© National Instruments Corporation9USB-6008/6009 User Guide and SpecificationsAnalog InputYou can connect analog input signals to the USB-6008/6009 through theI/O connector. Refer to Table5 for more information about connectinganalog input signals.Analog Input CircuitryFigure5 illustrates the analog input circuitry of the USB-6008/6009.Figure 5. Analog Input CircuitryMUXThe USB 6008/6009 has one analog-to-digital converter (ADC). Themultiplexer (MUX) routes one AI channel at a time to the PGA.PGAThe progammable-gain amplifier provides input gains of 1, 2, 4, 5, 8, 10,16, or 20 when configured for differential measurements and gain of1when configured for single-ended measurements. The PGA gain isautomatically calculated based on the voltage range selected in themeasurement application.A/D ConverterThe analog-to-digital converter (ADC) digitizes the AI signal byconverting the analog voltage into a digital code.USB-6008/6009 User Guide and AI FIFOThe USB-6008/6009 can perform both single and multiple A/Dconversions of a fixed or infinite number of samples. A first-in-first-out(FIFO) buffer holds data during AI acquisitions to ensure that no datais lost.Analog Input ModesYou can configure the AI channels on the USB-6008/6009 to takesingle-ended or differential measurements. Refer to Table5 for moreinformation about I/O connections for single-ended or differentialmeasurements.Connecting Differential Voltage SignalsFor differential signals, connect the positive lead of the signal to the AI+terminal, and the negative lead to the AI– terminal.Figure 6. Connecting a Differential Voltage SignalThe differential input mode can measure ±20 V signals in the ±20V range.However, the maximum voltage on any one pin is ±10 V with respect toGND. For example, if AI 1 is +10 V and AI 5 is –10 V, then themeasurement returned from the device is +20 V.Figure 7. Example of a Differential 20 V Measurement Connecting a signal greater than ±10 V on either pin results in a clipped output.Figure 8. Exceeding +10 V on AI Returns Clipped OutputConnecting Reference Single-Ended Voltage Signals To connect reference single-ended voltage signals (RSE) to theUSB-6008/6009, connect the positive voltage signal to the desiredAI terminal, and the ground signal to a GND terminal.Figure 9. Connecting a Reference Single-Ended Voltage SignalDigital TriggerWhen an AI task is defined, you can configure PFI 0 as a digital triggerinput. When the digital trigger is enabled, the AI task waits for a rising edgeon PFI 0 before starting the acquisition. To use ai/Start Trigger with adigital source, specify PFI 0 as the source and select rising edge. Analog OutputThe USB-6008/6009 has two independent AO channels that can generateoutputs from 0–5 V. All updates of AO lines are software-timed.Analog Output CircuitryFigure10 illustrates the analog output circuitry for the USB-6008/6009.Figure 10. Analog Output CircuitryDACsDigital-to-analog converts (DACs) convert digital codes to analogvoltages.Connecting Analog Output LoadsTo connect loads to the USB-6008/6009, connect the positive lead of theload to the AO terminal, and connect the ground of the load to a GNDterminal.Figure 11. Connecting a LoadMinimizing Glitches on the Output SignalWhen you use a DAC to generate a waveform, you may observe glitches inthe output signal. These glitches are normal; when a DAQ switches fromone voltage to another, it produces glitches due to released charges. Thelargest glitches occur when the most significant bit of the DAC codechanges. You can build a low-pass deglitching filter to remove some ofthese glitches, depending on the frequency and nature of the output signal.Refer to /support for more information about minimizingglitches.Digital I/OThe USB-6008/6009 has 12 digital lines, P0.<0..7> and P1.<0..3>, whichcomprise the DIO port. GND is the ground-reference signal for the DIOport. You can individually program all lines as inputs or outputs.Digital I/O CircuitryFigure12 shows P0.<0..7> connected to example signals configured asdigital inputs and digital outputs. You can configure P1.<0..3> similarly.Figure 12. Example of Connecting a LoadCautionExceeding the maximum input voltage ratings or maximum output ratings, which are listed in the Specifications , can damage the DAQ device and the computer. National Instruments is not liable for any damage resulting from such signal connections.Source/Sink InformationThe default configuration of the USB-6008/6009 DIO ports is opencollector, allowing 5 V operation, with an onboard 4.7 k Ω pull-up resistor.An external, user-provided, pull-up resistor can be added to increase thesource current drive up to a 8.5 mA limit per line as shown in Figure 13.The USB-6009 ports can also be configured as active drive using theDAQmx API, allowing 3.3 V operation with a source/sink current limit of± 8.5 mA. Refer to the NI-DAQmx Help for more information about how toset the DIO configuration.Figure 13. Example of Connecting External User-Provided ResistorComplete the following steps to determine the value of the user-providedpull-up resistor:1.Place an ammeter in series with the load.2.Place a variable resistor between the digital output line and the +5 V.3.Adjust the variable resistor until the ammeter current reads as theintended current. The intended current must be less than 8.5 mA.4.Remove the ammeter and variable resistor from your circuit.5.Measure the resistance of the variable resistor. The measuredresistance is the ideal value of the pull-up resistor.6.Select a static resistor value for your pull-up resistor that is greater thanor equal to the ideal resistance.7.Re-connect the load circuit and the pull-up resistor.I/O ProtectionTo protect the USB-6008/6009 against overvoltage, undervoltage, andovercurrent conditions, as well as ESD events, you should avoid these faultconditions by using the following guidelines:•If you configure a DIO line as an output, do not connect it to anyexternal signal source, ground signal, or power supply.•If you configure a DIO line as an output, understand the currentrequirements of the load connected to these signals. Do not exceed thespecified current output limits of the DAQ device.National Instruments has several signal conditioning solutions fordigital applications requiring high current drive.•If you configure a DIO line as an input, do not drive the line withvoltages outside of its normal operating range. The DIO lines have asmaller operating range than the AI signals.•Treat the DAQ device as you would treat any static sensitive device.Always properly ground yourself and the equipment when handlingthe DAQ device or connecting to it.Power-On StatesAt system startup and reset, the hardware sets all DIO lines tohigh-impedance inputs. The DAQ device does not drive the signal high orlow. Each line has a weak pull-up resistor connected to it.Static DIOEach of the USB-6008/6009 DIO lines can be used as a static DI or DOline. You can use static DIO lines to monitor or control digital signals. Allsamples of static DI lines and updates of DO lines are software-timed. Event CounterYou can configure PFI 0 as a source for a gated invertor counter input edgecount task. In this mode, falling-edge events are counted using a 32-bitcounter. For more information about event timing requirements, refer to theSpecifications section.Reference and Power SourcesThe USB-6008/6009 creates an external reference and supplies a powersource.+2.5 External ReferencesThe USB-6008/6009 creates a high-purity reference voltage supply forthe ADC using a multi-state regulator, amplifier, and filter circuit. Theresulting +2.5 V reference voltage can be used as a signal for self test.+5 V Power SourceThe USB-6008/6009 supplies a 5 V, 200 mA output. This source can beused to power external components.Note While the device is in USB suspend, the output is disabled.SpecificationsThe following specifications are typical at 25 °C, unless otherwise noted.Analog InputConverter type........................................Successive approximationAnalog inputs..........................................8 single-ended, 4 differential,software selectableInput resolutionUSB-6008........................................12 bits differential,11 bits single-endedUSB-6009........................................14 bits differential,13 bits single-endedMax sampling rate1Single channelUSB-6008.................................10 kS/sUSB-6009.................................48 kS/sMultiple channels (aggregate)USB-6008.................................10 kS/sUSB-6009.................................42 kS/sAI FIFO..................................................512 bytesTiming resolution...................................41.67 ns (24 MHz timebase)Timing accuracy.....................................100 ppm of actual sample rateInput rangeSingle-ended....................................±10 VDifferential......................................±20 V, ±10 V, ±5 V, ±4 V,±2.5V, ±2 V, ±1.25 V, ±1 VWorking voltage.....................................±10 VInput impedance.....................................144 kΩOvervoltage protection...........................±351 Might be system dependent.Trigger source........................................Software or external digitaltriggerSystem noiseUSB-6008, differential....................1.47 mVrmsUSB-6009, single-ended.................2.93 mVrmsUSB-6009, differential....................0.37 mVrmsUSB-6009, single-ended.................0.73 mVrmsAbsolute accuracy at full scale, single endedAbsolute accuracy at full scale, differential 1Analog OutputConverter type........................................Successive approximationAnalog outputs (2)Output resolution....................................12 bitsMaximum update rate............................150 Hz, software-timed Output range...........................................0 to +5 VOutput impedance..................................50 ΩRangeTypical at 25 °C (mV)Maximum over Temperature (mV)+1014.7138RangeTypical at 25 °C (mV)Maximum over Temperature (mV)+2014.7138+107.7384.8+54.2858.4+43.5953.1+2.52.5645.1+22.2142.5+1.251.7038.9+1 1.5337.51 Input voltages may not exceed the working voltage range.Output current drive................................5 mAPower-on state........................................0 VSlew rate.................................................1 V/µsShort circuit current................................50 mAAbsolute accuracy (no load)...................7 mV typical, 36.4 mV maximumat full scaleDigital I/ODigital I/OP0.<0..7>.........................................8 linesPI.<0..3>..........................................4 linesDirection control.....................................Each channel individuallyprogrammable as input or outputOutput driver typeUSB-6008........................................Open collector (open-drain)USB-6009........................................Each channel individuallyprogrammable as active drive(push-pull) or open collector(open-drain)Compatibility..........................................TTL, LVTTL, CMOSAbsolute maximum voltage range..........–0.5 to 5.8 V with respect to GNDPull-up resistor........................................4.7 kΩ to 5 VPower-on state........................................Input (high impedance)© National Instruments Corporation 21USB-6008/6009 User Guide and SpecificationsDigital logic levelsExternal Voltage+5 V output (200 mA maximum)..........+5 V typical, +4.85 V minimum+2.5 V output (1 mA maximum)...........+2.5 V typical+2.5 V accuracy.....................................0.25% maxReference temperature drift ...................50 ppm/°C maxCounterNumber of counters (1)Resolution..............................................32 bitsCounter measurements...........................Edge counting (falling-edge)Pull-up resistor.......................................4.7 k Ω to 5 VMaximum input frequency.....................5 MHzMinimum high pulse width....................100 nsMinimum low pulse width.....................100 nsInput high voltage..................................2.0 VInput low voltage ...................................0.8 VBus InterfaceUSB specification B 2.0 full-speedUSB bus speed.......................................12 Mb/s LevelMin Max Units Input low voltageInput high voltageInput leakage current–0.32.0—0.85.850V V µA Output low voltage (I = 8.5 mA)Output high voltageActive drive (push-pull), I = –8.5mAOpen collector (open-drain), I = –0.6mA, nominalOpen collector (open-drain), I = –8.5mA, with external pull-upresistor —2.02.02.00.83.55.0—V V V VPower RequirementsUSB4.10 to5.25 VDC.............................80 mA typical, 500 mA maxUSB suspend...................................300µA typical, 500µA maxPhysical CharacteristicsIf you need to clean the module, wipe it with a dry towel.DimensionsWithout connectors..........................6.35 cm × 8.51 cm × 2.31 cm(2.50 in. × 3.35 in. × 0.91 in.)With connectors...............................8.18 cm × 8.51 cm × 2.31 cm(3.22 in. × 3.35 in. × 0.91 in.)I/O B series B receptacle,(2)16position terminal blockplug headersWeightWith connectors...............................84 g (3 oz)Without connectors..........................54 g (21 oz)Screw-terminal wiring............................16 to 28 AWGTorque for screw terminals.....................0.22 to 0.25 N · m(2.0to2.2lb· in.)SafetyStandardsThe USB-6008/6009 is designed to meet the requirements of the followingstandards of safety for electrical equipment for measurement, control, andlaboratory use:•IEC 61010-1, EN 61010-1•UL 61010-1•CAN/CSA-C22.2 No. 61010-1/certification, search by model number or product line, and click theappropriate link in the Certification column.USB-6008/6009 User Guide and © National Instruments Corporation 23USB-6008/6009 User Guide and SpecificationsVoltagesConnect only voltages that are within these limits.Channel-to-GND ....................................±30V max,Measurement Category IMeasurement Category I is for measurements performed on circuits not directly connected to the electrical distribution system referred to asMAINS voltage. MAINS is a hazardous live electrical supply system that powers equipment. This category is for measurements of voltages fromspecially protected secondary circuits. Such voltage measurements include signal levels, special equipment, limited-energy parts of equipment,circuits powered by regulated low-voltage sources, and electronics.Caution Do not use this module for connection to signals or for measurements within Measurement Categories II, III, or IV .Hazardous LocationsThe USB-6008/6009 are not certified for use in hazardous locations.EnvironmentalThe USB-6008/6009 device is intended for indoor use only.Operating temperature(IEC 60068-2-1 and IEC 60068-2-2).....0 to 55 °COperating humidity(IEC 60068-2-56)...................................10 to 90% RH, noncondensingMaximum altitude..................................2,000 m (at 25°C ambienttemperature)Storage temperature(IEC 60068-2-1 and IEC 60068-2-2).....–40 to 85 °CStorage humidity(IEC 60068-2-56) ..................................5 to 90% RH, noncondensingPollution Degree (IEC 60664)...............2USB-6008/6009 User Guide and Specifications Electromagnetic CompatibilityEmissions................................................EN 55011 Class A at 10 mFCC Part 15A above 1 GHzImmunity ................................................Industrial levels perEN 61326:1997 + A2:2001,Table 1EMC/EMI...............................................CE, C-Tick, and FCC Part 15(Class A) CompliantNote The USB-6008/6009 may experience temporary variations in analog input readings when exposed to radiated and conducted RF noise. The device returns to normal operation after RF exposure is removed.CE ComplianceThis product meets the essential requirements of applicable EuropeanDirectives, as amended for CE marking, as follows:Low-Voltage Directive (safety)..............73/23/EECElectromagnetic CompatibilityDirective (EMC).....................................89/336/EECNoteRefer to the Declaration of Conformity (DoC) for this product for any additional regulatory compliance information. To obtain the DoC for this product, visit /certification , search by model number or product line, and click the appropriate link in the Certification column.Where to Go for SupportThe National Instruments Web site is your complete resource for technical support. At /support you have access to everything fromtroubleshooting and application development self-help resources to email and phone assistance from NI Application Engineers.A Declaration of Conformity (DoC) is our claim of compliance with the Council of the European Communities using the manufacturer’sdeclaration of conformity. This system affords the user protection forelectronic compatibility (EMC) and product safety. You can obtain the DoC for your product by visiting /certification . If your product supports calibration, you can obtain the calibration certificate for yourproduct at /calibration.。
NI USB-6001 6002 6003 OEM 用户指南说明书
USER GUIDENI USB-6001/6002/6003 OEM This document provides information about the dimensions, pinouts, connectors, LEDs, and mounting holes of the National Instruments USB-6001/6002/6003 OEM device.For more information about the device, refer to the NI USB-6001/6002/6003 User Guide and NI USB-6001Specifications, NI USB-6002 Specifications, and NI USB-6003 Specifications documents available at /manuals.Caution There are no product safety, electromagnetic compatibility (EMC), orCE marking compliance claims made for the NI USB-6001/6002/6003 OEMdevices.The NI USB-6001/6002/6003 OEM device is intended to be used as a component ofa larger system. National Instruments can help developers meet their compliancerequirements. The end product supplier, however, is responsible for conforming toany and all compliance requirements.Figure 1. USB-6001/6002/6003 OEM DeviceUSB-6001/6002/6003 OEM Device SpecificationsMost specifications of the USB-6001/6002/6003 OEM device are listed in the NI USB-6001, NI USB-6002, NI USB-6003 Specifications documents on /manuals. The following sections contain exceptions to the main specifications.Physical Characteristics Weight...............................................................31 g (1.10 oz) Dimensions.......................................................98 mm × 64 mm × 12 mm(3.90 in. × 2.50 in. × 0.50 in.)Figure 2. USB-6001/6002/6003 OEM Device Dimensions2||NI USB-6001/6002/6003 OEM User GuideI/O Connector PinoutsFigure3 shows the USB-6001/6002/6003 OEM device I/O connector pinouts.Figure 3. USB-6001/6002/6003 OEM T erminal AssignmentsSignal DescriptionsMost of the signals available on the I/O connector are described in the NI USB-6001/6002/6003 User Guide document available for download at /manuals. Table1 describes additional signals on the I/O connector of the OEM device.Table 1. Additional Signal DescriptionsSignal Name Reference Direction Description VBUS D GND Input USB PowerD+, D- D GND Input/Output USB Data LinesLED D GND Output Status LED DriverFor more information about USB signals, refer to the Universal Serial Bus Specification accessible at .NI USB-6001/6002/6003 OEM User Guide|© National Instruments|34| |NI USB-6001/6002/6003 OEM User GuideUsing the 34-Pin Connector with a Board Mount SocketThe USB-6001/6002/6003 OEM device can be mounted to a motherboard using the 34-pin connector, as shown in Figures 4 and 5.Figure 4. Mounting Using a 34-Pin ConnectorNoteRefer to the Device Components section for more information aboutmounting components.1Board Mount Socket 234-Pin Connector3USB-6001/6002/6003 OEM Device4Mounting Screw 5Mounting StandoffFigure 5. USB Device Installed on MotherboardConnecting to USBYou can use the USB connector on the USB-6001/6002/6003 OEM device to connect to the USB host. In this case, leave the D+ and D- signals and VBUS (on the 34-pin connector) unconnected.You can also use a USB connector on your motherboard to connect the USB-6001/6002/ 6003OEM device to the USB host through the 34-pin connector. In this case, do not connect to the USB connector on the USB-6001/6002/6003 OEM device.Using the Status LED DriverThe LED signal indicates the device status as listed in the NI USB-6001/6002/6003 User Guide document on /manuals. An open collector output drives the LED signal. For applications that use the LED signal, connect an external pull-up resistor from the LED signal to an external voltage.NI USB-6001/6002/6003 OEM User Guide|© National Instruments|56| |NI USB-6001/6002/6003 OEM User GuideTo drive a status LED, refer to the circuit as shown in Figure 6.Figure 6. To Drive a Status LEDTo use the LED signal to monitor the device state, refer to the circuit as shown in Figure 7.Figure 7. To Monitor Device State Through the LED SignalElectrical CharacteristicsTable 2 lists the LED electrical characteristics.Table 2. LED Electrical CharacteristicsParameter Condition Typical MaximumOutput Low V oltage I OL = 8 mA —0.4 V I OL = 18 mA1.2 V —External Pull-up V oltage —— 5.25 V Maximum Sinking Current——18 mADevice ComponentsTable3 lists the components used for interfacing and interacting with the USB-6001/6002/6003OEM device.Table 3. NI USB-6001/6002/6003 OEM Device ComponentsComponentReferenceDesignator(s)on PCB ManufacturerManufacturerPart NumberPartSpecificationsMicro USB connector J001Molex105164-0001—Hi-Speed USB cable,A to Micro-B, 1m—NI782909-01—Hi-Speed USB cable,A to Micro-B, 2m—NI782909-02—34-pin connector J0023M N2534-6V0C-RB-WF—34-pin mating connector —3M8534-4500PL(or equivalent)—Mounting Standoff Using34-pinboardmountsocket——— 4.76 mm (3/16 in.)HEX female-to-female, 15 mm(0.59 in.) longUsingribboncable——— 4.76 mm (3/16 in.)HEX female-to-female, 6.35 mm(1/4 in.) longScrew———M3 × 0.5,4-40 UNCNI USB-6001/6002/6003 OEM User Guide|© National Instruments|7Worldwide Support and ServicesThe National Instruments website is your complete resource for technical support. At / support you have access to everything from troubleshooting and application development self-help resources to email and phone assistance from NI Application Engineers.Visit /services for NI Factory Installation Services, repairs, extended warranty, and other services.Visit /register to register your National Instruments product. Product registration facilitates technical support and ensures that you receive important information updates from NI. National Instruments corporate headquarters is located at 11500 North Mopac Expressway, Austin, Texas, 78759-3504. National Instruments also has offices located around the world. For telephone support in the United States, create your service request at /support or dial 1866ASK MYNI(2756964). For telephone support outside the United States, visit the Worldwide Offices section of /niglobal to access the branch office websites, which provide up-to-date contact information, support phone numbers, email addresses, and current events.Refer to the NI Trademarks and Logo Guidelines at /trademarks for more information on National Instruments trademarks. Other product and company names mentioned herein are trademarks or trade names of their respective companies. For patents covering National Instruments products/technology, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your media, or the National Instruments Patents Notice at /patents. You can find information about end-user license agreements (EULAs) and third-party legal notices in the readme file for your NI product. Refer to the Export Compliance Information at /legal/export-compliance for the National Instruments global trade compliance policy and how to obtain relevant HTS codes, ECCNs, and other import/export data. NI MAKES NO EXPRESS OR IMPLIED WARRANTIES AS TO THE ACCURACY OF THE INFORMATION CONTAINED HEREIN AND SHALL NOT BE LIABLE FOR ANY ERRORS. U.S. Government Customers: The data contained in this manual was developed at private expense and is subject to the applicable limited rights and restricted data rights as set forth in FAR 52.227-14, DFAR 252.227-7014, and DFAR 252.227-7015.© 2014 National Instruments. All rights reserved.374261A-01Aug14。
工控机实验报告
工业计算机控制实验报告实验一A/D、D/A 转换实验一、实验目的1.了解温控系统的组成。
2.了解NI 测量及自动化浏览器的使用并对数据采集卡进行设置。
3.了解Dasylab 软件的各项功能,并会简单的应用。
4.通过实验了解计算机是如何进行数据采集、控制的。
二、实验设备微型计算机、NI USB 6008 数据采集卡、温度控制仪、温箱。
三、实验内容1.了解温度控制系统的组成。
2.仔细观察老师对数据采集卡输入输出任务建立的过程及设置还有dasylab 基本功能的演示。
3.仔细阅读dasylab 相关文档,学习帮助文件tutorial 了解其基本使用方法。
4.动手实践,打开范例,仔细揣摩,并独立完成数据采集卡输入输出任务的建立并建立并运行单独的AD 及DA 系统,完成之后,按照自己的需要及兴趣搭建几个简单的系统运行。
四、温控系统的组成计算机温度控制系统由温度控制仪与计算机、数据采集卡一起构成,被控对象为温箱,温箱内装有电阻加热丝构成的电炉,还有模拟温度传感器AD590。
系统框图如图所示:五、温控仪基本工作原理温度控制仪由信号转换电路、电压放大电路、可控硅移相触发器及可控硅加热电路组成。
被控制的加热炉允许温度变化范围为0~100℃.集成电路温度传感器AD590(AD590 温数据采集卡温度控制仪温箱度传感器输出电流与绝对温度成正比关系,灵敏度为1uA/K).将炉温的变化转换为电流的变化送入信号转换、电压放大电路.信号转换电路将AD590 送来的电流信号转换为电压信号,然后经精密运算放大器放大、滤波后变为0~5V 的标准电压信号,一路送给炉温指示仪表,直接显示炉温值。
另一路送给微机接口电路供计算机采样.计算机通过插在计算机USB 总线接口上的NI USB 6008 12 位数据采集卡将传感器送来的0~5V 测量信号转换成0~FFFH 的12 位数字量信号,经与给定值比较,求出偏差值,然后对偏差值进行控制运算,得到控制度变化的输出量,再经过NI USB 6008 将该数字输出量经12 位D/A 转换器变为0~5V 的模拟电压信号送入可控硅移相触发器,触发器输出相应控制角的触发脉冲给可控硅,控制可控硅的导通与关断,从而达到控制炉温的目的。
NI推出高性价比、高精确度USB数据采集设备
NI推出高性价比、高精确度USB数据采集设备
佚名
【期刊名称】《世界仪表与自动化》
【年(卷),期】2005(009)003
【摘要】NI公司全新推出USB-6008和USB-6009即插即用式数据采集设备。
现在科学家、技术人员、工程师及学生们可以更低价位享受到全新NI数据采集硬件带来的高精确度数据采集。
这两款全新的USB数据采集设备将提供更小的尺寸和更强的连接性.成为数据记录、环境监测等应用的理想选择。
同时.该产品也适用高等院校教学.其合理的价格允许学生用户在实验室使用。
【总页数】1页(P11)
【正文语种】中文
【中图分类】TH714.7
【相关文献】
1.NI推出更高性价比的可应用于高性能USB数据采集的CompactDAQ机箱——NI cDAQ-9174和cDAQ-9178机箱为四槽和八槽机箱提供了更高效的混合传感器测试性能 [J], 无
2.NI推出高精度多功能USB接口数据采集设备——NIUSB-6281及USB-6289功能增强型18位分辨率设备 [J], 无
3.NI推出高性价比、高精度USB数据采集设备 [J], 薛紫薇
4.NI推出高性价比、高精度的USB数据采集设备 [J],
5.NI推出高精度多功能USB接口数据采集设备NIUSB-6281及USB-6289功能增强型18位分辨率设备 [J],
因版权原因,仅展示原文概要,查看原文内容请购买。
NI6008温度测量
基于PC的测控系统综合设计说明书题目:基于NIUSB6008DAQ卡的温度测量系统设计专业:测控技术与仪器班级: 10测控1班学号: 1010131113姓名:李栋指导教师:何涛吴庆华目录1.摘要 (3)1.1基本设计内容及要求 (3)2.硬件设计 (3)2.1原理框图 (3)2.2各主要部件及电路工作原理 (3)2.2.1温度采集 (3)2.2.2数据采集卡 (3)2. 2. 3 NI数采卡上提供了三种不同的终端模式 (4)2.2.4三种输入模式的优缺点比较 (5)3.软件设计 (6)3.1应用程序框图 (6)3.2前面板及程序图 (7)3.3标定程序 (7)3.3.1标定的选定 (7)3.4报警判断程序 (8)4.设计结果 (9)5.设计中遇到的问题以及体会 (10)6实物连线图 (10)7参考文献 (11)1摘要1.1基本设计内容及要求系统由PC 机、NIUSB6008DAQ 卡、温度传感器组成。
Lab VIEW 软件开发工具编写一个测试软件,实现对温度数据的采集、处理和显示。
要求:(1)人机界面显示采集的电压和对应的温度值,能人工手动设定温度上限和温度下线;(2)检测系统的标定中的斜率和截距能在人机界面中显示并能手动修改;(3)温度正常时,绿灯一直亮;温度不正常;报警红灯闪烁亮。
2硬件设计2.1总体设计原理框图2.2各主要电路及部件工作原理2.2.1温度采集温度传感器将外界温度变为模拟电流信号,经过变送器将模拟电流信号转变为模拟电压信号,在将模拟电压信号连接NIUSB6008DAQ 卡,对电压信号进行采集,将采集的数据输入到PC 机中,即可完成对数据的采集。
温度传感器选用的型号是STT-C1,STT-C 系列铂电阻温度传感器使用标准连接器,方便现场连接及维护,适用于医疗仪器、便携式仪表等温度的测量使用。
C1是圆形连接器。
温度范围-50~200℃。
与温读传感器配套使用温度变送器选用的型号是STWB-TR-X100T-R (-50~200℃)-FV2-P2-S0。
USB-6009用户使用手册
USER GUIDE AND SPECIFICATIONSNI USB-6008/6009Bus-Powered Multifunction DAQ USB DeviceThis user guide describes how to use the National Instruments USB-6008 and National Instruments USB-6009 data acquisition (DAQ) devices and lists specifications.The NI USB-6008/6009 provides connection to eight single-ended analog input (AI) channels, two analog output (AO) channels, 12 digital input/output (DIO) channels, and a 32-bit counter with afull-speed USB interface. Table1 compares the devices.Table 1. NI USB-6008 and NI USB-6009 ComparisonFeature NI USB-6008NI USB-6009AI resolution12 bits differential,11 bits single-ended 14 bits differential, 13 bits single-endedMaximum AI sample rate, single channel*10 kS/s48 kS/s Maximum AI sample rate,multiple channels (aggregate)*10 kS/s48 kS/sDIO configuration Open collector†Each channel individuallyprogrammable as open collectoror active drive†* System-dependent.† This document uses NI-DAQmx naming conventions. Open-drain is called open collector and push-pull is called active drive.Figure1 shows key functional components of the NI USB-6008/6009.Figure 1. NI USB-6008/6009 Block DiagramContentsSafety Guidelines (3)Electromagnetic Compatibility Guidelines (3)Unpacking (4)Setting Up the NI USB-6008/6009 (4)Using the NI USB-6008/6009 in an Application (6)Features (7)USB Connector and USB Cable Strain Relief (7)LED Indicator (8)Screw Terminal Connector Plugs (8)Firmware (8)Cables and Accessories (9)Pinout and Signal Descriptions (9)NI USB-6008/6009 User Guide and © National Instruments Corporation 3NI USB-6008/6009 User Guide and SpecificationsAnalog Input (11)Analog Input Modes and Signal Sources (11)Floating Signal Sources.......................................................................................................12Ground-Referenced Signal Sources.....................................................................................13Taking Differential Measurements......................................................................................14Taking Referenced Single-Ended Measurements................................................................15Digital Trigger.............................................................................................................................15Analog Output.. (16)Connecting Analog Output Loads...............................................................................................16Minimizing Glitches on the Output Signal..................................................................................16Digital I/O.. (17)Source/Sink Information..............................................................................................................18I/O Protection...............................................................................................................................19Power-On States..........................................................................................................................19Static DIO....................................................................................................................................19PFI 0.. (19)Using PFI 0 as a Digital Trigger..................................................................................................19Using PFI 0 as an Event Counter.................................................................................................19External Reference and Power Source. (20)+2.5V External Reference...........................................................................................................20+5 V Power Source......................................................................................................................20Specifications.......................................................................................................................................20Where to Go from Here.. (27)Example Programs.......................................................................................................................27Related Documentation................................................................................................................27Where to Go for Support (30)Safety GuidelinesOperate the NI USB-6008/6009 device only as described in this user guide.CautionDo not operate the NI USB-6008/6009 in a manner not specified in this document. Misuseof the device can result in a hazard. You can compromise the safety protection built into the device if the device is damaged in any way. If the device is damaged, contact National Instruments for repair.CautionDo not substitute parts or modify the device except as described in this document. Use thedevice only with the chassis, modules, accessories, and cables specified in the installation instructions. You must have all covers and filler panels installed during operation of the device.CautionDo not operate the device in an explosive atmosphere or where there may be flammablegases or fumes. If you must operate the device in such an environment, it must be in a suitably rated enclosure.Electromagnetic Compatibility GuidelinesThis product was tested and complies with the regulatory requirements and limits for electromagnetic compatibility (EMC) as stated in the product specifications. These requirements and limits are designed to provide reasonable protection against harmful interference when the product is operated in its intended operational electromagnetic environment.This product is intended for use in industrial locations. There is no guarantee that harmful interference will not occur in a particular installation, when the product is connected to a test object, or if the productis used in residential areas. To minimize the potential for the product to cause interference to radio andNI USB-6008/6009 User Guide and Specifications television reception or to experience unacceptable performance degradation, install and use this product in strict accordance with the instructions in the product documentation.Furthermore, any changes or modifications to the product not expressly approved by National Instruments could void your authority to operate it under your local regulatory rules.Caution To ensure the specified EMC performance, operate this product only with shielded cablesand accessories.Caution This product may become more sensitive to electromagnetic disturbances in the operationalenvironment when test leads are attached or when connected to a test object.Caution Emissions that exceed the regulatory requirements may occur when this product isconnected to a test object.CautionChanges or modifications not expressly approved by National Instruments could void theuser’s authority to operate the hardware under the local regulatory rules.UnpackingThe NI USB-6008/6009 device ships in an antistatic package to prevent electrostatic discharge (ESD). ESD can damage several components on the device.CautionNever touch the exposed pins of connectors.To avoid ESD damage in handling the device, take the following precautions:•Ground yourself with a grounding strap or by touching a grounded object.•Touch the antistatic package to a metal part of your computer chassis before removing the device from the package.Remove the device from the package and inspect it for loose components or any other signs of damage. Notify NI if the device appears damaged in any way. Do not install a damaged device in your computer or chassis.Store the device in the antistatic package when the device is not in use.Setting Up the NI USB-6008/6009Complete the following steps to get started with the NI USB-6008/6009.NoteFor information about non-Windows operating system support, refer to the Getting Started with NI-DAQmx Base for Linux and Mac OS X Users document available from /manual s .1.Install the application software (if applicable), as described in the installation instructions that accompany your software.2.Install NI-DAQmx 1.NoteThe NI-DAQmx software is included on the disk shipped with your kit and is available for download at /s upport . The documentation for NI-DAQmx is available after installation from Start»All Programs»National Instruments»NI-DAQ . Other NI documentation is available from /manual s .1NI USB-6008/6009 devices are supported by NI-DAQmx 7.5 and later.© National Instruments Corporation 5NI USB-6008/6009 User Guide and Specifications3.Install the 16-position screw terminal connector plugs by inserting them into the connector jacks as shown in Figure 2.Figure 2. Signal Label Application Diagram4.Affix the provided signal labels to the screw terminal connector plugs. You can choose labels with pin numbers, signal names, or blank labels, as shown in Figure 3. Choose one of the labels, align the correct label with the terminals printed on the top panel of your device and apply the label, as shown in Figure 2.Figure 3. NI USB-6008/6009 Signal LabelsNoteAfter you label the screw terminal connector plugs, you must only insert them into the matching connector jack, as indicated by the overlay label on the device.5.Plug one end of the USB cable into the NI USB-6008/6009 and the other end into an available USB port on the computer.1Overl a y L ab el with Pin Orient a tion G u ide s 2S crew Termin a l Connector Pl u g3S ign a l L ab el 4U S B C ab le1U s er-Defined C us tom L ab el 2Termin a l N u m b er L ab el 3Digit a l I/O L ab el4An a log Inp u t Differenti a l S ign a l N a me L ab el 5An a log Inp u t S ingle-Ended S ign a l N a me L abelNI USB-6008/6009 User Guide and Specifications 6.Double-click the Measurement & Automation icon, shown at left, on the desktop to open Measurement & Automation Explorer (MAX).7.Expand My System»Devices and Interfaces and verify that the NI USB-6008/6009 is listed. If your device does not appear, press <F5> to refresh the view in MAX. If your device is still not recognized, refer to /s upport/daqmx for troubleshooting information.8.Self-test your device in MAX by right-clicking NI USB-600x and selecting Self-Test . Self-test performs a brief test to determine successful device installation. When the self-test finishes, a message indicates successful verification or if an error occurred. If an error occurs, refer to /s upport/daqmx .CautionTo ensure the specified EMC performance, operate this product only with shielded cablesand accessories.9.Connect the wires (16 to 28 AWG) of a shielded, multiconductor cable to the screw terminals by stripping 6.35 mm (0.25 in.) of insulation, inserting the wires into the screw terminals, and securely tightening the screws with the flathead screwdriver to a torque of 0.22–0.25 N · m (2.0–2.2lb · in.). Refer to Figure 6 for the NI USB-6008/6009 pinout.If using a shielded cable, connect the cable shield to a nearby GND terminal.NoteFor information about sensors, go to /s en s or s . For information about IEEE 1451.4 TEDS smart sensors, go to /ted s .10.Run a Test Panel in MAX by right-clicking NI USB-600x and selecting Test Panels .Click Start to test the device functions, or Help for operating instructions. Click Close to exit the test panel.Using the NI USB-6008/6009 in an ApplicationYou can use the DAQ Assistant through many NI application software programs to configure virtual and measurement channels. Table 2 lists DAQ Assistant tutorial locations for NI applications.Refer to the Where to Go from Here section for information about programming examples for NI-DAQmx and NI-DAQmx Base.Table 2. DAQ Assistant Tutorial LocationsNI Application Tutorial LocationLabVIEWGo toHelp»LabVIEW Help . Next, go to Getting Started with LabVIEW»Getting Started with DAQ»Taking an NI-DAQmx Measurement in LabVIEW .LabWindows ™/CVI ™Go to Help»Contents . Next, go to Using LabWindows/CVI»Data Acquisition»Taking an NI-DAQmx Measurement in LabWindows/CVI .Measurement StudioGo to NI Measurement Studio Help»Getting Started with the MeasurementStudio Class Libraries»Measurement Studio Walkthroughs»Walkthrough: Creating a Measurement Studio NI-DAQmx Application .LabVIEW SignalExpressGo to Help»Taking an NI-DAQmx Measurement in SignalExpress .© National Instruments Corporation 7NI USB-6008/6009 User Guide and SpecificationsFeaturesThe NI USB-6008/6009 features a USB connector, USB cable strain relief, two screw terminal connector plugs for I/O, and an LED indicator, as shown in Figure 4.Figure 4. NI USB-6008/6009 Top and Back ViewsUSB Connector and USB Cable Strain ReliefThe NI USB-6008/6009 features a USB connector for full-speed USB interface. You can provide strain relief for the USB cable by threading a zip tie through the USB cable strain relief ring and tightening around a looped USB cable, as shown in Figure 5.Figure 5. NI USB-6008/6009 Strain Relief1U S B C ab le S tr a in Relief2S crew Termin a l Connector Pl u g3LED Indic a tor 4U S B ConnectorLED IndicatorThe NI USB-6008/6009 device has a green LED indicator that indicates device status, as listed inTable3. When the device is connected to a USB port, the LED blinks steadily to indicate that the device is initialized and is receiving power from the connection.Table 3. LED State/Device StatusLED State Device StatusNot lit Device not connected or in suspendOn, not blinking Device connected but not initialized, or the computer is in standby mode.In order for the device to be recognized, the device must be connected to a computer thathas NI-DAQmx installed on it.Single-blink Operating normallyScrew Terminal Connector PlugsThe NI USB-6008/6009 ships with one detachable screw terminal connector plug for analog signals and one detachable screw terminal connector plug for digital signals. These screw terminal connectorsprovide 16 connections that use 16–28AWG wire. Refer to step4 of the Setting Up theNI USB-6008/6009 section for information about selecting labels for the screw terminal connectorplugs. Refer to the Pinout and Signal Descriptions section for the device pinout and signal descriptions.You can order additional connectors and labels for your device. Refer to the Cables and Accessoriessection for ordering information.FirmwareThe firmware on the NI USB-6008/6009 refreshes whenever the device is connected to a computer with NI-DAQmx. NI-DAQmx automatically uploads the compatible firmware version to the device. Thefirmware version may be upgraded when new versions of NI-DAQmx release.NI USB-6008/6009 User Guide and © National Instruments Corporation 9NI USB-6008/6009 User Guide and SpecificationsCables and AccessoriesTable 4 contains information about cables and accessories available for the NI USB-6008/6009. For a complete list of accessories and ordering information, refer to the pricing section of the NI USB-6008 or NI USB-6009 product page at .Pinout and Signal DescriptionsFigure 6 shows the pinout of the NI USB-6008/6009. Analog input signal names are listed assingle-ended analog input name, AI x , and then differential analog input name, (AI x +/–). Refer to Table 5 for a detailed description of each signal.Figure 6. NI USB-6008/6009 PinoutTable 4. NI USB-6008/6009 Cables and AccessoriesAccessoryPart Number DescriptionUSB-6008/6009 Accessory Kit 779371-01Four additional screw-terminal connectors, connector labels, and a screwdriverUSB-6000 Series Prototyping Accessory779511-01Unshielded breadboarding accessory forcustom-defined signal conditioning and prototyping. You can use up to two accessories per device.Hi-Speed USB Cable184125-01184125-021 m and2 m lengthsCaution : For compliance with Electromagnetic Compatibility (EMC) requirements, this product must be operated with shielded cables and accessories. If unshielded cables or accessories are used, the EMC specifications are no longerguaranteed unless all unshielded cables and/or accessories are installed in a shielded enclosure with properly designed and shielded input/output ports.Table 5. Signal DescriptionsSignal Name Reference Direction DescriptionGND——Ground—The reference point for the single-ended analog inputmeasurements, analog output voltages, digital signals, +5VDC supply,and +2.5VDC at the I/O connector, and the bias current return point fordifferential mode measurements.AI <0..7>Varies Input Analog Input Channels 0 to 7—For single-ended measurements, eachsignal is an analog input voltage channel. For differential measurements,AI0and AI4 are the positive and negative inputs of differential analoginput channel 0. The following signal pairs also form differential inputchannels: AI<1, 5>, AI<2, 6>, and AI<3, 7>. Refer to the Analog Inputsection for more information.AO <0, 1>GND Output Analog Output Channels 0 and 1—Supplies the voltage output ofAO channel0 or AO channel 1. Refer to the Analog Output section formore information.P0.<0..7>GND Input or Output Port0 Digital I/O Channels0to7—You can individually configureeach signal as an input or output. Refer to the Digital I/O section formore information.P1.<0..3>GND Input or Output Port1 Digital I/O Channels0to3—You can individually configureeach signal as an input or output. Refer to the Digital I/O section for moreinformation.PFI 0GND Input PFI 0—This pin is configurable as either a digital trigger or an eventcounter input. Refer to the PFI0 section for more information.+2.5 V GND Output+2.5 V External Reference—Provides a reference for wrap-backtesting. Refer to the +2.5V External Reference section for moreinformation.+5 V GND Output+5 V Power Source—Provides +5V power up to 200mA. Refer to the+5 V Power Source section for more information.NI USB-6008/6009 User Guide and Analog InputThe NI USB-6008/6009 has eight analog input channels that you can use for four differential analoginput measurements or eight single-ended analog input measurements.Figure7 shows the analog input circuitry of the NI USB-6008/6009.Figure 7. NI USB-6008/6009 Analog Input CircuitryThe main blocks featured in the NI USB-6008/6009 analog input circuitry are as follows:•MUX—The NI USB-6008/6009 has one analog-to-digital converter (ADC). The multiplexer (MUX) routes one AI channel at a time to the PGA.•PGA—The progammable-gain amplifier provides input gains of 1, 2, 4, 5, 8, 10, 16, or 20 when configured for differential measurements and gain of 1 when configured for single-endedmeasurements. The PGA gain is automatically calculated based on the voltage range selected in themeasurement application.•ADC—The analog-to-digital converter (ADC) digitizes the AI signal by converting the analog voltage into digital code.•AI FIFO—The NI USB-6008/6009 can perform both single and multiple analog-to-digital conversions of a fixed or infinite number of samples. A first-in-first-out (FIFO) buffer holds dataduring AI acquisitions to ensure that no data is lost.Analog Input Modes and Signal SourcesYou can configure the AI channels on the NI USB-6008/6009 to take differential or referencedsingle-ended (RSE) measurements. Table6 summarizes the recommended analog input mode(s) forfloating signal sources and ground-referenced signal sources. Refer to Table5 for more informationabout I/O connections for single-ended or differential measurements.Table 6. Analog Input ConfigurationsFloating Signal SourcesA floating signal source is not connected to the building ground system, but has an isolatedground-reference point. Some examples of floating signal sources are outputs of transformers, thermocouples, battery-powered devices, optical isolators, and isolation amplifiers. An instrument or device that has an isolated output is a floating signal source.Refer to the NI Developer Zone document, Field Wiring and Noise Considerations for Analog Signals, for more information. To access this document, go to /info and enter the Info Code rdfwn3. When to Use Differential Connections with Floating Signal SourcesUse DIFF input connections for any channel that meets any of the following conditions:•Your application requires input ranges other than ±10 V.•The input signal is low level and requires greater accuracy.•The leads connecting the signal to the device are greater than 3m (10ft).•The input signal requires a separate ground-reference point or return signal.•The signal leads travel through noisy environments.•Two analog input channels, AI+ and AI–, are available for the signal.DIFF signal connections reduce noise pickup and increase common-mode noise rejection. DIFF signal connections also allow input signals to float within the working voltage of the device.Refer to the Taking Differential Measurements section for more information about differential connections.When to Use Referenced Single-Ended (RSE) Connections with Floating Signal SourcesOnly use RSE input connections if the input signal meets all of the following conditions:•The input signal can share a common reference point, GND, with other signals that use RSE.•Your application permits the use of the ±10 V input range.•The leads connecting the signal to the device are less than 3m (10ft).DIFF input connections are recommended for greater signal integrity for any input signal that does not meet the preceding conditions.In the single-ended modes, more electrostatic and magnetic noise couples into the signal connections than in DIFF configurations. The coupling is the result of differences in the signal path. Magnetic coupling is proportional to the area between the two signal conductors. Electrical coupling is a function of how much the electric field differs between the two conductors.With this type of connection, the PGA rejects both the common-mode noise in the signal and the ground potential difference between the signal source and the device ground.Refer to the Taking Referenced Single-Ended Measurements section for more information about RSE connections.Ground-Referenced Signal SourcesA ground-referenced signal source is a signal source connected to the building system ground. It is already connected to a common ground point with respect to the device, assuming that the computer is plugged into the same power system as the source. Non-isolated outputs of instruments and devices that plug into the building power system fall into this category.The difference in ground potential between two instruments connected to the same building power system is typically between 1 and 100 mV, but the difference can be much higher if power distribution circuits are improperly connected. If a grounded signal source is incorrectly measured, this difference can appear as measurement error. Follow the connection instructions for grounded signal sources to eliminate this ground potential difference from the measured signal.Refer to the NI Developer Zone document, Field Wiring and Noise Considerations for Analog Signals, for more information. To access this document, go to /info and enter the Info Code rdfwn3. When to Use Differential Connections with Ground-Referenced Signal SourcesUse DIFF input connections for any channel that meets any of the following conditions:•Your application requires input ranges other than ±10 V.•The input signal is low level and requires greater accuracy.•The leads connecting the signal to the device are greater than 3m (10ft).•The input signal requires a separate ground-reference point or return signal.•The signal leads travel through noisy environments.•Two analog input channels, AI+ and AI–, are available for the signal.DIFF signal connections reduce noise pickup and increase common-mode noise rejection. DIFF signal connections also allow input signals to float within the working voltage of the device.Refer to the Taking Differential Measurements section for more information about differential connections.When to Use Referenced Single-Ended (RSE) Connections with Ground-Referenced Signal Sources Do not use RSE connections with ground-referenced signal sources. Use differential connections instead.As shown in the bottom-rightmost cell of Table6, there can be a potential difference between GND and the ground of the sensor. In RSE mode, this ground loop causes measurement errors.Taking Differential MeasurementsFor differential signals, connect the positive lead of the signal to the AI+terminal, and the negative lead to the AI– terminal.Figure 8. Connecting a Differential Voltage SignalThe differential input mode can measure ±20 V signals in the ±20V range. However, the maximum voltage on any one pin is ±10 V with respect to GND. For example, if AI 1 is +10 V and AI 5 is –10 V, then the measurement returned from the device is +20 V.Figure 9. Example of a Differential 20 V MeasurementConnecting a signal greater than ±10 V on either pin results in a clipped output.Figure 10. Exceeding ±10 V on AI Returns Clipped OutputTaking Referenced Single-Ended MeasurementsTo connect referenced single-ended (RSE) voltage signals to the NI USB-6008/6009, connect thepositive voltage signal to an AI terminal, and the ground signal to a GND terminal, as shown inFigure11.Figure 11. Connecting a Referenced Single-Ended Voltage SignalWhen no signals are connected to the analog input terminal, the internal resistor divider may cause the terminal to float to approximately 1.4 V when the analog input terminal is configured as RSE. Thisbehavior is normal and does not affect the measurement when a signal is connected.Digital TriggerYou can configure PFI0 as a digital trigger input for analog input tasks. Refer to the Using PFI0 as a Digital Trigger section for more information.Analog OutputThe NI USB-6008/6009 has two independent analog output channels that can generate outputs from 0 to 5 V. All updates of analog output channels are software-timed. GND is the ground-reference signal for the analog output channels.Figure12 shows the circuitry of one analog output channel on the NI USB-6008/6009.Figure 12. Circuitry of One Analog Output ChannelThe main block featured in the NI USB-6008/6009 analog output circuitry is the digital-to-analogconverter (DAC), which converts digital codes to analog voltages. There is one DAC for each analogoutput line.Connecting Analog Output LoadsTo connect loads to the NI USB-6008/6009, connect the positive lead of the load to the AO terminal,and connect the ground of the load to a GND terminal, as shown in Figure13.Figure 13. Connecting a LoadMinimizing Glitches on the Output SignalWhen you use a DAC to generate a waveform, you may observe glitches in the output signal. Theseglitches are normal; when a DAC switches from one voltage to another, it produces glitches due toreleased charges. The largest glitches occur when the most significant bit of the DAC code changes. You can build a lowpass deglitching filter to remove some of these glitches, depending on the frequency and nature of the output signal. For more information about minimizing glitches. refer to theKnowledgeBase document, Reducing Glitches on the Analog Output of MIO DAQ Devices. To access this document, go to /info and enter the Info Code ex s zek.。
基于labview的液位测控系统设计--大学毕业设计论文
摘要液位计算机测量与控制实验系统是为西北工业大学航空学院民航工程系综合实验平台而开发的课程教学实验系统。
液位测量与控制系统集传感器信号的采集、调理、转换、检测和控制为一体,是实时交互式图形界面应用系统。
该系统采集液位信号并用计算机可视化界面实时显示液位高度的变化过程;通过交互式对话框设置期望的液位高度,在检测当前液位的基础上控制进/出水阀门,从而对实际液位高度进行控制。
论文介绍了液位计算机测量与控制系统的结构与功能;分析了硬件系统中测量与控制电路的组成及工作原理;计算了信号调理电路中测量放大器的增益及各元件参数;使用PROTEL软件绘制了信号调理电路图;介绍了多功能数据采集卡NI USB-6008的特点、功能及软件开发平台LabVIEW;分析了系统的软件程序;介绍了液位计算机测控系统的用户使用界面所能实现的功能。
针对实验系统对液位进行开关控制所带来的问题,提出了用PID控制方法进行改进的措施。
关键词:液位测控,压力传感器,信号调理,NI USB-6008 ,LabVIEWABSTRACTThe liquid level measurement and control computer experimental system is a course teaching experimental system which is used to develop the comprehensive experimental platform for Aviation Institute of Civil Engineering of NWPU. The liquid level measurement and control system with real-time interactive graphical interface is of the sensor signal acquisition, conditioning, conversion, testing and control functions. The system acquires the signals of liquid level and computer interface real-time to show the liquid level changing process. Through an interactive dialog box, the desired water level is set. The actual water level is controlled based on the current liquid level detection through the import / outlet valves.The structure and function of the liquid level measurement and control computer experimental system is introduced at first. The hardware system composition and working principle is analyzed, and the gain and each components parameters of measuring amplifier in signal conditioning circuit are calculated. The signal conditioning circuit is drawn with PROTEL, and the features and functions of the multi-function data acquisition card NI USB-6008 and software development platform LabVIEW are introduced. The system software program is also analyzed. For the control problems of import / outlet valves of the liquid level measurement and control computer experimental system, a PID control method is proposed to improve the system performances.KEY WORDS:liquid level measurement and control,pressure sensor,signal conditioning ,NI USB-6008 ,LabVIEW目录摘要 (I)ABSTRACT (II)第一章绪论 (1)1.1 课题背景............................................................................. 错误!未定义书签。
USB-6008使用指南
请勿在可能发生爆炸的环境中或存在易燃气体的情况下使用设备。如必须用于此 类环境,请选择合适的外壳。
© National Instruments Corporation
3
NI USB-6008/6009 用户指南和产品规范
请使用干布清洁设备。设备恢复运行前,请先验证设备是否完全干燥且不会 产生污染。
文档内容包括 NI-DAQmx API 概述、测量任务、测量概念及函数参考信 息,它集成在 Visual Studio .NET 文档中。通过开始 » 程序 »National Instruments»NI-DAQ»NI-DAQmx .NET Reference Help 可查看 NI-DAQmx .NET 文档。展开 NI Measurement Studio Help»
按照下列步骤在 Visual C++、Visual C# 或 Visual Basic .NET 平台创建应
用程序:
1. 在 Visual Studio .NET 中,点击 File»New»Project 打开 “New Project” 对话框。
2. 根据所用编程语言选择 Measurement Studio 文件夹。 3. 选择项目类型,添加 DAQ 任务。
关于 NI-DAQmx 方法和属性的帮助信息,见 NI Measurement Studio Help 中的 NI-DAQmx .NET Class Library 或 NI-DAQmx Visual C++ Class Library。关于在 Measurement Studio 中编程的帮助信息,见 NI Measurement Studio Help,它集成在 Microsoft Visual Studio .NET 帮助文档中。在 Visual Studio .NET 中,点击 Measurement Studio» NI Measurement Studio Help 查看文档。
用NI的数据采集卡实现简单电子测试之1——USB-6009简介
⽤NI的数据采集卡实现简单电⼦测试之1——USB-6009简介本⽂从本⼈的163博客搬迁⾄此。
⼏年以来,⼀直担任学校“虚拟仪器”课程教师。
以前上课都以介绍LabVIEW编程为主,硬件实验⼀直没有开展。
这次借“西部⾼校实⼒提升⼯程”的机会,学院采购了⼀批NI的数据采集卡,终于有机会让学⽣动⼿开展⼀点硬件实验了。
这次采购的是⼊门级的USB数据采集卡——USB-6009,NI没有为这卡提供外围实验电路,要⽤他上实验课还得⾃⼰动⼿为这个“⼩宝贝”设计⼏个实验,并配些外围电路。
接下来的⼏篇博⽂,将分⼏次介绍为学⽣设计的实验及外围电路,写到哪算哪吧。
今天先从⼩宝贝⼯具USB-6009介绍起。
(NI官⽅⽹站上介绍资料的内容就不原样重复了,只把我觉得有⽤、有趣和⼤家会感兴趣的内容摘⼀下)在NI众多的数据采集卡中,USB-6009可以算是性能最低的了,价格也相对最低——官⽅渠道约⼩3000元(个⼈觉得还是⽐国产的其他数据采集卡还是贵多了)。
USB-6009性能不⾼,但“⿇雀虽⼩,五脏俱全”,常见的功能⼀应俱全,基本能够体现LabVIEW+NI数据采集卡的开发特点。
先来张外观照⽚。
再看看内部电路板(PCB的顶层,底层没东西)。
⼀、USB-6009的内部构成打开后盖,看到USB-6009主要有两个芯⽚,⼀个是Silicon Labs的单⽚机,另⼀个是TI的⼗四位ADC,这两个芯⽚决定了USB-6009的基本性能。
单⽚机上的激光丝印看不出它的型号,但“Silicon Labs”、“TQFP-32封装”、“有USB DEVICE接⼝”⼏个条件⼀综合,⼤概能猜出来了:C8051F320——2.3KB RAM+16KB Flash。
TI的ADS7871是个功能挺全⾯的ADC。
四个全差分通道,或变为⼋个单端通道。
其他参数包括:14位分辨率;带有⽚上PGA;参考电压等都和USB-6009⼀样。
个⼈觉得这个ADC最⼤的缺点就是最⾼采样率只有48KBPS。
电子科学与技术专业毕业论文--基于LABVIEW和USB6008传感器测试系统的数据采集处理
目录摘要 (3)第一章绪论 (4)1.1研究目的与意义 (4)1.1.1研究目的 (4)1.1.2研究意义 (4)1.2传感器实验仪的计算机测试技术发展现状 (5)1.2.1计算机辅助测SIC(CAT)技术现状 (5)1.2.2虚拟仪器总线现状 (5)1.2.3传感器的测试系统现状 (6)1.3本课题系统总体方案、目标及任务 (6)1.4数据采集系统的概述 (7)1.4.1性能指标 (7)1.4.2信号输入方式 (8)1.4.3数据采集模块 (9)第二章静态测试系统设计 (10)2.1静态采集设计 (10)2.1.1开关机械动作的介绍 (11)2.2数据存储 (12)2.3数据处理 (13)2.3.1数据处理简介 (14)2.3.1.1灵敏度 (14)2.3.1.2滞后度 (15)2.3.1.3线性度与线性误差 (15)2.3.1.4回程误差. (16)2.3.2数据的标定 (17)第三章动态测试系统设计 (18)3.1时域特性分析实验 (18)3.2频域分析 (20)3.3频谱分析及数据分析 (22)3.3.1频谱分析 (22)3.3.2频谱分析数据处理 (23)第四章系统性能分析 (25)4.1模块介绍 (25)4.1.1差动放大器 (25)4.1.2相敏检波 (26)4.1.3移相器 (26)4.2分析步骤及结果 (27)第五章总结与建议 (30)5.1总结 (30)5.2建议 (30)参考文献 (31)致谢........................................................................................................ 错误!未定义书签。
附录.. (32)摘要实验在普通高等教育中占有非常重要的地位,它是对学生进行素质教育的一个重要环节。
目前在中国许多高等院校中使用的教学实验仪器仍大多为相当落后的传统仪器。
数据采集软硬件解决方案
DAQ 事业部将精心为您提供:
● 专业的售前咨询服务: DAQ 事业部工程师将根据您的测试要求以及预算为您度身 定制软硬件测试解决方案。 ● 完善的售后支持服务: DAQ 事业部将为您提供专家级的售后技术支持以及产品售 后质量保证服务。 ● NI 数据采集卡批量折扣支持 为 OEM 用户提供购买 NI 数据采集卡批量折扣优惠。 ● NI 数据采集卡租借服务 为 OEM 用户提供 NI 数据采集卡租借服务,降低 OEM 用户 前期研发成本。 ● 产品增值服务 为OEM用户提供产品增值服务,协助OEM更快推出新产品。 ● 培训课程服务 DAQ 事业部为使用 Visual Basic,Visual C++,Visual 的工程师提供 NI Measurement Studio 软件收 费培训课程服务,并为学员授予 DAQ 事业部与 NI 联合认 证的专业培训证书。
测量与自动化软件 DAQ 事业部软件产品(EaziDAQ 数据记录软件)............ 33
PCI 总线 PCI 总线(M 系列多功能数据采集产品)........................ 10 PCI 总线(S 系列同步多功能数据采集产品).................. 18 PCI 总线(数字 I/O 产品)................................................ 19 PCI 总线(计时器 / 定时器产品)..................................... 24 PCI 总线(模拟输出产品)............................................... 26
数据采集软硬件解决方案 daq@
2007
National Instruments USB-6008 6009说明书
Manufacturer: National Instruments Board Assembly Part Numbers:Part Number and Revision Description 191039C-02L or later USB-6008 191039C-01L or later USB-6009 Volatile MemoryTarget Data Type Size Backup1Accessible Accessible ProcedureNoneNon-Volatile Memory (incl. Media Storage)Target Data Type Size BatteryBackupUserAccessibleSystemAccessibleSanitizationProcedureFirmware code memory andcalibration data for deviceFlash 16 kB No No No None 1 Refer to Terms and Definitions section for clarification of User and System AccessibleProceduresProcedure 1 – Board Assembly Part Number identification:To determine the Board Assembly Part Number and Revision, refer to the “P/N” label applied to the surface of your product as shown below. The Assembly Part Number should be formatted as “P/N: ######a-vvL” where “a” is the letter revision of the Board Assembly (eg. A, B, C…) and the “vv” is the type identifier. If the product is RoHS compliant, “L” can be found at the end of the part number.Bottom of NI USB-6008/9Terms and DefinitionsCycle Power:The process of completely removing power from the device and its components and allowing for adequate discharge. This process includes a complete shutdown of the PC and/or chassis containing the device; a reboot is not sufficient for the completion of this process.Volatile Memory:Requires power to maintain the stored information. When power is removed from this memory, its contents are lost. This type of memory typically contains application specific data such as capture waveforms.Non-Volatile Memory:Power is not required to maintain the stored information. Device retains its contents when power is removed.This type of memory typically contains information necessary to boot, configure, or calibrate the product or may include device power up states.User Accessible:The component is read and/or write addressable such that a user can store arbitrary information to the component from the host using a publicly distributed NI tool, such as a Driver API, the System Configuration API, or MAX. System Accessible:The component is read and/or write addressable from the host without the need to physically alter the product. Clearing:Per NIST Special Publication 800-88 Revision 1, “clearing” is a logical technique to sanitize data in all User Accessible storage locations for protection against simple non-invasive data recovery techniques using the same interface available to the user; typically applied through the standard read and write commands to the storage device.Sanitization:Per NIST Special Publication 800-88 Revision 1, “sanitization” is a process to render access to “Target Data” on the media infeasible for a given level of effort. In this document, clearing is the degree of sanitization described.。
NI USB-6003 产品规范说明书
产品规范NI USB-6003低成本DAQ USB设备除非另外声明,否则下列规范的适用温度均为25 °C。
如欲了解NI USB-6003的详细信息,请访问/manuals下载NI USB-6001/6002/6003 User Guide。
模拟输入通道数....................................................................差分4....................................................................单端8 ............................................................................ADC分辨率16位............................................................................最大采样率(总计)100 kS/s ............................................................................转换器类型逐次逼近AI FIFO2,047个采样............................................................................ ............................................................................触发源软件、PFI 0和PFI 1............................................................................输入量程±10 V ............................................................................工作电压±10 V过压保护....................................................................上电±30 V....................................................................掉电±20 V ............................................................................输入阻抗>1 GΩ............................................................................输入偏置电流±200 pA绝对精度....................................................................全量程时常规值 6 mV....................................................................非常规温度,全量程时最大值26 mV....................................................................系统噪声0.4 mVrmsDNL16位,无丢失代码............................................................................INL±1.8 LSB ............................................................................CMRR56 dB(DC至5 kHz)........................................................................................................................................................带宽300 kHz模拟输出............................................................................模拟输出2 ............................................................................DAC分辨率16位............................................................................输出范围±10 V ............................................................................最大更新速率 5 kS/s同步/通道,硬件定时AO FIFO2,047个采样........................................................................................................................................................触发源软件、PFI 0和PFI 1............................................................................输出驱动电流±5 mA ............................................................................短路电流±11 mA ............................................................................边沿斜率 3 V/μs ............................................................................输出阻抗0.2 Ω2||NI USB-6003产品规范绝对精度(无负载)....................................................................全量程时常规值8.6 mV....................................................................非常规温度,全量程时最大值32 mV ............................................................................DNL16位,无丢失代码INL±4 LSB ............................................................................ ............................................................................上电状态0 V ............................................................................启动毛刺-7 V, 10 µs时基注:下列规范适用于硬件定时的模拟输入和模拟输出的采样精度。
数据采集卡比较
数据采集卡比较电气与控制工程学院自动化0903张军锋王朝辉研华数据采集卡产品名称:研华数据采集卡ADAM-5081: 4通道高速计数器/频率模块型号:ADAM-50814通道高速计数器/频率模块功耗 1.1W(最大)最小脉冲宽度1μ sec.输入频率 5Hz ~1MHz输入电平隔离或TTL电平可编程数字滤波器1~65000μ sec计数器辅助功能初始值预设,高低报警设置,报警数字量输出变换,溢出标志最小输入电流 2mA产品名称:研华数据采集卡PCI-1758UDO:128路隔离数字量输出卡型号:PCI-1758UDOPCI-1758UDO是一款高密度的隔离数字量输出卡,它能够在更多的工业应用中监控。
PCI-1758UDO具备内置看门狗定时器和加电状态可编程功能∙128路隔离数字量输出通道∙输出通道高电压隔离∙宽输出范围(5 ~ 40 VDC)∙隔离输出通道上的高吸入式电流 (最大90 mA /通道)∙每个端口都有电流保护∙板卡ID开关∙可读回输出状态∙系统重启后保留数字输出值∙可编程加电状态看门狗定时器阿尔泰数据采集卡模拟量输入单端32路/差分16路 16位 250K 8K字FIFO ;模拟量输出 4路 12位上电自动清零;8路DI、8路DO;定时记数器 1路 16位◆16位AD精度,250KS/s采样频率◆单端32路/差分16路模拟量输入◆AD缓存:8K字FIFO存储器◆AD量程:±10V、±5V、±2.5V、0~10V、0~5V◆程控增益:1、2、5、10或1、2、4、8倍◆AD触发方式:多种模拟量、数字量触发方式◆12位DA精度,100KS/s数模转换频率◆4路模拟量输出,上电自动清零◆DA量程:0~5V、0~10V、±5V、±10V◆数字量输入、输出各8路◆Counter:9种门控方式的16位计数或脉冲发生功能◆全卡实现无跳线操作NI 数据采集卡产品名称:USB-6008 多功能数据采集卡产品型号:USB-6008点击次数: 135产品特点:NI USB-6008具有基本的数据采集功能,其应用范围包括简单的数据记录,便携式测量和学术机构的实验室试验。
基于LabVIEW的虚拟仪器技术
实验34 基于LabVIEW的虚拟仪器技术光信息科学与技术专业【实验目的】1.了解虚拟仪器技术的基本概念。
2.熟悉并掌握LabVIEW8.2软件的开发环境及基本使用方法。
3.学习编写基于USB接口的虚拟数据采集器的方法。
【仪器设备】计算机1台(Windows操作系统,安装LabVIEW8.2软件),NI USB6008多通道数据采集器一只,便携式数字万用表一只,示波器一台,函数信号发生器一台,1.5V电池一只,导线若干,钟表用一字螺丝批一把【安全注意事项】在整个实验过程中,NI USB6008多通道数据采集器的任何一个模拟信号输入端口的输入电压的峰值不能大于10V,而数字信号端口的输入输出电压峰值不能大于5.8V,否则会造成损坏。
【实验原理】测控仪器已经经历了模拟(指针)式仪器、数字式仪器、智能化仪器等三个阶段,现在的重要发展方向是虚拟仪器(Virtual Instrument,简称VI)技术。
为了便于与VI区分,习惯上称前三种仪器为传统仪器。
传统仪器在使用过程存在几个明显的缺点:a.一台传统仪器只能实现较单一的功能,扩展性、互换性、升级性较差。
b.在需要自动测量和控制的情况下,特别是需要自行开发专用的测控系统时,通常都需要编制控制程序。
随着个人计算机的出现,将计算机与测控仪器紧密结合在一起的虚拟仪器技术很好地克服了传统仪器的上述缺陷。
计算机和仪器的结合是目前仪器发展的一个重要方向,这种结合大概有两种方式:一种是将计算机装入仪器,其典型的例子就是所谓智能化的仪器;另一种方式是将仪器装入计算机,以通用的计算机硬件及操作系统为依托,实现各种仪器功能。
虚拟仪器主要是指这种方式1.虚拟仪器技术简介所谓虚拟仪器是指基于计算机的测控平台,它可以代替传统的测控仪器,如示波器、逻辑分析仪、信号发生器、频谱分析仪等;可集成于自动控制、工业控制系统;可自由构建成专有仪器系统。
如图1所示,一台完整实用的虚拟仪器主要由三个部分组成:虚拟仪器平台、开发软件、模块化I/O 硬件。
USB-6008使用指南
设备工作环境的污染等级应小于等于二级。污染是指固态、液态或气态杂 物,它会降低设备的绝缘强度或表面电阻率。污染等级说明如下:
• 污染等级 1 是指无污染或仅有干燥的、非导电性污染。此污染无影响。 • 污染等级 2 是指大多数情况下,仅产生非导电性污染。但需考虑偶然由
凝露引起的短暂导电性污染。
• 污染等级 3 是指导电性污染,或由于凝露使干燥非导电性污染变成导电
用户指南和产品规范
NI USB-6008/6009
说明
注
本用户指南主要介绍数据采集 (DAQ) 设备 NI USB-6008/6009 的使用方法
和产品规范。
NI USB-6008/6009 可提供 8 个模拟输入 (AI) 通道、 2 个模拟输出 (AO) 通 道、 12 个数字输入 / 输出 (DIO) 通道以及一个带全速 USB 接口的 32 位计
性污染。
根据设备最大额定电压,选择相应的信号绝缘线。请勿超出设备最大额定 值。设备接通电气信号时,请勿进行设备连线。如系统已接通电源,请勿卸 除或安装接线盒。热插拔模块时,应避免人体与接线盒内信号接触。设备连 接或断开信号线时,请先移除信号线电源。
设备满足的测量等级低于或等于 Measurement Category I1。测量电路
NI-DAQ 自述文件中列出了此版本的 NI-DAQ 支持的设备信息。点击开始 » 程序 »National Instruments»NI-DAQ»NI-DAQ 自述文件查看文档。
用户指南
用户指南NI USB-6008/6009总线供电多功能DAQ USB设备Français Deutsch日本語한국어简体中文/manualsNI USB-6008/6009提供8个单端模拟输入(AI)通道、2个模拟输出(AO)通道、12个数字输入/输出(DIO)通道、一个32位计数器以及全速USB接口。
本用户指南主要介绍设备的使用方法。
如欲查看产品规范,请参考NI USB-6008产品规范和NI USB-6009产品规范。
文档可至/manuals下载。
下表为NI USB-6008和NI USB-6009的功能比较。
表1. NI USB-6008和NI USB-6009功能比较下图为NI USB-6008/6009的主要功能部件。
1视系统而定。
2本文档使用NI-DAQmx中的术语。
“集电极开路”指漏极开路,“有源驱动”指推挽。
图 1. NI USB-6008/6009原理框图安全守则安装使用NI USB-6008/6009时必须遵循下文提到的重要安全守则。
警告 请遵循NI USB-6008/6009的使用说明。
错误操作设备可能发生危险。
设备损坏时,内置的安全保护机制也会受到影响。
关于受损设备的维修事宜,请联系NI 。
警告 请勿尝试采用本用户指南中未提到的其他方式替换设备元器件或改动设备。
仅可将设备与安装说明中指定的附件配套使用。
警告 请勿在可能发生爆炸的环境中或存在易燃气体的情况下使用设备。
如必须在此类环境中使用设备,请选择合适等级的外壳。
2 | | NI USB-6008/6009 用户指南电磁兼容性指南经测试,产品符合电磁兼容性(EMC)要求和限制,详情见产品规范。
产品在电磁环境中工作时,这些要求和限制旨在提供合理防护,防止有害干扰。
本产品适用于工业环境。
但在特定的安装环境下可能会产生有害干扰。
例如,产品连接至外设、测试对象,或产品用于住宅区或商业区时。
如要最小化广播电视接收干扰及避免设备性能降低至不可接受的程度,请严格按照产品文档安装和使用本产品。
NI USB-6008
Back to TopBack to TopBack to TopLast Revised: 2014-11-06 07:14:12.0Low-Cost, Bus-Powered Multifunction DAQ for USB 12- or 14-Bit, Up to 48 kS/s, 8 Analog Inputs8 analog inputs at 12 or 14 bits, up to 48 kS/s 2 analog outputs at 12 bits, software-timed 12 TTL/CMOS digital I/O lines One 32-bit, 5 MHz counterDigital triggering Bus-powered 1-year warrantyOverviewWith recent bandwidth improvements and new innovations from National Instruments, USB has evolved into a core bus of choice for measurement applications. The NI USB-6008and USB-6009 are low-cost DAQ devices with easy screw connectivity and a small form factor. With plug-and-play USB connectivity, these devices are simple enough for quick measurements but versatile enough for more complex measurement applications.Requirements and CompatibilityOS InformationMac OS X Windows 2000/XP Windows 7Windows CE Windows Mobile Windows Vista 32-bit Windows Vista 64-bitDriver InformationNI-DAQmx NI-DAQmx BaseSoftware CompatibilityANSI C/C++LabVIEW LabWindows/CVI Measurement Studio SignalExpress Visual Basic .NET Visual C#Comparison TablesProductAnalog InputsInput ResolutionMax Sampling Rate(kS/s)Analog Outputs Output ResolutionOutput Rate(Hz)Digital I/O Lines32-Bit CounterTriggeringUSB-60088 single-ended/4differential 1210212150121Digital USB-60098 single-ended/4differential1448212150121DigitalData logging—quick and easy environmental or voltage data loggingAcademic lab use—student ownership of data acquisition hardware for completely interactive lab-based courses (Academic pricing available. Visit the academic product page for details.)OEM applications as I/O for embedded systemsA guide to create fast and accurate measurements with no programming using the DAQ AssistantAutomatic code generation to create your application in LabVIEWLabWindows/CVI; SignalExpress; and C#, Visual Studio .NET, ANSI C/C++, or Visual Basic using Measurement StudioMultithreaded streaming technology for 1,000 times performance improvementsAutomatic timing, triggering, and synchronization routing to make advanced applications easy/zoneMore than 3,000 free software downloads at to jump-start your projectSoftware configuration of all digital I/O features without hardware switches/jumpersSingle programming interface for analog input, analog output, digital I/O, and counters on hundreds of multifunction DAQ hardware devices; M Series devices are compatible with the following versions (or later) of NI application software—LabVIEW, LabWindows/CVI, or Measurement Studio versions 7.x; and SignalExpress 2.xFully integrated graphical system design softwareSupport for a wide range of measurement hardware, I/O, and busesCustom, event-driven user interfaces for measurement and controlExtensive signal processing, analysis, and math functionalityAdvanced compiler to ensurehigh-performance execution and code optimizationIncludes SSP for professional technical support, online training, and software upgrades Quickly configure projects without programmingControl over 400 PC-based and stand-alone instrumentsLog data from more than 250 data acquisition devicesPerform basic signal processing, analysis, and file I/OScale your application with automatic LabVIEW code generationCreate custom reports or easily export data to LabVIEW, DIAdem or Microsoft ExcelNI LabWindows™/CVI for Windows Real-time advanced 2D graphs and chartsComplete hardware compatibility with IVI,VISA, DAQ, GPIB, and serialAnalysis tools for array manipulation, signalprocessing statistics, and curve fittingSimplified cross-platform communication withnetwork variablesMeasurement Studio .NET tools (included inLabWindows/CVI Full only)The mark LabWindows is used under alicense from Microsoft Corporation.NI Measurement StudioStandard EditionCustomizable graphs and charts for WPF,Windows Forms, and Web FormsUI designAnalysis libraries for basic signal generationHardware integration support with dataacquisition and instrument control librariesProject setup wizards to speed updevelopmentSupport for Microsoft Visual Studio .NET2012/2010/2008Support and ServicesSystem Assurance ProgramsNI system assurance programs are designed to make it even easier for you to own an NI system. These programs include configuration and deployment services for your NI PXI, CompactRIO, or Compact FieldPoint system. The NI Basic System Assurance Program provides a simple integration test and ensures that your system is delivered completelySupport - Visit /support to access the NI KnowledgeBase, example programs, and tutorials or to contact our applications engineers who are located in NI sales offices around the world and speak the local language.Discussion Forums - Visit for a diverse set of discussion boards on topics you care about.Online Community - Visit to find, contribute, or collaborate on customer-contributed technical content with users like you.Classroom training in cities worldwide - the most comprehensive hands-on training taught by engineers.On-site training at your facility - an excellent option to train multiple employees at the same time.Online instructor-led training - lower-cost, remote training if classroom or on-site courses are not possible.Course kits - lowest-cost, self-paced training that you can use as reference guides.Training memberships and training credits - to buy now and schedule training later.Caution Do not use this module for connection to signals or for measurements within Measurement Categories II, III, or IV.IEC 61010-1, EN 61010-1UL 61010-1, CSA 61010-1Note For UL and other safety certifications, refer to the product label or visit , search by model number or product line, and click the appropriate link in/certificationthe Certification column.EN 61326 EMC requirements; Minimum ImmunityEN 55011 Emissions; Group 1, Class ACE, C-Tick, ICES, and FCC Part 15 Emissions; Class ANote For EMC compliance, operate this device with double-shielded cables.2006/95/EC; Low-Voltage Directive (safety)2004/108/EC; Electromagnetic Compatibility Directive (EMC)Note Refer to the Declaration of Conformity (DoC) for this product for any additional regulatory compliance information. To obtain the DoC for this product, visit /certification, search by module number or product line, and click the appropriate link in the Certification column.mustEU Customers At the end of their life cycle, all products be sent to a WEEE recycling center. For more information about WEEE recycling centers and National/environment/weee.htmInstruments WEEE initiatives, visit .1 System dependent.。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
NI USB-6008说明
南通万高型式试验已基本调试完毕,对于万高所提出的转矩转速采集系统NI卡问题做出如下分析:
由于NI USB-6008模拟输入采样速率为:10KS/S,采集电压范围:-10V~10V,精度为:84.8mV,扭矩采集需要需要用到NI板卡的模拟输入进行采集,扭矩传感器量程为±10KG,输出范围为-10V~10V,鉴于NI板卡的精度为84.8mV,相应的可以计算出NI板卡所扭矩允许的误差范围在0.0848KG,即0.83104N,对于本套测试系统转矩进行换算后为:0.41552N.m。
对于±
1V而言,允许误差扭矩为:0.18375N.m。
在NI采集转速时是需要进行计算的,必须采集一定时间内NI板卡采集回来的脉冲数精心计算,所以刷新速率不能很快,USB-6008只有计数功能,没有算数以及其他附加功能。