Connecting cable length detector
View Patent ↗Disclosed are embodiments for determining the length of a connecting cable between a modem and a transceiver by measuring the propagation time of a signal along the connecting cable. A cable length signal is used to adjust the gain of the modem, that ensures that the transceiver circuit operates in the correct power range for both transmitting and receiving signals.
1. A method of automatically adjusting the gain of a modem that is connected to a transceiver by a connecting cable in a satellite communication system comprising:
generating a tone control signal in response to a control signal associated with a transmission of a data signal from said transceiver;
transmitting said tone control signal to said transceiver to enable operation of said transceiver for said transmission;
activating, concurrently with generating said tone control signal, a counter in response to said control signal;
applying, at said modem, a voltage from a power supply to said connecting cable to power said transceiver;
sampling a count value from said counter upon detection of an increase in current supplied to said transceiver from said power supply;
generating a cable length signal from said count value, wherein a value of said cable length signal is substantially proportional to a length of said connecting cable;
adjusting gain of said modem based at least in part on said cable length signal.
2. The method of claim 1 further comprising:
generating a transceiver gain control signal in response to said cable length signal;
adjusting gain of said transceiver based upon said gain control signal.
3. The method of claim 1 further comprising:
generating a signal to noise ratio signal for data signals received by said modem;
adjusting gain of said transceiver based upon said signal to noise ratio signal.
4. The method of claim 1 , further comprising:
subtracting, from said count value, a constant value corresponding to a circuit delay of said modem.
5. A system for automatically adjusting the gain of a modem in a satellite communication system comprising:
a transceiver;
a connecting cable that is connected between said transceiver and said modem that supplies power to said transceiver from said modem;
said modem comprising:
a tone generator that generates a tone control signal in response to a control signal, said tone control signal transmitted to said transceiver through said connecting cable to enable operation of said transceiver for transmission of a data signal from said transceiver;
a counter that is activated concurrently with said tone control signal in response to said control signal that generates a counter value signal;
a power source that is connected to said connecting cable and that supplies said power to said transceiver;
a detector that detects an increase in current supplied by said power source to said transceiver and generates a sample signal upon detection of said increase in said current supplied by said power source to said transceiver;
a counter value signal generated in response to said sample signal, wherein a value of said counter value signal is substantially proportional to a length of said connecting cable;
a gain control circuit that adjusts gain of said modem based at least in part on said counter value signal.
6. The system of claim 5 wherein said gain control circuit further adjusts gain of said transceiver in response to said counter value signal.
7. The system of claim 5 wherein said gain control circuit further adjusts gain of said transceiver in response to a signal to a noise ratio signal.
8. The system of claim 5 , further comprising:
a subtractor that subtracts a constant value corresponding to a circuit delay of said modem from said counter value signal.