Professional Documents
Culture Documents
ASR '2001 Seminar, Instruments and Control, Ostrava, April 26 - 27, 2001 Paper 50
NOVÁK, Petr
Doc., Dr., Ing., Department of robotics-354, VŠB-TU Ostrava, 17. listopadu, Ostrava -
Poruba, 708 33, Czech republic petr.novak@vsb.cz http://www.vsb.cz/~nov20
Abstract:
Present mechatronics systems as automotive machines and robots are multi-axes systems
usually. Therefore more axes of mechatronics systems must be controlled and monitored by
sensors. Most often sensors for positioning of axes of industrial robots are encoders. At more
number of controlled axes the problem cabling appear with bit-parallel interfaces. These
problems may be technical and financial. The Synchronous Serial Interface (SSI) provided a
data transmission on six-wire cable with signals RS422 compatible.
The next text described basic properties of SSI interface and protocol.
Interface
Advantages of SSI interface are serial communication between sensor and controller
and small number of wires. The interface is realised by two RS422 compatible signals. RS422
interface is based on differential signals; therefore communication is proof to noises and cross
talks. The twisted pair lines are sufficient for transmission. But extremely high noise
immunity is achieved when shielded twisted pair lines are used. In a published study [1], a
high noise environment typical for factory automation was coupled on the data lines and the
number of defective transmitted data was totalled. The failure rate for the RS422 interface
was about 80 times less compared to other transmission systems.
Transmission rate depends on line length (upper limitation) and on dwell time (lower
limitation). Relation between transmission rate and line length is illustrated on Fig. 1.
-1-
[m]
1200
100
10 [bits/s]
10k 100k 1M 10M
code disk
Monoflop
Clock +
Shift
Clock -
Clock
Schmitt
MUX
trigger
Data +
Data -
Data
Interface
Photo receiver
RS422
Photo transmitter
Protocol
Position data is continually updated by the sensor and made available to the shift
register. Between each clock pulse train, there is a minimum dwell of 25 microseconds
(approximately) required during which fresh data is moved into the register. Data is shifted
out when the sensor receives clock pulses from the controller. When the clock is held high
and the minimum dwell time has elapsed, new data is available to read. Refer to diagram
Clock (+)
Data (+)
MSB LSB
t tm
Data (+)
MSB LSB 0
tp
Multi-Transmission Multi-Turn
A multiple transmission of a position value is possible with doubling or multiplying the clock
sequence. It is very important that a clock sequence includes n + 1 = 26 clocks).
After the last Low to High transition of 26-clock sequences an "L" signal appears on data
output. The double (or multiple) successive position values are separated from another with
this information.
t tw tm
Data (+)
0
MSB LSB MSB LSB
Multi-Transmission Single-Turn
A multiple transmission of a position value is possible by doubling or multiplying the clock
frequency. It is very important that a clock sequence includes n + 1 = 14 clocks. Otherwise
the transmission is the same as that of the multi-turn; refer to Fig. 5, but only 13 bits are
transmitted for each clock sequence.
Special bits
Optional, a few data bits (1-8) can by added after LSB bit. These bits can inform about
various things, as errors (disturbance power supply of sensor), parity bit, etc. The number of
these bits isn't given and every producer can use other. The Fig. 6 demonstrates the structure
of 24 data bits (position value) followed by 8 special bits. The data is in Gray code and
position value is 0,1mm (10 pulses).
data
000000000000000000001111
data bits of position (24 bits) 8 spec bits
Fig. 6 The example of transmission of 24 bits (value 10 in Gray code = 1111) and 8 spec bits
GND
Fig. 7 SSI interface and decoder to RS232 realized by microcontroller Atmel (x51 family)
This article was compiled as part of projects J17/98:272300008, supported by the Fund
for University Development from the Ministry of Education, Youth and Physical
Education, 2000.
References
[1] MAZeT SSI Synchronous-Serial-Interface - [online]. (Data sheet) pp. 96-100., Germany,
9/1999. Available from www: <URL: www.mazet.de>
[2] TR ELECTRONIC Absolute rotary encoder series: CE, CH, AE. TR Electronic GmbH,
Eglishalde 6, D-78647 Trossingen, Germany, 65 p.
[3] STEGMANN Synchron serielles Interface für absolute Winkelcodierer. Technische
Information Ausgabe 4/90, 8p. Germany 1990.
[4] MAZeT MAC4124A Quadrature Decoder with Counter Interface or Serial Synchronous
Interface (SSI). (Data sheet) 19 p., Germany 2000. Available from www:
<URL: www.mazet.de>
[5] STEGMANN PC-SSI/Slot.3 – Interfacekarte PC und SSI. Technische Information
Ausgabe 3/93, 12p. Germany 1993.