Physical unclonable function encoder
The use of a magnetic particle based “PUF” (Physically Unclonable Function) disk, when read by magnetic sensor(s), as a positional encoder is described. It is often necessary to include a linear or rotary encoder within a device for tracking motor movements, or to enable a closed-loop control algorithm on the motor system. These randomly dispersed magnetic particle disks can be used as a positional encoder, where the speed of movement and the direction of movement may be monitored.
1. A method of initializing and calibrating a PUF encoder to define the expected pattern of the field plot through one complete rotation comprising:
enabling a physical unclonable function magnetic sensor data collection;
powering an encoder disk motor;
generating a time versus field strength plot by rotating the encoder disk more than 360° during enrollment in order to build a wrap point in the data;
while calibrating, interpolating field strength amplitude readings so that a fixed time scale plot can be generated, from which the wrap point is selected;
processing the timestamped data to identify a vector match for a first point, within a reasonable margin of error for sensor accuracy;
proposing a point as the wrap point element;
finding a match for the first point, finding subsequent data points that are a vector match to the data points immediately following the wrap point element;
comparing the beginning and ending data point timestamps to compute a calibration motor speed in revolutions per minute;
calculating a sample resolution by counting the number of data points collected before data wrapping began and dividing by 360;
adjusting the motor control parameters and magnetic sensor sample rate, if necessary;
repeating the data collection process until the desired operating speed and resolution are achieved.
2. The method of claim 1 , wherein the field strength versus rotational position plot, a calibration plot, is stored for use in all future speed calculation and positional detection algorithms.