A radar system comprising: a pulse generator (1732; 1832) for generating and transmitting a pulse compression radar signal having a PCR pulse; a receiver module (1744; 1844) for receiving a version of the PCR signal reflected by a target; a replica generator (1712; 1812; 1912; 2012) for generating a template signal having a plurality of replicated PCR pulses; a multiplier (1714; 1814; 1914; 2014) coupled to the replica generator (1712; 1812; 1912; 2012) for multiplying the received PCR signal with the plurality of replicated PCR pulses of the template signal; an integrator module (1716; 1860; 1963; 2063) coupled to the multiplier (1714; 1814; 1914; 2014), and configured to generate a plurality of analog correlation signals, each having a magnitude based on the multiplying between the received PCR signal and one of the plurality of replicated PCR pulses of the template signal; and a target detector (1730; 1866; 1986; 2086) configured to detect a position of the target based on a sampled magnitude of each of the plurality of analog correlation signals; characterized by a matched filter (1780; 1880; 1980; 2080) configured to detect a specific leading pattern of the reflected version of the PCR signal in real time and produce an output signal in response when a portion of the reflected version of the PCR signal is read and matched with the specific leading pattern; and a controller (1730; 1826, 1830; 1987; 2087) for determining a time delay based on the output signal of the matched filter (1780; 1880; 1980; 2080); and in that said replica generator (1712; 1812; 1912; 2012) generating the template signal with the time delay determined by the controller (1730; 1826, 1830; 1987; 2087). a pulse generator (1732; 1832) for generating and transmitting a pulse compression radar signal having a PCR pulse; a receiver module (1744; 1844) for receiving a version of the PCR signal reflected by a target; a replica generator (1712; 1812; 1912; 2012) for generating a template signal having a plurality of replicated PCR pulses; a multiplier (1714; 1814; 1914; 2014) coupled to the replica generator (1712; 1812; 1912; 2012) for multiplying the received PCR signal with the plurality of replicated PCR pulses of the template signal; an integrator module (1716; 1860; 1963; 2063) coupled to the multiplier (1714; 1814; 1914; 2014), and configured to generate a plurality of analog correlation signals, each having a magnitude based on the multiplying between the received PCR signal and one of the plurality of replicated PCR pulses of the template signal; and a target detector (1730; 1866; 1986; 2086) configured to detect a position of the target based on a sampled magnitude of each of the plurality of analog correlation signals; characterized by a matched filter (1780; 1880; 1980; 2080) configured to detect a specific leading pattern of the reflected version of the PCR signal in real time and produce an output signal in response when a portion of the reflected version of the PCR signal is read and matched with the specific leading pattern; and a controller (1730; 1826, 1830; 1987; 2087) for determining a time delay based on the output signal of the matched filter (1780; 1880; 1980; 2080); and in that said replica generator (1712; 1812; 1912; 2012) generating the template signal with the time delay determined by the controller (1730; 1826, 1830; 1987; 2087).