General Introduction The SENSOR LINE MD-220 is a two-channel static opto-electronic interface for SENSOR LINE’s SPZ/SPT fiber optic load sensors. This two-channel interface supplies light to two fiber optic sensors, monitors the amount of light transmitted through the sensors and detects small changes caused by loads applied to the sensors.
Page 5
SL MD-220 User's Manual produced by the DAC ("Monitor Voltage" or V ) with a resolution of 12 Bits. An additional MONx DAC controls the light power fed into the sensor. Both voltages can be measured at test pins. Since the sensitivity of the photodiode is about 0.5 A/W the incoming light power...
SL MD-220 User's Manual Hardware Section The PCB version is found on the bottom layer of the PCB. This manual is for hardware version Dimensional Drawing 110 (4.331) JTAG +12..24VDC Connector Receiver 1 Channel 1 AUX2- Receiver AUX2+ Through Holes Ø3.1 (.122)
SL MD-220 User's Manual Installation The MD-220 PCB has four Ø3.1mm (0.12”) through-holes, allowing it to be mounted on any appropriate flat surface by means of M3 screws. At least 5mm (0.2”) spacers are recommended to ensure a sufficient gap between the PCB and the mounting surface.
SL MD-220 User's Manual 2.4.2.2 Optocoupler Outputs 2.4.2.2.1 Internal Circuitry 100 Ohms + Terminal 0.25W H11G1 Optocoupler 68 V – Terminal The above schematic shows the internal circuitry of the TRG1 & 2 and AUX1 & 2 optocoupler outputs. When the phototransistor is illuminated by the LED (ON condition) current flows into the + terminal and out of the - terminal.
SL MD-220 User's Manual If the voltage available is too high for the intended inputs a second resistor must be added in order to create a voltage divider as given in the schematics below. It is generally safe to FKRRVH UHVLVWRUV LQ WKH UDQJH RI N + Terminal –...
SL MD-220 User's Manual RS-232 Interface The MD-220 has a three-wire RS-232 interface with a male 9-pin DSUB RS-232 connector. It behaves like a PC, sending data on the TXD line (Pin 3) and receiving on the RXD line (Pin 2).
SL MD-220 User's Manual Reset Switch Pressing the reset switch causes a hardware reset of the microcontroller. The two pads next to the right of the switch are connected in parallel and can accept a two- pin header to allow for connection of an external switch.
SL MD-220 User's Manual Status LEDs There is a display of six LEDs controlled by the microcontroller. TRG1, TRG2, AUX1 and AUX2 are yellow, and ERR1 and ERR2 are red. Please refer to the software section of this manual for the meaning of the LED signals.
Transmitter 1 and Receiver 2 will not work. 2.12 JTAG connector The JTAG connector is used for programming the microcontroller at the factory. If you are intending to re-program the device in the field please contact Sensor Line GmbH for further information. - 14 -...
SL MD-220 User's Manual Software Section The following refers to the MD-220 program MD220STD version 1.3. General Description The program executed by the microcontroller controls all functions of the MD-220. Detecting a load applied to the sensor is difficult because of the large variation in sensor transmittance versus the small amount of transmittance change when load is applied.
SL MD-220 User's Manual Details 3.2.1 Startup Procedure After power-up or when a program reset is initiated the MD-220 first tries to adjust itself to the particular sensors attached. This process takes about one second and is signaled by both ERRx LEDs (see paragraph 3.2.5.1 on page 20) flashing at 8 Hz.
SL MD-220 User's Manual 3.2.2 Timing 3.2.2.1 Program cycle time The main loop of the program is executed during a constant time interval of approximately
8 . This time can vary about ± 5% due to the tolerance of the clock oscillator. All quantities are updated at every cycle.
SL MD-220 User's Manual 3.2.3.3 Adaptive Trigger Threshold Adaptive threshold processing is a trigger algorithm introduced with Version 1.3 of MD220STD. It is intended to be applied in cases where sensors show a noticeably delayed relaxation process. Behaviour of this kind can encumber certain signal processing methods for dual-tire detection or automatic vehicle classification which rely on correct registration of the load pulse duration.
SL MD-220 User's Manual 3.2.4 SIL Switch and Jumper Settings 3.2.4.1 Switch Settings Both boards have an 8-way SIL switch immediately behind the display LEDs. The particular switches are numbered from 1 to 8 where switch 1 is the leftmost one. They are in on- position when swiveled towards the front edge of the board i.e.
SL MD-220 User's Manual 3.2.4.2 Jumper Settings When Jumper J1 is installed, the minimum trigger output on time is 40 ms, with J1 removed it is 20 ms. This requires Switch 8 to be set to ON position (see above), otherwise the configuration of J1 has no effect.
SL MD-220 User's Manual 3.2.5.3 Status Table The table below is to summarize the different states the two channels can be in and the according behavior of the status outputs. Status Status LEDs Optocoupler Outputs Channel 1 Channel 2 TRG1 TRG2 AUX1 AUX2 ERR1 ERR2...
SL MD-220 User's Manual 3.2.6 RS-232 Interface 3.2.6.1 General The RS-232 interface of the MD-220 allows bi-directional communication with a host computer or a passive RS-232 device. It can be used for debugging and troubleshooting purposes as well as for setting up simple measuring systems. Please refer to paragraph 2.5 for the wiring of the connector.
SL MD-220 User's Manual 3.2.6.3.2 Percent Mode Percent mode is entered as soon as the MD-220 receives a "p" or a "P". It continuously reports the relative difference of the registered light power to that which is related to the currently established trigger threshold.
SL MD-220 User's Manual 3.2.6.3.4 Status Mode This is a non-continuous output mode. It is entered on receipt of an "s" or an "S". The status of each channel of the MD-220 is internally described by two status bytes. Every time one of these four bytes changes a status message is issued.
SL MD-220 User's Manual 3.2.6.3.5 Off Mode On receipt of an "o", an "O" or a "0" (zero) the transmission of any messages is inhibited. The interface still receives characters and can be switched to another mode at any time.
Important notice All the information contained herein is believed to be accurate and reliable. However, SENSOR LINE assumes no responsibility for its use or for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent rights of SENSOR LINE GmbH.
Need help?
Do you have a question about the SL MD-220 and is the answer not in the manual?
Questions and answers