1、 Reference number ISO 16844-3:2004(E) ISO 2004INTERNATIONAL STANDARD ISO 16844-3 First edition 2004-11-01 Road vehicles Tachograph systems Part 3: Motion sensor interface Vhicules routiers Systmes tachygraphes Partie 3: Interface de capteur de mouvement ISO 16844-3:2004(E) PDF disclaimer This PDF fi
2、le may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the
3、 responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-c
4、reation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. ISO 2004 All rights reserved. Un
5、less otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO
6、 copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO 2004 All rights reservedISO 16844-3:2004(E) ISO 2004 All rights reserved iiiContents Page Foreword iv Introduction v 1 Scope 1 2 No
7、rmative references. 1 3 Terms and definitions. 1 4 Symbols and abbreviated terms 3 5 Connector 4 5.1 Dimensions and pin allocation 4 5.2 Electrical specification. 5 6 Cable. 8 7 Interface protocol 9 7.1 Transmission. 9 7.2 Motion sensor state at the end of production 12 7.3 Instructions 13 7.4 Initi
8、alization of communication between motion sensor and vehicle unit . 13 7.5 Communication of motion sensor and vehicle unit in normal use 18 7.6 Read information. 21 8 Options. 31 8.1 Direction information 31 8.2 Additional direction information in the MF byte 32 Bibliography . 34 ISO 16844-3:2004(E)
9、 iv ISO 2004 All rights reservedForeword ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of preparing International Standards is normally carried out through ISO technical committees. Each member body inter
10、ested in a subject for which a technical committee has been established has the right to be represented on that committee. International organizations, governmental and non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical
11、 Commission (IEC) on all matters of electrotechnical standardization. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of technical committees is to prepare International Standards. Draft International Standards adopted by the te
12、chnical committees are circulated to the member bodies for voting. Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. IS
13、O shall not be held responsible for identifying any or all such patent rights. ISO 16844-3 was prepared by Technical Committee ISO/TC 22, Road vehicles, Subcommittee SC 3, Electrical and electronic equipment. ISO 16844 consists of the following parts, under the general title Road vehicles Tachograph
14、 systems: Part 1: Electrical connectors Part 2: Recording unit, electrical interface Part 3: Motion sensor interface Part 4: CAN interface Part 5: Secured CAN interface Part 6: Diagnostics Part 7: Parameters ISO 16844-3:2004(E) ISO 2004 All rights reserved vIntroduction ISO 16844 supports and facili
15、tates the communication between electronic units and a tachograph; the tachograph being based upon Council Regulations (EEC) No. 3820/85 1and (EEC) No. 3821/85 2and their amendments Council Regulation (EEC) No. 2135/98 3and Commission Regulation (EC) No. 1360/2002 4 . Its purpose is to ensure the co
16、mpatibility of tachographs from various tachograph manufacturers. The basis of the digital tachograph concept is a recording unit (RU) that stores data related to the activities of the drivers of a vehicle on which it is installed. When the RU is in normal operational status, the data stored in its
17、memory are made accessible to various entities such as drivers, authorities, workshops and transport companies in a variety of ways: they may be displayed on a screen, printed by a printing device or downloaded to an external device. Access to stored data is controlled by a smart card inserted in th
18、e tachograph. In order to prevent manipulation of the tachograph system, the speed signal sender (motion sensor) is provided with an encrypted data link. A typical tachograph system is shown in Figure 1. Key 1 positive supply 2 battery minus 3 speed signal, real time 4 data signal in/out Figure 1 Ty
19、pical tachograph system INTERNATIONAL STANDARD ISO 16844-3:2004(E) ISO 2004 All rights reserved 1Road vehicles Tachograph systems Part 3: Motion sensor interface 1 Scope This part of ISO 16844 specifies the physical and data link layers of the electrical interface connecting a motion sensor to a veh
20、icle unit, used in tachograph systems in road vehicles to perform speed signal transmission and data interchange. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated refere
21、nces, the latest edition of the referenced document (including any amendments) applies. ISO 15170-1, Road vehicles Four-pole electrical connectors with pins and twist lock Part 1: Dimensions and classes of application ISO/IEC 10116, Information technology Security techniques Modes of operation for a
22、n n-bit block cipher 3 Terms and definitions For the purposes of this document, the following terms and definitions apply. 3.1 check sum sum (two byte value) of the bytes pointed out at the corresponding location 3.2 direction of movement bit 6 of byte MF showing whether the vehicle moving direction
23、 is forward or reverse 3.3 direction of movement ON bit 7 of Byte MF showing whether the additional direction information is available or not 3.4 identification key key necessary for Initialization of a motion sensor, not stored in the sensor memory NOTE The identification key is derived by adding a
24、 constant control vector of the value 48 21 5F 00 03 41 32 8A l 00 68 4D 00 CB 21 70 1D hexadecimal on the master key (K ID =K XOR CV). 3.5 inter byte timing possible pause between two bytes of a message ISO 16844-3:2004(E) 2 ISO 2004 All rights reserved3.6 header first four bytes of a message conta
25、ining sync-byte, target, STX and length of the message 3.7 key master key key necessary for Initialization of a motion sensor, not stored in the sensor memory 3.8 pairing key key only used during the pairing sequence NOTE Every pairing key is unique to the motion sensor to which it belongs. 3.9 rese
26、t restart of the motion sensor processing unit program 3.10 RxD_in signal within the motion sensor to the RxD input of the processing unit 3.11 sensor signal frequency signal proportional to the speed within the motion sensor 3.12 session key key used for messages to be encrypted NOTE Every session
27、key is unique to a special motion sensor and the vehicle unit to which it belongs. 3.13 tail last two bytes of a message containing ETX and LRC 3.14 triple DES multiple encryption or decryption of plain text or cipher text with different keys NOTE 1 Encryption: first, the plain text is encrypted usi
28、ng a first key, then it is decrypted using a second key, and then it is encrypted again using a third key. NOTE 2 Decryption: first, the cipher text is decrypted using the third key, then it is encrypted using the second key, and then it is decrypted again using the first key. 3.15 two-key triple DE
29、S encryption algorithm similar to triple DES where the third key used is equal to the first one 3.16 TxD_out signal within the motion sensor from the TxD output of the processing unit ISO 16844-3:2004(E) ISO 2004 All rights reserved 33.17 vehicle unit recording equipment excluding the motion sensor
30、and its connecting cables NOTE The vehicle unit can either be a single unit or several units distributed in the vehicle, as long as it complies with the security requirements of 1, 2 and 3. 3.18 voltage monitor hardware function that detects a drop of the supply voltage below a defined level 3.19 K
31、Pkey derived from the pairing used to encrypt the pairing data 4 Symbols and abbreviated terms CS check sum Cs high high byte of CS Cs low low byte of CS CV control vector CVPI check value previous instruction D Adata for authentication DES data encryption standard D Fs data of file selected DON dir
32、ection of movement On DM direction of movement D Sdata of sensor (encrypted, i.e. two-key triple DES) EXT end of text marker K master key K IDidentification key K Ppairing key K Ssessions key LSB least significant byte LRC longitudinal redundancy check MF multi function byte MSB most significant byt
33、e ISO 16844-3:2004(E) 4 ISO 2004 All rights reservedNARA new audit record available N Sextended serial number P Dpairing data STX start of text VU vehicle unit XOR arithmetical exclusive OR 5 Connector 5.1 Dimensions and pin allocation The connector used (see Figure 2) shall be according to ISO 1517
34、0-1, with coding No. 1, application class K3 (contact temperature range 40 C to +140 C, max. acceleration of vibrations 300 m/s 2 ). The pin allocation shall be in accordance with Table 1. Key 1 to 4 pin Nos. Figure 2 Marking zone at fixed or free connector Code 1 Table 1 Pin allocation Pin No. Func
35、tion 1 Positive supply 2 Battery minus 3 Speed signal, real time 4 Data signal, in/out ISO 16844-3:2004(E) ISO 2004 All rights reserved 55.2 Electrical specification 5.2.1 Electrical requirements The allocated connector function shall be in accordance with Table 2 and valid within the temperature ra
36、nge 40 C to +135 C. Table 2 Electrical requirements of allocated connector function Electrical requirements Pole No. Function Parameter min. typical. max. Remark Voltage 6.5 V 9 V Reverse voltage protected b1 Positive supply Current I S 15 mA Total unit current without direction signal current, see
37、Clause 8. 2 Battery minus See ISO 16844-2. U low 0,8 V I = 250 A bU highU pos sply 1,5 V I = 150 A bRise time (10 % to 90 %) 50 s Fall time (90 % to 10 %) 10 s Test condition: External pull up resistor 22 k to positive supply (U pos sply ); U pos sply= 6,5 V; external capacitor 2 nF to battery minus
38、. 3 Speed signal real time aFrequency 1,6 kHz U low in 1,2 V I = 1 mA bU high in5,2 V I = 0,5 mA bU low out 1 V I = 1 mA bU high out5,4 V I = 20 A bRise time (10 % to 90 %) 110 s Fall time (90 % to 10 %) 10 s Test condition: External pull up resistor 10 k to positive supply (U pos sply ); U pos sply
39、= 6,5 V; external capacitor 5 nF to battery minus. 4 Data signal in/outaBaud rate 1200 Baud Accuracy 3 % aOutputs shall be short circuit protected up to 28V and 1 min. bAll values measured relative to pin 2. 5.2.2 Block diagram data signal, in/out Figure 3 shows a block diagram of the data interface
40、 hardware. If no communication takes place, the state of pin 4 shall be high. The incoming signal at pin 4 shall be filtered before it is used as an input signal to the processing unit. The data TxD_out shall only be transmitted if the voltage monitor shows that the supply voltage is within the spec
41、ified range. See also 7.5.3. ISO 16844-3:2004(E) 6 ISO 2004 All rights reservedR3 = 10 k; R4 = 330 ; C3 = C4 = 2,2 nF Figure 3 Interface data signal Example 5.2.3 Voltage monitoring and watchdog signal 5.2.3.1 Electrical requirements The electrical requirements of the voltage monitoring of supply vo
42、ltage over poles 1 and 2, and the watchdog signal, both submitted via pole 4, shall be in accordance with Table 3. Table 3 Requirements of the watchdog signal voltage monitor Electrical requirements Parameter Min. Typical Max. Remark Voltage monitor a5,0 V U pos sply6,5 V If the supply voltage is be
43、low 6,5 V, the sensor may not reply to any request, but if it is below 5,0 V, it does not reply. t don 1 s Sensor watchdog reset delay time t doff 1 s Sensor watchdog recover time t won1 s Watchdog on time Watchdog signal bt woff1 s Watchdog off time aSee block diagram of data signal in Figure 3. bS
44、ee data signal (in) U low , see 5.2.3.2. ISO 16844-3:2004(E) ISO 2004 All rights reserved 75.2.3.2 Timing diagram watchdog signal If the vehicle unit discovers a time-out of an expected response, it shall be possible to start another attempt or send a watchdog signal to the motion sensor in accordan
45、ce with Figure 4 and, for voltage levels and timing, in accordance with Table 3. If the motion sensor detects a watchdog signal at pin 4, it shall restart its program (see 7.5.3) The reset shall not effect the speed real time signal of pin 3. Key 1 normal data signal 2 tachograph sends watchdog sign
46、al 3 requirement 4 watchdog detection 5 example Figure 4 Timing of watchdog signal ISO 16844-3:2004(E) 8 ISO 2004 All rights reserved5.2.4 Block diagram of the speed signal, real time The speed signal, real time is a digital signal with a frequency proportional to the rotary speed of the scanned imp
47、ulse wheel. Manipulations of this signal shall be of no effect to the messages. Resistance R2 of Figure 5 limits the input current, so it is responsible for overload and short circuit protection. R1 = 4,7 k; R2 = 1,5 k; C1 = C2 = 1 nF Figure 5 Speed signal, real time Example 6 Cable The cable for co
48、nnecting the motion sensor to the vehicle unit shall provide distributed core capacitances of CS 2,0 nF. The cable impedances depend on parasitic capacitances, inductances, resistances, etc., which influence the transfer characteristic of the cable. The parasitic capacitances (see Figure 6) are of t
49、he greatest influence for the frequency range. Figure 6 Equivalent circuit of the cable parasitic capacitances ISO 16844-3:2004(E) ISO 2004 All rights reserved 97 Interface protocol 7.1 Transmission 7.1.1 Data rate and structure of data frame The transfer of data shall be serial and asynchronous with a baud rate of 1 200 Baud. The structure of one byte sh