Home

Data Acquisition Unit User Manual

image

Contents

1. an LEE E Modelling Engineering amp Development Company Limited Data Acquisition Unit Version 3 10 User Manual Courtenay House Monument Way East Woking Surrey GU21 5LY U K Tel 44 1483 750600 Fax 44 1483 762233 Email support medcotas com Home Page http www medcotas com Table of Contents System COVER VIEW AA 3 Installation 4 IDTE O E D me 5 COMMUNICATIONS anna 7 SO 9 learn 9 Cacca 9 Communicating through HyperTerminal i 10 ncn M 10 Expand asii MAE US Do Mund CHEST xu ER 10 Calibratino Channels nassen 11 Serial Cable 12 Card Data Reader neuere 13 DEE ecc 13 Installation A RC RE ET 13 Using the program seen 13 Important Information about Storing Data eese 14 Preparing the card for new data nen 14 Moving data to database files on the computer 14 Wiring Diagram for Acquisition Unit eee e ecce eee eere eee ee eee ee seen nae na 17 Appendix A Coiled Tubing Applications 4 ecce eee ee eee ee eene enne 18 A 19 Spell 19 Connectors for Shaft Encoder Cable einen 19 A Ond e umque Gau tu 21 Electrical Connection for Pressure Sensors 21 LOI 24 Pelia 24 Ele
2. Selected data section the FieldName section will show the current settings for the field names If the names curve color number format minimum and maximum values for the graph scaling of the field need to be changed then simply click the field name and the field properties form will appear see figure 2 Note that if more than one set of data has been selected and the fields are different then the CardDataReader will only use the field properties of the first set in the selection parameters x Name Speed Units ft min Minimum Maximum Number Format Graph Number Curve Color OK Cancel Figure 2 Field Properties form Next specify a filename for storing the data Use the browse button to browse through the folders on the computer and or select an existing database file If the database file already exist a query form see figure 3 will be displayed giving choices of creating a new file appending to the existing file or over writing the existing file 14 Database File Exist xi The file C Program Files CardD ataReader example mdb Exists Action Create New Append Overwrite New Name example md D mdb E Figure 3 Database file choices form When ready to write the data to the database file simply click the Read Data button If the user attempts to append a set of data to an existing database file with a different number of fields then t
3. Y xi The Y axis intercept is the offset o and can be determined from the following relationship 0 Yy 8X Gain slope ofthe line Figure 2 Calibration of sensor output Note that for counter channels there are no offsets Thus when calibrating an analogue channel two readings must be made while when calibrating a counter channel only one reading is required 11 Serial Cables The serial cables supplied are simply straight through connected i e all 9 pins are connected to the corresponding pins with no twisted pairs FEMALE To MALE To Data Computer Acquisition Box Wiring Diagram for the serial cables 12 Card Data Reader Overview The Real time Electronic Acquisition Control and Transmission REACT unit can store data in an S RAM PC MCIA card The utility CardDataReader is used to read and store the data in database files on the computer Facilities for creating new appending to existing and replacing database files are included Furthermore the CardDataReader has a facility to edit create graph settings within the database file Installation Run the setup exe file from the setup sub folder disk1 Follow the instructions Using the program To start the program click the START button on the windows toolbar and select PROGRAMS then select CardDataReader Figure 1 below shows the first screen that will appear Read SRAM C
4. and time to hh mme ss CR Week day 0 6 WD Sunday 0 Day DD Month MM Year YYYY Hour hh Minute mm Second ss Notes is a space 10 CR is the carriage return Allthe commands are case sensitive ch is channel number 1 18 xxx xxx is a value The decimal point can be included anywhere within the value if needed To remove a channel output simply change the gain of the channel to zero To re instate the channel reset the gain to an appropriate value Calibrating Channels Calibration is a procedure where a straight line interpretation of the output signal is used to obtain the equivalent physical values of the output signal Thus if we use a pressure sensor to measure the pressure of a fluid ranging say from 0 to 5000 psi and the sensor gives an output signal ranging from 0 to 10 vdc then the calibration should be done in the following manner Take a low value reading y usually the zero value is good enough Monitor the output of the sensor x Take a high value reading y2 usually a value close to the maximum range of operation i e close to 5000 psi Monitor the the output of the sensor x2 The straight line relationship has the form y gx o DI 66 uo Where y is the physical value x is the monitored voltage g is the gain and o is the offset The slope of the line is the gain g and can be determined from the following relationship 8 o y
5. Enter the channel number in decimal then select the hex option and the equivalent hexadecimal will be displayed If the value is a one digit hexadecimal then simply add a zero to the left Alternatively simply count in decimals as you increment the address on the display REAR VIEW e REAR VIEW Earth Neutral or DC Live or DC f BAUD ADDRESS DIGIT A MAX MIN SPECIAL Front view of display unit Part No 06003 MEDCO s LED Displays LED Display Part Number 17001 Enclosure 3 displays Part Number 17002 3 LED Displays Module On each display the buttons assignment is as follows Left button is MENU BUTTON Middle button is UP BUTTON Right button is DOWN BUTTON Each LED display can have an address between 1 to 255 in hexadecimal i e 00 to FF When the display address corresponds to a channel address on the data acquisition unit the display will show the value of the parameter associated with the channel The channels are numbered 1 through to 18 in decimals Specifications The displays operate on a 12 vdc power supply and in RS 485 mode and have the following protocol settings e BAUD RATE Either 9600 or 19200 When going through the menu a baud rate of 9600 will be shown as BAUDOO while a baud rate of 19200 will be shown as BAUDOI e PARITY None e DATA BITS 8 e STOP BIT 1 When used with the Data Acquisition unit the baud rate n
6. able for connecting to this port on one end male side and fitted with a female side for connecting to the computer This port is configured in RS 232 mode This port is configured as follows Baud rate 19200 Data bits 8 Parity None Stop bits 1 Handshake Hardware RTS CTS Note that the handshake configuration is RTS CTS Thus if you connect this to a computer you must run a communications program on the computer and configure the handshake as HARDWARE The user may use any program to capture the data DART Data Acquisition and Real Time processing by MEDCO is the recommended software to use with the data acquisition unit DART is capable of auto detecting the unit and has several features that make communicating with the unit simple Alternatively you may use a program such as Hyperterminal to communicate with the data acquisition unit To do this follow these steps From your windows START button click PROGRAMS ACCESSORIES COMMUNICATIONS HYPERTERMINAL Double click the Hypertrm icon Give the session a name such as MEDCO s data acquisition unit On the next screen use CONNECT USING and specify the appropriate com port example COMI On the next screen titled PORT SETTINGS ensure that the bits per second is set to 19200 and the FLOW CONTROL is set to HARDWARE Allow a minute and then you should see the data coming from the data acquisition unit 66 9 Alternatively type the le
7. ard Data ioj x Read Card Data Version 1 0 Copyright C 2002 MEDCO m COM Port Setup Format Card Port Number COMI COM2 C COM3 C COM4 Speed Bitsper Second 19200 C 38400 C 57600 foma Available data Selected Data 1 15 May 2002 14 36 44 496 18 2 15 May 2002 14 46 3 2333 18 Output File Name J m r Field Name 1 B 11 16 2 12 17 3 8 13 18 4 9 14 19 5 10 15 20 0 0 100 Read D Please select data section from the available data sections iEad Data Figure 1 Main form of CardDataReader If the card reader device is not found then the Available data section will be blank and a message advising the user to check the connection will appear The COM Port Setup section will have the default values as set at Medco If however these have changed then the appropriate values should be selected Note that the COM port number will depend on the computer assignment of the COM port being used while the Bits Per Second will require changing the flip switches at the bottom of the card reader device It is strongly advised to use the Medco default settings This is because the REACT will always communicate with the card reader 13 device at 19200 bits per second thus if the user changes the settings for reading the data the flip switches must be returned back to 19200 for REACT to store data Important Information about Storing Data The REACT unit w
8. ctrical Connection for Proximity Switch use rai 24 Mapnetie PICKUD sn 24 Electrical Connection for Magnetic Pickup uieeeceee ento tse einen ttn ape ein nao 25 Adaptor for Magnetic Pickup u a 25 Cable for Proximity Switch Magnetic Pickup to Data Collection Unit 26 Connectors on Cable for Proximity Switch Magnetic Pickup 26 System Overview The system is based on a microprocessor controller with a Motorola 68000 14 MHZ processor as the main controller Analogue and counter signals are acquired and processed The data is stored processed and transmitted There are provisions for 8 8 bits and 8 12 bits analogue signals on the microprocessor board However the MEDCO data acquisition system only uses 8 12 bits channels An additional board is utilised for the counter and quadrature signals Provisions are for 4 counters and 1 quadrature shaft encoder all of which can be used Provisions are also made for storing number formats gain and offset values lower and upper alarm values for all the input channels This information is used for the processing ofthe data and the outputs Furthermore rates are computed for all the counters and the quadrature signals Three serial communication ports are provided Currently these are used for communicating with displays and the computer The third port is used for storing data on a S RAM PC MCIA card with a capacity of 6 MByte Installation Installation of
9. d serial cable to the serial port S1 You should have a program capable of communicating through the serial port running on the computer such as DART or HyperTerminal The system will wait for one minute before starting The system will now be running with all the factory default settings The factory defaults are a gain of unity and an offset value of zero for all the channels All alarms are switched off AC Power DC Power 24v Data Collection Unit Figure 1 Front view of the data acquisition unit measures 23 x 20 x 16 cms Part No 10005 Figure 1 shows the front side of the unit This side has all the connections Note the channel numbers indicated on the picture The channels are 1 through to 13 and increment from left to right and top to bottom The serial ports are also numbered as SO through to S2 from top to bottom The configuration of the system is as follows number 1 to 8 Analogue giving 0 10 vdc output or 0 5 vdc 24 vdc excitation voltage Pressure sensors load cells density meters or any 12 bits resolution analogue signal Proximity switch or magnetic pick up 12 vdc excitation voltage Received pulses are conditioned to be TTL compatible Up down counter respectively Rate of channel 13 The analogue channels inputs vary depending on the user choice of sensors You should consult with MEDCO if you need to know what voltage range is acceptable to your system Displays It is impo
10. eeds to be set to 9600 BAUDOO Changing Display Settings To change the settings on the display press and hold the Menu Button for at least 2 seconds the display will show the current baud rate setting use the Up Button or the Down Button to change the settings if required To see the next menu item press the Menu Button again the display will show the current address is hexadecimals i e 00 to FF Use the Up Button to increment and the Down Button to decrement the address to the value desired Finally press the Menu Button again to go to the next menu item SAVE Press the Up Button to save the settings Wiring Diagrams Data Connectors Power Connectors OUT SOCKET IN PLUG OUT SOCKET IN PLUG 12 vdc Data signals A amp B Q9 08 07 06 Signal common Looking inside the enclosure panel Note Wire colours may be different from those shown Communications Allthe communications with the data acquisition unit are achieved through the serial ports These ports are assigned specific tasks and cannot swapped or changed S0 The first serial port SO is used for communication with the displays A serial link cable is supplied for use with this port The port is configured in RS 485 mode The port configuration is as follows Baud rate 9600 Data bits 8 Parity None Stop bits 1 Handshake None S1 The second serial port S1 is used for communication with the computer A serial link cable supplied suit
11. er format for channel ch to x decimal places It is recommended that you do not use this option as it is more or less redundant and the system will over write any number formats as necessary lo che xxx xxx CR Set the lower alarm for channel ch to xxx xxx The command is a lower case letter L Set the upper alarm for channel ch to xxx xxx Le ch CR Remove the lower alarm for channel ch Ue ch CR Remove the upper alarm for channel ch co ch CR Calibrate channel ch If the value of ch is greater than 8 1 e a counter or quadrature channel then the program will start counting the pulses and will stop when a k is issued Do not put a CR after the k The program will then issue the total counts If on the other hand the value of ch is between 1 and 8 then the readings will be reported continuously until f command is issued lo che xxx xxx CR Reset counter channel ch reading to xxx xxx The value of ch must be between 9 13 s CR Reset all system settings to factory defaults i e all gains are 1 all offsets are 0 all alarms are off and all number formats are with 3 decimal places p CR Print all the system settings These will be in 18 lines corresponding to channels 1 18 and will have the following format o 0 000 g 1 000 n 0 000 Ce WDe DD MMe YYYYo Changes the date
12. he append truncate form will appear The append truncate will allow the user to add or remove fields such that the number of fields conform to the database file 15 Wiring Diagram for Acquisition Unit Black 0 v EN White signal Red 24v supply Analogue channels Red 12v supply Counter channel White signal pulses oo O oo 09080706 I N VA J 1 2 3 PN TN FN NA NA KA 5 6 7 OJOS o N N AN 2 9 10 11 12 y N 4 NA 17 Earth Neutral or DC Live or DC White Ch A Black amp screen Ov comm Red 5v supply Appendix A Coiled Tubing Applications Recommended mechanical attachments for coiled tubing equipment Circulating pressure This sensor should be connected to the hydraulic line leading to the circulating pressure gauge in the dash of the control cabin A T type G Y connector should be used Well head pressure This sensor should be connected to the hydraulic line leading to the well head pressure gauge in the dash of the control cabin A T type G Y connector should be used Weight This sensor should be connected to the hydraulic line leading to the weight Martin Decker gauge in the dash of the control cabin A T type G 4 connector should be used Shaft encoder On the mechanical depth counter weld a plate to hold the shaft encoder in place and use the flexible coupling supplied 3 8 to 3 8 to connect the mechanica
13. ill automatically append data to the card without erasing the existing data Should the S RAM get full REACT will not write any data to the card When data is being recorded to the card a green LED at the front of the Card Reader Device will blink every now and then as data is being recorded If no data is being recorded because the card is full or not properly connected then the green LED will not show any response Each session will be identified by an ID number start date start time number of records and number of fields This information will appear the Available data section of the Main form of CardDataReader Preparing the card for new data If the S RAM card is close to getting full use the FORMAT button to format the card and prepare it for further data storage Formatting the card will erase all existing data on the card The S RAM card can store data for approximately 6 days at a sampling rate of 1 per second and 18 channels Moving data to database files on the computer To make a copy of a set of data from the card to the PC highlight the set of data in the Available data section then use the gt button to place the set in the Selected data section If all the sets are required then use the gt gt button To remove a set from the Selected data highlight the set then click the lt button Multiple sets of data can be copied simultaneously When a set of data has been selected and its identity appears in the
14. l counter shaft to the quadrature encoder shaft Proximity switch Either use a ring with bolts around a rotating part of the pump and build a bracket to hold the proximity switch such that the bolts will come very close the proximity switch If using a Halliburton flow turbine then you need to have a Halliburton recommended magnetic pickup and a signal converter adaptor from MEDCO The signal converter adaptor comes in the shape of a two sided connector tube The adaptor is compatible with the cable supplied for the proximity switch on one side and the collection unit on the other side Shaft Encoder Quadrature Optical Encoder Shaft encoder Part No 01001 Specifications Pulses per revolution 600 Operating Voltage 5 24 vdc Mounting Flange mount 1 181 Shaft size 3 8 Connectors for Shaft Encoder Cable Connector data collection unit side Part No 08043 Connector sensor side Part No 01003 19 The wiring of shaft encoder cable White wire signal A Black 1 Signal B Red wire Power Black 2 Shield Common Connector Connector to Data to Sensor Collection Unit Wiring diagram of cable for shaft encoder 20m Part No 10016 20 Pressure Sensors MEDCO supplies one of two types of pressure sensors Both types utilize the same connection on the data collection unit side and the wiring diagram is the same Electrical Connection for Pressure Sensors Connect
15. mA Switching frequency 800 Hz Temperature range 25 to 80 C Thread size MI2 Electrical Connection for Proximity Switch The proximity switch comes with a short cable and a 4 way in line sensor plug connector Connector for Proximity Switch Part No 08098 The wiring inside the connector is as shown in the diagram below Sensor Signal black wire Power brown wire Connector Wiring diagram for proximity switch Part No 10017 Magnetic Pickup 24 Magnetic Pickup Sensor Part No 16002 Electrical Connection for Magnetic Pickup The magnetic pickup is connected through a short 2m cable Part No 10014 The wiring inside the cable is as shown in the diagram below White wire signal Shield Shield common must be connected to connector body shell Connector to Sensor Connector to long cable Wiring diagram of short cable for magnetic pickup Adaptor for Magnetic Pickup 25 Part No 10015 Cable for Proximity Switch Magnetic Pickup to Data Collection Unit The wiring of the cable 30m to the data collection unit is as shown in the diagram below 1 I Red wire Power 2 I White wire Signal 4 E Black wire 1 Shield Common 4 I Black wire 2 Signal B of Mag PU Sensor side Data collection unit side Part No 10017 Connectors on Cable for Proximity Switch Magnetic Pickup Connector sensor side Part No 08099 26 Connect
16. or data collection unit side Part No 08042 A 5m cable is normally supplied with these sensors The electrical wiring diagram is shown below Shield connected to common Not connected Signal white wire Power Data collection Part No 10018 for Pressure sensors 04004 04005 and 04006 Part No 10019 for Pressure sensor 09001 21 MEDCOY s part number 04004 04005 and 04006 Specifications Part Output Measuring Operating Temp Range Protection Mechanical No Range Voltage Connection 04004 0 10 vdc 0 100 bar 18 30 vdc 25 to 80 C IP67 G Female 0 1450 psi 04005 0 10 vdc 0 250 bar 18 30 vdc 25 to 80 C IP67 G 4 Female 0 3625 psi 04006 0 10 vdc 0 400 bar 18 30 vdc 25 to 80 C IP67 G Female 0 5800 psi Pressure sensor type A Part No 04004 04005 and 04006 a Connector pressure sensor type A side Part No 04002 22 B MEDCO s part number 09001 Specifications Output 0 5 vdc Measuring range To client s requirement up to 15 000 psi Operating voltage 18 30 vdc Temperature range 29 to 94 C Protection Mechanical connection G Female Pressure sensor type B Part No 09001 Connector pressure sensor type B side Part No 08128 23 Proximity Switch Proximity Switch Sensor Part No 04007 Specifications Operating voltage 10 36 vdc Current rating 250
17. or data collection unit side Part No 08104 27
18. rtant to note that the displays use the same system for numbering as the data acquisition unit though the numbers appear in hexadecimals The displays use address 00 for all displays to respond to data then addresses 01 corresponds to address 1 in decimal through to ff in hexadecimal corresponds to address 255 in decimal Thus to program a display to receive a signal from the data acquisition unit the display address should match the channel number To change the address of a display a Move the flip switch number 3 to the OFF position to unlock the display on the 2 block of flip switches from the left hand side See the rear view figure b On the front of the display unit press and hold the address button until the address of the display unit appears c Change the address using the up A or down V button to increment or decrement the display address until the required address is shown in hexadecimal Press the OK button to accept e Move the flip switch back to the locked position ON i e reverse step a above Example Suppose you have three displays and you wish to use them to display the counts of channel 9 the value of channel 6 and the rate of channel 10 corresponds to channel 15 then the displays should be configured with the addresses 09 06 and OF respectively HINT If you have difficulties converting decimal numbers to hexadecimal then use Calculator on your computer to do the conversions for you
19. the system is very simple and straightforward The following steps should enable the user to use the system Get the data acquisition unit out of the packaging Mechanically attach the sensors to your equipment For coiled tubing equipment the recommended attachments are described in Appendix A Connect the sensors to the data acquisition unit All the analogue sensors are to be connected to the analogue channels i e circulating pressure wellhead pressure and weight to any of the analogue channels 1 through to 8 Proximity switches are to be connected to any channel from 9 to 12 and finally shaft encoder to be connected to channel 13 Connect to a mains power supply The mains power supply is strictly what you ordered i e if you ordered 220 VAC then you should only use 220 250 VAC and if you ordered 110 VAC then you should only use 110 125 VAC Alternatively if you have a DC power then you may use the Auxiliary power supply and connect it to 24 VDC You can make 24 VDC power supply using two car batteries in series Connect your displays supplied by MEDCO to the serial port SO using the serial link cable supplied by MEDCO The displays require power either as 220 VAC 110 VAC or 5 VDC Switch on the Data Acquisition Unit If you do not have a computer ready for the data acquisition then the system will automatically start in just over 1 minute If you have a computer ready to acquire data then connect the computer using the supplie
20. tter q in lower case and the system should start S2 The third serial port S2 RS 232 mode can be used to write data to an S RAM PC MCIA card The data will be automatically logged onto the card and the baud rate setting is 19200 Communicating through HyperTerminal If you use HyperTerminal to communicate to the data acquisition unit then you need to know the list of commands and their functions When you enter HyperTerminal you will only be receiving data To stop the incoming data and prepare the data acquisition unit to accept your commands you will need to send the text Trad followed by a carriage return CR The system will respond by issuing the characters OK You are now ready to change the system settings and the system is in the PAUSE The following table explains the available commands Explanation CR Return to run mode upon returning to run mode all the data in the RAM will be erased Thus you should use the transmit command to retrieve the data before issuing the return command e CR Write settings table to EPROM This command is 66 99 automatically issued when an r command is used CR Transmit the stored data from RAM ge che xxx xxx CR Set the gain for channel ch to xxx xxx o che xxx xxx CR Set the offset for channel ch to xxx xxx The command is a lower case letter O no che xxx xxx CR Set the numb

Download Pdf Manuals

image

Related Search

Related Contents

OPERATION GUIDE - CNET Content Solutions  Carsoft Ultimate Home Software  Guia do Usuário  

Copyright © All rights reserved.
Failed to retrieve file