The present invention relates to a dose control system adapted for an injectable drug delivery device, the drug delivery device comprising a substantially elongate drug delivery body, at least one injectable drug held by the body, the body having a distal and proximal extremity, wherein the dose control system comprises three-dimensional magnetic field producing means for producing a magnetic field along three axes (x,y,z) magnetic field detection means configured to detect changes in at least the magnetic field produced by the three-dimensional magnetic field producing means displacement detection means configured to measure a relative displacement or relative movement of the drug delivery device, and an integrated control unit, wherein the integrated control unit is connected to the magnetic field detection means, and to the displacement detection means, for processing information received from both the magnetic field detection means and the displacement detection means wherein the three-dimensional magnetic field producing means is configured to effect a rotating coaxial displacement around, and along, a longitudinal axis of the drug delivery system the magnetic field detection means are located along said longitudinal axis and the three-dimensional magnetic field producing means is located at, or near, a proximal extremity of the body of the drug delivery device.La présente invention concerne un système de réglage des doses conçu pour un dispositif dadministration de médicaments injectables, ledit dispositif dadministration de médicaments comprenant un corps dadministration de médicaments de forme sensiblement allongée, au moins un médicament injectable logé dans le corps, ledit corps ayant une extrémité distale et une extrémité proximale, ledit système de réglage de doses comprenant un moyen de production de champ magnétique tridimensionnel permettant de produire un champ magnétique le long des trois axes (x,y,z) des moyens de détection de champ magnétique con