Repeater HUB power supply management system and method

Real-time detection of voltage and current through the repeater HUB power supply management system, automatic control of the power supply switch, solves the problem of equipment damage and management errors caused by abnormal voltage in the independent power supply mode of the repeater, and achieves equipment safety protection and energy saving. Consumption.

CN118870486APending Publication Date: 2024-10-29JIANGSU HENGXIN WIRELESS TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410927069.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Repeaters in independent power supply mode are prone to irreversible damage to the equipment due to abnormal voltage, and managers are prone to errors when shutting down the equipment. Especially in scenarios with enclosed spaces and complex infrastructure, the cost is high and energy saving and emission reduction are difficult to achieve.

Method used

Design a repeater HUB power supply management system that detects voltage and current in real time through the HUB equipment, automatically controls the power supply switch, realizes voltage abnormality protection and dynamic management of repeater equipment, reduces equipment damage rate, simplifies equipment switching operations, and achieves The purpose of energy saving and consumption reduction.

Benefits of technology

It effectively reduces the damage rate of repeater equipment, simplifies the operations of managers, realizes centralized control of repeater equipment, reduces installation costs, and improves energy-saving efficiency, especially when shutting down non-essential equipment at night. Consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118870486A_ABST
    Figure CN118870486A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of wireless communication, in particular to a repeater HUB power supply management system and method. Actual voltage current and power values are calculated through an algorithm according to continuously obtained real-time voltage current sampling values, and then whether various numerical values of a current channel of the HUB equipment meet conditions or not is judged to dynamically control a power supply switch. Voltage abnormity protection of repeater devices connected to the channels is realized, and on-off of the repeater devices of different channels can be realized by controlling the HUB device. Through the design of the invention, the damage probability of the repeater equipment under abnormal conditions can be reduced, the management personnel can conveniently and dynamically manage the on-off of the repeater, and the repeater equipment with relatively small requirements can be turned off when people are quiet at deep night so as to achieve the purposes of energy conservation and consumption reduction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a repeater HUB power supply management system and method. Background Art

[0002] In the rapid development stage of mobile communications, the current most used repeaters are in independent power supply mode. Due to the advancedness of 5G technology over 4G technology, the energy consumption of repeaters has increased. In order to respond to the national call for energy conservation and emission reduction, it is particularly important to pay more attention to the energy consumption of repeater equipment.

[0003] In the independent power supply mode, the repeater is connected to the power supply. When the power supply is abnormal, it will cause irreversible damage to the equipment. Abnormal voltage can only be handled by the protection mechanism of the repeater. Therefore, when abnormal conditions occur, the protection measures are not sufficient, which may cause irreversible damage to the repeater. In addition, the repeaters in this situation are relatively independent. When there is a need to shut down a repeater, the management personnel need to find the corresponding repeater and shut it down manually. In this process, mistakes may occur, resulting in the shutdown of the wrong repeater. This is especially true for closed spaces such as elevator cars with a small number of users. The infrastructure is complex and the cost of setting up base stations is too high. Summary of the invention

[0004] The present application provides a repeater HUB power supply management system and method, which can help operation and maintenance personnel to better troubleshoot problems and perform equipment maintenance. The technical solution is as follows:

[0005] In one aspect, the present invention provides a method for managing power supply of a repeater HUB, the method being applicable to a HUB device, the HUB device being connected to the repeater and a power supply, the method comprising:

[0006] When the HUB device is powered on, the system is initialized and the historical power threshold of the target channel is read;

[0007] Entering an automatic detection state, in which the power switch of the target channel is turned on;

[0008] After a first preset time, obtain the real-time voltage value and the real-time current value of different channels at the HUB device;

[0009] In response to the real-time voltage value of the target channel not being within the normal voltage range, turning off the power switches of all channels and flashing an alarm light;

[0010] Entering a voltage detection state after a second preset time;

[0011] In the voltage detection state, obtaining a real-time voltage value of the target channel;

[0012] In response to the real-time voltage value of the target channel not being within the normal voltage interval, continuing to execute the step of entering the voltage detection state after a second preset time;

[0013] In response to the real-time voltage value of the target channel being within the normal voltage range, the automatic detection state is entered and the warning light is turned off.

[0014] Optionally, after acquiring the real-time voltage values ​​and real-time current values ​​of different channels at the HUB device after the first preset time, the method further includes:

[0015] In response to the real-time voltage value of the target channel being in a normal voltage range, obtaining an actual power value of the target channel according to the real-time current value of the target channel and a current noise floor calibration value of the target channel;

[0016] In response to the actual power value of the target channel being higher than the historical power threshold of the target channel, the next channel is detected, and the step of entering the automatic detection state is continued until all channels are detected.

[0017] Optionally, when the HUB device is powered on, after initializing the system and reading the historical power threshold of the target channel, the method further includes:

[0018] Perform current noise floor calibration on the target channel and save the current noise floor calibration value.

[0019] Optionally, in response to the actual power value of the target channel being higher than the historical power threshold of the target channel, detecting the next channel, and continuing to execute the step of entering the automatic detection state until all channels are detected, the method further includes:

[0020] After the next channel completes the detection, it enters the normal business state and starts the timer;

[0021] In response to the timer expiring, the automatic detection state is entered.

[0022] Optionally, in response to the real-time voltage value of the target channel being in a normal voltage range, after obtaining the actual power value of the target channel according to the real-time current value of the target channel and the current noise floor calibration value of the target channel, the method further includes:

[0023] In response to the actual power value of the target channel being not higher than the historical power threshold of the target channel, turning off the power switch of the target channel;

[0024] Continue to test the next channel.

[0025] Optionally, the first preset time is 500 milliseconds.

[0026] Optionally, obtaining the real-time voltage value and the real-time current value of different channels at the HUB device after the first preset time includes:

[0027] After the first preset time, the real-time voltage value and the real-time current value of different channels at the HUB device are obtained through the ADC device.

[0028] Optionally, different pins of the ADC device correspond to voltage, current value of a downstream channel, and current value of an upstream channel, respectively.

[0029] On the other hand, a repeater HUB power supply management system is also provided, the system is applicable to the repeater power supply management method described above, the system includes an acquisition module, an automatic detection module and a control module;

[0030] The acquisition module is used to initialize the system and read the historical power threshold of the target channel when the HUB device is powered on, and is also used to acquire the real-time voltage value and real-time current value of different channels at the HUB device after a first preset time, and is also used to acquire the real-time voltage value of the target channel in the voltage detection state;

[0031] The automatic detection module is used to enter an automatic detection state, in which the power switch of the target channel is turned on, and is also used to enter a voltage detection state after a second preset time, and is also used to turn off the power switches of all channels and flash a warning light in response to the real-time voltage value of the target channel not being within a normal voltage range;

[0032] The control module is used to continue executing the step of entering the voltage detection state after a second preset time in response to the real-time voltage value of the target channel being not within the normal voltage range, and is also used to enter the automatic detection state and turn off the warning light in response to the real-time voltage value of the target channel being within the normal voltage range.

[0033] On the other hand, a computer-readable storage medium is provided, characterized in that a computer program for implementing the above-mentioned repeater HUB power supply management method is stored thereon.

[0034] The technical effects brought about by this application are at least as follows.

[0035] This patent is a design scheme for an automatic power supply system applied to a repeater HUB. The real-time voltage and current detection of the HUB is used to obtain the status of the repeater and turn on or off the power supply to the repeater to achieve power supply management of the repeater. The actual voltage, current and power values ​​are calculated through algorithms through the real-time voltage and current sampling values ​​that are continuously obtained. Then, it is determined whether the various values ​​of the current channel of the HUB device meet the conditions to dynamically control the power switch, thereby achieving voltage anomaly protection for the repeater equipment connected to the channel and being able to turn on and off the repeater equipment on different channels by controlling the HUB device. The design of this application can not only reduce the damage probability of the repeater equipment in abnormal situations, but also facilitate managers to dynamically manage the switches of the repeater, and turn off the repeater equipment with less demand in the dead of night to achieve the purpose of energy saving and consumption reduction. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A flow chart of a method for managing power supply of a repeater HUB provided by an exemplary embodiment of the present application is shown;

[0037] Figure 2 A flow chart of a method for managing power supply of a repeater HUB provided by another exemplary embodiment of the present application is shown;

[0038] Figure 3 A schematic diagram of a repeater cluster deployment solution provided by an exemplary embodiment of the present application is shown;

[0039] Figure 4 A schematic diagram showing the deployment of a HUB to implement hot swapping of a repeater provided by an exemplary embodiment of the present application is shown;

[0040] Figure 5 A schematic diagram of the deployment of a HUB power-on process provided by an exemplary embodiment of the present application is shown;

[0041] Figure 6 A schematic diagram of an automatic voltage protection process for a HUB device provided by an exemplary embodiment of the present application is shown;

[0042] Figure 7 A flow chart of automatic power supply control of a HUB provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0043] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0044] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0045] In response to the problems existing in the background technology, the solution of this application is to add a buffer area of ​​a HUB repeater station, power the repeater station through the HUB, and let the HUB immediately turn off all power switches when the voltage is abnormal, so as to minimize the voltage from damaging the repeater station equipment.

[0046] If the device is directly connected to the power supply, it cannot be turned on again after being remotely turned off, and the administrator needs to go to the location of the device to manually turn on the device. If a HUB is used to provide unified power supply to the repeater equipment, the switch of the repeater can be controlled by remotely controlling the HUB.

[0047] Through the repeater HUB power supply management system and method provided by the present application, the HUB can automatically control the power switches of the repeaters of different channels according to the real-time voltage and current of the HUB and the repeater, so as to realize plug-and-play of the repeater equipment. When no equipment is inserted, the power switch is automatically turned off to achieve energy saving and consumption reduction, and the voltage can be judged according to the real-time voltage whether it is abnormal and the power switch is turned off to achieve equipment protection, thereby realizing a low-cost and simple-to-set-up elevator car end repeater, and energy saving and consumption reduction are achieved while controlling the power switch of the HUB to achieve equipment protection.

[0048] Example 1

[0049] like Figure 1 FIG. 1 is a flow chart of a method for managing power supply of a repeater HUB provided by the present invention. The method is applicable to a HUB device, and the HUB device is connected to the repeater and a power supply. The method includes:

[0050] Step 101: When the HUB device is powered on, the system is initialized and the historical power threshold of the target channel is read.

[0051] When the HUB device is powered on, the system initializes and reads the historical power thresholds of the target channel from the stored EEPROM. These thresholds determine when to turn on or off the power switch. In one example, when the HUB device starts, the MCU (Microcontroller Unit) reads the saved power thresholds from the EEPROM, such as 100W. These thresholds are used to determine the state of the power switch during device operation.

[0052] Step 102, entering the automatic detection state, in which the power switch of the target channel is turned on.

[0053] The HUB device enters the automatic detection state and turns on the power switch of the target channel so that the connected repeater equipment can work normally and be monitored.

[0054] Step 103, obtaining the real-time voltage value and the real-time current value of different channels at the HUB device after the first preset time.

[0055] After a first preset time (e.g., 500 milliseconds), the real-time voltage and current values ​​of different channels are obtained through the ADC device for subsequent power calculation and state detection. In one example, after 500 milliseconds, the ADC reads the voltage of channel A as 24V and the current as 2A, which is used to calculate the actual power.

[0056] Step 104 , in response to the real-time voltage value of the target channel not being within the normal voltage range, turning off the power switches of all channels and flashing the warning lights.

[0057] In the embodiment of the present application, the voltage value of each channel is consistent. If the real-time voltage of the target channel is not within the normal range, the power switch of the channel and the power switches of the remaining channels are turned off, that is, if there is an abnormal voltage in one channel, the power switches of all channels are turned off, and the alarm light is turned on to indicate the problem.

[0058] In one example, if there is a channel whose voltage is abnormally lower than a threshold (for example, 20V), the power switches of all channels are turned off and a warning light flashes.

[0059] Step 105, entering a voltage detection state after a second preset time.

[0060] After the second preset time, a special voltage detection state is entered to continuously monitor whether the voltage state of the target channel returns to normal.

[0061] Step 106: In the voltage detection state, obtain the real-time voltage value of the target channel.

[0062] In the voltage detection state, the real-time voltage value of the target channel is continuously obtained.

[0063] Step 107 , in response to the real-time voltage value of the target channel not being within the normal voltage range, continue to execute step 105 .

[0064] If the voltage is still abnormal, the system continues to execute the operation of step 105 until the voltage returns to normal.

[0065] Step 108, in response to the real-time voltage value of the target channel being within the normal voltage range, enter the automatic detection state and turn off the warning light.

[0066] When the voltage of the target channel returns to normal, the warning light is turned off and the automatic detection state is restored to continue monitoring and controlling the power supply switch.

[0067] Example 2

[0068] like Figure 2 As shown, it is a flow chart of another method for managing power supply of a repeater HUB based on Example 1. The method is applicable to a HUB device, and the HUB device is connected to the repeater and the power supply.

[0069] Compared with the method provided in Example 1, after step 103, the method further includes:

[0070] Step 109 , in response to the real-time voltage value of the target channel being in the normal voltage range, obtaining the actual power value of the target channel according to the real-time current value of the target channel and the current noise floor calibration value of the target channel.

[0071] If the actual power is higher than the historical power threshold, the process proceeds to step 110 to detect the next channel.

[0072] Step 110 , in response to the actual power value of the target channel being higher than the historical power threshold of the target channel, detecting the next channel.

[0073] The same detection process is repeated for the next channel until all channels have been detected.

[0074] In an example, suppose that the HUB device is connected to 5 repeater devices, each of which has different power requirements. According to the above steps, the HUB device will periodically detect the voltage and current of each channel. If the voltage of a channel is abnormal or the power exceeds the threshold, the system will automatically shut down or turn on the power supply, thereby protecting the repeater equipment and optimizing energy consumption. Through automation and real-time monitoring, the need for manual operation is effectively reduced, and the safety and energy-saving efficiency of the equipment are improved.

[0075] Compared with the method provided in Example 1, after step 101, the method further includes:

[0076] Step 201 , perform current noise floor calibration on a target channel and save the current noise floor calibration value.

[0077] Current noise floor calibration for the target channel means calibrating the current measurement system to accurately measure the target signal in an experiment or test to eliminate the noise floor or offset introduced by the electronic device itself. This process usually includes the following steps.

[0078] Measuring current noise floor: Measure the output of the current sensing system when there is no target signal input. This output value reflects the noise floor or offset that exists in the system itself, which may be caused by the electronics, environmental conditions, or sensor characteristics.

[0079] Calibrating the current noise floor: By introducing calibration signals of known magnitude and characteristics into the system, the system's response to these signals can be measured and recorded. By comparing the actual measured values ​​to the expected values, the system's noise floor or offset can be calculated and the system's output adjusted accordingly to more accurately reflect the actual input signal.

[0080] Saving calibration values: Once the current noise floor calibration is completed, the calibration values ​​are usually saved in the system's memory or recorded in a calibration certificate or file. These values ​​can be used as a benchmark in future tests to ensure accurate and repeatable measurement results.

[0081] For example, when conducting electrochemical analysis experiments, it is necessary to measure current to monitor the reaction process. The current measurement system may be affected by environmental electromagnetic interference or the electronic equipment itself, causing the measurement results to deviate from the true value of the actual reaction. In order to eliminate these effects, current noise calibration is performed. First, the output of the system is measured when there is no current input, then a current signal of known magnitude is introduced for calibration, and finally the system output is adjusted according to the measurement results to ensure the accuracy and stability of the measurement results in the actual experiment.

[0082] This calibration process is critical for accurate measurements in a variety of scientific research, industrial applications, and test systems, eliminating systematic errors and improving the credibility and comparability of data.

[0083] Compared with the method provided in Example 1, after step 110, the method further includes:

[0084] Step 202: After the next channel is detected, it enters the normal service state and starts the timer.

[0085] Detection completed: After the detection task of the current channel is completed, the system switches to the next channel or task.

[0086] Entering normal business state: The system switches from detection mode or test mode to normal operation mode and starts processing actual business tasks or operations.

[0087] Start a timer: To schedule the next task or event, such as setting a delay or interval to trigger the next action or detection process after a period of time.

[0088] In an example, suppose there are multiple inspection stations on an automated production line, each responsible for a different inspection task. When the first station completes the inspection, the system will enter normal production mode and start a timer. This timer may be set to trigger after a certain period of time to ensure that the next station is inspected at a specific time point in the production process, thereby ensuring production continuity and quality control.

[0089] Step 203: In response to the timer reaching the time, enter the automatic detection state.

[0090] Timer arrival: When the set timer time arrives, the system performs the predetermined operation or state transition.

[0091] Entering the automatic detection state: The system will automatically start to perform the next detection task without manual intervention, including preparing the equipment, starting the detection program, and recording and processing the detection results when necessary.

[0092] In one example, in a scientific laboratory, an automated experimental system may schedule sample analysis at regular intervals. Once the timer reaches the preset time, the system automatically starts the next sample test procedure. This automation can greatly improve experimental efficiency and data accuracy while reducing operator intervention and the possibility of error.

[0093] In summary, the two steps 202 and 203 after step 110 describe how to trigger and schedule the next operation or task based on time in the automation control system to achieve more efficient and accurate operation.

[0094] Compared with the method provided in Example 1, after step 109, the method further includes:

[0095] Step 204 : In response to the actual power value of the target channel being not higher than the historical power threshold of the target channel, turning off the power switch of the target channel.

[0096] Step 205, continue to detect the next channel.

[0097] In an example, the first preset time can be set to 500 milliseconds, and the real-time voltage value and real-time current value of different channels at the HUB device are obtained after the first preset time, that is, the real-time voltage value and real-time current value of different channels at the HUB device are obtained through the ADC device after the first preset time.

[0098] Optionally, different pins of the ADC device correspond to voltage, current value of a downstream channel, and current value of an upstream channel, respectively.

[0099] In a possible implementation, the power switch is turned on from the first channel and waits for 500 milliseconds to allow the channel current to gradually stabilize to prevent inaccurate values ​​from being collected; the voltage and current values ​​corresponding to different channels of the HUB are obtained through the ADC device, and different pins of the ADC correspond to the voltage, the current value of the downstream channel, and the current value of the upstream channel respectively; the sampled voltage and sampled current are converted into the repeater power according to the calculation formula, and the repeater power is compared with the switch threshold of the power switch stored in the device. If it is greater than the threshold, it is considered that the current channel is correctly connected to the repeater device, otherwise the power switch of this channel is turned off. Regardless of the result, the sampling of the next channel will continue in sequence; during the operation of the HUB device, the voltage and current values ​​of each channel will be continuously sampled in a cycle according to the set detection interval time. If the calculated power is greater than the threshold, the power supply is turned on, otherwise it is turned off. If the status of a channel is manually modified during the automatic detection process, the manual modification is given a high priority, and this channel is no longer included in the automatic detection channel range to prevent confusion for management personnel.

[0100] In summary, the actual voltage, current and power values ​​are calculated through the algorithm by continuously acquiring the real-time voltage and current sampling values, and then the various values ​​of the current channel of the HUB device are judged to meet the conditions to dynamically control the power switch, so as to realize the voltage abnormality protection of the repeater equipment connected to the channel and realize the opening and closing of the repeater equipment of different channels by controlling the HUB device. The design of this application can not only reduce the damage probability of the repeater equipment in abnormal situations, but also facilitate the management personnel to dynamically manage the switching of the repeater, and shut down the repeater equipment with less demand in the dead of night to achieve the purpose of energy saving and consumption reduction.

[0101] Example 3

[0102] The deployment structure of the present invention and the scalability solutions for different power supply problems are further explained below in combination with conventional repeater power supply methods.

[0103] In the conventional repeater cluster deployment power supply scheme, the repeater A-end equipment and the repeater B-end equipment are both powered independently, using a separate power supply for direct power supply. At certain special time points, such as late at night when people are asleep, the demand for repeater equipment will be at its lowest point, so you can choose to shut down some less important repeater equipment to reduce energy consumption and achieve the goal of energy conservation and emission reduction. However, since each repeater equipment is powered independently, if you want to shut it down, the manager needs to go to the location of the equipment in person to operate the equipment, which not only wastes a lot of manpower but also easily causes mistakes and shuts down the wrong equipment. Although the A-end and B-end can transmit signals through the antenna, the B-end equipment can be remotely controlled by controlling the repeater A-end master device MU, but there is also a situation that when the B-end device is remotely shut down using the repeater A-end master device MU, you will not be able to remotely turn on the B-end device, because after the B-end device is shut down, the FSK module used for remote communication will also be shut down, thereby losing the connection with the repeater A-end master device MU. If you want to turn on the device again, the manager still needs to turn it on manually.

[0104] In addition to the inconvenience of switching on and off the repeater equipment, directly connecting the equipment to the power supply may also lead to insufficient protection measures for the equipment in the event of abnormal conditions. The equipment can only rely on the power supply protection function of the equipment itself. If the voltage suddenly increases or decreases, it may cause damage to the equipment. And as shown in the figure, each repeater equipment needs to be equipped with a separate power supply. When the management personnel want to add a repeater equipment, they need to prepare an additional matching repeater power supply, resulting in waste of materials.

[0105] Therefore, this application has Figure 3 The deployment scenario shown in Figure 3 In the cluster deployment solution of repeater stations, a HUB is directly connected to the power supply to provide unified power supply to the repeater equipment. The HUB is used as a relay platform to control the power supply of different repeater equipment. In this case, only one power supply directly connected to the HUB is needed to meet the power supply needs of multiple repeater equipment. And according to the above figure, it can be seen that there is a HUB as an intermediary between the repeater and the power supply. Therefore, when the power supply is abnormal and the voltage is abnormal, the HUB can sense the abnormality in advance to prevent damage to the repeater equipment.

[0106] exist Figure 3In the repeater cluster deployment scheme, the HUB can control the power switch of a certain repeater device individually. You can switch on and off any device connected to the HUB by directly controlling the HUB or use the repeater A-end master device MU to remotely control the HUB to switch on and off the connected repeater B-end device RUn, where n is a digital number, such as 1 to 4. What's different from the traditional scheme is that the repeater A-end master device MU is also under the power control of the HUB. Although the power switch of the repeater A-end master device MU should be in the on state, when encountering special needs, the entire set of repeater equipment can be turned off or on by controlling the HUB, which is more flexible.

[0107] Furthermore, considering the implementation of hot-swap scenarios for repeater stations through HUB devices, the following deployment solutions are also provided.

[0108] Figure 4 The schematic diagram of the deployment of HUB to realize hot swap of repeater stations. Figure 4 As shown in the figure, the HUB device has the hot-swap function for the repeater, including the process of inserting new equipment and removing old equipment. That is, any repeater equipment can be plug-and-play, and there is no need to adjust the HUB device or manually turn on the power switch and prepare additional power. Instead, the HUB device has an idle channel connection port to realize the addition or removal of the repeater, reducing the energy consumed by the management personnel to maintain the equipment.

[0109] In order to realize the hot-swap function of the HUB device and achieve automatic power supply control, the HUB device is not limited to having an ordinary hardware structure. The present application also provides a software driver to help realize the automation of power supply.

[0110] In a possible implementation, in order to realize the automation of power supply, the HUB device is equipped with MCU and supporting software programs, and uses EEPROM to store the power threshold and voltage protection threshold of the power supply switch of different channels. The real-time voltage, current and power values ​​of different channels are read and calculated through the ADC device. After comparing the parameters to obtain the judgment result of the corresponding channel of the switch, the GPIO is used to implement the opening and closing operation of the power switch, and finally the timer is used to realize the cycle detection. In simple terms, the realization of the hot-swap function is based on the huge difference between the power generated when the repeater device is in place and the power when the device is not connected. When the power difference is greater than the critical point, it means that the HUB device is connected to the repeater device, and then the power switch is turned on.

[0111] The role of the timer is to accurately obtain the current status of a channel, and to update the device status of the channel through continuous cycle detection to ensure that only the HUB channel power switch connected to the repeater device is turned on.

[0112] Furthermore, considering the power-on scenario implemented through a HUB device, the following deployment solution is also provided.

[0113] Figure 5 The schematic diagram of the HUB power supply process. Figure 5 As shown in the figure, the process of the HUB turning on the power supply of the corresponding repeater of a certain channel is shown. It can be seen that each time the HUB device controls the power switch of the channel, it needs to obtain the corresponding channel power threshold in the EEPROM. This threshold is written into the memory after the system is initialized, and can be obtained from the memory later. After obtaining the power threshold, the power switch of this channel is turned on first, that is, based on judging whether the power value meets the conditions. If the power switch is not turned on, the collected power value will be the original power value of the HUB device itself, which is difficult to meet the demand. Therefore, only by powering on the repeater device and waiting for the repeater device to turn on its own modules, the current power value collected after the current value tends to be stable is the real value of the repeater. At this time, the result obtained by comparing the power threshold is accurate. If the power value meets the conditions, the detection process of the next channel will continue until all channels are detected. Corresponding to turning on the power supply, the process of turning off the power supply is similar. The main difference is that when turning off the power supply, the power switch is turned off when it is known that the current channel power value does not meet the conditions, and then the detection process of the next channel is continued. Since the speed of the entire detection process is very fast, the only thing that can be perceived is the delay time of waiting for the current of the repeater equipment to stabilize. Therefore, even if there is no equipment connected to the HUB device, the energy consumed by turning on the power switch for each detection can be ignored. From an overall perspective, more unnecessary energy loss can be reduced.

[0114] Furthermore, considering the automatic voltage protection scenario implemented through HUB equipment, the following deployment solution is also provided.

[0115] Figure 6 The following is a schematic diagram of the automatic voltage protection process of the HUB device. The HUB device can serve as a relay between the repeater equipment and the power supply, manage the power supply of the repeater equipment in a unified manner, and prevent possible damage to the repeater due to voltage anomalies. Figure 6As shown, after initializing the system, the HUB will read the overvoltage and undervoltage protection thresholds from the EEPROM into the memory. These values ​​can be adjusted independently by the management personnel, which enhances the flexibility of the equipment to cope with different situations. During each automatic detection of the channel, the real-time voltage value of the channel will be obtained through the ADC device. Since the voltage value of each channel is the device voltage value, it is further determined whether the voltage value is in the normal range. As long as the voltage value is not in the normal range at any time, the power supply switches of all channels will be immediately turned off, because the device voltage may have been abnormal at this time. All channels are turned off to protect the connected repeater equipment, and the HUB equipment keeps flashing the alarm light.

[0116] Furthermore, although the voltage protection of the repeater equipment is achieved by turning off the power switch, there is also a problem that the repeater equipment needs to be started. At this time, the power supply of the main control device MU at the A end of the repeater is also turned off, the repeater equipment is offline, and various modules are turned off, so the repeater B end device cannot be controlled by remote opening. In this application, it is designed to allow the HUB to realize automatic power supply control.

[0117] In the process of automatic power supply control, the HUB device will have a timer to perform automatic detection on time under normal circumstances. When the HUB device finds that the voltage is abnormal, it will enter the voltage detection state. The previous channel automatic detection will become to only detect the real-time device voltage value. By continuously detecting the device voltage value, it is determined whether the voltage has returned to normal. If it has not recovered, the voltage detection will continue to be performed on time. Otherwise, it will return to the channel automatic detection state and turn off the alarm light. The power switch of the repeater equipment connected to the HUB is automatically controlled through channel automatic detection.

[0118] Furthermore, considering the automatic power supply control scenario achieved through the HUB device, the following deployment solution is also provided.

[0119] Figure 7 Automatic power supply control flow chart for HUB. Figure 7 This is the overall flow chart of HUB automatic power supply control. It can be seen that the above voltage protection mechanism is combined with the channel automatic detection mechanism. Figure 7 This is also a complete flow chart corresponding to Example 2, that is, the method provided in Example 2 can realize automatic power supply control of HUB. Figure 7 The following is additional explanation of this process.

[0120] When the HUB device is powered on, it will first initialize the system and read the required parameter values ​​from the EEPROM, such as obtaining the power threshold and undervoltage threshold parameters into the memory. It should be noted that since the HUB device has current background noise and this background noise will be slightly different due to hardware differences, the impact of this background noise is removed when obtaining the real-time current value in the design of this application, otherwise it will affect the automatic channel detection of the HUB device, resulting in inaccurate detection results, that is, automatic current background noise calibration should be performed at the first startup, and the calibration value should be written to the EEPROM and memory.

[0121] For example, the HUB device is connected to the repeater B-end device RU1 and repeater B-end RU3, but the noise floor is not measured at this time, and the power value calculated by the current noise floor of channel 2 may just be greater than the power threshold. The management personnel will find that the power switches of channels 1, 2, and 3 are all turned on at this time, resulting in an out-of-control state. When the HUB detects the voltage, current, and power value of each channel in turn, the following situations may occur.

[0122] The current device voltage value is abnormal. When the voltage value obtained is not within the normal voltage range set by the administrator, the HUB will immediately turn off the power supply switches of all channels, flash the alarm light and enter the voltage detection state, and use a timer to continuously detect the voltage value of the first channel at the set time interval. According to the detection result, it is decided whether to restore the automatic detection state or continue to maintain the voltage detection state.

[0123] The device voltage is normal, and the channel is not connected to a repeater device. If the device voltage is normal, the HUB will subtract the current noise floor value of the current channel stored in the device from the sampled current value to obtain the true current value of the repeater device and calculate the true power value. By comparing the power value with the power threshold, it is found that the current channel power value is less than the power threshold, so the HUB believes that the current channel is not connected to a repeater device, and thus turns off the power switch of the current channel and continues to detect the next channel.

[0124] The device voltage is normal and the channel is connected to a repeater. The device voltage is normal and the power value detected is greater than the power threshold. At this time, it is considered that this channel is connected to a repeater and the detection of the next channel will be continued directly.

[0125] All channels are tested. After all channels are tested, the HUB device exits the automatic detection state and enters the normal business state and starts the timer. It will enter the automatic detection state again until the timer expires.

[0126] The administrator manually controls a channel. This solution is designed to give the administrator manual control a higher priority than the HUB automatic detection, in order to prevent the HUB from automatically turning on an abnormal device after the administrator manually turns it off. When the administrator manually controls a channel, there will be a parameter manualbitmap to record which channel is under manual control or automatic control. When the next automatic detection finds that this channel is manually detected, the detection stage of this channel will be skipped directly.

[0127] The administrator hot-plugs the repeater equipment of a certain channel. When the administrator wants to add or remove the repeater equipment of a certain channel, the HUB will not respond immediately, but will determine the power value of the current channel when the next automatic detection comes, and determine whether the current channel is connected to a device based on the comparison result of the power value, that is, refresh the channel connection status recorded by the HUB through automatic detection, and then control the power switch on and off according to the connection status.

[0128] On the other hand, a repeater HUB power supply management system is also provided. The system is applicable to the above repeater power supply management method. The system includes an acquisition module, an automatic detection module and a control module.

[0129] The acquisition module is used to initialize the system and read the historical power threshold of the target channel when the HUB device is powered on, and is also used to acquire the real-time voltage value and real-time current value of different channels at the HUB device after a first preset time, and is also used to acquire the real-time voltage value of the target channel in the voltage detection state;

[0130] The automatic detection module is used to enter an automatic detection state, in which the power switch of the target channel is turned on, and is also used to enter a voltage detection state after a second preset time, and is also used to turn off the power switches of all channels and flash a warning light in response to the real-time voltage value of the target channel not being within a normal voltage range;

[0131] The control module is used to continue executing the step of entering the voltage detection state after a second preset time in response to the real-time voltage value of the target channel being not within the normal voltage range, and is also used to enter the automatic detection state and turn off the warning light in response to the real-time voltage value of the target channel being within the normal voltage range.

[0132] The above serial numbers of this application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description is only an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A method for managing power supply of a repeater HUB, characterized in that: The method is applicable to a HUB device, the HUB device is connected to a repeater and a power supply, and the method comprises: When the HUB device is powered on, the system is initialized and the historical power threshold of the target channel is read; Entering an automatic detection state, in which the power switch of the target channel is turned on; After a first preset time, obtain the real-time voltage value and the real-time current value of different channels at the HUB device; In response to the real-time voltage value of the target channel not being within the normal voltage range, turning off the power switches of all channels and flashing an alarm light; Entering a voltage detection state after a second preset time; In the voltage detection state, obtaining a real-time voltage value of the target channel; In response to the real-time voltage value of the target channel not being within the normal voltage interval, continuing to execute the step of entering the voltage detection state after a second preset time; In response to the real-time voltage value of the target channel being within the normal voltage range, the automatic detection state is entered and the warning light is turned off.

2. The method for managing power supply of a repeater HUB according to claim 1, characterized in that: After acquiring the real-time voltage values ​​and real-time current values ​​of different channels at the HUB device after the first preset time, the method further includes: In response to the real-time voltage value of the target channel being in a normal voltage range, obtaining an actual power value of the target channel according to the real-time current value of the target channel and a current noise floor calibration value of the target channel; In response to the actual power value of the target channel being higher than the historical power threshold of the target channel, the next channel is detected, and the step of entering the automatic detection state is continued until all channels are detected.

3. The method for managing power supply of a repeater HUB according to claim 2, characterized in that: When the HUB device is powered on, after initializing the system and reading the historical power threshold of the target channel, the method further includes: Perform current noise floor calibration on the target channel and save the current noise floor calibration value.

4. The method for managing power supply of a repeater HUB according to claim 2, characterized in that: In response to the actual power value of the target channel being higher than the historical power threshold of the target channel, detecting the next channel, and continuing to execute the step of entering the automatic detection state until all channels are detected, the method further includes: After the next channel completes the detection, it enters the normal business state and starts the timer; In response to the timer expiring, the automatic detection state is entered.

5. The method for managing power supply of a repeater HUB according to claim 2, characterized in that: In response to the real-time voltage value of the target channel being in a normal voltage range, after obtaining the actual power value of the target channel according to the real-time current value of the target channel and the current noise floor calibration value of the target channel, the method further includes: In response to the actual power value of the target channel being not higher than the historical power threshold of the target channel, turning off the power switch of the target channel; Continue to test the next channel.

6. The method for managing power supply of a repeater HUB according to any one of claims 1 to 5, characterized in that: The first preset time is 500 milliseconds.

7. The method for managing power supply of a repeater HUB according to any one of claims 1 to 5, characterized in that: The acquiring the real-time voltage value and the real-time current value of different channels at the HUB device after the first preset time includes: After the first preset time, the real-time voltage value and the real-time current value of different channels at the HUB device are obtained through the ADC device.

8. The method for managing power supply of a repeater HUB according to claim 7, characterized in that: Different pins of the ADC device correspond to voltage, current value of a downstream channel, and current value of an upstream channel respectively.

9. A repeater HUB power supply management system, characterized in that: The system is applicable to the repeater power supply management method described in any one of claims 1 to 8 above, and the system comprises an acquisition module, an automatic detection module and a control module; The acquisition module is used to initialize the system and read the historical power threshold of the target channel when the HUB device is powered on, and is also used to acquire the real-time voltage value and real-time current value of different channels at the HUB device after a first preset time, and is also used to acquire the real-time voltage value of the target channel in the voltage detection state; The automatic detection module is used to enter an automatic detection state, in which the power switch of the target channel is turned on, and is also used to enter a voltage detection state after a second preset time, and is also used to turn off the power switches of all channels and flash a warning light in response to the real-time voltage value of the target channel not being within a normal voltage range; The control module is used to continue executing the step of entering the voltage detection state after a second preset time in response to the real-time voltage value of the target channel being not within the normal voltage range, and is also used to enter the automatic detection state and turn off the warning light in response to the real-time voltage value of the target channel being within the normal voltage range.

10. A computer-readable storage medium, characterized in that: A computer program for implementing the power supply management method for the repeater HUB as claimed in any one of claims 1 to 8 is stored thereon.