Patent attributes
In a drive device for driving an ultrasonic transmitter, a drive signal generating unit generates a drive signal for driving the ultrasonic transmitter, based on a base signal having a plurality of unit frequency signals arranged in a time series, corresponding to respective codes forming a code sequence. When a first unit frequency signal and a second unit frequency signal chronologically adjacent to it are switched in a discontinuously switching state that is different from a continuously switching state where the first and second unit frequency signals are switched such that a target frequency for a transmission frequency changes continuously at a substantially constant rate, the drive signal generating unit shifts the frequency in at least a switching portion immediately after start of the second unit frequency signal, in a same direction as a direction of frequency change from the first unit frequency signal to the second unit frequency signal.