Power supply hot backup method, power supply hot backup device, camera, and camera system
Patent Information
- Application Number
- CN202611057398.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-15
- Publication Date
- 2026-09-25
AI Technical Summary
然而,此类策略使得用户无法同时摄像机使用全部功能,牺牲了用户体验
[0016]上述电源热备份方法、装置、摄像系统和计算机设备,在摄像机主电源故障的情况下,通过确定与摄像机连接且处于可供电状态的至少两个目标供电模块,以实现摄像机的多电源热备份供电;基于目标供电模块的电源转换效率,对各目标供电模块输出至摄像机的供电电压进行调整,使得电源转换效率越高的目标供电模块的供电电压越大,电源转换效率越低的目标供电模块的供电电压越小;随后,主动选用供电电压最高、电源转换效率最优的目标供电模块接入所述摄像机,减少了摄像机因供电电源的电源转换效率低导致的功耗损耗,从而降低电源热备份时摄像机可使用功耗受限程度,提高用户体验。
Smart Images

Figure CN122823729A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power backup, and in particular to power hot backup methods, power hot backup devices, cameras, and video systems. Background Technology
[0002] With the continuous advancement of the surveillance industry, cameras with hot power backup capabilities are increasingly gaining market share due to demand. A hot power backup camera refers to a camera that can seamlessly switch to a backup power supply in the event of a main power failure, ensuring continuous system operation. However, in scenarios where an external power supply is used to power the camera, the effective power that the external power supply can actually provide to the camera's internal circuitry is usually lower than the total power consumption required for the camera's normal operation.
[0003] In related technologies, to avoid system restarts or malfunctions due to camera power exceeding limits, a functional mutual exclusion strategy is often adopted: when the total power consumption of the camera is detected to be close to the power supply limit, some high-power peripherals are forcibly shut down, such as fill lights, pan-tilt units, and speakers, to ensure the overall stable operation of the camera. However, this strategy prevents users from using all camera functions simultaneously, sacrificing user experience.
[0004] There is currently no effective solution to the problem of limited power consumption of cameras during power hot backup in related technologies. Summary of the Invention
[0005] Therefore, it is necessary to provide a power hot backup method, power hot backup device, camera, and camera system that can reduce the power consumption limitation of the camera during power hot backup, in order to address the above-mentioned technical problems.
[0006] Firstly, this embodiment provides a power hot backup method, the method comprising:
[0007] In the event of a main power failure of the camera, at least two target power supply modules connected to the camera and in a power-available state are identified; the target power supply modules are configured to convert the input voltage provided by the corresponding external power supply into a first power supply voltage required for the operation of the camera;
[0008] The power conversion efficiency of each target power supply module in converting the corresponding input voltage into the first power supply voltage is obtained, and the first power supply voltage output by the corresponding target power supply module is adjusted according to the power conversion efficiency to obtain the second power supply voltage, so that the second power supply voltage output by each target power supply module is positively correlated with the power conversion efficiency.
[0009] Connect the target power supply module corresponding to the highest second power supply voltage to the camera.
[0010] Secondly, this embodiment provides a power hot backup device, the device comprising:
[0011] The power supply presence detection module identifies at least two target power supply modules connected to the camera and in a power-supply state in the event of a camera main power supply failure; the target power supply modules are configured to convert the input voltage provided by the corresponding external power supply into a first power supply voltage required for the camera to operate.
[0012] The voltage regulation module is used to obtain the power conversion efficiency of each target power supply module in converting the corresponding input voltage into the first power supply voltage, and adjust the first power supply voltage output by the corresponding target power supply module according to the power conversion efficiency to obtain the second power supply voltage, so that the second power supply voltage output by each target power supply module is positively correlated with the power conversion efficiency.
[0013] An access module is used to connect the target power supply module corresponding to the highest second power supply voltage to the camera.
[0014] Thirdly, this embodiment provides a camera, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the power hot backup method described in the first aspect above.
[0015] Fourthly, this embodiment provides a camera system, which includes: multiple power supply modules and the camera described in the third aspect above.
[0016] The aforementioned power supply hot backup method, apparatus, camera system, and computer equipment, in the event of a camera main power supply failure, achieve multi-power supply hot backup for the camera by identifying at least two target power supply modules connected to the camera and in a power-supplying state. Based on the power conversion efficiency of the target power supply modules, the power supply voltage output to the camera from each target power supply module is adjusted so that the power supply voltage of the target power supply module with higher power conversion efficiency is higher, and the power supply voltage of the target power supply module with lower power conversion efficiency is lower. Subsequently, the target power supply module with the highest power supply voltage and the best power conversion efficiency is actively selected to connect to the camera, reducing the power consumption loss of the camera caused by the low power conversion efficiency of the power supply, thereby reducing the degree of limitation on the usable power consumption of the camera during power supply hot backup and improving the user experience. Attached Figure Description
[0017] Figure 1 This is a diagram illustrating the application environment of a power hot backup method in one embodiment of this application;
[0018] Figure 2 This is a flowchart illustrating a power hot backup method in one embodiment of this application;
[0019] Figure 3 This is a schematic diagram of a resistor voltage divider circuit in one embodiment of this application;
[0020] Figure 4 This is a schematic diagram of a feedback circuit in one embodiment of this application;
[0021] Figure 5 This is a schematic diagram of input voltage detection in one embodiment of this application;
[0022] Figure 6 This is a schematic diagram of power supply voltage detection in one embodiment of this application;
[0023] Figure 7 This is a structural block diagram of a power hot backup device in one embodiment of this application;
[0024] Figure 8 This is a diagram of the internal structure of a camera in one embodiment of this application. Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0026] The power hot backup method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, camera 102 is switchably connected to main power supply 104 and multiple power supply modules 106 via a power transmission link; each power supply module 106 is connected to a different external power supply. When main power supply 104 is supplying power normally, camera 102 is powered by main power supply 104; when main power supply 104 fails, camera 102 automatically disconnects from main power supply 104 and selects one of the multiple power supply modules 106 to connect to its corresponding external power supply as the current operating power source. Optionally, camera 102 may include one or more processors, which are used to select one of the multiple power supply modules 106 to connect to when main power supply 104 fails. The processor may include, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA). Camera 102 may also include a data memory, which can store data that needs to be processed or stored during camera operation.
[0027] In one embodiment, such as Figure 2 As shown, a power supply hot backup method is provided, including the following steps:
[0028] In step S202, in the event of a camera main power supply failure, at least two target power supply modules connected to the camera and in a power-supply state are identified; the target power supply modules are configured to convert the input voltage provided by the corresponding external power supply into the first power supply voltage required for the camera to operate.
[0029] Each target power supply module is connected to an external power source. It is configured to receive the input voltage from the corresponding external power source and provide a stable power supply voltage to the camera. The external power sources connected to the target power supply module include, but are not limited to, DC power supplies, AC power supplies, and Power over Ethernet (PoE) power supplies. The power supply module being in a power-supplying state means that it can input a voltage signal within its rated operating range to the camera.
[0030] Optionally, the processor monitors the output voltage and / or current signal of the main power supply. When the output voltage of the main power supply is detected to be lower than a preset voltage threshold, or when the current is abnormally interrupted, a main power supply failure is determined. In the event of a camera main power supply failure, the availability of the power supply module connected to the camera is determined by detecting its presence. For example, when the power supply module has a power-ready signal output pin, the power supply will pull the signal high after completing startup and outputting a stable voltage. At this time, the processor can read the power-ready signal through the pin and determine whether the external power supply corresponding to the power supply module is present and whether the power supply module is in a power-ready state based on the signal's level. Alternatively, the input voltage or the first supply voltage of the power supply module on the power transmission link can be sampled. If the sampled voltage is within a pre-configured reasonable range, the external power supply corresponding to the power supply module is determined to be present and in a power-ready state; otherwise, the power supply module is determined to be in a power-unable state.
[0031] Further, the decision to execute step S202 can be determined based on the number of target power supply modules in a power-available state. In one possible implementation method, determining at least two target power supply modules connected to the camera and in a power-available state includes: in each power supply module connected to the camera, obtaining the number of power supply modules in a power-available state based on a preset monitoring period; if the number is one, connecting the power supply module in a power-available state to the camera; if the number is greater than or equal to two, determining the power supply module in a power-available state as a target power supply module.
[0032] The preset monitoring period is a specified period value. If only one power supply module is in a power-available state during the current monitoring period, then only that power supply module can be selected for that monitoring period. It is understood that if at least two target power supply modules are detected in the next monitoring period, step S202 can still be executed to achieve hot backup of the camera's power supply. If at least two power supply modules are in a power-available state, they can be used as target power supply modules, and step S202 can be executed.
[0033] For example, during the first monitoring cycle, if the 12V DC power supply is unavailable due to a fault or power failure, the 24V AC power supply has a higher power conversion efficiency than the Ethernet power supply. By adjusting the AC power supply voltage to the +12V required for camera operation and the Ethernet power supply voltage to +11V, the camera can seamlessly switch to AC power, ensuring hot backup functionality. In the next monitoring cycle, if the 12V DC, 24V AC, and Ethernet power supplies are all available, the 12V DC power supply is kept constant, while the AC power supply voltage is adjusted to +11V and the Ethernet power supply voltage to +10V.
[0034] In this way, by dynamically adjusting the power supply strategy according to the number of target power supply modules in a power-available state within each preset monitoring cycle, it can be ensured that the camera can still work normally under non-redundant configuration, enhancing the adaptive capability of camera hot backup; at the same time, a closed-loop management of camera power consumption based on the preset monitoring cycle is formed.
[0035] Step S204: Obtain the power conversion efficiency of each target power supply module in converting the corresponding input voltage into the first power supply voltage, and adjust the first power supply voltage output by the corresponding target power supply module according to the power conversion efficiency to obtain the second power supply voltage, so that the second power supply voltage output by each target power supply module is positively correlated with the power conversion efficiency.
[0036] The power conversion efficiency of the target power supply module is a value obtained through pre-testing. It refers to the ratio of effective output power to total input power during the process of converting input electrical energy into output electrical energy. The higher the power conversion efficiency of the target power supply module, the higher the adjusted second supply voltage; conversely, the lower the adjusted second supply voltage of the target power supply module.
[0037] For different types of target power supply modules, the corresponding voltage sampling method can be adaptively set.
[0038] Optionally, when the power conversion circuit used inside the target power supply module is a non-isolated architecture, a resistor voltage divider circuit is set up. One end of the resistor voltage divider circuit is connected to the first supply voltage output terminal of the target power supply module, and the other end of the resistor voltage divider circuit is grounded. After voltage division by the resistors in the voltage divider circuit, the processor acquires the voltage value at the voltage divider point through a comparator IC (comparator chip) and an ADC (Analog-to-Digital Converter) to obtain the first supply voltage.
[0039] Optionally, when the power conversion circuit used inside the target power supply module is an isolated architecture, the primary and secondary circuits inside the target power supply module can be connected through an optocoupler or an isolation IC. The primary circuit divides the first supply voltage through a resistor voltage divider circuit and then inputs the primary voltage to the input terminal of the optocoupler or isolation IC. The output terminal of the optocoupler or isolation IC generates an analog signal proportional to the primary voltage on the secondary circuit side. The camera processor acquires the analog signal on the secondary circuit side through an analog-to-digital converter and maps the analog signal to the primary first supply voltage according to the pre-calibrated mapping relationship between the secondary analog signal voltage value and the primary first supply voltage.
[0040] Figure 3 A schematic diagram of a resistor voltage divider circuit is provided, such as... Figure 3 As shown, the resistor voltage divider circuit includes resistors R1 and R2 connected in series. The first end of resistor R1 is grounded, the second end of resistor R1 is connected to the first end of resistor R2, and the second end of resistor R2 is connected to the output terminal of the first power supply voltage. The voltage divider value is output to the camera's processor at the connection node of resistors R1 and R2.
[0041] For different types of target power supply modules, the corresponding first power supply voltage adjustment method can be adaptively set.
[0042] Optionally, when the power conversion circuit used inside the target power supply module is a non-isolated architecture, a feedback circuit consisting of a feedback resistor can be set between the output terminal and the ground terminal of the target power supply module. The voltage divider node of the feedback circuit is connected to the feedback pin of the power control chip of the power conversion circuit. By adjusting the resistance value of the feedback resistor, the power supply voltage output by the target power supply module to the camera can be changed.
[0043] Optionally, when the power conversion circuit used inside the target power supply module is an isolated architecture, since the primary and secondary sides of the power conversion circuit are not directly electrically connected, the primary and secondary circuits are connected through optocouplers or isolation ICs (isolation chips), and voltage regulation is achieved by indirectly adjusting the feedback resistor in the feedback circuit.
[0044] Specifically, a feedback circuit consisting of a feedback resistor can be set between the output terminal and the ground terminal of the secondary circuit. The voltage divider node of this feedback circuit is connected to the input terminal of an optocoupler or isolation IC, and the output terminal of the optocoupler or isolation IC is connected to the compensation pin COMP of the power control chip in the primary circuit. By adjusting the resistance value in the secondary feedback circuit, the magnitude of the current signal input to the compensation pin is changed, thereby changing the voltage value output by the secondary circuit of the isolated power supply through the power control chip in the primary circuit.
[0045] Alternatively, a feedback circuit consisting of a feedback resistor can be set in the primary circuit: a feedback circuit is set between the power supply pin and the ground terminal of the power control chip in the primary circuit, and the voltage divider node of the feedback circuit is connected to the feedback pin of the power control chip. By adjusting the resistance value in the secondary feedback circuit, the current signal input to the feedback pin is changed, thereby changing the output voltage value of the secondary circuit.
[0046] Figure 4 A schematic diagram of a feedback circuit is provided, such as... Figure 4 As shown, each feedback circuit includes resistor R3 and resistor R4; wherein, the first end of resistor R3 is grounded, the second end of resistor R3 is connected to the first end of resistor R4, and the second end of resistor R4 is connected to the power output terminal; a feedback voltage is output at the connection node of resistor R3 and resistor R4.
[0047] like Figure 4 As shown in (a), the feedback circuit also includes a resistor R5; the resistor R5 is connected in series with the switching device and is connected across the power output terminal and the feedback voltage node; when the switching device is turned on in response to the enable signal, the resistor R5 is connected in parallel with R4; when the switching device is turned off in response to the enable signal, the resistor R5 is not connected to the feedback circuit; the feedback voltage is adjusted by controlling the on or off state of the switching device.
[0048] like Figure 4 As shown in (b), the feedback circuit also includes a sliding resistor R6; the sliding resistor R6 is connected in parallel with the resistor R4; the feedback voltage is adjusted by changing the resistance value of the sliding resistor R6.
[0049] like Figure 4 As shown in (c), the feedback circuit also includes an SVB voltage regulator (selective voltage level regulator); the output of the SVB voltage regulator is connected to the feedback voltage node; the SVB voltage regulator generates a PWM signal to perform PWM analog voltage regulation on the feedback voltage node, thereby adjusting the feedback voltage.
[0050] Step S206: Connect the target power supply module corresponding to the highest second power supply voltage to the camera.
[0051] Optionally, the adjusted second supply voltage of each target power supply module is obtained, and multiple second supply voltages are compared using a voltage comparator to determine the target power supply module with the highest second supply voltage. Then, a switching device is controlled to connect the power supply path between the target power supply module with the highest second supply voltage and the camera, while disconnecting the power supply paths between the other target power supply modules and the camera. The voltage comparator can be an existing integrated comparator chip; the switching device can be a MOSFET, relay, or analog switch, etc., without limitation.
[0052] In the aforementioned power hot backup method, at least two target power supply modules are identified to achieve multi-power hot backup power supply for the camera, thereby improving the system stability of the camera. Based on the power conversion efficiency of the target power supply modules, the first power supply voltage output to the camera by each target power supply module is adjusted so that the second power supply voltage of the target power supply module with higher power conversion efficiency is larger, and vice versa. Subsequently, the target power supply module with the highest second power supply voltage and the best power conversion efficiency is actively selected to connect to the camera, reducing the power consumption loss of the camera caused by the low power conversion efficiency of the power supply, thereby reducing the degree of power consumption limitation of the camera during power hot backup and improving the user experience.
[0053] In one embodiment, determining at least two target power supply modules connected to the camera and in a power-available state includes: sampling the voltage of each power supply module connected to the camera to obtain a sampled voltage; wherein the sampled voltage includes the input voltage corresponding to the power supply module, and / or a first power supply voltage obtained by the power supply module after voltage conversion of the input voltage; if the sampled voltage is higher than a first preset threshold, determining the power supply module corresponding to the sampled voltage as a target power supply module.
[0054] The first preset threshold is a pre-configured parameter that can be independently set for the input voltage and the first supply voltage of each target power supply module.
[0055] Optionally, when the target power supply module is connected to an AC power source: the AC input voltage provided by the AC power source is rectified by the rectifier bridge in the target power supply module, and the camera processor samples the DC voltage output by the rectifier bridge to obtain the input voltage; the target power supply module takes the DC voltage output by the rectifier bridge as input, and after voltage conversion by the non-isolated high-voltage BUCK power supply circuit, the camera processor samples the DC voltage output after voltage conversion to obtain the first power supply voltage.
[0056] Optionally, when the target power supply module is connected to a PoE power supply: the DC input voltage provided by the PoE port is input to the target power supply module, rectified by a rectifier bridge, and then regulated by the PD control circuit. The camera processor samples the DC voltage output by the PD control circuit to obtain the input voltage. The target power supply module uses the DC voltage output by the PD control circuit as input, and after voltage conversion by an isolated PWM power supply circuit, the camera processor samples the DC voltage output after voltage conversion to obtain the first supply voltage.
[0057] Optionally, when the target power supply module is connected to a DC power supply: the DC voltage received by the target power supply module is directly sampled, and the sampling result can be directly used as the first power supply voltage. At this time, the detection position and detection result of the input voltage and the first power supply voltage are the same.
[0058] For ease of understanding, let's take a camera operating at 12V as an example, with the three target power supply modules corresponding to 12V DC power (DC12V), 24V AC power (AC24V), and Power over Ethernet (PoE) respectively: For the first DC input voltage provided by the PoE port, it passes through a rectifier bridge, a PD control circuit, and an isolated PWM power supply circuit, outputting a first 12V DC voltage (denoted as +12V_POE) to the reverse connection and backflow prevention circuit before being output to the camera's internal circuitry. For the AC24V input voltage, it passes through a rectifier bridge and a non-isolated high-voltage BUCK power supply circuit, outputting a second 12V DC voltage (denoted as +12V_AC) to the reverse connection and backflow prevention circuit before being output to the camera's internal circuitry. For the first DC input voltage output from the DV12V port, a third 12V DC voltage (denoted as +12V_DC) is output to the reverse connection and backflow prevention circuit before being output to the camera's internal circuitry. Based on this... Figure 5 A schematic diagram for input voltage detection is provided, such as... Figure 5 As shown, the input voltage is the voltage of the node where the red circle is located in the figure, and its value can be obtained by sampling through the processor inside the camera. Figure 6 A schematic diagram for power supply voltage detection is provided, such as... Figure 6 As shown, the power supply voltage is the voltage of the node where the green circle is located in the figure, and its value can also be obtained by sampling through the processor inside the camera.
[0059] The voltage sampling method can be found in the description of the voltage sampling method in step S204 above. That is, the corresponding voltage sampling method is adaptively set for different types of target power supply modules. The sampling process of the first power supply voltage and the input voltage will not be described in detail here. The voltage sampling frequency can be configured according to requirements.
[0060] In this embodiment, it is possible to select only the input voltage of the target power supply module, only its first supply voltage, or both the input voltage and the first supply voltage. By sampling the input voltage of the target power supply module, it is possible to determine whether the external power supply corresponding to the module is supplying power normally, thereby providing feedback on whether the target power supply module is in a power-supplying state. By sampling the first supply voltage of the target power supply module, it is possible to deduce whether the target power supply module is in a power-supplying state based on the actual voltage level supplied to the camera by the power supply. If both the input voltage and the first supply voltage are sampled simultaneously, the power-supplying status information of the target power supply module can be obtained through the other sampling voltage even if one voltage sampling channel fails.
[0061] Furthermore, by simultaneously sampling the input voltage and the first supply voltage, even when the target power supply module is not in a power supply state, the amplitude and trend of the input voltage and the sampled voltage can be compared to distinguish whether the fault occurs on the external power supply side or in the voltage conversion stage, thereby improving the accuracy of identifying the target power supply module.
[0062] In one embodiment, the power conversion efficiency of each target power supply module in converting the corresponding input voltage into a first power supply voltage is obtained, and the first power supply voltage output by the corresponding target power supply module is adjusted according to the power conversion efficiency to obtain a second power supply voltage, so that the second power supply voltage output by each target power supply module is positively correlated with the power conversion efficiency. This includes: within the operating voltage range of the camera, adjusting the first power supply voltage of the corresponding target power supply module according to the power conversion efficiency, so that the adjusted second power supply voltage is within the operating voltage range and the second power supply voltage is positively correlated with the corresponding power conversion efficiency.
[0063] Optionally, a fixed step-down offset is pre-configured for the first supply voltage of each target power supply module. This offset is set according to power conversion efficiency: the higher the power conversion efficiency, the smaller the corresponding offset; conversely, the lower the power conversion efficiency, the larger the offset. Based on this fixed step-down offset, the first supply voltage of the target power supply module is stepped down so that the adjusted second supply voltage of the target power supply module is positively correlated with the power conversion efficiency. Optionally, after the step-down process, it can also be monitored whether the adjusted second supply voltage is higher than the minimum operating voltage. If not, the step-down offset corresponding to the first supply voltage is reduced based on specified compensation.
[0064] Alternatively, a reference voltage sequence can be pre-constructed, where voltage values are arranged in descending order, and all values are higher than the minimum operating voltage required by the camera and lower than the maximum operating voltage required by the camera. Based on the power conversion efficiency of each target power supply module, the first supply voltages before adjustment are sorted in descending order, and the sorting results are mapped one-to-one with the reference voltage sequence. The target power supply module with the highest power conversion efficiency is assigned the highest reference voltage, the target power supply module with the second highest power conversion efficiency is assigned the second highest reference voltage, and so on. Each first supply voltage is then stepped down to its corresponding reference voltage, thereby achieving a voltage sorting of operating voltages positively correlated with power conversion efficiency while ensuring that the second supply voltage remains within the operating voltage range.
[0065] The power supply voltage adjustment rules in this embodiment can be stored in the camera's internal IC (chip), such as FLASH (flash memory) or eMMC (embedded multimedia card), or can be set and modified by the user through the camera's WEB (web page) interface.
[0066] In this embodiment, while ensuring that the adjusted second power supply voltage of each target power supply module is positively correlated with the power conversion efficiency and that the camera selects the target power supply module with the highest power conversion efficiency, the second power supply voltage of the target power supply module is constrained to be within the operating voltage range of the camera. This avoids the second power supply voltage from dropping to a level where the camera cannot work properly, thereby improving the operational stability of the camera during the power hot backup process.
[0067] Further, in one embodiment, within the operating voltage range of the camera, adjusting the first supply voltage of the corresponding target power supply module according to the power conversion efficiency includes: obtaining the rated operating voltage and minimum operating voltage of the camera; among the target power supply modules, determining the first power supply module with the highest power conversion efficiency and the second power supply module other than the first power supply module; performing a voltage reduction process on the first supply voltage of the second power supply module so that the second supply voltage of the second power supply module is less than the rated operating voltage and greater than the minimum operating voltage; and adjusting the first supply voltage of the second power supply module to the rated operating voltage of the camera.
[0068] The first power supply module with the highest power conversion efficiency is used to power the camera. By maintaining the first power supply voltage of the first power supply module at the rated operating voltage and only reducing the first power supply voltage of the second power supply, the camera can support normal operation under high power consumption and improve the user experience.
[0069] For ease of understanding, the following example illustrates the power supply module, which includes a 12V DC power supply (DC12V), a 24V AC power supply (AC24V), and a Power over Ethernet (PoE) power supply:
[0070] The initial power supply voltage of each target power supply module before adjustment matches the rated operating voltage of the camera. Therefore, the initial power supply voltage before adjustment is greater than its minimum operating voltage and is around +12V. The power supply priority is arranged in descending order of power conversion efficiency, with DC12V power supply having the highest priority, followed by AC24V power supply, and PoE having the lowest priority.
[0071] The first supply voltages output by the three target power supply modules are as follows: PoE power is stepped down by DC / DC to generate a first 12V DC power (denoted as +12V_POE); AC24V is converted by AC / DC to generate a second 12V DC power (denoted as +12V_AC); and DC12V provides a third 12V DC power (denoted as +12V_DC). It is known that the normal operating power supply range of the camera's internal circuitry is +12V ± 25%, and the minimum operating voltage is +9V (denoted as +12V_MIN).
[0072] When the target power supply modules corresponding to the three external power supplies DC12V, AC24V and PoE are all in a power-supply state, adjust the first power supply voltage +12V_AC corresponding to the 24V AC power supply and the first power supply voltage +12V_POE corresponding to the Ethernet power supply to ensure that the adjusted second power supply voltage meets the following voltage relationship: +12V_DC>+12V_AC>+12V_POE>+12V_MIN.
[0073] With only the target power supply modules corresponding to DC12V and AC24V in a power-supplying state, adjust the first power supply voltage AC24V corresponding to the 24V AC power supply to ensure that the adjusted second power supply voltage meets the following voltage relationship: +12V_DC>+12V_AC>+12V_MIN.
[0074] When only the target power supply modules corresponding to DC12V and POE are in a power-supply state, adjust the first power supply voltage +12V_POE corresponding to the Ethernet power supply to ensure that the adjusted second power supply voltage meets the following voltage relationship: +12V_DC>+12V_POE>+12V_MIN.
[0075] When only the target power supply modules corresponding to AC24V and POE are in a power-supply state, adjust the first power supply voltage +12V_POE corresponding to the Ethernet power supply to ensure that the adjusted second power supply voltage meets the following voltage relationship: +12V_AC>+12V_POE>+12V_MIN.
[0076] In one embodiment, the method further includes: obtaining a target input voltage pre-configured for the target power supply module; sampling the input voltage in the target power supply module to obtain the actual input voltage; and generating a prompt message to indicate that the target power supply module is undervoltage when the difference between the target input voltage and the actual input voltage is greater than a second preset threshold.
[0077] The target input voltage refers to the voltage value that the input port of the target power supply module should be able to provide under ideal conditions; it is also known as the nominal input voltage. The second preset threshold is a parameter pre-configured based on the engineering deployment information of the target power supply voltage, such as the cable type and cable length connected to the camera.
[0078] If the difference between the target input voltage and the actual input voltage is greater than the second preset threshold, it can be determined that the actual input capability of the target power supply module is lower than its theoretical output capability, indicating that the line voltage drop caused by long-distance wiring may affect the normal operation of the camera.
[0079] The notification message can be pushed to the user and / or the engineering party that deployed the camera in the form of text, voice, etc., so as to realize the monitoring of power supply quality.
[0080] Based on the same inventive concept, this application also provides a power hot backup device for implementing the power hot backup method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more power hot backup device embodiments provided below can be found in the limitations of the power hot backup method described above, and will not be repeated here.
[0081] In one embodiment, such as Figure 7 As shown, a power hot backup device is provided, comprising:
[0082] The power supply presence detection module 701 is used to identify at least two target power supply modules connected to the camera and in a power-supplying state in the event of a camera main power supply failure; the target power supply modules are configured to convert the input voltage provided by the corresponding external power supply into the first power supply voltage required for the camera to operate.
[0083] The voltage regulation module 702 is used to obtain the power conversion efficiency of each target power supply module in converting the corresponding input voltage into the first power supply voltage, and adjust the first power supply voltage output by the corresponding target power supply module according to the power conversion efficiency to obtain the second power supply voltage, so that the second power supply voltage output by each target power supply module is positively correlated with the power conversion efficiency.
[0084] Access module 703 is used to connect the target power supply module corresponding to the highest second power supply voltage to the camera.
[0085] In some embodiments, the power supply presence detection module 701 determines at least two target power supply modules connected to the camera and in a power-supplying state, including: sampling the voltage of each power supply module connected to the camera to obtain a sampled voltage; wherein the sampled voltage includes the input voltage corresponding to the power supply module, and / or a first power supply voltage obtained by the power supply module after voltage conversion of the input voltage; if the sampled voltage is higher than a first preset threshold, the power supply module corresponding to the sampled voltage is determined as the target power supply module.
[0086] In some embodiments, the voltage adjustment module 702 obtains the power conversion efficiency of each target power supply module in converting the corresponding input voltage into a first power supply voltage, and adjusts the first power supply voltage output by the corresponding target power supply module according to the power conversion efficiency to obtain a second power supply voltage, so that the second power supply voltage output by each target power supply module is positively correlated with the power conversion efficiency. This includes: within the operating voltage range of the camera, adjusting the first power supply voltage of the corresponding target power supply module according to the power conversion efficiency, so that the adjusted second power supply voltage is within the operating voltage range and the second power supply voltage is positively correlated with the corresponding power conversion efficiency.
[0087] Optionally, within the camera's operating voltage range, the voltage regulation module 702 adjusts the first supply voltage of the corresponding target power supply module according to the power conversion efficiency, including: obtaining the camera's rated operating voltage and minimum operating voltage; among the target power supply modules, determining the first power supply module with the highest power conversion efficiency and the second power supply module other than the first power supply module; performing voltage reduction processing on the first supply voltage of the second power supply module so that the second supply voltage of the second power supply module is less than the rated operating voltage and greater than the minimum operating voltage; and adjusting the first supply voltage of the second power supply module to the camera's rated operating voltage.
[0088] In some embodiments, the power supply presence detection module 701 determines at least two target power supply modules connected to the camera and in a power-supplying state, including: in each power supply module connected to the camera, obtaining the number of power supply modules in a power-supplying state based on a preset monitoring period; if the number is one, then connecting the power supply module in a power-supplying state to the camera; if the number is greater than or equal to two, then determining the power supply module in a power-supplying state as a target power supply module.
[0089] In some embodiments, the device further includes a prompting module for acquiring a target input voltage pre-configured for the target power supply module; sampling the input voltage in the target power supply module to obtain the actual input voltage; and generating a prompt message indicating that the target power supply module is undervoltage when the difference between the target input voltage and the actual input voltage is greater than a second preset threshold.
[0090] Each module in the aforementioned power hot backup device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0091] In one embodiment, a camera is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0092] In one embodiment, Figure 8 An internal structure diagram of a camera is provided, such as... Figure 8 As shown, the camera includes a processor, memory, input / output interface, communication interface, and display unit. The processor, memory, and input / output interface are connected via a system bus, and the communication interface and display unit are also connected to the system bus via the input / output interface. The camera's processor provides computing and control capabilities. The camera's memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The camera's input / output interface is used for exchanging information between the processor and external devices. The camera's communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a power hot-swap method. The display unit of the computer device is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display (LCD) or an e-ink display.
[0093] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0094] In one embodiment, a camera system is also provided, which includes: multiple power supply modules and a camera as described in any of the above embodiments.
[0095] In one embodiment, the power supply module includes a DC power supply unit, an AC power supply unit, and an Ethernet power supply unit; the DC power supply unit is used to output a first DC voltage input from the DC power supply to the camera, the first DC voltage being matched with the power supply voltage required for the camera to operate; the AC power supply unit is used to convert the AC voltage input from the AC power supply into the power supply voltage required for the camera to operate and then output it to the camera; the Ethernet power supply unit is used to convert a second DC voltage input from the Ethernet power supply into the power supply voltage required for the camera to operate and then output it to the camera.
[0096] The power supply module can be located inside the camera or, depending on requirements, can be installed externally as an adapter. Optionally, the DC power supply unit includes at least a cable for transmitting a first DC voltage, and may also include a filter circuit and a rectifier circuit to improve the quality of the circuit signal output to the camera. The AC power supply unit includes a rectifier bridge, a PD control circuit, and an isolated PWM power supply circuit. The Ethernet power supply unit includes a rectifier bridge and a non-isolated high-voltage BUCK power supply circuit.
[0097] In one embodiment, the camera system may further include a protection module for connecting the power supply module and the camera. The protection module includes a first protection unit, a second protection unit, and a third protection module. Each protection unit includes a reverse connection protection circuit and a backflow prevention circuit. The two ends of the first protection unit are respectively connected to the output terminal of the DC power supply unit and the input terminal of the camera's internal circuit, for protecting the power supply voltage of the DC power supply. The two ends of the second protection unit are respectively connected to the output terminal of the AC power supply unit and the input terminal of the camera's internal circuit, for protecting the power supply voltage of the AC power supply. The two ends of the third protection unit are respectively connected to the output terminal of the Ethernet power supply unit and the input terminal of the camera's internal circuit, for protecting the power supply voltage of the Ethernet power supply.
[0098] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0099] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0100] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A power supply hot backup method, characterized in that, The method includes: In the event of a main power failure of the camera, at least two target power supply modules connected to the camera and in a power-available state are identified; the target power supply modules are configured to convert the input voltage provided by the corresponding external power supply into a first power supply voltage required for the operation of the camera; The power conversion efficiency of each target power supply module in converting the corresponding input voltage into the first power supply voltage is obtained, and the first power supply voltage output by the corresponding target power supply module is adjusted according to the power conversion efficiency to obtain the second power supply voltage, so that the second power supply voltage output by each target power supply module is positively correlated with the power conversion efficiency. Connect the target power supply module corresponding to the highest second power supply voltage to the camera.
2. The method according to claim 1, characterized in that, The determination of at least two target power supply modules connected to the camera and in a power-enabled state includes: Voltage sampling is performed on each power supply module connected to the camera to obtain a sampled voltage; wherein, the sampled voltage includes the input voltage corresponding to the power supply module, and / or, the first power supply voltage obtained by the power supply module after voltage conversion of the input voltage; If the sampling voltage is higher than a first preset threshold, the power supply module corresponding to the sampling voltage is determined as the target power supply module.
3. The method according to claim 1, characterized in that, The step of obtaining the power conversion efficiency of each target power supply module in converting the corresponding input voltage into the first power supply voltage, and adjusting the first power supply voltage output by the corresponding target power supply module according to the power conversion efficiency to obtain the second power supply voltage, so that the second power supply voltage output by each target power supply module is positively correlated with the power conversion efficiency, includes: Within the operating voltage range of the camera, the first power supply voltage of the corresponding target power supply module is adjusted according to the power conversion efficiency, so that the adjusted second power supply voltage is within the operating voltage range and the second power supply voltage is positively correlated with the corresponding power conversion efficiency.
4. The method according to claim 3, characterized in that, Within the operating voltage range of the camera, adjusting the first supply voltage of the corresponding target power supply module according to the power conversion efficiency includes: Obtain the rated operating voltage and minimum operating voltage of the camera; Among the target power supply modules, a first power supply module with the highest power conversion efficiency and a second power supply module other than the first power supply module are identified. The first power supply voltage of the second power supply module is stepped down so that the second power supply voltage of the second power supply module is less than the rated operating voltage and greater than the minimum operating voltage; Adjust the first power supply voltage of the second power supply module to the rated operating voltage of the camera.
5. The method according to claim 1, characterized in that, The determination of at least two target power supply modules connected to the camera and in a power-enabled state includes: In each power supply module connected to the camera, the number of power supply modules in a power-available state is obtained based on a preset monitoring cycle; If the quantity is one, then the power supply module in the power-available state will be connected to the camera; If the number is greater than or equal to two, then the power supply module in the power-available state is determined to be the target power supply module.
6. The method according to claim 1, characterized in that, The method further includes: Obtain the target input voltage pre-configured for the target power supply module; The input voltage in the target power supply module is sampled to obtain the actual input voltage; If the difference between the target input voltage and the actual input voltage is greater than a second preset threshold, a prompt message is generated to indicate that the target power supply module is undervoltage.
7. A power supply hot backup device, characterized in that, The device includes: The power supply presence detection module identifies at least two target power supply modules connected to the camera and in a power-supply state in the event of a camera main power supply failure; the target power supply modules are configured to convert the input voltage provided by the corresponding external power supply into a first power supply voltage required for the camera to operate. The voltage regulation module is used to obtain the power conversion efficiency of each target power supply module in converting the corresponding input voltage into the first power supply voltage, and adjust the first power supply voltage output by the corresponding target power supply module according to the power conversion efficiency to obtain the second power supply voltage, so that the second power supply voltage output by each target power supply module is positively correlated with the power conversion efficiency. An access module is used to connect the target power supply module corresponding to the highest second power supply voltage to the camera.
8. A camera, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A camera system, characterized in that, The camera system includes: multiple power supply modules and the camera as described in claim 8.
10. The camera system according to claim 9, characterized in that, The power supply module includes a DC power supply unit, an AC power supply unit, and an Ethernet power supply unit; wherein, The DC power supply unit is used to output a first DC voltage from the DC power input to the camera, and the first DC voltage is matched with the power supply voltage required for the camera to operate. The AC power supply unit is used to convert the AC voltage input by the AC power source into the power supply voltage required for the operation of the camera and then output it to the camera. The Ethernet power supply unit is used to convert the second DC voltage input by the Ethernet power supply into the power supply voltage required for the operation of the camera and then output it to the camera.