Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Documentation for Stationary Reader SR3000 www.biocontrol.no Stationary Reader SR3000 Installation Manual D02C1.0 SR3000 Mar-2009 This documentation applies to the product Stationary Reader SR3000 manufactured by BioControl, Norway. Documentation version 1.0 completely replaces previous versions. Modifications since last documentation version: none – version 1.0 Note: All information in this document describes product and details ‘as is’. BioControl can not be held liable for (consequences of) incorrect or missing information in this document. Check our website for latest version of this document and information on this product. Mar-2009 Page 2 of 37 D02C1.0 SR3000 1 Contents 1 Contents ............................................................................................... 3 2 System overview .................................................................................. 5 3 Installation ........................................................................................... 6 3.1 Antenna installation guidelines ........................................................ 6 3.2 Power supply ................................................................................ 6 3.3 Electronic enclosure....................................................................... 7 3.4 Connections ................................................................................. 8 3.5 3.4.1 Cable inlets ...................................................................... 8 3.4.2 Cable connector description ................................................ 9 3.4.3 Connecting the antenna wire............................................. 10 3.4.4 Connecting the LIYCY reader synchronization cable .............. 10 3.4.5 Connecting the RS-232 cable to a PC.................................. 11 3.4.6 Micro switch description – X11, X23, X24 ............................ 11 Set/configuration ........................................................................ 12 3.5.1 Set/configuration of Node Address ..................................... 12 3.5.2 Set/configuration of master and slave (Multiple Reader configuration) ............................................................................. 12 3.5.3 Set/configuration of RS-232 serial /RS-485 bus communication ........................................................................... 15 4 Operation............................................................................................ 16 4.1 Instructions for proper installation and operation ............................. 16 4.2 Adjust Antenna – auto tuning ....................................................... 16 4.2.1 5 I/O configuration ............................................................................... 18 6 Communication Protocol ..................................................................... 19 6.1 6.2 7 Mar-2009 Indication of not correct tuned antenna: ............................. 17 System overview ........................................................................ 19 6.1.1 Definition ....................................................................... 19 6.1.2 Communication settings ................................................... 20 Communication........................................................................... 20 6.2.1 Communication between Transponder logger and host .......... 20 6.2.2 Initial setup .................................................................... 20 6.2.3 Messages sent to the reader ............................................. 23 6.2.4 Messages sent from the reader.......................................... 28 The hardware ..................................................................................... 29 Page 3 of 37 D02C1.0 SR3000 7.1 Recommended Operating Conditions ................................................... 30 8 Trouble shooting guidelines................................................................ 31 9 Figures, drawings, tables.................................................................... 33 Appendix A: Transponder Logger program ................................................................... 35 Appendix B: Loading new software .............................................................................. 37 Mar-2009 Page 4 of 37 D02C1.0 SR3000 2 System overview The SR3000 is a Stationary Reader for ISO 11784/11785 transponders with very good reading performance thanks to its dedicated RFID DSP-processor and auto-tuning function. It comes with a range of panel antennas and can read and control two inputs and two outputs. It is therefore ideally equipped for integration by System Integrators and OEM’s. Figure 2.1 shows an overview of an SR 3000 Single Reader configuration system which consists of • Stationary Reader (SR3000), • Antenna (SA SR3000) • Power Supply (PS SR3000). The PC is optional and is no required for a working system. The SR3000 is installed in an IP 65 enclosure with clear RFID indicator lights. A simple communication protocol sets and reads the I/O’s and can also switch on/off the HF-field. The integrated auto-tuning warrants optimum identification in dynamic environments, even when the antenna environment changes due to (unexpected) external circumstances. The DSP-algorithm is fine-tuned for optimum RFID performance with both FDX-B and HDX transponders. Figure 2.1: SR3000 Single Reader configuration Mar-2009 Page 5 of 37 D02C1.0 SR3000 3 Installation 3.1 Antenna installation guidelines To get a reliable identification of animals passing the stationary reader antenna, a ‘safety area’ outside the antenna must be respected. Inside this area metalreinforced building structures or other metal equipment short-circuiting the antenna electromagnetic field are not allowed. By following the guidelines set out in this chapter, you will be able to cover most installation requirements to achieve maximum performance of the SR3000. • • • • • • • • 3.2 The antenna wire used has proven to be water resistant and can be exposed to water. Use the pre drilled holes on the antenna for mounting. Do not mount the antenna in direct sunlight. Mount the antenna on a non conductive material (e.g. plywood, concrete, etc.). If mounted on a concrete wall, make sure the wall does not contain any metal reinforcement. Metal in proximity of the antenna (e.g. fences, pipes and metal loops) will cause damping or detuning and the reader system will have lower performance. Do not cut the antenna wire to make it shorter. This will cause detuning. Roll-up unneeded antenna wire. Make sure that antenna wire is properly fixed so it can not move. If the antenna wire has physical movement then this can reduce the performance. Power supply Power supply is a critical factor in RFID. For best RFID performance use ONLY original BioControl PS SR3000 power supply or car battery. The Stationary reader requires +13,2V DC stabilized power. It can also be connected to a car battery. Current consumption varies with the type of antenna which is used. • Medium size antenna (600x400mm): current consumption is less than 1A. • Large size antenna (1500x600mm): current consumption is less than 1.5A. Note: Mount PS SR3000 Power Supply minimum 1 meter away from SR3000 and antenna! Mar-2009 Page 6 of 37 D02C1.0 SR3000 3.3 Electronic enclosure For EMC-compliance the SR3000 IP 65 enclosure should be installed on the metal mounting bracket that is supplied with the SR3000. Figure 3.1: Metal mounting bracket should be used for mounting SR3000 Figure 3.2: Mechanical dimension and drilling pattern of metal mounting bracket Mar-2009 Page 7 of 37 D02C1.0 SR3000 3.4 Connections 3.4.1 Cable inlets The cables should be pulled through the grommets according to table 3.1 (recommendation). Note: One cable per grommet only! Figure 3.3: Cable inlets overview Table 3.1: Description of recommended cable inlets Cable glant Cable description A Antenna cable B RS232 cable (Pre-assembled) C Input 2 D Output 1 E Output 2 F 12V DC G Input 1 H RS-485 cable I Synchronization OUT J Synchronization IN Mar-2009 Page 8 of 37 D02C1.0 SR3000 3.4.2 Cable connector description Figure 3.4: Cable connectors overview Table 3.2: Description of cable connectors Connector A B C D E F G H I Mar-2009 Pin X20 Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9 Pin 10 Pin 11 Pin 12 Pin 13 Pin 14 Pin 15 Pin 16 Pin 17 Pin 18 Pin 19 Pin 20 Pin 21 Pin 22 Function Antenna terminals Reader synchronization Reader synchronization Reader synchronization Reader synchronization RS485 - Communication RS485 - Communication RS485 - Communication Input 1, Input 1, Input 1, Output 1 Output 1 Power supply Power supply RS232 - Communication RS232- Communication RS232- Communication Input 2 Input 2 Input 2 Output 2 Output 2 Page 9 of 37 Description Two antenna terminals Ground. LIYCY RS485 - A. LIYCY RS485 - B. LIYCY +5VDC. LIYCY Ground RS485 – A RS485 – B Ground NPN input +12V DC Ground +12V DC output +13,2V DC input Ground Ground to 9 PIN DSUB RX to 9 PIN DSUB TX to 9 PIN DSUB Ground NPN input +12V DC Ground +12V DC output D02C1.0 SR3000 3.4.3 Connecting the antenna wire Pull the antenna wire through the grommets according to table 3.1 and then through the ferrite (see picture below) to antenna connector X20. Endings of the antennas should be screwed tight in the connector. The ferrite should be used for EMC- reasons. Figure 3.5: Ferrite with bracket Warning! Do not touch the antenna connector X20 - as they are charged and could give you an electric shock. Always switch off the power before opening the box 3.4.4 Connecting the LIYCY reader synchronization cable When using more then one SR3000, ON/OFF synchronization of the HF-field is essential because two or more antennas are active with a relative small distance between them. For this reason, each SR3000 unit contains a synchronization terminal. HF-synchronization requires one master which triggers the HF-field of one or more slaves. The electronics handling the synchronization is a standard RS485 industrial communication bus. It is capable to handle maximum length of 1000 meters. Use the cable LIYCY 2*2*0.25mm. (or equivalent). LIYCY is a low cost standard signal cable and the recommended one for the reader synchronization. It consists of 2 pairs or independent twisted wires in a shielded cable. It is used for its robustness against electric and magnetic disturbances. If two readers are used then connect them the following one to one connection. Table 3.3:Wire sync connection SR3000-1 Pin Pin Pin Pin 1 2 3 4 SR3000-2 Pin Pin Pin Pin SR3000-n 1 2 3 4 Pin Pin Pin Pin 1 2 3 4 LIYCY wire (recomm.) Brown Yellow Green White Note: one pair is for +5V power and ground and the other pair are for the RS485 -A and -B. The shielding should not be connected. If more readers are used, connect 1 to 1, 2 to 2, etc, as in table 3.3. Note: One SR3000 must be set as Master, others connected via RS485 sync. bus as Slaves – see chapter 3.5.2 Mar-2009 Page 10 of 37 D02C1.0 SR3000 3.4.5 Connecting the RS-232 cable to a PC Table 3.4: Description of RS-232 connection SR3000 Color Description 9 Pin DSUB female Pin 15 White Ground, RS232 Pin 9 Pin 16 Yellow RX, RS232 Pin 3 Pin 17 Red TX, RS232 Pin 2 Note: on the SR3000 RS-232 must be set to ON by the micro switch block X24 pins 5 and 6 - see chapter 3.5.3 3.4.6 Micro switch description – X11, X23, X24 See also chapter 7 Main board to find micro switches on the printed circuit board. Table 3.5: Description of X11 micro switch X11 1 Synchronization Power from Master to Slave cards 2 Synchronization Ground from Master to Slave cards 3 Master / slave 4 Slave / master Table 3.6: Description of X23 micro switch X23 1 Node addressing 2 Node addressing 3 Node addressing 4 Node addressing 5 For future use 6 For future use 7 For future use 8 For future use Table 3.7: Description of X24 micro switch X24 1 Enables RS232 – DSP 2 Enables RS232 – DSP 3 Enables RS485 4 Enables RS485 5 Enables RS232 – Atmega 6 Enables RS232 – Atmega 7 100 Ohm end resistor. Reader synchronization 8 100 Ohm end resistor RS485 – Communication Mar-2009 Page 11 of 37 D02C1.0 SR3000 3.5 Set/configuration 3.5.1 Set/configuration of Node Address The node address on the SR3000 must be set both when used as RS232 (Single Reader Configuration) and RS485 (Single and Multiple Reader Configuration). The 4 first micro switches on X23 set the node address. In the table below a “1” indicates that the switch is ON, “0” indicates that the switch is OFF. “X” indicates that the position of it is not relevant to setting the node address. Table 3.8: Set node address X23 Node address 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0000XXXX 1000XXXX 0100XXXX 1100XXXX 0010XXXX 1010XXXX 0110XXXX 1110XXXX 0001XXXX 1001XXXX 0101XXXX 1101XXXX 0011XXXX 1011XXXX 0111XXXX 1111XXXX Note: configuration of node address is set independent of master / slave configuration. 3.5.2 Set/configuration of master and slave (Multiple Reader configuration) When SR3000’s are installed close to each other, then the HF-field must be synchronized. As a rule of thumb for the SR3000, when using Medium or Large antenna, the readers must be synchronized if they are closer than 50 meters from each other. This distance mainly depends on the amount of interference between the readers. The amount of interference depends of field strength generated the antennas, the amount of metal shielding in the surroundings and the angle of the antennas in relation to each other. Mar-2009 Page 12 of 37 D02C1.0 SR3000 In a system like this there must always be only one master. It does not matter where the master is. The rest are slaves. There can be many slaves. End resistor must be set for first and last SR3000. An end resistor is necessary for error free bus communication. Example to connect max 16 readers is below. Figure 3.6: Multiple Reader configuration Note: For each node, two settings must be made: - Set master or slave (X11). - Set end resistor or not for synchronization (X24/7). - Set end resistor or not for RS 485 communication (X24/8). Table 3.9: Example settings of readers. Node SR1 SR2 SR3 SRn Master/Slave Slave Master Slave Slave End resistor ON OFF OFF ON Master or slave is set on the micro switch block X11. Follow the tables below for settings. “1” indicates that the switch is ON. “0” indicates that the switch is OFF. “X” indicates that the position is not related to this setting. Table 3.10: Set master X11. Set master 1 2 3 4 Mar-2009 1 1 0 1 Power from Master Ground from Master Master / slave Slave / master Page 13 of 37 D02C1.0 SR3000 Table 3.11: Set slave X11. Set slave 1 2 3 4 0 0 1 0 Power from Master Ground from Master Master / slave Slave / master End resistor is set on the micro switch block X24. Follow the tables below for settings. “1” indicates that the switch is ON. “0” indicates that the switch is OFF. “X” indicates that the position the position is not related to this setting. Table 3.12: Set end resistor X24. Set end resistor 1 2 3 4 5 6 7 X X X X X X 1 8 X Enables RS232 – DSP Enables RS232 – DSP Enables RS485 Enables RS485 Enables RS232 – Atmega Enables RS232 – Atmega 100 Ohm end resistor. Reader synchronization 100 Ohm end resistor RS485 – Communication Table 3.13: Not set end resistor X24. End resistor NOT set 1 X Enables RS232 – DSP 2 X Enables RS232 – DSP 3 X Enables RS485 4 X Enables RS485 5 X Enables RS232 – Atmega 6 X Enables RS232 – Atmega 7 0 100 Ohm end resistor. Reader synchronization 8 X 100 Ohm end resistor RS485 – Communication Note: that settings for master/slave and end resistor are done independent of each other. Mar-2009 Page 14 of 37 D02C1.0 SR3000 3.5.3 Set/configuration of RS232 serial /RS485 bus communication RS 232 and RS-485 are set on the micro switch block X24. Follow the tables below for settings. “1” indicates that the switch is ON. “0” indicates that the switch is OFF. “X” indicates that the position is not related to this setting. Table 3.14: Turn ON RS-232 X24. Set RS-232 1 2 3 4 5 6 7 0 0 X X 1 1 X 8 X Enables RS232 – DSP Enables RS232 – DSP Enables RS485 Enables RS485 Enables RS232 – Atmega Enables RS232 – Atmega 100 Ohm end resistor. Reader synchronization 100 Ohm end resistor RS485 – Communication Table 3.15: Turn ON RS-485 X24. Set RS-485 1 2 3 4 5 6 7 X X 1 1 X X X 8 X Enables RS232 – DSP Enables RS232 – DSP Enables RS485 Enables RS485 Enables RS232 – Atmega Enables RS232 – Atmega 100 Ohm end resistor. Reader synchronization 100 Ohm end resistor RS485 – Communication Note: Default RS232 is set ON Mar-2009 Page 15 of 37 D02C1.0 SR3000 4 Operation 4.1 4.2 Instructions for proper installation and operation • It is important to plan the lay-out of the installation such that only one animal at the time is picked up by the stationary reader antenna. • Each animal that passes the antenna must wear a good-functioning FDX-B or HDX transponders. • Ear transponders should always be attached on the same side of the animal, either right or left ear. Mount the panel antenna on this side. • If any new animals are introduced, always check that the transponder is placed on the same side as for the rest of your herd. • Shield/direct the animal traffic such that the antenna can not pick-up transponders of other animals unintentionally. • Ensure that no conductive materials are close to the antenna. • Do not direct high pressure cleaner directly towards the SR3000 housing. • Don’t change antenna cable length. If too long: roll -up! • Install Power Supply minimum 1 meter away from Stationary Reader and Antenna! • Cables should be placed so that they will not be walked on, chewed by animals or squashed in any way. Adjust Antenna – auto tuning The SR3000 has auto tuning to achieve optimum reading performance. This is a mechanism in the reader that adapts the reader to the antenna. It has two kinds of auto tuning. Mar-2009 • First auto tuning is during the first 5 seconds after power up. It is indicated by the three lower LED’s and the charge HF LED. During tuning the three lower LED’s are on and the HF LED is blinking very fast. This tuning is done to adapt the reader to the connected antenna. This is done because of component tolerances, antenna tolerances and the fact that some metal will always be in proximity of the antenna. • Second auto tuning is done continuously to cope with changing ambient and circuit board temperatures. This ensures optimum performance. Page 16 of 37 D02C1.0 SR3000 4.2.1 Indication of not correct tuned antenna: The reader and the antenna can be detuned in two ways 1. If the antenna inductance is lower than the tuning window can cope with, then the three indicated LED’s blink 10 times after auto tuning. Reason can be too much steel is in the proximity of the antenna or the antenna or the reader can be broken. It can also be as simple as loose antenna terminals. 2. The AUX LED blinks 10 times after auto tuning. Then the antenna inductance is higher than the tuning window can cope with. Mar-2009 Page 17 of 37 D02C1.0 SR3000 5 I/O configuration The SR3000 is equipped with standardized computer interface to suit both RS232 interface with a PC or other serial device, as well as addressable interface on a RS485 field bus. The second RS485 is used for Master/Slave synchronization with optical isolation. The 2 inputs are equipped with pull-up resistors and can be used e.g. for detecting a gate switch or photo cell. Figure 5.1: Input (1k pull-up resistor) The 2 solid state outputs can be used e.g. to operate relays or actuators. Figure 5.2: Output (12V, 1.0A per output) Mar-2009 Page 18 of 37 D02C1.0 SR3000 6 Communication Protocol 6.1 System overview Figure 6.1: The Transponder Logger system 6.1.1 Definition Figure 6.1 shows an overview of a Transponder Logger system consisting of • Stationary Reader (SR 3000), • Antenna (SA SR3000) • Power Supply (PS SR3000) • Host: any PC with RS232 • BioControl ‘Transponder Logger’ program The Transponder Logger program can be downloaded from the ‘Community’ section on the BioControl website. Mar-2009 Page 19 of 37 D02C1.0 SR3000 6.1.2 Communication settings The following settings are used for the RS232 communication with the host PC: Table 6.1: Communication settings Parameter Value Baud rate 115200 bit/s Data bits 8 Parity None Stop bits 1 Flow control None 6.2 Communication 6.2.1 Communication between Transponder logger and host The messages are sent as hexadecimal values coded in ASCII. Each hexadecimal value can be in the range 0x00 to 0xFF, thus two ASCII characters are needed for each sent value. Every frame is starting with colon ‘:’, ASCII 0x3A and ending with semicolon ‘;’, ASCII 0x3B. One frame consists of the following items: Start character Destination address Source address Message type Information Checksum Stop character At least one semicolon as the start character Two ASCII characters defines the destination address Two ASCII characters defines the source address Two ASCII characters. See table 6 Optional The binary sum of all characters, starting with the destination address, ending with the last character before the checksum itself. One semicolon 6.2.2 Initial setup The reader has the following default setup at power up: Table 6.2: Default setup at power up Send format: Send mode: Mar-2009 Decimal according to ISO 24631-6 Send new detected transponders once Page 20 of 37 D02C1.0 SR3000 6.2.2.1 Example: Transponder sent in decimal format When the transponder number is sent as decimal, the number is sent without destination and source addresses, without message identifier and without checksum. The SR3000 sends the transponder number in ASCII according to ISO 24631-6 (figure 6.2). Figure 6.2: ISO 24631-6 frame In below example the SR3000 is connected to a PC with the Transponder Logger program. The transponder number is displayed in the small box on the window. Note: The Transponder Logger program is described in Appendix A Figure 6.3: Example frames in decimal mode Transponder line: Animal bit Retagging counter User information field Data block Country code Identification code Mar-2009 = = = = = = 1 0 0 0 937 8050 Page 21 of 37 D02C1.0 SR3000 6.2.2.2 Example: Transponder sent in hexadecimal format When the transponder number is sent in hexadecimal format, the 64 bit specified by ISO 11784 is sent: Table 6.5: The 64 bit of transponder specified by ISO 11784 Bit # 1 2-15 16 17-26 27-64 Description Flag for animal (1) or non animal (0) application Reserved field, usually zero Flag indicating the existence of a data block (1) or not (0) ISO 3166 numeric-3 country code Individual identification code In the list above, bit 1 is MSB and bit 64 is LSB An example of the output seen on HyperTerminal in hexadecimal mode: Figure 6.2: Example frame in hexadecimal mode :: f8 01 0a 80 00 f2 c0 00 2e 4f f2 ac ; Start characters Destination address (the host, the address is fixed) Source address (the reader) Message type, Return Transponder The 8 most significant bits of the transponder, bit 1-8 Bit 9-16 of the transponder Bit 17-24 of the transponder Bit 25-32 of the transponder Bit 33-40 of the transponder Bit 41-48 of the transponder Bit 49-56 of the transponder Bit 57-64 of the transponder The checksum The stop character The checksum is calculated by adding the ascii value of all characters, starting with the destination address, ending with the character in front of the checksum itself: ASCII value of ‘f’ is 0x46 ASCII value of ‘8’ is 0x38 ASCII value of ‘0’ is 0x30 Etc Mar-2009 Page 22 of 37 D02C1.0 SR3000 When the sum of all the ASCII values are ready, the least significant byte of the calculation is converted into ASCII and added to the end of the message. Note: Be aware that uppercase letters and lowercase letters have different ASCII values. Thus the checksum will differ for a message if the case is changed! 6.2.3 Messages sent to the reader The following messages are implemented: Table 6.6: Messages sent to the reader Message 00 01 02 03 04 05 06 07 08 09 0c 50 6.2.3.1 Description Turn off the reader Turn the reader on (default) Set mode 1, send new transponder number once (default) Set mode 2, send transponder number continuously while the transponder is in the antenna field Set mode 3, send transponder when requested only Send as decimal, according to ISO 24631-6 Send as hexadecimal Request the last read transponder number Set output level Request input level Request system parameters Goto Programming Mode Example 00: Turn off the reader The message “Turn off the reader” sent to address 01 from address 0xF8 is: ::01f8005f; or ::01F8003F; :: 01 F8 00 3F ; Mar-2009 Start characters Destination address (the reader) Source address (the host, the address is fixed) Message type, Turn off the reader The checksum The stop character Page 23 of 37 D02C1.0 SR3000 6.2.3.2 Example 01: Turn the reader on (default) The message “Turn off the reader” sent to address 01 from address 0xF8 is: ::01f80160; or ::01F80140; :: 01 F8 01 40 ; 6.2.3.3 Start characters Destination address (the reader) Source address (the host, the address is fixed) Message type, Turn on the reader The checksum The stop character Example 02: Set mode 1, send new transponder numbers (default) The message “Set mode 1” sent to address 01 from address 0xF8 is: ::01f80261; or ::01F80141; :: 01 F8 02 41 ; 6.2.3.4 Start characters Destination address (the reader) Source address (the host, the address is fixed) Message type, Set mode 1 The checksum The stop character Example 03: Set mode 2, send transponder number continuously while the transponder is in the field The message “Set mode 2” sent to address 01 from address 0xF8 is: ::01f80362; or ::01F80342; :: 01 F8 03 42 ; Mar-2009 Start characters Destination address (the reader) Source address (the host, the address is fixed) Message type, Set mode 2 The checksum The stop character Page 24 of 37 D02C1.0 SR3000 6.2.3.5 Example 04: Set mode 3, send transponder when requested only The message “Set mode 2” sent to address 01 from address 0xF8 is: ::01f80463; or ::01F80443; :: 01 F8 04 43 ; 6.2.3.6 Start characters Destination address (the reader) Source address (the host, the address is fixed) Message type, Set mode 2 The checksum The stop character Example 05: Send as decimal (default) The message “Send as decimal” sent to address 01 from address 0xF8 is: ::01f80564; or ::01F80544; :: 01 F8 05 44 ; 6.2.3.7 Start characters Destination address (the reader) Source address (the host, the address is fixed) Message type, Send as decimal The checksum The stop character Example 06: Send as hexadecimal The message “Send as hexadecimal” sent to address 01 from address 0xF8 is: ::01f80665; or ::01F80645; :: 01 F8 06 45 ; Mar-2009 Start characters Destination address (the reader) Source address (the host, the address is fixed) Message type, Send as hexadecimal The checksum The stop character Page 25 of 37 D02C1.0 SR3000 6.2.3.8 Example 07: Request the last read transponder number The message “Request the last read transponder number” sent to address 01 from address 0xF8 is: ::01f80766; or ::01F80746; :: 01 F8 07 46 ; 6.2.3.9 Start characters Destination address (the reader) Source address (the host, the address is fixed) Message type, Send as hexadecimal The checksum The stop character Example 08: Set output level The message “Set output level” sent to address 01 from address 0xF8 is: Set output 1 = ON, 2=OFF: ::01f80801c8; or ::01F80801A8; :: 01 F8 08 01 A8 ; Start characters Destination address (the reader) Source address (the host, the address is fixed) Message type, Send as hexadecimal Output level, binary: Bit 0 is output 1, bit 1 is output 2 The checksum The stop character Set output 1 = OFF, 2=ON: ::01f80802c9; or ::01F80802A9; Set output 1 = ON, 2=ON: ::01f80803ca; or ::01F80803AA; Set output 1 = OFF, 2=OFF: ::01f80800c7; or ::01F80800A7; Mar-2009 Page 26 of 37 D02C1.0 SR3000 6.2.3.10 Example 09: Request input level The message “Request input level” sent to address 01 from address 0xF8 is: ::01f80968; or ::01F80948; :: 01 F8 09 48 ; Start characters Destination address (the reader) Source address (the host, the address is fixed) Message type, send as hexadecimal The checksum The stop character The reader will answer with the message when input 1 is ON and input 2 is OFF: ::f8010b30f4; :: Start characters f8 Destination address (the host) 01 Source address (the reader) 0b Message type, send as hexadecimal 01 Input level, binary: Bit 0 is input 1, bit 1 is input 2 f2 The checksum ; The stop character 6.2.3.11 Example 0C: Request system parameters The message “Request system parameters” sent to address 01 from address 0xF8 is: ::01f80c92; or ::01F80C52; :: 01 F8 0C 52 ; Start characters Destination address (the reader) Source address (the host, the address is fixed) Message type, send as hexadecimal The checksum The stop character The reader will answer with this message (example): :: f8 01 0d 01 00 00 Mar-2009 Start characters Destination address (the host) Source address (the reader) Message type, sendt as hexadecimal Program version 1 Program revision 0 Test version, 00 if normal release Page 27 of 37 D02C1.0 SR3000 01 10 61 00 00 9d ; DSP program version 1 DSP program revision 16 DSP test version ‘a’ Antenna voltage, no desimals 0V Antenna tune value, 0 – 63 decimal (sent as hexadecimal) The checksum The stop character 6.2.4 Messages sent from the reader The following messages are available: Table 6.4: Messages sent from the reader Message 0a 0b 0d Description Send transponder number in hexadecimal format Send input/output level Return system parameters The reader is able to send the detected transponder number as a hexadecimal value in the full message format described above in chapter 6.2.1 or as a decimal value. When the decimal value is selected, the destination address, the source address, message type and checksum are dropped. The start and stop characters are still included in the frame. Mar-2009 Page 28 of 37 D02C1.0 SR3000 7 The hardware Figure 7.1: PCB overview Table 7.1: Description of main board Component Description 1 Fuse F5A/250V 2 X20 Antenna connector 3 X11 Master or Slave, Default value: Master 4 X23 Set node address 5 X24 Set end resistor, RS485, RS232 6 X2 Interface connectors Mar-2009 Page 29 of 37 D02C1.0 SR3000 7.1 Recommended Operating Conditions Table 7.2: Characteristics overview Parameter Dimension Supply voltage Current consumption Output voltage Max output current Input voltage Operating temperature range RS-232 interface RS-485 interface min. 0,6 0 ` RS485 Master/Slave synchronization (galvanic isolation) Inputs (1k pull-up resistor) Outputs Cable length first-last node for synchronization Cable length for connecting SR 3000 SI to a PC using RS-232 Cable length for connecting SR 3000 SI to a PC using RS-485 Mar-2009 typ. 171x164 13,2 0,8 1,5 Page 30 of 37 max. 2 12 1 12 45 1 1 Unit mm V DC A V DC A V DC o C pcs pcs 1 pcs 2 2 pcs pcs 200 m 3 m 1000 m D02C1.0 SR3000 8 Trouble shooting guidelines Problem Metal pipes are placed where I want the antenna to be. One reader installation performs worse than another installation. - - - - - - - - On one reader the Power LED and the Charge LED are always on. It does not read transponders. Mar-2009 Solution Cut away metal pipes. Mount the antenna on wood, plastic or other non conductive material. Make sure that all animals have only one ISO transponder. Best performance is achieved if all the transponders are on the side of the animal which is closest to the antenna panel. Check that transponders have stable reading. To do this the transponder must be removed from the animal, tested in front of the antenna and compared with a good transponder. Sometimes HDX and FDX can have reduced performance. This will happen if the transponder is physically damaged or is extreme noises environment. Check that there is no metal in proximity of the reader that can have mechanical vibrations (especially for FDX-B). Check that power supply is +13,2V DC. Having a powerful and stable +13,2V DC power ensures a well working system otherwise use battery Check that antenna wires are not damaged. Retighten antenna wires on terminal X20. Check that antenna is tuned. Restart the board while looking at the LED’s. Make sure that no steel work is added or removed in the proximity of the antenna after reader is tuned. Check that protected earth, PE, is connected from pin 14 to the main fuse board. If other stationary readers are in the same area then they must be synchronized. If synchronization is not possible then an absolute minimum distance of 50meters must be respected between unsynchronized equipment. Check that protected earth, PE, is working. Earth problems can cause worse performance. Contact electrician. The reader is in Slave mode and the connection to the master is not working. Page 31 of 37 D02C1.0 SR3000 Sometimes the reader performs really badly. There is a motor with a variable speed drive nearby. The variable speed drive must be installed correct for it not to generate too much RF interference. Following must be checked on the variable speed drive: - Shielded power cables - Shielded control cables - Shielding connected all the way from control panel to speed drive and to motor cables. - Protected earth connected all the way from main fuse board to speed drive and further to motor and control panel. - Main power filters between main supply and variable speed drive. Low performance on transponders. There is a monitor with CRT tube very close to the reader. Install monitor according to CE e.g. a flat screen monitor instead. They generate less magnetic field disturbance. The antenna wires are open. I am afraid that moisture can damage it. The antennas are designed to cope with moisture and direct hosing. Several animals can have the transponder in the antenna field at the same time. One animal has two transponders. One is a FDX neck implant and the other is a HDX ear tag. This seems to cause problems. Power supply LED is off The reader worked well when I installed it, but one year later reading is not as good. Mar-2009 This must be solved by having a narrower ally where the animals pass. FDX and HDX can be read at the same time. Only solution is to remove one of the transponders. Make sure that the board has +13,2V DC. If the SR3000 is installed in an environment where vibrations occur, then all terminals must be tightened once in a while. The antenna terminal X20 is the most critical one. Loose antenna wires will have bigger impact on detection of FDX than on HDX transponders. Page 32 of 37 D02C1.0 SR3000 9 Figures, drawings, tables Figure 9.1: SR3000 Single Reader configuration Figure 9.2: SR3000 Multiple Reader configuration Mar-2009 Page 33 of 37 D02C1.0 SR3000 164 +12V input 1 and 2 +12V 1k L1 100k IN L2 uProc L3 X11 ON X24 4 3 2 1 ON 8 7 6 5 4 3 2 1 L5 L6 +12V 8 7 6 5 4 3 2 1 171 ON 100k GND L4 output 1 and 2 max 1.0 Amp. BTS uProc OUT X23 GND Fuse A B C D E F G D OUT2 OUT2 GND IN2 +12V IN2 IN2 GND RS232 TXD RS232 RXD RS232 GND DC-IN GND DC-IN +12V OUT1 OUT1 GND IN1 +12V IN1 IN1 GND RS485 B RS485 A RS485 GND Sync +5V Sync RS485 B Sync RS485 A Sync GND F5A/250V E Figure 9.3: PCB connection overview Cable # wires A B C D E F G 2, fixed antenna cable 4+shield Twisted pair 3+shield Twisted pair 3, non-shielded 2, non-shielded 2+shield 3, non-shielded Max. length (m.) 1,5 (no change!) 200 (first to last node) 1.000 (first to last node) 5 2,5 Figure 9.4: cable overview Mar-2009 Page 34 of 37 D02C1.0 SR3000 Appendix A: BioControl Transponder Logger program The Transponder Logger is a simple PC-program that displays the current transponder number and stores it in a file with date/time stamp. The Transponder Logger program can be downloaded from the ‘Community’ section on the BioControl website. Figure A1.1: Transponder Logger program overview Steps to follow: 1. Turn on the SR3000 and connect it to the PC with the RS232 or RS485 cable 2. Download and run the latest version of Transponder Logger 3. Select Communication port (‘B’ field) where the SR3000 is connected 4. Select Log file location by pressing the Browse button beneath “A” field, default is “C:\Program Files\BioControl\SR Transponder Logger\data\” 5. The log file name is generated from the date, for today the name will become: BC DD-MM-YYYY.csv (e.g. BC 20-01-2009.csv) 6. The program will create the log-file automatically 7. Field “C” shows current transponder number The log file is a standard text file with csv-extension, which is automatically opened by Excel. The two fields are separated by semicolons. When opened in a text file editor like Notepad, the file will look like this: Figure A1.2: Log file opened in the Notepad Mar-2009 Page 35 of 37 D02C1.0 SR3000 When opened in Excel (automatically opened by double-clicking the file): Figure A1.3: Log file opened in Excel Column A must be widened to show the time and date correctly: Figure A1.4: Widen column A Then column B must be formatted as a number without decimals to show all the digits of the transponder: Figure A1.5: Format column B The number is a copy of what the SR sends on RS232 or RS485. Excel does not display/store leading zero’s in the transponder number. Note: SR3000 must be setup into decimal mode for this (default setup after power up) Mar-2009 Page 36 of 37 D02C1.0 SR3000 Appendix B: Loading new software The SR3000 contains two microprocessors, see field ‘F’ below: • Atmega processor for the Application Program • Dedicated DSP for RFID The SR3000 software can be reloaded from a PC with RS232 to embed the latest RFID algorithms into the DSP, or to load a different Application Program in the Atmega processor. It is advised to reload both in the same reload-action. The program ‘Stationary Reader Program Loader’ can be found on the ‘Community’ section on the BioControl website. Figure A2.1: SR Program Loader Steps to follow: 1. Turn on the SR3000 and connect it to the PC with the RS232 cable 2. Download and run the latest version of ‘Stationary Reader Program Loader’ 3. Browse to the latest version of the Program you want to load (“E” field) 4. Select Communication port (“B” field) where the RS232 cable is connected 5. Select Device address (“D” field) of the SR3000 which you want to reload. In Single Reader configuration this is “1” (default) 6. Press the ‘Start’ button to send the selected files to the SR3000 7. Wait until data transmission is finished and close the Program Loader. If transmissions fails, an error will appear in Programming status field “C”, check whether you selected the proper Communication port and try again. Mar-2009 Page 37 of 37 D02C1.0 SR3000