![]() |
|
|||||||||||||||||
Vehicle identification numberVehicle identification numbers (VINs) are used to uniquely identify motor vehicles. Prior to 1981 there was not an accepted standard for these numbers, so different manufacturers used different formats. Modern day VINs consist of 17 characters that do not include the letters I, O or Q.
Parts of the VINThere are two different standards for the Vehicle Identification Number. The ISO standard, 3779, is copied by the European Union. In North America, a more stringent (but compatible) system is used. The VIN is composed of the following sections:
World Manufacturer IdentifierThe first three characters uniquely identify the manufacturer of the vehicle using the World Manufacturer Identifier or WMI code. A manufacturer that builds less than 500 vehicles per year uses a 9 as the third digit and the 12th, 13th and 14th position of the VIN for a second part of the identification. Some manufacturers use the third character as a code for a vehicle category (e.g., bus or truck). WMI RegionsThe first character of the WMI is the region in which the manufacturer is located. In practice, each is assigned to a country of manufacture. Common auto-manufacturing countries are noted.
List of common WMIsThe Society of Automotive Engineers assigns WMIs to countries and manufacturers. The following table contains a list of commonly used WMIs, although there are many others assigned.
Vehicle Descriptor SectionThe 4th through 9th positions in the VIN are the Vehicle Descriptor Section or VDS. This is used, according to local regulations, to identify the vehicle type and may include information on the platform used, the model, and the body style. Each manufacturer has a unique system for using this field. North American Check DigitOne element that is fairly consistent is the use of position 9 as a check digit to verify the VIN. This is compulsory for vehicles in North America and is used faily consistently even outside this rule. Vehicle Identifier SectionThe 10th through 17th positions are used as the Vehicle Identifier Section or VIS. This is used by the manufacturer to identify the individual vehicle in question. This may include information on options installed or engine and transmission choices, but often is a simple sequential number. In fact, in North America, the last five digits must be numeric. North American Model YearOne consistent element of the VIS is character number 10, which is required (in North America) to encode the model year of the vehicle. North American Plant CodeAnother consistently-used element (which is compulsory in North America) is the use of the 11th character to encode the factory of manufacture of the vehicle. Although each manufacturer has their own set of plant codes, their location in the VIN is standardized. Model year encodingBesides the three letters that are not allowed in the VIN itself (I, O and Q), the letter U and the digit 0 are not used for the year code. Note that the year code can be the calendar year in which a vehicle is built, or a model or type year allocated by the manufacturer. The year 1980 is encoded as "A", and subsequent years increment through the allowed letters, so that "Y" represents the year 2000. 2001 through 2009 are encoded as the digits 1 through 9. Check digit calculationFirstly, find the numerical value associated with each letter in the VIN. (I, O and Q are not allowed.) Digits use their own values.
Secondly, look up the weight factor for each position in the VIN except the 9th (the position of the check digit).
Thirdly, multiply the numbers and the numerical values of the letters by their assigned weight factor, and sum the resulting products. Divide the sum of the products by 11. The remainder is the check digit. If the remainder is 10, the check digit is the letter X. ExampleConsider the hypothetical VIN 1M8GDM9A_KP042788, where the underscore will be the check digit.
VIN: 1 M 8 G D M 9 A _ K P 0 4 2 7 8 8
Value: 1 4 8 7 4 4 9 1 0 2 7 0 4 2 7 8 8
Weight: 8 7 6 5 4 3 2 10 0 9 8 7 6 5 4 3 2
Products: 8 28 48 35 16 12 18 10 0 18 56 0 24 10 28 24 16
The sum of all 16 products is 351. Dividing by 11 gives a remainder of 10, so the check digit is "X" and the complete VIN is 1M8GDM9AXKP042788. Perl source code
sub calcVINcheckdigit {
my %lettervalue = ("A", 1, "B", 2, "C", 3, "D", 4,
"E", 5, "F", 6, "G", 7, "H", 8,
"J", 1, "K", 2, "L", 3, "M", 4,
"N", 5, "P", 7, "R", 9, "S", 2,
"T", 3, "U", 4, "V", 5, "W", 6,
"X", 7, "Y", 8, "Z", 9, "1", 1,
"2", 2, "3", 3, "4", 4, "5", 5,
"6", 6, "7", 7, "8", 8, "9", 9, "0", 0);
my @positionweight = (8, 7, 6, 5, 4, 3, 2, 10,
0, 9, 8, 7, 6, 5, 4, 3, 2);
my @vinchar = split(//, $_[0]);
my $total = 0;
for (my $ctr = 0; $ctr < 17; $ctr++) {
$total += $lettervalue{$vinchar[$ctr]} * $positionweight[$ctr];
}
return (($total % 11) == 10) ? "X" : ($total % 11);
}
See alsoThe contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License.
How to see transparent copy 01-04-2007 01:21:04 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||





