Current measuring device
By introducing automatic mode switching and range selection functions into the current measuring device, and using the correspondence table between the main control unit and the switching unit, the problems of measurement complexity and insufficient accuracy in the existing technology are solved, and the control of low-power electronics is realized. Efficient and accurate measurement of product current.
Patent Information
- Application Number
- CN202323210919.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2033-11-28
AI Technical Summary
Existing current measuring devices require manual setting and switching of modes when measuring current in different modes, resulting in a complicated measurement process and a high rate of operational errors. They cannot effectively simplify the measurement process and improve accuracy.
A current measuring device is designed, which includes a main control unit, a switching unit, an adjustable range unit and an analog-to-digital conversion unit. It automatically switches the work of the module under test through a built-in correspondence table between the working mode and the range gear of the module under test. mode and select the appropriate range to achieve automated measurement.
It simplifies the measurement process, improves the accuracy of measurement, reduces the rate of operating errors, and improves the efficiency and accuracy of current measurement of low-power electronic products.
Smart Images

Figure CN221765575U
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic product detection, and in particular to a current measuring device. Background Art
[0002] With the advancement of science and technology and the improvement of living standards, people's demand for smart electronic products is becoming increasingly strong. At present, many smart electronic products on the market, such as Bluetooth headsets, Bluetooth bracelets, digital car keys, etc., have brought many conveniences to people's lives. However, most of these smart electronic products are powered by batteries, and the available power is limited. Therefore, the power consumption evaluation of such low-power products is particularly important. Power consumption testing is mainly the measurement of current, which is divided into the current in idle state and the current in working state, and the current in working state varies depending on the working mode.
[0003] Existing current measurement devices mainly measure current in different modes independently, that is, manually set to enter a certain mode, then measure the current, and after the measurement is completed, manually reset to another mode and then measure, and so on until the current in all modes is measured. This makes the measurement process complicated and the operation error rate high, which brings many inconveniences to R&D personnel, production test personnel, etc. Utility Model Content
[0004] In view of this, it is necessary to provide a current measuring device that can automatically switch the working mode of the module to be tested and measure the current value of the module to be tested when it works in different working modes, thereby simplifying the measurement process and improving the accuracy.
[0005] The embodiment of the present application discloses a current measuring device, which is used to automatically switch the working mode of a module to be tested and measure the current value of the module to be tested when it is working in different working modes, and includes a main control unit, a switching unit, an adjustable range unit and an analog-to-digital conversion unit, wherein the main control unit is electrically connected to the module to be tested, and is used to output a first control signal to control the module to be tested to work in a first working mode, and is also used to output a second control signal to the switching unit; the switching unit is electrically connected to the main control unit, and is used to output a range selection signal to the adjustable range unit according to the second control signal. The range unit; the adjustable range unit is electrically connected to the module to be tested and the switching unit, and is used to determine the range gear according to the range selection signal, and is also used to convert the current to be tested of the module to be tested in the current working mode into the voltage to be tested; the analog-to-digital conversion unit is electrically connected to the adjustable range unit, and is used to convert the voltage to be tested into a digital signal, and transmit the digital signal to the main control unit; the main control unit is also used to determine the current value of the module to be tested in the current working mode according to the digital signal, and control the module to be tested to switch to the second working mode.
[0006] Preferably, the main control unit is provided with a correspondence table between different working modes of the module to be tested and the range gears of the adjustable range unit; the main control unit selects the range gear of the adjustable range unit through the switching unit according to the correspondence table and the current working mode of the module to be tested.
[0007] Preferably, the switching unit includes a plurality of switching sub-units, each of which includes: a first electronic switch, the first electronic switch includes a first end, a second end and a control end, the control end of the first electronic switch is electrically connected to the main control unit, and the first end of the first electronic switch is grounded; a first resistor, one end of which is electrically connected to the second end of the first electronic switch; a second resistor, one end of which is electrically connected to the other end of the first resistor, and the other end is electrically connected to a power supply; a second electronic switch, the second electronic switch includes a first end, a second end and a control end, the control end of the second electronic switch is electrically connected to a common end of the first resistor and the second resistor, the first end of the second electronic switch is electrically connected to the power supply, and the second end of the second electronic switch is electrically connected to the adjustable range unit.
[0008] Preferably, the adjustable range unit includes multiple range branches with different ranges, and the multiple range branches with different ranges are respectively connected one-to-one with the multi-way switching sub-unit. The adjustable range unit is used to select a range branch connected between the main control unit and the module to be tested according to the range selection signal output by the switching unit.
[0009] Preferably, each range branch includes: a third electronic switch, the third electronic switch includes a first end, a second end and a control end, the control end of the third electronic switch is electrically connected to the second end of the second electronic switch, and the first end of the third electronic switch is electrically connected to the module to be tested; a third resistor, one end of which is electrically connected to the control end of the third electronic switch, and the other end is grounded; a fourth resistor, one end of which is electrically connected to the second end of the third electronic switch, and the other end is grounded; wherein the resistance value of the fourth resistor of each range branch is different.
[0010] Preferably, the adjustable range unit also includes a protection unit, which includes: a fuse, one end of which is electrically connected to the module to be tested, and the other end of which is electrically connected to the first end of the third electronic switch; a first diode, the cathode of which is electrically connected to the other end of the fuse, and the anode of which is grounded; a second diode, the cathode of which is grounded, and the anode of which is electrically connected to the other end of the fuse.
[0011] Preferably, it also includes an integrated operational amplifier unit, which is electrically connected between the adjustable range unit and the analog-to-digital conversion unit and is used to amplify the voltage to be measured and then input it into the analog-to-digital conversion unit.
[0012] Preferably, it further comprises: a display unit, electrically connected to the main control unit, for displaying the current value.
[0013] Preferably, it also includes an output interface for outputting the current value to an external device.
[0014] Compared with the prior art, the current measuring device provided in the embodiment of the present application has a correspondence table between different working modes of the module to be measured and the range gears of the adjustable range unit in the main control unit. According to the correspondence table, the working mode of the module to be measured is automatically switched and the appropriate range gear is switched according to the current working mode of the module to be measured, thereby simplifying the measurement process and improving the measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a functional module diagram of an implementation method of the voltage measurement device of the present application.
[0016] Figure 2 It is a circuit diagram of an implementation of the voltage measurement device of the present application.
[0017] Main component symbols
[0018] 10-Current measurement device
[0019] 20-Module to be tested
[0020] 101-Main control unit
[0021] 102-Switch Unit
[0022] 1021a~1021c-Switch subunit
[0023] 103-Adjustable range unit
[0024] 1031a~1031c-Range branch
[0025] 1032-Protection Unit
[0026] 104-Analog-to-digital conversion unit
[0027] 105-Integrated operational amplifier unit
[0028] 106-Display unit
[0029] 107-Output interface
[0030] VCC - Power Supply
[0031] S1a~S1c-first electronic switch
[0032] R1a~R1c-First resistor
[0033] R2a~R2c-second resistor
[0034] S2a~S2c-Second electronic switch
[0035] S3a~S3c-the third electronic switch
[0036] R3a~R3c-the third resistor
[0037] R4a~R4c-the fourth resistor
[0038] F1-Fuse
[0039] D1 - first diode
[0040] D2 - second diode DETAILED DESCRIPTION
[0041] The technical solutions in the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application.
[0042] It is understandable that the connection relationship described in this application refers to direct or indirect connection. For example, the connection between A and B can be either a direct connection between A and B or an indirect connection between A and B through one or more other electrical components. For example, A and C can be directly connected, and C and B can be directly connected, so that A and B are connected through C. It is also understandable that the "A connects B" described in this application can be a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components.
[0043] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a way to describe the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0044] In the description of this application, words such as "first" and "second" are only used to distinguish different objects, and do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit differences. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0045] The technical solution of the present application is further described in detail below in conjunction with the accompanying drawings.
[0046] See also Figure 1 , Figure 1 This is a functional module diagram of an embodiment of the current measuring device of the present application. The current measuring device 10 can be used to measure the current of the module to be measured 20. The module to be measured 20 can be a circuit in an electronic device, and the electronic device is preferably a low-power electronic product, such as a Bluetooth headset, a Bluetooth bracelet, a digital car key, etc. The embodiment of the present application does not limit the type of electronic device. The module to be measured 20 includes multiple working modes, and the current output when working in different working modes is different. When measuring the current of the module to be measured 20, the current measuring device 10 can switch the working mode of the module to be measured 20, and measure the current value of the module to be measured 20 working in different working modes.
[0047] In this embodiment, the current detection device 10 includes a main control unit 101 , a switching unit 102 , an adjustable range unit 103 and an analog-to-digital conversion unit 104 .
[0048] The main control unit 101 is electrically connected to the module under test, and is used to output a first control signal to control the module under test 20 to work in the first working mode, and is also used to output a second control signal to the switching unit 102. The main control unit 20 includes a main control unit 101, which may include a microcontroller (MCU), or a single-chip microcomputer and other chips with control and signal processing capabilities. The main control unit 101 can be an MCU chip based on the STM32 core.
[0049] The switching unit 102 is electrically connected to the main control unit 101 , and is used to output a range selection signal to the adjustable range unit 103 according to the second control signal.
[0050] The adjustable range unit 103 is electrically connected to the module to be tested 20 and the switching unit 102, and is used to determine the range gear according to the range selection signal, and is also used to convert the current to be tested of the module to be tested in the current working mode into the voltage to be tested. The adjustable range unit 103 may include a plurality of range branches with different ranges, for example, it may include uA level, mA level, A level range, and the main control unit 101 controls the switching unit 102 to select a suitable range according to the current working mode of the module to be tested 20.
[0051] The analog-to-digital conversion unit 104 is electrically connected to the adjustable range unit 103 , and is used for converting the voltage to be measured into a digital signal, and transmitting the digital signal to the main control unit 101 .
[0052] The main control unit 101 is also used to determine the current value of the module to be tested 20 in the current working mode according to the digital signal, and control the module to be tested 20 to execute the second working mode. Since the module to be tested 20 has multiple working modes, and the currents working in different working modes are different, when the current value in the current working mode is measured, the main control unit 101 controls the module to be tested 20 to execute the second working mode until all the working modes in the corresponding table are executed. Specifically, a corresponding table of different working modes of the module to be tested 20 and the range gears of the adjustable range unit 103 is provided in the main control unit 101. The main control unit 101 selects the range gear of the adjustable range unit 103 through the switching unit 102 according to the corresponding table and the current working mode of the module to be tested 20. The main control unit 101 switches the working mode of the module to be tested 20 according to the corresponding table until the current values of all working modes of the module to be tested 20 are measured.
[0053] In this embodiment, the working mode of the module to be tested 20 is switched by the main control unit 101, and a suitable range gear is selected according to the current working mode of the module to be tested 20, which greatly simplifies the measurement process and improves the measurement accuracy.
[0054] See also Figure 2 , Figure 2 1 is a functional module diagram of another embodiment of the voltage measuring device of the present application. In this embodiment, the current detection device 10 includes a main control unit 101, a switching unit 102, an adjustable range unit 103, an analog-to-digital conversion unit 104, an integrated operational amplifier unit 105, a display unit 106 and an output interface 107. The working principle and connection relationship of the main control unit 101, the switching unit 102, the adjustable range unit 103 and the analog-to-digital conversion unit 104 are similar to those of the above embodiment and will not be repeated here.
[0055] In this embodiment, the integrated operational amplifier unit 105 is electrically connected between the adjustable range unit 103 and the analog-to-digital conversion unit 104, and is used to amplify the voltage to be measured and input it to the analog-to-digital conversion unit 104. The display unit 106 is electrically connected to the main control unit 101, and is used to display the current value. The output interface 107 is electrically connected to the main control unit 101, and is used to output the current value to an external device.
[0056] In this embodiment, the switching unit 102 includes a plurality of switching subunits, and the three-way switching subunits 1021a, 1021b, and 1021c are used as examples, but are not limited thereto and can be adjusted according to actual applications. Taking the switching subunit 1021a as an example, the switching subunit 1021a includes a first electronic switch S1a, a first resistor R1a, a second resistor R2a, and a second electronic switch S2a. The first electronic switch S1a includes a first end, a second end, and a control end. The control end of the first electronic switch S1a is electrically connected to the main control unit 101, and the first end of the first electronic switch S1 is grounded. The first resistor R1a, one end of which is electrically connected to the second end of the first electronic switch S1. One end of the second resistor R2a is electrically connected to the other end of the first resistor R1a, and the other end is electrically connected to the power supply VCC. The second electronic switch S2a includes a first end, a second end and a control end. The control end of the second electronic switch S2a is electrically connected to the common end of the first resistor R1a and the second resistor R2a. The first end of the second electronic switch S2a is electrically connected to the power supply VCC. The second end of the second electronic switch S2a is electrically connected to the adjustable range unit 103.
[0057] In this embodiment, the first electronic switch S1a is described by taking an NPN transistor as an example, the base of the transistor S1a is electrically connected to the main control unit 101, the emitter of the transistor S1a is grounded, and the collector of the transistor S1a is electrically connected to one end of the first resistor R1a. The second electronic switch S2a is described by taking a PMOS transistor as an example, the gate of the PMOS transistor S2a is electrically connected to the common end of the first resistor R1a and the second resistor R2a, the source of the PMOS transistor S2a is electrically connected to the power supply VCC, and the drain of the PMOS transistor S2a is electrically connected to the adjustable range unit 103. The connection relationship between the switching subunits 1021b and 1021c is similar to that of the switching subunit 1021a, and will not be repeated here.
[0058] The adjustable range unit 103 includes a plurality of range branches with different ranges. In this embodiment, three different range branches 1031a, 1031b and 1031c are used as examples for illustration, but this is not limited thereto and can be adjusted according to actual applications. The range branches 1031a, 1031b, 1031c with different ranges are connected to the multi-way switching subunits 1021a, 1021b, 1021c in a one-to-one correspondence. The adjustable range unit 103 is used to select a range branch to be connected between the main control unit 101 and the module to be tested 20 according to the range selection signal output by the switching unit 102. Specifically, assuming that the range gear of the range branch 1031a is uA level, the range gear of the range branch 1031b is mA level, and the range gear of the range branch 1031c is A level, then if the module to be tested 20 works in mode A, the main control unit 101 determines that the range gear is mA level according to the correspondence table between the different working modes of the module to be tested 20 and the range gear of the adjustable range unit 103, and selects the range branch 1031b through the switching unit 102 to connect between the main control unit 101 and the module to be tested 20.
[0059] In this embodiment, the range branch 1031a is taken as an example, and the range branch 1031a includes a third electronic switch S3a, a third resistor R3a and a fourth resistor R4a. The third electronic switch S3a includes a first end, a second end and a control end. The control end of the third electronic switch S3a is electrically connected to the second end of the second electronic switch S2a, and the first end of the third electronic switch S3a is electrically connected to the module to be tested 20. One end of the third resistor R3a is electrically connected to the control end of the third electronic switch S3a, and the other end is grounded. One end of the fourth resistor R4a is electrically connected to the second end of the third electronic switch S3a, and the other end is grounded.
[0060] In this embodiment, the third electronic switch S3a is illustrated by taking an NMOS tube as an example, and the gate of the NMOS tube S3a is electrically connected to the drain of the PMOS tube S2a, the drain of the NMOS tube S3a is electrically connected to the module to be tested 20, and the source of the NMOS tube S3a is electrically connected to one end of the fourth resistor R4a. The connection relationship between the range branches 1031b and 1031c is similar to that of the range branch 1031a, and will not be repeated here.
[0061] The resistance values of the fourth resistors R4a, R4b, and R4c of each range branch are different, and the range position of the range branch is adjusted by adjusting the resistance values of the fourth resistors R4a, R4b, and R4c. The resistance values of the third resistors R3a, R3b, and R3c of each range branch can be different, depending on the actual measurement application.
[0062] In this embodiment, the adjustable range unit 103 further includes a protection unit 1032, which includes a fuse F1, a first diode D1 and a second diode D2. The fuse F1 has one end electrically connected to the module to be tested 20, and the other end electrically connected to the first end of the third electronic switches S3a, S3b and S3c. The cathode of the first diode D1 is electrically connected to the other end of the fuse F1, and the anode of the first diode D1 is grounded. The cathode of the second diode D2 is grounded, and the anode of the second diode D2 is electrically connected to the other end of the fuse F1.
[0063] Compared with the prior art, the current measuring device provided in the embodiment of the present application has a correspondence table between the different working modes of the module to be measured and the range gears of the adjustable range unit in the main control unit. According to the correspondence table, the range gear of the current working mode of the module to be measured is searched and switched, which greatly simplifies the measurement process and improves the measurement accuracy.
[0064] Those skilled in the art should recognize that the above embodiments are only used to illustrate the present application and are not intended to be limiting of the present application. As long as they are within the spirit of the present application, appropriate changes and modifications to the above embodiments are within the scope of protection claimed by the present invention.
Claims
1. A current measuring device, used for switching the working mode of a module to be tested and measuring the current value of the module to be tested when it works in different working modes, characterized in that: It includes a main control unit, a switching unit, an adjustable range unit and an analog-to-digital conversion unit, among which: The main control unit is electrically connected to the module to be tested, and is used to output a first control signal to control the module to be tested to work in a first working mode, and is also used to output a second control signal to the switching unit; The switching unit is electrically connected to the main control unit and is used to output a range selection signal to the adjustable range unit according to the second control signal; The adjustable range unit is electrically connected to the module to be tested and the switching unit, and is used to determine the range gear according to the range selection signal, and is also used to convert the current to be tested of the module to be tested in the current working mode into the voltage to be tested; The analog-to-digital conversion unit is electrically connected to the adjustable range unit, and is used to convert the voltage to be measured into a digital signal, and transmit the digital signal to the main control unit; The main control unit is further used to determine the current value of the module to be tested in the current working mode according to the digital signal, and control the module to be tested to switch to the second working mode.
2. The current measuring device according to claim 1, wherein: The main control unit is provided with a correspondence table between different working modes of the module to be tested and the range gears of the adjustable range unit; The main control unit selects the range gear of the adjustable range unit through the switching unit according to the corresponding table and the current working mode of the module to be tested.
3. The current measuring device according to claim 1, wherein: The switching unit includes multiple switching subunits, each of which includes: A first electronic switch, the first electronic switch comprising a first end, a second end and a control end, the control end of the first electronic switch is electrically connected to the main control unit, and the first end of the first electronic switch is grounded; a first resistor, one end of which is electrically connected to the second end of the first electronic switch; a second resistor, one end of which is electrically connected to the other end of the first resistor, and the other end of which is electrically connected to a power supply; A second electronic switch, the second electronic switch includes a first end, a second end and a control end, the control end of the second electronic switch is electrically connected to the common end of the first resistor and the second resistor, the first end of the second electronic switch is electrically connected to the power supply, and the second end of the second electronic switch is electrically connected to the adjustable range unit.
4. The current measuring device according to claim 3, characterized in that: The adjustable range unit includes multiple range branches with different ranges, and the multiple range branches with different ranges are respectively connected to the multi-way switching sub-unit one by one. The adjustable range unit is used to select a range branch connected between the main control unit and the module to be tested according to the range selection signal output by the switching unit.
5. The current measuring device according to claim 4, characterized in that: Each measuring branch includes: A third electronic switch, the third electronic switch comprising a first end, a second end and a control end, the control end of the third electronic switch being electrically connected to the second end of the second electronic switch, and the first end of the third electronic switch being electrically connected to the module to be tested; A third resistor, one end of which is electrically connected to the control end of the third electronic switch and the other end of which is grounded; A fourth resistor has one end electrically connected to the second end of the third electronic switch and the other end grounded; wherein the resistance value of the fourth resistor in each range branch is different.
6. The current measuring device according to claim 5, characterized in that: The adjustable range unit also includes a protection unit, which includes: A fuse, one end of which is electrically connected to the module to be tested, and the other end of which is electrically connected to the first end of the third electronic switch; A first diode, wherein a cathode of the first diode is electrically connected to the other end of the fuse, and an anode of the first diode is grounded; A second diode, wherein the cathode of the second diode is grounded, and the anode of the second diode is electrically connected to the other end of the fuse.
7. The current measuring device according to claim 1, characterized in that: It also includes an integrated operational amplifier unit, which is electrically connected between the adjustable range unit and the analog-to-digital conversion unit and is used to amplify the voltage to be measured and then input it into the analog-to-digital conversion unit.
8. The current measuring device according to claim 1, wherein: Also includes: The display unit is electrically connected to the main control unit and is used to display the current value.
9. The current measuring device according to claim 1, characterized in that: It also includes an output interface for outputting the current value to an external device.
