Power consumption detection device for a video camera and video camera
By installing a power consumption detection device in the camera to detect the operating current and voltage of the load, and combining this with the efficiency factor to calculate the overall power consumption, the problem of the camera lacking self-testing function is solved, and self-testing of the overall power consumption and monitoring of the working status are realized.
Patent Information
- Application Number
- CN202210752518.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2042-06-28
AI Technical Summary
Existing cameras lack a self-test function for overall power consumption, making it impossible to effectively monitor and diagnose abnormal operating conditions.
A power consumption detection device is installed between the power supply protection circuit of the camera and the equipment load. This device includes a working current detection circuit and a working voltage detection circuit. By detecting the working current and voltage of the load, the power consumption of the whole machine is calculated in combination with the efficiency factor, and the processor performs self-test and status anomaly judgment.
It has implemented a self-test function for the overall power consumption of the camera, which can promptly detect abnormal operating status of the equipment load and perform power consumption statistics, thereby improving the automation and reliability of equipment management.
Smart Images

Figure CN115112944B_ABST
Abstract
Description
Technical Field
[0001] This application relates to detection technology, and in particular to a power consumption detection device for a camera and a camera. Background Technology
[0002] A camera's operating status may malfunction for various reasons, and these malfunctions will actually reflect changes in the camera's overall power consumption. Therefore, if the camera could know its own power consumption, it could perform self-diagnosis of operating status malfunctions.
[0003] However, existing cameras do not have a self-test function for overall power consumption. Therefore, how to support the camera to self-test its own overall power consumption has become a technical problem that needs to be solved in the existing technology. Summary of the Invention
[0004] In the embodiments of this application, a power consumption detection device for a camera and a camera are provided, which can support the camera to perform a self-test of the overall power consumption of the camera.
[0005] In one embodiment, a power consumption detection device for a camera is provided. The power consumption detection device is located between the camera's power supply protection circuit and the device load. The power supply protection circuit is connected to the camera's power supply port. The power consumption detection device includes:
[0006] A working current detection circuit is used to detect the load working current and generate a first voltage signal characterizing the load working current, wherein the load working current is output to the device load by the working current detection circuit in response to the power supply current supplied by the power supply port through the power supply protection circuit;
[0007] A working voltage detection circuit is used to detect the load working voltage and generate a second voltage signal characterizing the load working voltage, wherein the load working voltage is formed between the working current detection circuit and the power supply protection circuit;
[0008] A first processor is configured to output, based on the first voltage signal and the second voltage signal, first detection data characterizing the operating current of the load and second detection data characterizing the operating voltage of the load to a second processor in the device load, such that:
[0009] The second processor determines the overall power consumption of the camera based on the load operating current and the load operating voltage, as well as a preset efficiency factor. The efficiency factor is used to characterize the power conversion efficiency between the power supply port and the power consumption detection device, and the upper limit of the rated power consumption range of the overall power consumption is less than or equal to 60W.
[0010] In some examples, optionally, the operating current detection circuit includes a current input terminal for receiving the supply current, a current output terminal for outputting the load operating current, a first signal generating terminal for generating the first voltage signal, a differential amplifier, a sampling resistor, and a load resistor; the two differential input terminals of the differential amplifier are respectively connected to the current input terminal and the current output terminal; the sampling resistor is connected between the current input terminal and the current output terminal, and the resistance value of the sampling resistor is configured such that the voltage drop generated by the operating current detection circuit between the current input terminal and the current output terminal is less than or equal to a preset voltage drop tolerance value; the output terminal of the differential amplifier is connected to the first signal generating terminal, and the load resistor is connected between the output terminal of the differential amplifier and ground, and the resistance value of the load resistor is determined based on the upper limit of the rated current range of the load operating current and the device operating voltage of the first processor, so that the signal voltage of the first voltage signal generated by the first signal generating terminal is less than or equal to the device operating voltage of the first processor.
[0011] In some examples, optionally, the operating voltage detection circuit includes an operating voltage detection terminal at the same potential as the load operating voltage, a second signal generation terminal for generating the second voltage signal, a first voltage divider resistor and a second voltage divider resistor, and a first operational amplifier; the first voltage divider resistor and the second voltage divider resistor are connected in series between the operating voltage detection terminal and ground; the non-inverting input terminal of the first operational amplifier is connected between the first voltage divider resistor and the second voltage divider resistor, the output terminal of the first operational amplifier is connected to the inverting input terminal, and the output terminal of the first operational amplifier is also connected to the second signal generation terminal; the device operating voltage of the first operational amplifier is the same as the device operating voltage of the first processor, and the resistance ratio of the first voltage divider resistor and the second voltage divider resistor is determined based on the voltage ratio between the load operating voltage and the device operating voltage of the first processor, such that: the load operating voltage is converted into a voltage divider voltage less than or equal to the device operating voltage of the first processor and input to the first operational amplifier, and the signal voltage of the second voltage signal generated by the first operational amplifier at the second signal generation terminal is less than or equal to the device operating voltage of the first processor.
[0012] In some examples, optionally, the upper limit of the rated voltage range of the load operating voltage is lower than the rated value of the power supply input voltage generated by the power supply protection circuit; the operating current detection circuit is connected to the power supply protection circuit through the voltage conversion circuit of the camera, wherein the voltage conversion circuit is used to convert the power supply input voltage into the load operating voltage within the rated voltage range.
[0013] In some examples, optionally, the rated power consumption of the entire machine is 25W-60W; the power supply input voltage is in the voltage range of 36V to 50V; the rated voltage range of the load operating voltage is 5V to 36V; and the device operating voltage of the first processor is 3.3V.
[0014] Optionally, in some examples, the power consumption detection device further includes an input voltage detection circuit for detecting the power supply input voltage generated by the power supply protection circuit and generating a third voltage signal characterizing the power supply input voltage, the third voltage signal being matched with the device operating voltage of the first processor; the first processor is further configured to output third detection data characterizing the power supply input voltage to the second processor based on the third voltage signal, so that the second processor can further monitor the power supply fluctuation of the camera based on the power supply input voltage.
[0015] In some examples, optionally, the input voltage detection circuit includes an input voltage detection terminal at the same potential as the power supply input voltage, a third signal generation terminal for generating the third voltage signal, a third voltage divider resistor and a fourth voltage divider resistor, and a second operational amplifier; the third voltage divider resistor and the fourth voltage divider resistor are connected in series between the input voltage detection terminal and ground; the non-inverting input terminal of the second operational amplifier is connected between the third voltage divider resistor and the fourth voltage divider resistor, the output terminal of the second operational amplifier is connected to the inverting input terminal, and the output terminal of the second operational amplifier is also connected to the third signal generation terminal; the device operating voltage of the second operational amplifier is the same as the device operating voltage of the first processor, and the resistance ratio of the third voltage divider resistor and the fourth voltage divider resistor is determined based on the voltage ratio between the power supply input voltage and the device operating voltage of the first processor, such that: the power supply input voltage is converted into a voltage divider voltage less than or equal to the device operating voltage of the first processor and input to the second operational amplifier, and the signal voltage of the third voltage signal generated by the second operational amplifier at the third signal generation terminal is less than or equal to the device operating voltage of the first processor.
[0016] In some examples, the load operating voltage is optionally equal to the power supply input voltage generated by the power supply protection circuit; the operating current detection circuit is connected to the power supply protection circuit.
[0017] In some examples, optionally, the rated power consumption of the entire device is less than or equal to 25W; the power supply input voltage is within the voltage range of 5V to 36V; and the device operating voltage of the first processor is 3.3V.
[0018] In some examples, the first processor may optionally be further configured to output third detection data characterizing the power supply input voltage to the second processor based on the second voltage signal, so that the second processor may further monitor the power supply fluctuations of the camera based on the power supply input voltage.
[0019] In another embodiment, a camera is provided, including a power consumption detection device as described in the foregoing embodiments, as well as the power supply port, the power supply protection circuit, and the device load.
[0020] In some examples, the second processor is optionally further configured to: determine the operating state of the device load based on the changes in the overall power consumption; and / or, maintain power consumption statistics of the camera based on the overall power consumption.
[0021] In some examples, optionally, the device payload further includes a storage chip for storing selectively implanted first encrypted information or second encrypted information; the second processor is further configured to: when obtaining the first encrypted information from the storage chip, determine the factor value of the efficiency factor as a first factor value in a preset factor value set; and when obtaining the second encrypted information from the storage chip, determine the factor value of the efficiency factor as a second factor value in the preset factor value set.
[0022] Based on the above embodiments, the power consumption detection device can convert the load operating current and load operating voltage into voltage signals that can be recognized by the first processor, enabling the first processor to obtain detection data characterizing the load operating current and load operating voltage, and provide it to the second processor of the camera. The load power consumption of the camera can be determined based on the load operating current and load operating voltage characterized by the detection data. The actual total power consumption of the camera includes the load power consumption and the power loss between the power supply port and the power consumption detection device. Therefore, the second processor can determine the total power consumption of the camera based on the detection data provided by the first processor, and simultaneously combine the efficiency factor characterizing the power conversion efficiency between the power supply port and the power consumption detection device. Thus, the camera can have the function of self-testing the total power consumption by utilizing the collaborative processing of the power consumption detection device and the second processor. Attached Figure Description
[0023] The following figures are for illustrative purposes only and do not limit the scope of this application:
[0024] Figure 1 This is a schematic diagram of the camera and its power consumption detection device in the embodiments of this application;
[0025] Figure 2 For example Figure 1The diagram shows an optimized structure of the operating current detection circuit in the camera and its power consumption detection device.
[0026] Figure 3 For example Figure 1 A schematic diagram of the optimized structure of the working voltage detection circuit in the camera and its power consumption detection device is shown.
[0027] Figure 4 For example Figure 1 The diagram shows an optimized structure used by the camera in conjunction with its power consumption detection device to determine the overall power consumption.
[0028] Figure 5 For example Figure 1 The diagram shows a first instance of the camera and its power consumption detection device in a first application scenario.
[0029] Figure 6 For example Figure 1 The diagram shows a second instance of the camera and its power consumption detection device in a second application scenario.
[0030] Figure 7 For example Figure 5 The diagram shows an optimized structure of the input voltage detection circuit in the first example structure. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided with reference to the accompanying drawings and embodiments.
[0032] Figure 1 This is a schematic diagram of the camera and its power consumption detection device in an embodiment of this application. Please refer to [link / reference]. Figure 1 In the embodiments of this application, the camera may include a power consumption detection device 10, a power supply protection circuit 20, and a device load 30, and the power consumption detection device 10 is located between the power supply protection circuit 20 and the device load 30.
[0033] The power supply protection circuit 20 can be connected to the power supply port of the camera. The power supply protection circuit 20 can be used to provide overvoltage protection and overcurrent protection for the power supply voltage and power supply current generated by the power supply port, respectively. If the external power supply connected to the power supply port provides AC power, the power supply protection circuit 20 can also be used to rectify the AC power supply into DC power supply.
[0034] The device load 30 can include all power-consuming components connected in series in the power consumption detection circuit 10 in the supply direction from the power supply port, which are the "afterstage" components. In contrast, all power-consuming components located between the power supply port and the power consumption detection device 10, including the power supply protection circuit 20, can be considered as the "frontstage" components of the power consumption detection device 10. Moreover, the power consumption detection circuit 10 itself can also be regarded as the power-consuming load of the camera.
[0035] Specifically, the equipment load 30 may include:
[0036] A photosensitive element used to convert light signals into image signals, for example, a CCD (Charge Coupled Device) or CMOS (Complementary Metal Oxide Semiconductor);
[0037] A supplementary lighting module for generating at least one of visible light and infrared light, for example, the supplementary lighting module may include light-emitting elements such as LEDs (Light Emitting Diodes) and a driver board for driving the light-emitting elements;
[0038] Power-driven modules, such as motors, can drive the camera's pan-tilt unit to rotate and adjust the field of view.
[0039] Temperature control modules that require electric power, such as fans or heating elements;
[0040] Data processors such as CPU (Central Processing Unit), ISP (Image Signal Processor), and GPU (Graphics Processing Unit).
[0041] In embodiments of this application, the power consumption detection device 10 may include an operating current detection circuit 110, an operating voltage detection circuit 120, and a first processor 100.
[0042] The operating voltages of different load components in the equipment load 30 may not be exactly the same. However, the operating voltages of all load components in the equipment load 30 are within a selected voltage range, which can be called the rated voltage range of the load operating voltage. Furthermore, the operating voltages of the operating current detection circuit 110 and the operating voltage detection circuit 120 can be the upper limit of the rated voltage range of the load operating voltage of the equipment load 30, while the device operating voltage Vcc of the first processor 100 can be lower than the upper limit of the rated voltage range of the load operating voltage. That is, the device operating voltage Vcc of the first processor 100 is lower than the operating voltages of the operating current detection circuit 110 and the operating voltage detection circuit 120.
[0043] In the embodiments of this application, the operating current detection circuit 110 can be used to detect the load operating current I_load and generate a first voltage signal V_d1 characterizing the detected load operating current I_load, wherein the load operating current I_load is output to the device load 30 by the operating current detection circuit 110 in response to the power supply current I_supply supplied by the power supply port through the power supply protection circuit 20.
[0044] For example, the operating current detection circuit 110 may include a current input terminal for receiving the supply current I_supply, a current output terminal for outputting the load operating current I_load to the device load 30, and a first signal generation terminal for generating a first voltage signal V_d1, the signal voltage of which matches the device operating voltage Vcc of the first processor 100.
[0045] The operating voltage detection circuit 120 is used to detect the load operating voltage V_load and generate a second voltage signal V_d2 characterizing the detected load operating voltage V_load. The load operating voltage V_load is formed between the operating current detection circuit 110 and the power supply protection circuit 200. That is, the power consumption detection device 10 itself can also be considered as the powered load of the load operating voltage V_load.
[0046] For example, the operating voltage detection circuit 120 may include an operating voltage detection terminal at the same potential as the load operating voltage V_load, and a second signal generation terminal for generating a second voltage signal V_d2. That is, the operating voltage detection terminal of the operating voltage detection circuit 120 may be connected to the current input terminal of the operating current detection circuit 110 for receiving the supply current I_supply. Moreover, since the device load 30 connected in series with the downstream stage of the power consumption detection device is in series with the operating current detection circuit 110, in order to make the actual load operating voltage supplied to the device load 30 as consistent as possible with the load operating voltage V_load detected by the operating voltage detection circuit 120, the component selection of the operating current detection circuit 110 can control the voltage drop between the current input terminal and the current output terminal of the operating current detection circuit 110 to a set voltage drop tolerance value (e.g., 0.3V).
[0047] The first processor 100 can be used to output first detection data Di_i_load, representing the load operating current I_load, and second detection data D_v_load, representing the load operating voltage V_load, to the second processor 300 in the device load 30 based on the first voltage signal V_d1 and the second voltage signal V_d2, so that:
[0048] The second processor 300 determines the overall power consumption of the camera based on the load operating current I_load represented by the first detection data Di_i_load, the load operating voltage V_load represented by the second detection data D_v_load, and the preset efficiency factor η.
[0049] The efficiency factor η is used to characterize the power conversion efficiency between the power supply port and the power consumption detection device 10. Therefore, the second processor 300 can determine the load power consumption of the device load 30 based on the load operating current I_load and the load operating voltage V_load. For example, the load power consumption = load operating current I_load × load operating voltage V_load.
[0050] Furthermore, the second processor 300 can determine the overall power consumption of the camera based on the load power consumption and the efficiency factor η. For example, the overall power consumption = load operating current I_load × load operating voltage V_load / efficiency factor η, so as to obtain the overall load of the camera by compensating for the power loss of the power consumption detection device 10 based on the load power consumption of the device load 30.
[0051] The first processor 100 can communicate with the second processor 300 in the device load 30 via a serial bus. The first processor 100 can be a programmable device such as an MCU (Microcontroller Unit), CPLD (Complex Programmable Logic Device), or FPGA (Field Programmable Gate Array); the second processor 300 can be any of the aforementioned data processors configured as a SOC (System on a Chip). In contrast, the first processor 100 may not need to have computing power, thus allowing for lower power consumption and lower device cost compared to the second processor 300.
[0052] The above-described solutions provided in the embodiments of this application are applicable to cameras whose rated power consumption range is less than or equal to 60W.
[0053] Based on the above embodiments, the power consumption detection device 10 can convert the load operating current I_load and the load operating voltage V_load into voltage signals that can be recognized by the first processor 100. This enables the first processor 100 to obtain detection data characterizing the load operating current I_load and the load operating voltage V_load, and provide this data to the second processor 300 of the camera. The load operating current I_load and the load operating voltage V_load characterized by the detection data can determine the load power consumption of the device load 30. The actual total power consumption of the camera includes the load power consumption and the power loss between the power supply port and the power consumption detection device 10. Therefore, the second processor 300 can determine the total power consumption of the camera based on the detection data provided by the first processor and in conjunction with the efficiency factor η, which characterizes the power conversion efficiency between the power supply port and the power consumption detection device. Thus, the camera can have a self-test function for total power consumption by utilizing the collaborative processing of the power consumption detection device 10 and the second processor 300.
[0054] Based on the determined overall power consumption of the camera, the second processor 300 can be further used for:
[0055] Based on the changes in overall power consumption, the operating status of the equipment load is determined; if the operating status of any load is determined to be abnormal, an alarm signal representing the load abnormality can be generated.
[0056] For example, the second processor 300 can match the actual change (increase or decrease) in the camera's overall power consumption with pre-set change rules, such as:
[0057] The change rule may include: the power consumption of the camera at night should be higher than that during the day due to the activation of the supplementary light module. In this application scenario, if the power consumption of the camera determined by the second processor 300 at night is not higher than that determined during the day, then the working state of the supplementary light module can be considered abnormal.
[0058] The rule of change may include that the power consumption of the camera after the power drive module is started should be higher than the power consumption when the power drive module is stopped. In this application scenario, if the power consumption determined by the second processor 300 after the power drive module start signal is generated is not higher than the power consumption determined before the start signal is generated, then the working state of the power drive module can be considered abnormal.
[0059] The second processor 300 can also determine the working status of other loads in device load 30 by enabling and stopping them based on the determined total power consumption and preset change rules, which will not be listed here.
[0060] Based on the determined overall power consumption of the camera, the second processor 300 can also be further used for:
[0061] Based on the determined total power consumption, maintain the power consumption statistics of the camera.
[0062] For example, the second processor 300 can determine the overall power consumption of the camera and generate corresponding power consumption statistics according to preset time periods such as day, week, month, and quarter. These power consumption statistics can be presented in the form of a power consumption report.
[0063] To better understand the working principle of the power consumption detection device 10 and the second processor 300 of the camera in the above embodiments, the power consumption detection device and the second processor 300 will be described in detail below.
[0064] Figure 2 For example Figure 1 The diagram shows an optimized structure of the operating current detection circuit in the camera and its power consumption detection device. Please refer to [link / reference needed]. Figure 2 In the embodiments of this application, the operating current detection circuit 110, in addition to including the aforementioned current input terminal for receiving the supply current I_supply, the current output terminal for outputting the load operating current I_load, and the first signal generation terminal for generating the first voltage signal V_d1, may also include a differential amplifier U110, sampling resistors R111 and R112, and a load resistor R113, wherein:
[0065] The two differential input terminals of the differential amplifier U110 are respectively connected to the current input terminal and the current output terminal of the working current detection circuit 110, so that the voltage drop between the current input terminal and the current output terminal of the working current detection circuit 110 is used as the input voltage of the differential amplifier U110.
[0066] Sampling resistors R111 and R112 are connected in parallel between the current input terminal and the current output terminal of the operating current detection circuit 110. The parallel resistance value of sampling resistors R111 and R112 is configured such that the voltage drop generated between the current input terminal and the current output terminal of the operating current detection circuit 110 (i.e., the input voltage of the differential amplifier U110) is less than or equal to a preset voltage drop tolerance value.
[0067] The power supply terminal of the differential amplifier U110 is connected to the current input terminal of the operating current detection circuit 110, so that the load operating voltage V_load formed at the current input terminal of the operating current detection circuit 110 is used as the device operating voltage of the differential amplifier U110. In addition, in order to stabilize the device operating voltage of the differential amplifier U110, the power supply terminal of the differential amplifier U110 can also be grounded through decoupling filter capacitors C1 and C2 (the two are connected in parallel).
[0068] The output terminal of the differential amplifier U110 is connected to the first signal generation terminal of the operating current detection circuit 110. The load resistor R113 is connected between the output terminal of the differential amplifier U110 and ground (i.e., the ground terminal of the differential amplifier U110). The resistance value of the load resistor R113 is determined based on the upper limit of the rated current range of the load operating current I_load and the device operating voltage Vcc of the first processor 100, so that the signal voltage of the first voltage signal V_d1 generated by the first signal generation terminal of the operating current detection circuit 110 is less than or equal to the device operating voltage Vcc of the first processor 100.
[0069] It is understandable that, such as Figure 2 The structure shown is merely an illustrative representation for better understanding the function of the operating current detection circuit 110, and does not imply that the implementation of the current detection function and signal generation function of the operating current detection circuit 110 is limited to the following. Figure 2 One method shown.
[0070] Figure 3 For example Figure 1 The diagram shows an optimized structure of the operating voltage detection circuit in the camera and its power consumption detection device. Please refer to [link / reference needed]. Figure 3In embodiments of this application, the working voltage detection circuit 120 may include, in addition to the working voltage detection terminal at the same potential as the load working voltage V_load and the second signal generation terminal for generating the second voltage signal V_d2 mentioned above, a first voltage divider resistor R121 and a second voltage divider resistor 122, and a first operational amplifier U120, wherein:
[0071] The first voltage divider resistor R121 and the second voltage divider resistor 122 are connected in series between the working voltage detection terminal of the working voltage detection circuit 120 and ground.
[0072] The first operational amplifier U120 is used to build a voltage follower circuit for the first voltage divider resistor R121 and the second voltage divider resistor 122 in order to reduce the output impedance.
[0073] Specifically, the first operational amplifier U120 has a power supply terminal and a ground terminal. The non-inverting input terminal of the first operational amplifier U120 is connected between the first voltage divider resistor R121 and the second voltage divider resistor R122. The output terminal of the first operational amplifier U120 is connected to the inverting input terminal of the first operational amplifier U120 through a series resistor R123. Furthermore, the output terminal of the first operational amplifier U120 is also connected to the second signal generation terminal of the working voltage detection circuit 120.
[0074] Furthermore, the power supply voltage of the first operational amplifier U120 can be the same as the device operating voltage Vcc of the first processor 100. The ratio of the resistance values of the first voltage divider resistor R121 and the second voltage divider resistor 122 is determined based on the voltage ratio between the load operating voltage V_load and the device operating voltage of the first processor 100, so that:
[0075] The load operating voltage V_load can be converted into a voltage divider less than or equal to the device operating voltage of the first processor 100 and input to the first operational amplifier U120; and,
[0076] The signal voltage of the second voltage signal V_d1 generated by the first operational amplifier U120 at the second signal generation terminal of the operating voltage detection circuit 120 is less than or equal to the device operating voltage of the first processor 100.
[0077] In addition, the working voltage detection circuit 120 may also include a filter circuit, which includes a series resistor R124 connected in series between the output terminal of the first operational amplifier U120 and the second signal generation terminal of the working voltage detection circuit 120, and a filter capacitor C120 grounding the second signal generation terminal of the working voltage detection circuit 120.
[0078] It is understandable that, such as Figure 3The structure shown is merely an illustrative representation for better understanding the function of the operating voltage detection circuit 120, and does not imply that the voltage detection and signal generation functions of the operating voltage detection circuit 120 are limited to the following. Figure 3 One method shown.
[0079] Figure 4 For example Figure 1 The diagram shown illustrates the optimized structure used by the camera in conjunction with its power consumption detection device to determine the overall power consumption. Please refer to [link / reference]. Figure 4 The camera's device load 30 may further include a storage chip 310 for storing selectively implanted (implanted before the camera is shipped) encrypted information. This encrypted information is used to indicate the degree of power loss of the camera in the power consumption detection device 10. Therefore, the second processor 300 can obtain the encrypted information from the storage chip 310 through a serial bus connected to the storage chip 310. Furthermore, the second processor 300 can select a factor value for the efficiency factor η that is compatible with the power loss of the camera in the power consumption detection device 10 from multiple factor values implanted in its running computer program based on the encrypted information.
[0080] In other words, the computer program running on the second processor 300 can be adapted to various cameras with different power losses in the front stage of the power consumption detection device 10. Furthermore, by selectively embedding encrypted information in the storage chip 310, the second processor 300 can use an efficiency factor η with an appropriate factor value when determining the overall power consumption, so as to ensure the accuracy of the overall power consumption while improving the versatility of the solution.
[0081] The camera configuration applicable to the embodiments of this application can be divided into the following two application scenarios:
[0082] Application Scenario 1: High-power cameras that require high-voltage power supply, where the upper limit of the rated voltage range of the load operating voltage V_load is lower than the rated value of the power supply input voltage V_supply generated by the power supply protection circuit 20. For example, the rated power consumption range of the camera is 25W-60W, the rated voltage range of the load operating voltage V_load is 5V to 36V (or 10V to 15V), and the power supply input voltage V_supply is within the voltage range of 36V to 50V.
[0083] Application Scenario 2: Low-power cameras that can use low-voltage power supply, where the load operating voltage V_load is equal to the power supply input voltage V_supply generated by the power supply protection circuit 20. For example, the rated power consumption of the camera is less than or equal to 25W, and both the load operating voltage V_load and the power supply input voltage are within the voltage range of 5V to 36V.
[0084] Regardless of whether it is application scenario 1 or application scenario 2, the device operating voltage of the first processor 100 can be 3.3V.
[0085] Figure 5 For example Figure 1 The diagram shown illustrates a first instance of the camera and its power consumption detection device in a first application scenario. Please refer to [link / reference needed]. Figure 5 For the above application scenario 1, the working current detection circuit 110 (i.e. the current input terminal) can be connected to the power supply protection circuit 20 through the voltage conversion circuit 40 of the camera. The voltage conversion circuit 40 is used to convert the power supply input voltage V_supply in the voltage range of 36V to 50V into the load working voltage V_load in the rated voltage range of 5V to 36V (or 10V to 15V).
[0086] Figure 6 For example Figure 1 The diagram shows a second instance of the camera and its power consumption detection device in a second application scenario. Please refer to [link / reference needed]. Figure 6 For application scenario 2 above, the working current detection circuit 110 (i.e., the current input terminal) can be directly connected to the power supply protection circuit 20.
[0087] In other words, for application scenario 1, the power loss of the camera in front of the power consumption detection device 10 includes the power consumption consumed by the power supply protection circuit 20 and the voltage conversion circuit 40; for application scenario 2, the power loss of the camera in front of the power consumption detection device 10 may only include the power consumption consumed by the voltage conversion circuit 40.
[0088] Therefore, the efficiency factor η can have different values for application scenario 1 and application scenario 2.
[0089] Furthermore, if the camera's overall configuration is divided into application scenario 1 and application scenario 2, then the storage chip 310 can store selectively implanted first encrypted information or second encrypted information. For example, the first encrypted information can use a custom string "MCU-ADC-TYPE1", and the second encrypted information can use a custom string "MCU-ADC-TYPE2".
[0090] Accordingly, the second processor 300 can be further used for:
[0091] When the first encrypted information is obtained from the storage chip 310, that is... Figure 5 In the application scenario shown, the efficiency factor η used to determine the overall power consumption of the camera is determined as the first factor value (e.g., 0.85) in the preset factor value set (embedded in the computer program running on the second processor 300).
[0092] When the second encrypted information is obtained from the storage chip 310, that is... Figure 6 In the application scenario shown, the efficiency factor η used to determine the overall power consumption of the camera is determined as the second factor value (e.g., 0.9) in the preset factor value set (embedded in the computer program running on the second processor 300).
[0093] For application scenarios 1 and 2, in addition to the different power loss of the camera in the front stage of the power consumption detection device 10, the device specifications in the operating current detection circuit 110 and the operating voltage detection circuit 120 will also be different.
[0094] (1) In application scenario 1:
[0095] Assuming the upper limit of the rated power consumption range of the camera is 60W and the rated value of the load operating current I_load is 12V, then the rated upper limit of the load operating current I_load is 5A.
[0096] For the operating current detection circuit 110, assuming a voltage drop tolerance of 0.3V between its current input and current output terminals and a device operating voltage of 3.3V for the first processor 100, then:
[0097] The equivalent parallel resistance R110 of sampling resistors R111 and R112 satisfies 5A×R110≤0.3V. For example, the resistance of sampling resistors R111 and R112 can both be 0.02Ω, so that the equivalent parallel resistance R110 is 0.01Ω less than 0.06Ω. Furthermore, after sampling resistors R111 and R112 are connected in parallel, the voltage drop between the current input terminal and the current output terminal of the working current detection circuit 110 is 0.05V, which is less than the voltage drop tolerance value of 0.3V.
[0098] The resistance value of the load resistor R113 satisfies 5A×R113×k0≤3.3V, where k0 is the preset load coefficient in the working current detection circuit. For example, k0 can be 0.01 / 1kΩ. The resistance value of the load resistor R113 is 62kΩ, which is less than 3.3V / (5A×0.01 / 1kΩ)=66kΩ, so that the signal voltage of the first voltage signal V_d1 generated by the differential amplifier U110 at the first signal generation terminal of the working current detection circuit 110 is less than or equal to 3.3V.
[0099] The selection of sampling resistors R111 and R112 and load resistor R113 should also take into account that the load operating current I_load ensures that the actual power consumption of each of the sampling resistors R111 and R112 and the load resistor R113 does not exceed their own withstand power consumption.
[0100] In addition, the decoupling filter capacitors C1 and C2 (connected in parallel) can be surface-mount capacitors with a voltage rating of 25V and a voltage rating of 100nF and 10uF respectively.
[0101] For the working voltage detection circuit 120:
[0102] The ratio of the resistance values of the first voltage divider resistor R121 and the second voltage divider resistor 122 can be set to 3:1, so that the 12V load operating voltage V_load can be reduced to one-quarter, thereby enabling:
[0103] The 12V load operating voltage V_load can be converted into a voltage divider voltage less than or equal to 3.3V and input to the first operational amplifier U120; and,
[0104] The signal voltage of the second voltage signal V_d2 generated by the first operational amplifier U120 at the second signal generation terminal of the working voltage detection circuit 120 is less than or equal to 3.3V.
[0105] (2) In application scenario 2:
[0106] Assuming the upper limit of the rated power consumption range of the camera is 25W, and the rated voltage range of the power supply input voltage V_supply and the load operating voltage V_load is 8V to 36V, then the upper limit of the rated current of the load operating current I_load is the upper limit of the rated power consumption range 25W ÷ the lower limit of the rated voltage 8V = 3.125A.
[0107] For the operating current detection circuit 110, assuming a voltage drop tolerance of 0.3V between its current input and current output terminals and a device operating voltage of 3.3V for the first processor 100, then:
[0108] The equivalent parallel resistance R110 of sampling resistors R111 and R112 satisfies 3.125A×R110≤0.3V. For example, the resistance of sampling resistors R111 and R112 can both be 0.02Ω, so that their equivalent parallel resistance R110 is 0.01Ω, which is less than or equal to 0.3V / 2.125A=0.096Ω. Furthermore, the voltage drop between the current input terminal and the current output terminal of the working current detection circuit 110 after sampling resistors R111 and R112 are connected in parallel is less than the voltage drop tolerance value of 0.3V.
[0109] The resistance value of the load resistor R113 satisfies 3.125A×R113×k0≤3.3V, where k0 is the preset load factor in the working current detection circuit. For example, k0 can be 0.01 / 1kΩ, and the resistance value of the load resistor R113 can be 102kΩ, which is less than 3.3V / (3.125A×0.01 / 1kΩ)=105.6kΩ.
[0110] Similar to application scenario 1, the selection of sampling resistors R111 and R112 and load resistor R113 in application scenario 2 also needs to take into account that: the load operating current I_load ensures that the actual power consumption of each of the sampling resistors R111 and R112 and the load resistor R113 does not exceed their own withstand power consumption; and in application scenario 2, the decoupling filter capacitors C1 and C2 (connected in parallel) can be selected as 100nF and 10uF surface mount capacitors with a withstand voltage of 25V respectively.
[0111] For the working voltage detection circuit 120:
[0112] The ratio of the resistance values of the first voltage divider resistor R121 and the second voltage divider resistor 122 can be set to 11:1, so that the load operating voltage V_load, with a rated voltage upper limit of 36V, can be reduced to one-twelfth, thereby enabling:
[0113] A load operating voltage V_load with a rated voltage upper limit of 36V can be converted into a voltage divider voltage less than or equal to 3.3V and input to the first operational amplifier U120; and,
[0114] The signal voltage of the second voltage signal V_d2 generated by the first operational amplifier U120 at the second signal generation terminal of the working voltage detection circuit 120 is less than or equal to 3.3V.
[0115] In addition, in some scenarios, it is also necessary to detect power supply fluctuations of the camera. In this case, the first processor 100 can be further used to output third detection data to the second processor 300 to characterize the power supply input voltage V_supply, so that the second processor 300 can further monitor the power supply fluctuations of the camera based on the power supply input voltage V_supply.
[0116] For example, the second processor 300 can also generate an alarm signal characterizing the power supply input voltage V_supply when the power supply input voltage V_supply exceeds the upper or lower limit of its rated voltage range to a preset threshold (within ±20% of the rated voltage range).
[0117] For example, the second processor 300 can also generate a voltage line graph based on the power supply input voltage V_supply to characterize the power supply fluctuation of the camera according to preset time periods such as weeks, months, and quarters, so as to present the power supply fluctuation of the camera more intuitively.
[0118] For situations requiring detection of power supply fluctuations in the camera, the first processor 100 determines the power supply input voltage V_supply in slightly different ways in application scenario 1 and application scenario 2.
[0119] (1) In application scenario 1, please review Figure 5 The power consumption detection device 10 may further include an input voltage detection circuit 130 for detecting the power supply input voltage V_supply generated by the power supply protection circuit 20 between the power supply protection circuit 20 and the voltage conversion circuit 40, and generating a third voltage signal V_d3 characterizing the power supply input voltage V_supply, the third voltage signal V_d3 matching the device operating voltage of the first processor 100, and:
[0120] The first processor 100 can be further used to output third detection data D_v_supply, which characterizes the power supply input voltage V_supply, to the second processor 300 based on the third voltage signal V_d3, so that the second processor 300 can further monitor the power supply fluctuation of the camera based on the power supply input voltage V_supply.
[0121] Figure 7 For example Figure 5 The diagram shows an optimized structure of the input voltage detection circuit in the first example configuration. Please refer to [link / reference]. Figure 7 The input voltage detection circuit 130 may include an input voltage detection terminal at the same potential as the power supply input voltage V_supply (which is connected between the power supply protection circuit 20 and the voltage conversion circuit 40), a third signal generation terminal for generating a third voltage signal V_d3, a third voltage divider resistor R131 and a fourth voltage divider resistor 132, and a second operational amplifier U130.
[0122] The third voltage divider resistor R131 and the fourth voltage divider resistor 132 are connected in series between the input voltage detection terminal of the input voltage detection circuit 130 (i.e., between the power supply protection circuit 20 and the voltage conversion circuit 40) and ground;
[0123] The non-inverting input terminal of the second operational amplifier U130 is connected between the third voltage divider resistor R131 and the fourth voltage divider resistor 132. The output terminal of the second operational amplifier U130 is connected to the inverting input terminal. Furthermore, the output terminal of the second operational amplifier U130 is also connected to the third signal generation terminal of the input voltage detection circuit 130.
[0124] The operating voltage of the second operational amplifier U130 is the same as that of the first processor 100. Furthermore, the ratio of the resistance values of the third voltage divider resistor R131 and the fourth voltage divider resistor R132 is determined based on the voltage ratio between the power supply input voltage V_supply and the operating voltage of the first processor 100, so that:
[0125] The power supply input voltage V_supply is converted into a voltage divider less than or equal to the device operating voltage of the first processor 100 and input to the second operational amplifier U130, and,
[0126] The signal voltage of the third voltage signal V_d3 generated by the second operational amplifier U130 at the third signal generation terminal of the input voltage detection circuit 130 is less than or equal to the device operating voltage of the first processor 100.
[0127] For example, if the rated upper limit of the power supply input voltage V_supply is 50V, the resistance ratio of the third voltage divider resistor R131 and the fourth voltage divider resistor R132 can be set to 15:1, so that the rated upper limit of the power supply input voltage V_supply of 50V can be reduced to one-sixteenth, thereby enabling:
[0128] The rated upper limit of the power supply input voltage V_supply, which is 50V, can be converted into a voltage divider voltage less than or equal to 3.3V and input to the second operational amplifier U130; and,
[0129] The signal voltage of the third voltage signal V_d3 generated by the second operational amplifier U130 at the third signal generation terminal of the input voltage detection circuit 130 is less than or equal to 3.3V.
[0130] Additionally, the output terminal of the second operational amplifier U130 is connected to the inverting input terminal of the second operational amplifier U130 through a series resistor R133. Furthermore, the input voltage detection circuit 130 may also include a filter circuit, which includes a series resistor R134 connected in series between the output terminal of the second operational amplifier U130 and the third signal generation terminal of the input voltage detection circuit 130, and a filter capacitor C130 grounding the third signal generation terminal of the input voltage detection circuit 130.
[0131] (2) In application scenario 2, please review Figure 6 The first processor 100 can be further used to output third detection data D_v_supply, which characterizes the power supply input voltage V_supply, to the second processor 300 based on the second voltage signal V_d2, so that the second processor 300 can further monitor the power supply fluctuation of the camera based on the power supply input voltage V_supply.
[0132] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A power consumption detection device for a camera, characterized in that, The power consumption detection device is located between the power supply protection circuit of the camera and the device load. The power supply protection circuit is connected to the power supply port of the camera. The power consumption detection device includes: A working current detection circuit is used to detect the load working current and generate a first voltage signal characterizing the load working current, wherein the load working current is output to the device load by the working current detection circuit in response to the power supply current supplied by the power supply port through the power supply protection circuit; A working voltage detection circuit is used to detect the load working voltage and generate a second voltage signal characterizing the load working voltage, wherein the load working voltage is formed between the working current detection circuit and the power supply protection circuit; A first processor is configured to output first detection data characterizing the operating current of the load and second detection data characterizing the operating voltage of the load to a second processor in the device load based on the first voltage signal and the second voltage signal, so that the second processor: Based on the load operating current and the load operating voltage, determine the load power consumption of the device load; and Based on the load power consumption and the preset efficiency factor, the total power consumption of the camera is determined in order to compensate for the power consumption loss of the power consumption detection device, which is the power receiving load that serves as the operating voltage of the load, based on the load power consumption. The efficiency factor is used to characterize the power conversion efficiency between the power supply port and the power consumption detection device, and the upper limit of the rated power consumption range of the whole machine is less than or equal to 60W.
2. The power consumption detection device according to claim 1, characterized in that, The operating current detection circuit includes a current input terminal for receiving the supply current, a current output terminal for outputting the load operating current, a first signal generation terminal for generating the first voltage signal, a differential amplifier, a sampling resistor, and a load resistor. The two differential input terminals of the differential amplifier are respectively connected to the current input terminal and the current output terminal; The sampling resistor is connected between the current input terminal and the current output terminal, and the resistance value of the sampling resistor is configured such that the voltage drop generated by the working current detection circuit between the current input terminal and the current output terminal is less than or equal to a preset voltage drop tolerance value. The output terminal of the differential amplifier is connected to the first signal generator terminal, and the load resistor is connected between the output terminal of the differential amplifier and ground. The resistance value of the load resistor is determined based on the upper limit of the rated current range of the load operating current and the device operating voltage of the first processor, so that the signal voltage of the first voltage signal generated by the first signal generator terminal is less than or equal to the device operating voltage of the first processor.
3. The power consumption detection device according to claim 1, characterized in that, The operating voltage detection circuit includes an operating voltage detection terminal at the same potential as the load operating voltage, a second signal generation terminal for generating the second voltage signal, a first voltage divider resistor and a second voltage divider resistor, and a first operational amplifier; The first voltage divider resistor and the second voltage divider resistor are connected in series between the working voltage detection terminal and ground; The non-inverting input of the first operational amplifier is connected between the first voltage divider resistor and the second voltage divider resistor, the output of the first operational amplifier is connected to the inverting input, and the output of the first operational amplifier is also connected to the second signal generator. The operating voltage of the first operational amplifier is the same as the operating voltage of the first processor, and the ratio of the resistance values of the first voltage divider resistor and the second voltage divider resistor is determined based on the voltage ratio between the load operating voltage and the device operating voltage of the first processor, so that: The load operating voltage is converted into a voltage divider that is less than or equal to the device operating voltage of the first processor and input to the first operational amplifier. The signal voltage of the second voltage signal generated by the first operational amplifier at the second signal generation terminal is less than or equal to the device operating voltage of the first processor.
4. The power consumption detection device according to claim 1, characterized in that, The upper limit of the rated voltage range of the load operating voltage is lower than the rated value of the power supply input voltage generated by the power supply protection circuit; The operating current detection circuit is connected to the power supply protection circuit through the camera's voltage conversion circuit, wherein the voltage conversion circuit is used to convert the power supply input voltage into the load operating voltage within the rated voltage range.
5. The power consumption detection circuit according to claim 4, characterized in that, The rated power consumption range of the entire machine is 25W-60W; The power supply input voltage is within the voltage range of 36V to 50V; The rated voltage range of the load operating voltage is 5V to 36V; The first processor operates at a voltage of 3.3V.
6. The power consumption detection device according to claim 4, characterized in that, The power consumption detection device further includes an input voltage detection circuit for detecting the power supply input voltage generated by the power supply protection circuit and generating a third voltage signal characterizing the power supply input voltage, wherein the third voltage signal matches the device operating voltage of the first processor. The first processor is further configured to output third detection data characterizing the power supply input voltage to the second processor based on the third voltage signal, so that the second processor can further monitor the power supply fluctuation of the camera based on the power supply input voltage.
7. The power consumption detection device according to claim 6, characterized in that, The input voltage detection circuit includes an input voltage detection terminal at the same potential as the power supply input voltage, a third signal generation terminal for generating the third voltage signal, a third voltage divider resistor and a fourth voltage divider resistor, and a second operational amplifier; The third and fourth voltage divider resistors are connected in series between the input voltage detection terminal and ground; The non-inverting input of the second operational amplifier is connected between the third and fourth voltage divider resistors, the output of the second operational amplifier is connected to the inverting input, and the output of the second operational amplifier is also connected to the third signal generator. The operating voltage of the second operational amplifier is the same as that of the first processor, and the ratio of the resistance values of the third and fourth voltage-dividing resistors is determined based on the voltage ratio between the power supply input voltage and the operating voltage of the first processor, so that: The power supply input voltage is converted into a voltage divider that is less than or equal to the device operating voltage of the first processor and input to the second operational amplifier. The signal voltage of the third voltage signal generated by the second operational amplifier at the third signal generator terminal is less than or equal to the device operating voltage of the first processor.
8. The power consumption detection device according to claim 1, characterized in that, The load operating voltage is equal to the power supply input voltage generated by the power supply protection circuit; The operating current detection circuit is directly connected to the power supply protection circuit.
9. The power consumption detection device according to claim 8, characterized in that, The rated power consumption of the entire machine is less than or equal to 25W; The power supply input voltage is within the voltage range of 5V to 36V; The first processor operates at a voltage of 3.3V.
10. The power consumption detection device according to claim 8, characterized in that, The first processor is further configured to output third detection data characterizing the power supply input voltage to the second processor based on the second voltage signal, so that the second processor can further monitor the power supply fluctuation of the camera based on the power supply input voltage.
11. A camera, characterized in that, It includes the power consumption detection device as described in any one of claims 1 to 10, as well as the power supply port, the power supply protection circuit, and the device load.
12. The camera according to claim 11, characterized in that, The second processor is further used for: Based on the changes in the overall power consumption, determine the operating state of the device load; and / or, Based on the overall power consumption, maintain the power consumption statistics of the camera.
13. The camera according to claim 11, characterized in that, The device payload further includes a storage chip for storing selectively implanted first or second encrypted information; The second processor is further used for: When the first encrypted information is obtained from the storage chip, the factor value of the efficiency factor is determined to be the first factor value in the preset factor value set; When the second encrypted information is obtained from the memory chip, the factor value of the efficiency factor is determined to be the second factor value in the preset factor value set.
Citation Information
Patent Citations
Electronic circuit power consumption measuring device
CN108594140A
Line load fault detection device
CN111337851A
Power consumption detection method and device, storage medium and electronic equipment
CN114510386A