×

Synchronizing data streams

  • US 10,250,868 B1
  • Filed: 03/29/2017
  • Issued: 04/02/2019
  • Est. Priority Date: 03/29/2017
  • Status: Active Grant
First Claim
Patent Images

1. A system comprising:

  • a pulse-width-modulation (PWM) unit configured to generate pulses;

    a camera, coupled to the PWM unit and configured to acquire respective images of an environment in response to detecting respective pulses generated by the PWM unit;

    one or more processors; and

    one or more computer-readable media storing computer-executable instructions that, when executed on the one or more processors, cause the one or more processors to perform acts comprising;

    determining a nominal frequency at which to operate the PWM unit;

    calculating a value of a first expected timestamp based at least in part on the nominal frequency and a current time;

    calculating a value of a second expected timestamp based at least in part on the nominal frequency and at least one of the first expected timestamp or the current time;

    configuring the PWM unit to generate pulses at the nominal frequency;

    receiving a value of a first recorded timestamp, the value of the first recorded timestamp corresponding to a first time at which a first pulse was generated by the PWM unit;

    comparing the value of the first expected timestamp to the value of the first recorded timestamp to generate a first error;

    calculating a first amount to adjust the nominal frequency based at least in part on the first error;

    configuring the PWM unit to generate pulses at a first adjusted frequency, the first adjusted frequency comprising the nominal frequency adjusted by the first amount;

    receiving a value of a second recorded timestamp, the value of the second recorded timestamp corresponding to a second time at which a second pulse was generated by PWM unit;

    comparing the value of the second expected timestamp to the value of the second recorded timestamp to generate a second error;

    calculating a second amount to adjust nominal frequency based at least in part on the second error; and

    configuring the PWM unit to generate pulses at a second adjusted frequency, the second adjusted frequency comprising the nominal frequency adjusted by the second amount.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×