Disclosure of Invention
The embodiment of the invention provides a signal power detection method, a device and a system, which are used for realizing the unified management and monitoring of the signal power quality of the terminal of a room division antenna at low cost.
In a first aspect, an embodiment of the present invention provides a signal power detection method, including:
collecting a transmitting signal or a receiving signal at the tail end of a chamber antenna as a signal to be detected;
converting a signal to be detected into an analog voltage signal, and sampling the analog voltage signal to obtain voltage values at one or more moments;
determining a power value corresponding to the voltage value at each moment based on a pre-stored corresponding relation between the voltage value and the power value;
the power value is sent to a server.
In the method provided by the embodiment of the invention, the transmitted signal or the received signal at the tail end of the indoor branch antenna is collected as the signal to be detected, the signal to be detected is converted into the analog voltage signal, the voltage value at one or more moments is obtained through sampling processing, the power value corresponding to the voltage value at each moment is determined based on the corresponding relation between the pre-stored voltage value and the power value, and the power value is sent to the server, so that the unified management and monitoring of the power quality of the signal at the tail end of the indoor branch antenna can be realized at the server end, a complex system does not need to be deployed, and the cost is lower.
In a possible implementation manner, in the foregoing method provided by an embodiment of the present invention, the sending the power value to the server includes:
and sending the power value to a server through the narrowband Internet of things NB-IoT network.
In a possible implementation manner, in the method of the embodiment of the present invention, converting the signal to be detected into an analog voltage signal includes:
filtering the signal to be detected;
and converting the filtered signal to be detected into an analog voltage signal.
In a second aspect, an embodiment of the present invention provides a signal power detection apparatus, including:
the acquisition module is used for acquiring a transmitting signal or a receiving signal at the tail end of the indoor branch antenna as a signal to be detected;
the sampling module is used for converting the signal to be detected into an analog voltage signal and sampling the analog voltage signal to obtain one or more voltage values at one moment;
the processing module is used for determining a power value corresponding to the voltage value at each moment based on the corresponding relation between the pre-stored voltage value and the power value;
and the sending module is used for sending the power value to the server.
In a possible implementation manner, in the apparatus provided in this embodiment of the present invention, the sending module is specifically configured to:
and sending the power value to a server through the narrowband Internet of things NB-IoT network.
In a third aspect, an embodiment of the present invention provides a signal power detection system, including: a coupling module, a detection module, a narrowband Internet of things NB-IoT module, and a power module, wherein,
the coupling module is connected with the detection module and is used for coupling the transmitting signal or the receiving signal at the tail end of the indoor branch antenna to the detection module;
the detection module is connected between the coupling module and the control module and used for converting the signal to be detected into an analog voltage signal and sending the analog voltage signal to the control module;
the control module is connected between the wave detection module and the NB-IoT module and used for sampling the analog voltage signal to obtain voltage values at one or more moments, determining a power value corresponding to the voltage value at each moment based on the corresponding relation between the pre-stored voltage value and the power value, and sending the power value to the NB-IoT module;
the NB-IoT module is connected with the control module and used for sending the power value to the server;
and the power supply module is used for supplying power to the control module and the NB-IoT module.
In the system provided by the embodiment of the invention, the transmitting signal or the receiving signal at the tail end of the indoor branch antenna is coupled to the detection module through the coupling module, the signal to be detected is converted into the analog voltage signal through the detection module, the analog voltage signal is sent to the control module, the analog voltage signal is sampled through the control module to obtain the voltage value at one or more moments, the voltage value at each moment is converted into the power value based on the corresponding relation between the prestored voltage value and the power value, the power value is sent to the NB-IoT module, and finally the power value is sent to the server through the NB-IoT module, so that the unified management and monitoring of the power quality of the signal at the tail end of the indoor branch antenna can be realized at the server end, a complex system does not need to be deployed, and the cost is lower.
In a possible implementation manner, in the system provided in an embodiment of the present invention, the detection module further includes: and the shielding module is used for shielding the space coupling signal.
In the system provided by the embodiment of the invention, the shielding module is used for shielding the interference of the space coupling signal to the detection module, so that the detection abnormity can be effectively prevented.
In a possible implementation manner, in the system provided in an embodiment of the present invention, the power module includes: and the low dropout regulator LDO and the metal oxide semiconductor field effect transistor MOS are connected, the LDO is used for providing power supply voltage, and the MOS is used for adjusting the voltage input to the detection tube and the NB-IoT module according to the control of the control module.
In the system provided by the embodiment of the invention, the LDO is used for providing stable voltage for the control module, the quiescent current is small, the system power consumption is low, in addition, the on and off of the MOS tube are controlled by the control module, and when the control module control system enters a low power consumption mode, the MOS tube is used for controlling the input voltage of the detection tube in the detection module and the NB-IoT module, so that the power consumption is reduced.
In a possible implementation manner, in the system provided in the embodiment of the present invention, the control module includes a single chip.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the scope of the present invention.
It should be noted that, in the embodiments of the present invention, the transmission signal or the reception signal at the end of the indoor antenna may include, but is not limited to: GSM1800 signals, TD-LTE signals. The following embodiments of the present invention are described by taking GSM1800 signals as an example.
As shown in fig. 1, an embodiment of the present invention provides a signal power detection method, which may include the following steps:
s101, collecting a transmitting signal or a receiving signal at the tail end of the indoor branch antenna as a signal to be detected.
In specific implementation, the GSM1800 signal transmitted or received by the terminal of the indoor branch antenna is collected as the signal to be detected.
And S102, converting the signal to be detected into an analog voltage signal, and sampling the analog voltage signal to obtain voltage values at one or more moments.
In specific implementation, the signal to be detected is converted into an analog voltage signal, and the analog voltage signal is sampled, for example, the analog voltage signal of the signal to be detected can be converted into a digital voltage value through an analog-to-digital conversion pin of the single chip microcomputer.
S103 determines a power value corresponding to the voltage value at each time based on the correspondence relationship between the voltage value and the power value stored in advance.
In specific implementation, the analog voltage signal is sampled to obtain voltage values at one or more moments, and the power value is determined based on the corresponding relation between the pre-stored voltage values and the power value.
It should be noted that, in order to filter out an interference signal (or other signals) in the signal to be detected, in the embodiment of the present invention, before the voltage value of the signal to be detected is detected, filtering processing may be performed on the signal to be detected, and the signal to be detected after the filtering processing is converted into an analog voltage signal.
And S104, transmitting the power value to a server.
In a specific implementation, when the power value is sent to the server, the power value may be sent to the server through a Narrow Band Internet of Things (NB-IoT) network, specifically, the power value may be sent in a wireless communication manner, or may be sent in a network connection manner, a bluetooth manner, an infrared manner, or the like, which is not limited in this embodiment of the present invention.
It should be noted that, after the power value is sent to the server, the signal power value at the end of any connected indoor branch antenna can be checked on the server, so as to implement unified management and monitoring of the signal quality of the indoor branch antenna.
Based on the same inventive concept, the embodiment of the invention also provides a signal power detection device.
As shown in fig. 2, an embodiment of the present invention provides a signal power detection apparatus, including:
the acquisition module 201 is used for acquiring a transmitting signal or a receiving signal at the tail end of the indoor branch antenna as a signal to be detected;
the sampling module 202 is configured to convert a signal to be detected into an analog voltage signal, and sample the analog voltage signal to obtain voltage values at one or more moments;
the processing module 203 is configured to determine a power value corresponding to the voltage value at each time based on a pre-stored correspondence between the voltage value and the power value;
a sending module 204, configured to send the power value to the server.
In the apparatus provided in the embodiment of the present invention, the sending module 203 is specifically configured to:
and sending the power value to a server through the narrowband Internet of things NB-IoT network.
In specific implementation, the acquisition module 201 acquires the GSM1800 signals transmitted or received by the terminal of the indoor branch antenna as the signals to be detected, and sends the signal to be detected to the sampling module 202, the sampling module 202 converts the signal to be detected into an analog voltage signal, the analog voltage signal is then sampled to obtain voltage values at one or more time instants, e.g., the analog voltage signal is sampled and processed by the analog-to-digital conversion pin of the single chip, the processing module 203 determines the power value corresponding to the voltage value at each moment according to the corresponding relationship between the pre-stored voltage value and the power value, and transmits the power value to the transmitting module 204, the transmitting module 204 transmits the power value to the server through the NB-IoT network, so that the server can check the signal power value at the tail end of any connected indoor branch antenna, and realize the unified management and monitoring of the signal quality of the indoor branch antenna.
Based on the same inventive concept, the embodiment of the invention also provides a signal power detection system.
As shown in fig. 3, an embodiment of the present invention provides a signal power detection system, including: a coupling module 301, a detection module 302, a control module 303, a narrowband internet of things NB-IoT module 304, and a power module 305, wherein,
a coupling module 301 connected to the detection module 302, for coupling the transmitting signal or the receiving signal at the end of the indoor antenna to the detection module 302;
the detection module 302 is connected between the coupling module 301 and the control module 303, and is configured to convert the signal to be detected into an analog voltage signal and send the analog voltage signal to the control module 303;
the control module 303 is connected between the detection module 302 and the NB-IoT module 304, and is configured to sample the analog voltage signal to obtain voltage values at one or more time instants, determine a power value corresponding to the voltage value at each time instant based on a pre-stored correspondence between the voltage value and the power value, and send the power value to the NB-IoT module 304;
an NB-IoT module 304 connected to the control module 303, configured to send the power value to the server;
a power module 305 for supplying power to the control module 303 and the NB-IoT module 304.
In specific implementation, the coupling module 301 couples and processes GSM1800 signals transmitted or received at the end of the indoor branch antenna, and sends the signals to the detection module 302, the detection module 302 converts the signals to be detected into analog voltage signals through a detection function, and sends the analog voltage signals to the control module 303, the control module 303 samples and processes the analog voltage signals, for example, samples and processes the analog voltage signals through an analog-to-digital conversion pin of a single chip microcomputer, and after voltage values at one or more moments are obtained, the voltage values at one or more moments are converted into power values according to a pre-stored correspondence between the voltage values and the power values, so as to determine the power values, and sends the power values to the server through the NB-IoT module 304, wherein the power module 305 supplies power to the control module 303 and the NB-IoT module 304.
The signal to be detected enters the coupling module 301 through the radio frequency cable and the sma (small a type) head, and the coupling module 301 couples the signal through microstrip coupling, so that the signal reaches the detection range of the detection module 302. The power module 305 is powered by a lithium battery, so that the power consumption is extremely low, energy is saved, the environment is protected, external power supply is not needed, deployment and management are convenient, and the cost is low.
In specific implementation, in order to filter out an interference signal (or other signals) in a signal to be detected, the detection module 302 includes: the filter is used for filtering the signal to be detected, and the detection tube is used for converting the filtered signal to be detected into an analog voltage signal and sending the analog voltage signal to the control module 303.
The detection module 302 further includes a radio frequency switch, and since GSM1800 and TD-LTE signals enter the detection tube through two different filter circuits, the radio frequency switch is used to switch between the two filter circuits in order to ensure that both signals can be detected and are not affected by other signals.
In specific implementation, the filter may be a filter with good isolation, the detection tube may be a detection tube with a wide detection range and a small working current, the signal to be detected is retained after passing through the filter, and the detection tube converts the signal to be detected into an analog voltage signal and sends the analog voltage signal to the control module 303.
In practical implementation, in order to shield the spatially coupled signal, the embodiment of the present invention may further include a shielding module disposed in the detection module 302, and the shielding module is disposed in a certain spatial range near the detection module, for example, surrounds the detection module in the form of a shielding cover, and is used to shield the interference of the spatially coupled signal to the detection module, so as to effectively prevent the detection abnormality.
In specific implementation, the power module 305 includes: a low dropout regulator (LDO) and a metal oxide semiconductor field effect transistor (MOS) connected to each other, the LDO being configured to provide a power supply voltage, the MOS being configured to adjust a voltage input to the detector and the NB-IoT module 304 according to control of the control module 303.
The input voltage of control module 303 is 2.7V, the LDO is used for supplying power to control module 303, and meanwhile, the quiescent current of the LDO is small, which can reduce the power consumption of the system, and the MOS transistor is controlled by control module 303 to turn on and off, and control the input voltages of the detection transistor and NB-IoT module 304 in input detection module 302, so that detection module 302 and NB-IoT module 304 enter a low power consumption mode.
In specific implementation, the control module 303 includes a single chip. Of course, a CPU processor or the like may also be used in other embodiments of the present invention.
When the control module 303 is a single chip microcomputer, the single chip microcomputer can control the detection tube and the NB-IoT module 304 to enter a low power consumption mode, and also can control the MOS tube in the power supply module 305 to make the input voltage, which is supplied by the power supply module 305 to the NB-IoT module 304, drop to a voltage value lower than the normal operating voltage, so that the NB-IoT module 304 is in a sleep state; the power supply module 305 can restore the input voltage for the NB-IoT module 304 to the normal working voltage value by controlling the MOS transistor, so that the NB-IoT module 304 is awakened, and the LDO and the MOS transistor are awakened to be switched from the low power consumption mode to the normal working mode; of course, the time for the LDO and the MOS tube to enter the low power consumption mode and the time for waking up the LDO and the MOS tube can also be controlled by an internal counter.
The single chip microcomputer can also detect the battery voltage in the power module 305, and when the battery voltage value is lower than a certain threshold value, the battery power is judged to be insufficient, and the battery power information is sent to the server through the NB-IoT module.
When the single chip microcomputer sends the power value and the battery power information to the NB-IoT module 304, the power value and the battery power information can be sent through a serial port.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.