Electrical equipment adapted to detect the presence of an external antenna
11817658 · 2023-11-14
Assignee
Inventors
Cpc classification
H01Q1/22
ELECTRICITY
International classification
Abstract
Electrical equipment includes an internal antenna, an external connector, a first radio module, a second radio module, an RF link enabling the second radio module to be connected to the external connector, a detector device arranged, when a test signal is transmitted over the external connector via the RF link, to produce a detection signal representative of whether or not the external antenna is connected to the external connector; and control means arranged to control the second radio module so that it generates and transmits the test signal via the RF link, to acquire the detection signal, and depending on the detection signal, to connect or disconnect the first radio module to or from the external connector.
Claims
1. Electrical equipment, comprising: an internal antenna; an external connector to which an external antenna is connectable; a first radio module; a second radio module; an RF link enabling the second radio module to be connected to the external connector; a detector device arranged, when a test signal is transmitted over the external connector via the RF link, to produce a detection signal representative of whether or not the external antenna is connected to the external connector; control means arranged to control the second radio module so that it generates and transmits the test signal via the RF link, to acquire the detection signal, and depending on the detection signal, to connect the first radio module to the external connector if the external antenna is connected to the external connector, or else to connect the first radio module to the internal antenna if the external antenna is not connected to the external connector.
2. The electrical equipment according to claim 1, wherein the RF link is a conducted link.
3. The electrical equipment according to claim 1, wherein the RF link is a radiated link, the detector device including a link antenna connected by the RF link to a communication antenna of the second radio module.
4. The electrical equipment according to claim 1, including a main RF transmission line comprising a main RF track connected to the external connector, the detector device comprising a detector RF transmission line comprising a detector RF track coupled to the main RF track, and detector components connected to the detector RF track.
5. The electrical equipment according to claim 4, wherein the detector components comprise first detector components connected to a first end of the detector RF track and arranged to produce a first voltage representative of a forward power resulting directly from transmission of the test signal, and second detector components connected to a second end of the detector RF track and arranged to produce a second voltage representative of a reflected power resulting from reflection of the test signal, the detection signal being obtained from the first voltage and from the second voltage.
6. The electrical equipment according to claim 5, wherein the first and second detector components comprise respective first and second voltage boost circuits followed by respective first and second peak detector diodes.
7. The electrical equipment according to claim 4, wherein the main RF transmission line is a wide band transmission line while the detector RF transmission line is a selective transmission line tuned to a test frequency of the test signal.
8. The electrical equipment according to claim 1 and including a switch device, the control means being arranged to control the switch device so as to connect or disconnect the second radio module selectively to or from the external connector, and so as to connect the first radio module selectively to the internal antenna or to the external connector.
9. The electrical equipment according to claim 8, wherein the switch device comprises a first double-throw switch and a second double-throw switch, the first double-throw switch having a first input (E1) connected to an output (S2) of the first radio module and a second input connected to an output of the second radio module via the RF link, and the second double-throw switch having an input connected to an output of the first double-throw switch, a first output connected to the internal antenna, and a second output connected to the external connector.
10. The electrical equipment according to claim 1, wherein a test frequency of the test signal is included in a frequency band in which the first radio module operates.
11. The electrical equipment according to claim 1, wherein the test signal is encoded so as to avoid an interfering signal at the test frequency disturbing the detector device.
12. The electrical equipment according to claim 1, wherein the first radio module is a cellular radio module and wherein the second radio module is an ISM radio module.
13. The electrical equipment according to claim 1, the electrical equipment being a meter.
14. The electrical equipment according to claim 1, the electrical equipment being a gateway.
15. A method of detecting and connecting the external antenna, the method being performed in electrical equipment according to claim 1 and comprising the steps of: controlling the second radio module so that it generates and transmits the test signal over the external connector via the RF link; acquiring the detection signal; deducing from the detection signal whether or not the external antenna is connected to the external connector; if the external antenna is connected to the external connector, connecting the first radio module to the connector; or else connecting the first radio module to the internal antenna.
16. A computer program including instructions for causing the electrical equipment according to claim 1 to execute a method of detecting and connecting the external antenna, the method comprising the steps of: controlling the second radio module so that it generates and transmits the test signal over the external connector via the RF link; acquiring the detection signal; deducing from the detection signal whether or not the external antenna is connected to the external connector; if the external antenna is connected to the external connector, connecting the first radio module to the connector; or else connecting the first radio module to the internal antenna.
17. A computer readable storage medium having stored thereon the computer program according to claim 16.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Reference is made to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
DETAILED DESCRIPTION OF THE INVENTION
(14) With reference to
(15) In this example, the term “radio module” is used to mean a module arranged to perform communication (transmission and/or reception) by radio.
(16) The first radio module 11 is a cellular radio module capable of communicating by using some or all of the following standards: 2G, 3G, 4G, Cat-M, NB-IoT, etc.
(17) The second radio module 12 is an ISM radio module. In this example, the second radio module 12 operates at an ISM frequency of 868.3 megahertz (MHz).
(18) The meter 10 has an internal antenna 13 situated inside the housing, and an external connector, specifically a coaxial connector 14, that enables an external antenna to be connected to the meter 10.
(19) It should be observed that the external antenna may be connected directly to the coaxial connector 14, or else it may be connected via a cable that then has a first end to which the external antenna is connected and a second end that is connected to the coaxial connector 14.
(20) The meter 10 includes a first main RF transmission line 16 that serves to connect the first radio module 11 to the internal antenna 13, and a second main RF transmission line 17 that serves to connect the second radio module 12 to the coaxial connector 14.
(21) The second main RF transmission line 17 can be seen more clearly in
(22) The meter 10 also includes an RF link 20 that enables an output S1 of the second radio module 12 to be connected to the coaxial connector 14. In this example, the RF link 20 is a conducted link that comprises an RF track or an RF cable.
(23) The meter 10 also has a switch device 21 that comprises a first double-throw switch 22 and a second double-throw switch 23. The first double-throw switch 22 has a first input E1 connected to an output S2 of the first radio module 11 and a second input E2 connected to the output S1 of the second radio module 12 via the RF link 20, and an output S3. The second double-throw switch 23 has an input E3 connected to the output S3 of the first double-throw switch 22, a first output S4 connected to the internal antenna 13 via the first main RF transmission line 16, and a second output S5 connected to the coaxial connector 14 via the second main RF transmission line 17.
(24) The meter 10 further includes control means that in this example comprise a control component 25 adapted to execute instructions of a program for performing the steps of the method described below for detecting and connecting an external antenna. By way of example, the control component 25 is a microcontroller, a processor, or indeed a programmable logic circuit such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC).
(25) The control component 25 is connected to the first double-throw switch 22 and to the second double-throw switch 23 and it is arranged to control them, i.e. to connect the first input E1 or the second input E2 of the first double-throw switch 22 selectively to the output S3 of the first double-throw switch 22, and to connect the input E3 of the second double-throw switch 23 to the first output S4 or to the second output S5 of the second double-throw switch 23.
(26) The meter 10 also has a detector device 26 that can be seen more clearly in
(27) The detector components comprise first detector components connected to a first end of the detector RF track 28, and second detector components connected to a second end of the detector RF track 28.
(28) The first detector components comprise a first voltage boost circuit 29 followed by a first peak detector diode 30 and a resistor-capacitor (RC) network 37. The second detector components comprise a second voltage boost circuit 31 followed by a second peak detector diode 32 and an RC network 41.
(29) The first voltage boost circuit 29 comprises a first capacitor 35 connected to the first end of the detector RF track 28 and a first inductor-capacitor (LC) circuit 36 to which the first peak detector diode 30 is connected. Likewise, the second voltage boost circuit 31 comprises a second capacitor 39 connected to the second end of the detector RF track 28 and a second LC circuit 40 to which the second peak detector diode 32 is connected.
(30) Because of the presence of the first detector components and of the second detector components, the detector RF transmission line 27 is a selective transmission line tuned to the above-mentioned ISM frequency (868.3 MHz). The coupler-rectifier is thus likewise tuned to the ISM frequency.
(31) In contrast, the second main RF transmission line 17 is a wide band transmission line.
(32) The method performed in the meter 10 for detecting and connecting an external antenna is described below in detail. The sequence of the main steps of the method can be seen in
(33) By default, the first double-throw switch 22 and the second double-throw switch 23 are in a configuration such that the output S1 of the second radio module 12 is connected to the coaxial connector 14 (via the RF link 20 and the second main RF transmission line 17; step E1). The second input E2 of the first double-throw switch 22 is thus connected to the output S3 of the first double-throw switch 22 and the second output S5 of the second double-throw switch 23 is connected to the input E3 of the second double-throw switch 23, and thus to the second input E2 of the first double-throw switch 22.
(34) The control component 25 then controls the second radio module 12 so that it generates and transmits a test signal St over the coaxial connector 14 via the RF link 20 (step E2).
(35) The test frequency of the test signal St is the ISM frequency of 868.3 MHz. It should be observed that it is preferable for the test frequency of the test signal St to be included in the frequency band in which the first radio module 11 operates, as in this example.
(36) The detector device 26 then produces a detection signal representative of whether or not the external antenna is connected to the coaxial connector 14 (step E3). The detection signal is acquired by the control component 25.
(37) In this example, the detection signal is obtained from a first voltage V1 produced across the terminals of the RC network 37 and from a second voltage V2 produced across the terminals of the RC network 41. Specifically, in this example, the detection signal is equal to: V2−V1.
(38) The control component 25 acquires, digitizes, and analyzes the first voltage V1 and the second voltage V2.
(39) The first voltage V1 is representative of a forward power, obtained from the first end of the detector RF track 28, and resulting from the forward transmission of the test signal St.
(40) The second voltage V2 is representative of a reflected power, obtained from the second end of the detector RF track 28, and resulting from the test signal St being reflected, as a function of the configuration, either from the coaxial connector 14 on its own, or else from the coaxial connector 14 and the external antenna (and also the cable, if any, connected to the coaxial connector 14 and to the external antenna).
(41) In
(42) The difference between the second voltage V2 and the first voltage V1 thus forms a detection signal that is representative of whether or not the external antenna is connected to the coaxial connector 14.
(43) The control component 25 compares the detection signal, i.e. the difference between the second voltage V2 and the first voltage V1, with a predetermined detection threshold Vth.
(44) If the following applies:
V2−V1<Vth
then the control component 25 detects that the external antenna is not connected.
(45) In contrast, if the following applies:
V2−V1≥Vth
then the control component 25 detects that the external antenna is connected (step E4).
(46) If the control component 25 detects that the external antenna is not connected, then the control component 25 controls the first double-throw switch 22 and the second double-throw switch 23 so that the output S2 of the first radio module 11 is connected to the internal antenna 13.
(47) If the control component 25 detects that the external antenna is connected, then the control component 25 controls the first double-throw switch 22 and the second double-throw switch 23 so that the output S2 of the first radio module 11 is connected to the coaxial connector 14 and thus to the external antenna (step E5).
(48) It should be observed that the value of the predetermined detection threshold Vth is determined from measurements taken in a plurality of configurations, each corresponding to a possible termination for the coaxial connector 14.
(49) In a first configuration, this gives:
(50) SWR=1
(51) that corresponds to the standing wave ratio for a perfectly matched external antenna (50 ohm (Ω) load).
(52) In a second configuration, this gives:
(53) SWR=2
(54) that corresponds to the SWR of a well-matched external antenna (90% of the signal is passed from the coaxial connector 14 to the external antenna).
(55) In a third configuration, this gives:
(56) SWR=3
(57) that corresponds to an external antenna of poorer quality (this situation is possible in use, since most multi-band external antennas have quality of this order).
(58) In a fourth configuration, this gives:
(59) SWR is infinite
(60) that corresponds to an open circuit, and thus to the absence of an external antenna. It should be observed that this applies also when a cable has its second end connected to the coaxial connector 14, but has no external antenna connected to its first end.
(61) The predetermined detection threshold is optimized as a function of the type of load, in such a manner that even an ordinary external antenna (presenting an SWR of 3) can be detected easily.
(62) Advantageously, the test signal St is encoded by simple coding, e.g. of on-off keying (OOK) type.
(63) This avoids an interfering signal at the test frequency disturbing the detector device 26, and in particular this makes it impossible to take a decision on the basis of the received interfering signal.
(64) This makes discrimination between the two states even more robust.
(65) There follows a description of the results of simulations performed on the detector device 26 for different SWR values and using different impedance values.
(66) The graph G1 corresponds to the SWR being equal to 1 and the impedance at the second end (connected to the coaxial connector 14) of the main RF track 18 is equal to 50Ω. The graph G2 corresponds to the SWR being equal to 1 and the impedance at the first end (connected to the switch device 21) of the main RF track 18 is equal to 50Ω.
(67) On the graph G1, the curve for the first voltage V1 is obtained from the values in column C1 in the table in
(68) On the graph G2, the curve for the first voltage V1 is obtained from the values in column C3 in the table in
(69) Column C0 contains the values (in decibels (dB)) of the power detected on the second main RF transmission line 17. These values are plotted along the abscissa axis in the various graphs.
(70) The graph G3 corresponds to the SWR being equal to 2 and the impedance at the second end of the main RF track 18 being equal to 25Ω. The graph G4 corresponds to the SWR being equal to 2 and the impedance at the second end of the main RF track 18 being equal to 100Ω.
(71) On the graph G3, the curve for the first voltage V1 is obtained from the values in column C5 in the table in
(72) On the graph G4, the curve for the first voltage V1 is obtained from the values in column C7 in the table in
(73) The graph G5 corresponds to the SWR being equal to 3 and the impedance at the second end of the main RF track 18 being equal to 16.5Ω. The graph G6 corresponds to the SWR being equal to 3 and the impedance at the second end of the main RF track 18 being equal to 150Ω.
(74) On the graph G5, the curve for the first voltage V1 is obtained from the values in column C9 in the table in
(75) On the graph G6, the curve for the first voltage V1 is obtained from the values in column C11 in the table in
(76) The graph G7 corresponds to the SWR being infinite and the impedance at the second end of the main RF track 18 being equal to 0Ω. The graph G8 corresponds to the SWR being infinite and the impedance at the second end of the main RF track 18 being infinite.
(77) On the graph G7, the curve for the first voltage V1 is obtained from the values in column C13 in the table in
(78) On the graph G8, the curve for the first voltage V1 is obtained from the values in column C15 in the table in
(79) It can be seen that the detectable difference between the first voltage V1 and the second voltage V2 is at least 6 dB (for a mediocre external antenna) and is 9 dB for a well-matched external antenna. This difference is much greater than the situation where the external antenna is absent, which leaves a comfortable margin for defining a predetermined detection threshold Vth that is robust. Detecting the presence or the absence of an external antenna is thus both robust and reliable.
(80) With reference to
(81) The electricity meter 50 has a first radio module 51 (which is cellular), a second radio module 52 (which is ISM), an internal antenna 53, and a coaxial connector 54.
(82) In this embodiment, the RF link enabling the second radio module 52 to be connected to the coaxial connector 54 is a radiated link. The detector device 55 has a link antenna 56 connected by the RF link to a communication antenna 57 of the second radio module 52. The communication antenna 57 is tuned to the test frequency, which is the ISM frequency of the second radio module 52.
(83) Naturally, the invention is not limited to the embodiments described, but covers any variant coming within the ambit of the invention as defined by the claims.
(84) The electrical equipment in which the invention is performed need not necessarily be an electricity meter, but could be any other type of meter, and could even be any electrical equipment other than a meter, e.g. a gateway.
(85) In the description above, it is stated that the control component controls the second radio module so that it generates and transmits the test signal via the RF link, acquires the detection signal, and depending on the detection signal, controls the switch device. Naturally, these operations could be performed by a plurality of distinct components.
(86) The first radio module need not necessarily be a cellular radio module, and the second radio module need not necessarily be an ISM module.