A parameter detection device
By designing a parameter detection device including a current detection module, the problem of the inability to accurately measure large currents in the prior art is solved, and the accurate detection of large currents and the reliability of test results is achieved.
Patent Information
- Application Number
- CN202110455775.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-26
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2041-04-26
AI Technical Summary
The existing digital multimeter cannot accurately measure high current, resulting in inaccurate test results and affecting the reliability of the equipment.
A parameter detection device is designed, including a control module, a power supply module, a voltage detection module, a display module and a plurality of current detection modules. Each current detection module shunts the current of the device to be tested, converts it into a voltage signal, and amplifies the preset multiple to determine whether it is in the full scale state, sends an alarm signal or converts it to a voltage digital signal.
Accurate detection of large currents is achieved, errors under full scale state are avoided, and the accuracy and reliability of the test are improved.
Smart Images

Figure CN113064097B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of detection, and particularly to a parameter detection device. Background Art
[0002] Desktop power supplies are classified into multi-rail power supplies and single-rail 12V power supplies according to the Intel standard. The multi-rail power supplies can output high-power voltages including +12V, +5V, and +3.3V, while the single-rail 12V power supply can only output a high-power voltage of +12V. Currently, when factories or individuals are actually producing, processing, or conducting experimental tests, if they assemble the power supply into an actual chassis to test its power, when reading the output current of each voltage, since the current sometimes exceeds 20A, and the maximum range of a digital multimeter is usually less than 20A, so only a clamp ammeter can be used for testing. However, the accuracy of a clamp ammeter is very poor when testing small currents, and there is a large deviation from the actual value. This results in a large deviation in the test results, and inaccurate testing also poses a certain risk of reliability. Summary of the Invention
[0003] Therefore, the technical problem to be solved by the present invention is to overcome the defect that the digital multimeter in the prior art cannot measure small ranges, so as to provide a parameter detection device.
[0004] To achieve the above object, the present invention provides the following technical solutions:
[0005] An embodiment of the present invention provides a parameter detection device, including: a control module, a power supply module, a voltage detection module, a display module, and a plurality of current detection modules. For each current detection module, its first end is connected to the output end of the device under test, its second end is connected to the input end of the load, and its third end is connected to the control module. The device under test supplies power to the load; all current detection modules shunt the current of the device under test. Each current detection module converts the collected current with the same amplitude into a voltage signal, amplifies the voltage signal by the same preset multiple, and based on the preset full-scale reference voltage and the amplified voltage signal, determines whether it is in the full-scale state. When in the full-scale state, an alarm signal is sent to the control module. When not in the full-scale state, the voltage signal is converted into a voltage digital signal and sent to the control module; the voltage detection module, its first end is connected to the connection line between the device under test and the load, and its second end is connected to the control module, which is used to collect the voltage of the device under test, divide the voltage, and send it to the control module; the control module is used to adjust the preset multiple based on the alarm signal until the current detection module is no longer in the full-scale state; sum the voltage digital signals sent by each received current detection module, and convert the sum value into the current value of the device under test; perform analog-to-digital conversion on the divided voltage of the device under test to obtain the voltage value of the device under test, and send it to the display module; the display module, connected to the control module, is used to display the current value and the voltage value; the power supply module, its first end is connected to the connection line between the device under test and the load, and its second end is connected to the control module, the voltage detection module, the display module, and each current detection module, which is used to convert the voltage of the device under test into a supply voltage to supply power to the control module, the voltage detection module, the display module, and each current detection module.
[0006] In one embodiment, the current detection module includes: a current sampling unit, a range switching unit, and an analog-to-digital conversion unit. The current sampling unit, its first end is connected to the output end of the device under test, its second end is connected to the input end of the load, its third end and fourth end are correspondingly connected to the first end and second end of the range switching unit, its fifth end is connected to the first end of the analog-to-digital conversion unit, and its sixth end is connected to the power supply module, which is used to collect the current of the device under test after shunting and convert it into a voltage signal, and amplify the voltage signal by a preset multiple based on the preset multiple set by the range switching unit; the analog-to-digital conversion unit, its second end is connected to the control module, and its third end is connected to the power supply module, which is used to determine whether it is in the full-scale state based on the preset full-scale reference voltage and the amplified voltage signal. When in the full-scale state, an alarm signal is sent to the control module. When not in the full-scale state, the voltage signal is converted into a voltage digital signal and sent to the control module; the range switching unit, its third end is connected to the control module, and its fourth end is connected to the power supply module, which is used for the control module to control the range switching unit to adjust the preset multiple based on the alarm signal.
[0007] In one embodiment, the current sampling unit includes: an amplifying circuit and a follower circuit. Among them, for the amplifying circuit, its first end is connected to the output end of the device under test, its second end is connected to the input end of the load, its third end is connected to the first end of the range switching unit, its fourth end is respectively connected to the first end of the follower circuit and the second end of the range switching unit, its fifth end is connected to the power supply module, and its sixth end is grounded. It is used to collect the current of the device under test after shunting, convert it into a voltage signal, and amplify the voltage signal by a preset multiple based on the preset multiple set by the range switching unit. For the follower circuit, its second end is connected to the first end of the analog-to-digital conversion unit, its third end is grounded, and its fourth end is connected to the power supply module. It is used to follow the amplified voltage signal.
[0008] In one embodiment, the amplifying circuit includes: a first resistor, a second resistor, a first operational amplifier, a first capacitor, and a second capacitor. Among them, for the first resistor, its first end is connected to the output end of the device under test, and its second end is connected to the non-inverting input end of the first operational amplifier through the second resistor. For the first operational amplifier, its inverting input end is connected to the first end of the range switching unit and the first end of the first capacitor, its output end is respectively connected to the second end of the range switching unit, the second end of the first capacitor, and the first end of the follower circuit, its positive power supply end is connected to the power supply module and grounded through the second capacitor, and its negative power supply end is grounded.
[0009] In one embodiment, the follower circuit includes: a comparator. Its non-inverting input end is connected to the fourth end of the amplifying circuit, its inverting input end is connected to its output end, its output end is connected to the first end of the analog-to-digital conversion unit, its positive power supply end is connected to the power supply module, and its negative power supply end is grounded.
[0010] In one embodiment, the range switching unit includes: a third capacitor, a fourth capacitor, a switch module, and multiple resistors. Among them, the switch module includes multiple first ends, multiple second ends, and multiple third ends. Each first end is connected to the control module, each second end is connected to the third end of the current sampling unit, each subsequent third end is connected to the previous stage output end through a resistor, the first stage third end is connected to the fourth end of the current sampling unit through a resistor, and the last stage third end is grounded through a resistor. The fourth end of the switch module is connected to the power supply module and grounded through the third capacitor. The fifth end of the switch module is connected to the power supply module and grounded through the fourth capacitor. The control module controls the switch module to select and turn on its internal switch circuit based on the alarm signal to adjust the preset multiple.
[0011] In one embodiment, the analog-to-digital conversion unit includes: an analog-to-digital conversion circuit, a full-scale reference circuit, and a voltage matching circuit. Among them, for the analog-to-digital conversion circuit, its first end is connected to the fifth end of the current sampling unit, its second end is connected to the first end of the full-scale reference circuit, its third end is connected to the power supply module, its fourth end, fifth end, sixth end, seventh end, and eighth end are respectively connected to the first end, second end, third end, fourth end, and fifth end of the voltage matching circuit, and its ninth end is grounded. It is used to determine whether it is in the full-scale state based on the preset full-scale reference voltage output by the full-scale reference circuit and the amplified voltage signal. When in the full-scale state, it generates an alarm signal and sends it to the control module through the voltage matching circuit; for the full-scale reference circuit, its second end is connected to the power supply circuit, and its third end is grounded. It is used to convert the voltage output by the power supply module into a preset full-scale reference voltage; for the voltage matching circuit, its sixth end is connected to the power supply module, its seventh end, eighth end, and ninth end are connected to the control module, its tenth end is grounded, and its eleventh end is connected to the first end of the full-scale reference circuit. It is used to achieve voltage matching between the analog-to-digital conversion circuit and the control module.
[0012] In one embodiment, the full-scale reference circuit includes: a reference chip, a fifth capacitor, and a sixth capacitor. Among them, for the reference chip, its first end is grounded, its second end is connected to the second end of the analog-to-digital conversion unit and grounded through the fifth capacitor, and its third end is connected to the power supply module and grounded through the sixth capacitor.
[0013] In one embodiment, the analog-to-digital conversion circuit includes: an analog-to-digital conversion chip, a seventh capacitor, an eighth capacitor, a ninth capacitor, and a third resistor. Among them, for the analog-to-digital conversion chip, its first end is connected to the first end of the voltage matching circuit, its second end is respectively connected to the first end of the third resistor and the first end of the voltage matching circuit, its third end is connected to the fifth end of the voltage matching circuit, its fourth end is connected to the fifth end of the current sampling unit and grounded through the seventh capacitor, its fifth end is connected to the first end of the full-scale reference circuit, its sixth end is connected to the fourth end of the voltage matching circuit, its seventh end is grounded, and its eighth end is connected to the third end of the voltage matching circuit; for the eighth capacitor, its first end is connected to the second end of the third resistor, and its second end is connected to the power supply module through the ninth capacitor and grounded.
[0014] In one embodiment, the voltage matching circuit includes: a voltage conversion chip, a fourth resistor, a fifth resistor, a sixth resistor, and a seventh resistor. Among them, for the voltage conversion chip, its second terminal is connected to the second terminal of the third resistor, and its third, fourth, fifth, sixth, and seventh terminals are respectively connected to the second, first, eighth, sixth, and third terminals of the analog-to-digital conversion chip. Its fourth and fifth terminals are respectively connected to the second terminal of the reference chip through the fourth and fifth resistors. Its tenth terminal is grounded through the sixth resistor, its eleventh terminal is grounded, and its fourteenth, fifteenth, sixteenth, seventeenth, and eighteenth terminals are all connected to the control module. Its eighteenth terminal is connected to the power supply module through the seventh resistor, and its nineteenth terminal is connected to the power supply module.
[0015] In one embodiment, the voltage detection module includes: a tenth capacitor, an eighth resistor, and a ninth resistor. Among them, for the eighth resistor, its first terminal is connected to the connection line between the device under test and the load, its second terminal is grounded through the ninth resistor, its second terminal is also grounded through the tenth capacitor, and its second terminal is also connected to the control module.
[0016] In one embodiment, the power supply module is a buck-boost circuit, which includes a power conversion chip and its peripheral circuit. Among them, for the power conversion chip, its input terminal is connected to the connection line between the device under test and the load, and its output terminal is connected to the control module, the voltage detection module, the display module, and each current detection module, and is used to convert the voltage of the device under test into a supply voltage to supply power to the control module, the voltage detection module, the display module, and each current detection module.
[0017] In one embodiment, the display module includes a current display unit and a voltage display unit. The current display unit and the voltage display unit both include: a digital tube driving chip, a current limiting circuit, a digital tube array, and a current increasing circuit. Among them, the digital tube driving chip includes multiple first terminals, multiple second terminals, and multiple third terminals. Each first terminal is connected to the control module, each second terminal is connected to the digital tube array through the current increasing circuit, and each third terminal is connected to the digital tube array through the current limiting circuit. Its fourth terminal is grounded and is used to output a segment selection signal and a digit selection signal based on the current value or voltage value sent by the control module; the digital tube array is used to display the corresponding current value or voltage value based on the segment selection signal and the digit selection signal; the current limiting circuit is used to limit the current between the digital tube chip and the digital tube array; the current increasing circuit is also connected to the power supply module and is used to increase the current of the LED lights in the digital tube array.
[0018] The technical solution of the present invention has the following advantages:
[0019] 1. For the parameter detection device provided by the present invention, each current detection module converts the shunted current collected into a voltage signal, amplifies the voltage signal by the same preset multiple, and determines whether it is in the full-scale state based on the preset full-scale reference voltage and the amplified voltage signal. When in the full-scale state, an alarm signal is generated, and the control module adjusts the preset multiple. When not in the full-scale state, the voltage signal is converted into a voltage digital signal. The control module sums up the voltage digital signals sent by each received current detection module and converts the sum value into the current value of the device under test; after the voltage of the device under test divided by the voltage detection device is subjected to analog-to-digital conversion, the voltage value of the device under test is obtained and sent to the display module.
[0020] 2. For the parameter detection device provided by the present invention, all current detection modules can be configured in parallel to shunt a path of current of the device under test, so as to realize the detection of large current. Each current detection module can detect the current of different circuits of the device under test, so as to realize the detection of multiple paths of current. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required to be used in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0022] Figure 1 It is a composition diagram of a specific example of the parameter detection device provided by an embodiment of the present invention;
[0023] Figure 2 It is a composition diagram of another specific example of the parameter detection device provided by an embodiment of the present invention;
[0024] Figure 3 It is a composition diagram of another specific example of the parameter detection device provided by an embodiment of the present invention;
[0025] Figure 4 It is a specific circuit structure diagram of the current sampling unit and the range switching unit provided by an embodiment of the present invention;
[0026] Figure 5 It is a composition diagram of another specific example of the parameter detection device provided by an embodiment of the present invention;
[0027] Figure 6 It is a specific circuit structure diagram of the analog-to-digital conversion unit provided by an embodiment of the present invention;
[0028] Figure 7Specific circuit structure diagram of the voltage detection module provided by the embodiment of the present invention;
[0029] Figure 8 Specific circuit structure diagram of the control module provided by the embodiment of the present invention;
[0030] Figure 9 Specific circuit structure diagram of the power supply module provided by the embodiment of the present invention;
[0031] Figure 10 Specific circuit structure diagram of the display module provided by the embodiment of the present invention. Detailed implementation manners
[0032] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0033] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and should not be construed as indicating or implying relative importance.
[0034] In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can also be the communication inside two elements. It can be a wireless connection or a wired connection. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
[0035] In addition, the technical features involved in different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0036] Embodiment
[0037] The embodiment of the present invention provides a parameter detection device, which is applied to occasions that require large-range detection, such as Figure 1As shown, it includes: a control module 1, a power supply module 2, a voltage detection module 3, a display module 4, and multiple current detection modules 5.
[0038] As Figure 1 shown, in the embodiment of the present invention, for each current detection module 5, its first end is connected to the output end of the device under test, its second end is connected to the input end of the load, and its third end is connected to the control module 1. The device under test supplies power to the load.
[0039] All the current detection modules 5 in the embodiment of the present invention shunt the current of the device under test. Each current detection module 5 converts the collected current with the same amplitude into a voltage signal, amplifies the voltage signal by the same preset multiple, and determines whether it is in the full-scale state based on the preset full-scale reference voltage and the amplified voltage signal. When it is in the full-scale state, an alarm signal is sent to the control module 1. When it is not in the full-scale state, the voltage signal is converted into a voltage digital signal and sent to the control module 1.
[0040] As Figure 1 shown, for the voltage detection module 3 in the embodiment of the present invention, its first end is connected to the connection line between the device under test and the load, and its second end is connected to the control module 1, and it is used to collect the voltage of the device under test and send it to the control module 1 after voltage division.
[0041] As Figure 1 shown, the control module 1 in the embodiment of the present invention is used to adjust the preset multiple based on the alarm signal until the current detection module 5 is no longer in the full-scale state; sum the voltage digital signals sent by each received current detection module 5 and convert the sum value into the current value of the device under test; perform analog-to-digital conversion on the voltage of the device under test after voltage division to obtain the voltage value of the device under test, and send it to the display module 4.
[0042] As Figure 1 shown, the display module 4 in the embodiment of the present invention is connected to the control module 1 and is used to display the current value and the voltage value.
[0043] As Figure 1 shown, the first end of the power supply module 2 in the embodiment of the present invention is connected to the connection line between the device under test and the load, and its second end is connected to the control module 1, the voltage detection module 3, the display module 4, and each current detection module 5, and it is used to convert the voltage of the device under test into a supply voltage to supply power to the control module 1, the voltage detection module 3, the display module 4, and each current detection module 5.
[0044] Specifically, the circuit structures of all the current detection modules 5 in the embodiments of the present invention are the same, and they have the same amplification factor. Therefore, by equally dividing the output current of the device under test and converting the sampled current signal into a voltage signal, then amplifying the voltage signal by the same preset multiple, performing analog-to-digital conversion on the amplified voltage, and finally, the control module 1 sums up the voltage digital signals obtained by each current detection module 5, and then converts the sum value into a current digital signal, and takes the current digital signal as the current value, so as to realize the current detection of the device under test with a large current.
[0045] Specifically, when each current detection module 5 detects the current, since it may be in the full-scale state, each current detection module 5 determines whether it is in the full-scale state based on the preset full-scale reference voltage and the amplified voltage signal. When it is in the full-scale state, it sends an alarm signal to the control module 1, and the control module 1 adjusts the preset multiple of each current detection module 5 based on the alarm signal until no alarm signal is received; when the current detection module 5 is not in the full-scale state, it converts the voltage signal into a voltage digital signal and sends it to the control module 1.
[0046] It should be noted that when the device under test outputs multiple currents and the multiple currents supply power to the load, at this time, one current detection module detects one path of output current (that is, there is no need to shunt one path of current output by the device under test), and the control module sums up the currents detected by the current detection module to obtain the total current value output by the device under test.
[0047] In a specific embodiment, as Figure 2 shown (only one current detection module 5 is illustrated in the figure), each current detection module 5 includes: a current sampling unit 51, a range switching unit 52, and an analog-to-digital conversion unit 53.
[0048] As Figure 2 shown, the current sampling unit 51 in the embodiments of the present invention has its first end connected to the output end of the device under test, its second end connected to the input end of the load, its third end and fourth end correspondingly connected to the first end and second end of the range switching unit 52, its fifth end connected to the first end of the analog-to-digital conversion unit 53, and its sixth end connected to the power supply module 2. It is used to collect the current of the device under test after shunting, convert it into a voltage signal, and amplify the voltage signal by a preset multiple based on the preset multiple set by the range switching unit 52.
[0049] As Figure 2As shown, the analog-to-digital conversion unit 53 of the embodiment of the present invention has its second end connected to the control module 1 and its third end connected to the power supply module 2. It is used to determine whether it is in the full-scale state based on a preset full-scale reference voltage and the amplified voltage signal. When in the full-scale state, it sends an alarm signal to the control module 1. When not in the full-scale state, it converts the voltage signal into a voltage digital signal and sends it to the control module 1.
[0050] As Figure 2 shown, the range switching unit 52 of the embodiment of the present invention has its third end connected to the control module 1 and its fourth end connected to the power supply module 2. It is used for the control module 1 to control the range switching unit 52 to adjust the preset multiple based on the alarm signal.
[0051] In a specific embodiment, as Figure 3 shown, the current sampling unit 51 includes: an amplifying circuit 511 and a follower circuit 512.
[0052] As Figure 3 shown, the amplifying circuit 511 of the embodiment of the present invention has its first end connected to the output end of the device under test, its second end connected to the input end of the load, its third end connected to the first end of the range switching unit 52, its fourth end respectively connected to the first end of the follower circuit 512 and the second end of the range switching unit 52, its fifth end connected to the power supply module 2, and its sixth end grounded. It is used to collect the current of the device under test after shunting and convert it into a voltage signal, and amplify the voltage signal by a preset multiple based on the preset multiple set by the range switching unit 52.
[0053] As Figure 3 shown, the follower circuit 512 of the embodiment of the present invention has its second end connected to the first end of the analog-to-digital conversion unit 53, its third end grounded, and its fourth end connected to the power supply module 2. It is used to follow the amplified voltage signal.
[0054] In a specific embodiment, as Figure 4 shown ( Figure 4 where the +5V voltage is the voltage output by the power supply module 2), the amplifying circuit 511 includes: a first resistor R7, a second resistor R8, a first operational amplifier U2A, a first capacitor C12, and a second capacitor C10.
[0055] As Figure 4As shown in the figure, in the embodiment of the present invention, the first end of the first resistor R7 is connected to the output end of the device under test, and its second end is connected to the non-inverting input end of the first operational amplifier U2A through the second resistor R8; for the first operational amplifier U2A, its inverting input end is connected to the first end of the range switching unit 52 and the first end of the first capacitor C12, and its output end is respectively connected to the second end of the range switching unit 52, the second end of the first capacitor C12 and the first end of the follower circuit 512. Its positive power supply end is connected to the power supply module 2 and grounded through the second capacitor C10, and its negative power supply end is grounded.
[0056] Specifically, as Figure 4 shown, the follower circuit 512 includes: a comparator U2B, whose non-inverting input end is connected to the fourth end of the amplifier circuit 511, whose inverting input end is connected to its output end, and whose output end is connected to the first end of the analog-to-digital conversion unit 53. Its positive power supply end is connected to the power supply module 2, and its negative power supply end is grounded.
[0057] Specifically, the current of the device under test is converted into a voltage signal through the first resistor R7, the second resistor R8 filters out the interference of the voltage signal, the first operational amplifier U2A amplifies the anti-interference voltage signal by a preset multiple, the comparator U2B follows the amplified voltage signal, and after reducing its output impedance, it is sent to the analog-to-digital conversion unit 53. The function of the first capacitor C12 is to keep the first operational amplifier U2A stable at a high amplification factor. The pin8 of the first operational amplifier U2A is connected to the +5V power supply signal through the second capacitor C10, and the second capacitor C10 plays a filtering role.
[0058] As Figure 4 shown, the range switching unit 52 includes: a third capacitor C13, a fourth capacitor C18, a switch module U7 and a plurality of resistors (R19, R20, R21, R22).
[0059] As Figure 4 shown, the switch module U7 includes a plurality of first ends, a plurality of second ends and a plurality of third ends. Each first end is connected to the control module 1, each second end is connected to the third end of the current sampling unit 51, each subsequent third end is connected to the previous stage output end through a resistor, the first stage third end is connected to the fourth end of the current sampling unit 51 through a resistor, and the last stage third end is grounded through a resistor; the fourth end of the switch module U7 is connected to the power supply module 2 and grounded through the third capacitor C13; the fifth end of the switch module U7 is connected to the power supply module 2 and grounded through the fourth capacitor C18; the control module 1 controls the switch module U7 to select and turn on its internal switch circuit based on the alarm signal to adjust the preset multiple.
[0060] Specifically, the switch module U7 in the embodiments of the present invention is an analog switch, which includes multiple switch circuits inside. The number of switch circuits can be determined according to actual situations and is not limited herein. The switch module U7 in the embodiments of the present invention is a four-channel signal-controlled analog switch. Its P2.1 terminal, P2.2 terminal, P2.3 terminal, and P2.4 terminal are all connected to the control module 1. The control module 1 outputs a switching signal to the P2.1 terminal, P2.2 terminal, P2.3 terminal, and P2.4 terminal based on the alarm signal, thereby controlling the on / off of the pin2 and pin3, pin15 and pin14, pin10 and pin11, pin7 and pin6 of the switch module U7 to adjust the preset multiple. For example: when the control module 1 selects the P2.1 terminal, currently only C12 and R18 are connected across the output terminal and the inverting input terminal of the first operational amplifier U2A; when the P2.2 terminal is selected, currently only C12 and R19 are connected across the output terminal and the inverting input terminal of the first operational amplifier U2A; when the P2.3 terminal is selected, currently only C12, R19, and R20 are connected across the output terminal and the inverting input terminal of the first operational amplifier U2A. In addition, the control module 1 can select multiple switch circuits simultaneously, thereby obtaining different combinations of components, that is, obtaining different preset multiples.
[0061] In addition, Pin13 and Pin12 of the switch module U7 in the embodiments of the present invention are connected to the +5V power supply signal, and the third capacitor C13 and the fourth capacitor C18 connected respectively play a filtering role.
[0062] In a specific embodiment, as Figure 5 shown, the analog-to-digital conversion unit 53 includes: an analog-to-digital conversion circuit 531, a full-scale reference circuit 532, and a voltage matching circuit 533.
[0063] As Figure 5 shown, for the analog-to-digital conversion circuit 531 in the embodiments of the present invention, its first end is connected to the fifth end of the current sampling unit 51, its second end is connected to the first end of the full-scale reference circuit 532, its third end is connected to the power supply module 2, its fourth end, fifth end, sixth end, seventh end, and eighth end are respectively connected to the first end, second end, third end, fourth end, and fifth end of the voltage matching circuit 533, and its ninth end is grounded. It is used to determine whether it is in the full-scale state based on the preset full-scale reference voltage output by the full-scale reference circuit 532 and the amplified voltage signal. When it is in the full-scale state, an alarm signal is generated and sent to the control module 1 through the voltage matching circuit 533.
[0064] As Figure 5 shown, for the full-scale reference circuit 532 in the embodiments of the present invention, its second end is connected to the power supply circuit, and its third end is grounded. It is used to convert the voltage output by the power supply module 2 into a preset full-scale reference voltage.
[0065] As Figure 5 shown, for the voltage matching circuit 533 according to an embodiment of the present invention, its sixth terminal is connected to the power supply module 2, its seventh, eighth, and ninth terminals are connected to the control module 1, its tenth terminal is grounded, and its eleventh terminal is connected to the first terminal of the full-scale reference circuit 532, which is used to achieve voltage matching between the analog-to-digital conversion circuit 531 and the control module 1.
[0066] In a specific embodiment, as Figure 6 shown (the +5V voltage in the figure is the voltage output by the power supply module 2), the full-scale reference circuit 532 includes: a reference chip U6, a fifth capacitor C16, and a sixth capacitor C15. Among them, for the reference chip U6, its first terminal is grounded, its second terminal is connected to the second terminal of the analog-to-digital conversion unit 53 (Pin5 of the analog-to-digital conversion chip U5), and is grounded through the fifth capacitor C16, its third terminal is connected to the power supply module 2, and is grounded through the sixth capacitor C15.
[0067] As Figure 6 shown, the analog-to-digital conversion circuit 531 includes: an analog-to-digital conversion chip U5, a seventh capacitor C11, an eighth capacitor C8, a ninth capacitor C9, and a third resistor R10.
[0068] As Figure 6 shown, for the analog-to-digital conversion chip U5 according to an embodiment of the present invention, its first terminal is connected to the first terminal of the voltage matching circuit 533 (Pin4 of the voltage conversion chip U4), its second terminal is respectively connected to the first terminal of the third resistor R10 and the first terminal of the voltage matching circuit 533 (Pin3 of the voltage conversion chip U4), its third terminal is connected to the fifth terminal of the voltage matching circuit 533 (Pin7 of the voltage conversion chip U4), its fourth terminal is connected to the fifth terminal of the current sampling unit 51 (Pin7 of the comparator U2B), and is grounded through the seventh capacitor C11, its fifth terminal is connected to the first terminal of the full-scale reference circuit 532 (Pin2 of the reference chip U6), its sixth terminal is connected to the fourth terminal of the voltage matching circuit 533 (Pin6 of the voltage conversion chip U4), its seventh terminal is grounded, and its eighth terminal is connected to the third terminal of the voltage matching circuit 533 (Pin5 of the voltage conversion chip U4); for the eighth capacitor C8, its first terminal is connected to the second terminal of the third resistor R10, and its second terminal is connected to the power supply module 2 through the ninth capacitor C9 and is grounded.
[0069] As Figure 6 shown, the voltage matching circuit 533 includes: a voltage conversion chip U4, a fourth resistor R14, a fifth resistor R17, a sixth resistor R16, and a seventh resistor R11.
[0070] As Figure 6As shown in the figure, for the voltage conversion chip U4 of the embodiment of the present invention, its second terminal is connected to the second terminal of the third resistor R10, and its third, fourth, fifth, sixth, and seventh terminals are correspondingly connected to the second, first, eighth, sixth, and third terminals of the analog-to-digital conversion chip U5. Its fourth and fifth terminals are respectively connected to the second terminal of the reference chip U6 through the fourth resistor R14 and the fifth resistor R17. Its tenth terminal is grounded through the sixth resistor R16, its eleventh terminal is grounded, and its fourteenth, fifteenth, sixteenth, seventeenth, and eighteenth terminals are all connected to the control module 1. Its eighteenth terminal is connected to the power supply module 2 through the seventh resistor R11, and its nineteenth terminal is connected to the power supply module 2.
[0071] Specifically, the amplified voltage signal is transmitted to Pin4 of the analog-to-digital conversion chip U5. The analog-to-digital conversion chip U5 is an 8-bit ADC chip. Pin5 of the analog-to-digital conversion chip U5 is connected to the reference chip U6. The reference chip U6 provides a preset full-scale reference voltage for the analog-to-digital conversion chip U5. Pin2 of the analog-to-digital conversion chip U5 provides an alarm signal when the range is exceeded. When the voltage at Pin4 of the analog-to-digital conversion chip U5 exceeds the range, Pin2 of the analog-to-digital conversion chip U5 changes from high level to low level, and an alarm signal is sent to the control module 1 through the voltage conversion chip U4.
[0072] Specifically, the analog-to-digital conversion chip U5 of the embodiment of the present invention has different addresses. The control module 1 reads data according to the address of the analog-to-digital conversion chip U5. The control module 1 sets different addresses by setting three states (high, low, floating) combinations of Pin3 and Pin6 of the analog-to-digital conversion chip U5. R10, R14, and R11 are pull-up resistors for signals. R16 is a pull-down resistor that pulls Pin10 of U4 to the ground, and sets each functional pin as a tri-state output pin. Pin1 and Pin8 of the analog-to-digital conversion chip U5 are I2C signal connection pins (output voltage digital signals). The control module 1 can read the voltage digital signal input from its Pin4 converted by the voltage conversion chip U4 through the I2C protocol.
[0073] Specifically, when in the under-range state, the control module 1 reads the voltage digital signal output by the voltage conversion chip U4 corresponding to different ADC addresses through the I2C protocol, performs addition calculation on it, converts it into a corresponding display numerical signal, and then transmits it to the current display unit through the I2C bus to display the current value on the digital tube array. When in the under-range state, that is, when Pin2 of the analog-to-digital conversion chip U5 changes from high level to low level, the control module 1 adjusts p2.1 to p2.4, and the preset multiple provided by each range switching unit 52 decreases until the voltage at Pin4 of the analog-to-digital conversion chip U5 does not exceed the range.
[0074] For the output transmission between the analog-to-digital conversion chip U5, voltage conversion chip U4, control module 1, and display module 4 in the embodiments of the present invention, the I2C protocol is utilized.
[0075] In a specific embodiment, as Figure 7 shown, the voltage detection module 3 includes: the tenth capacitor C6, the eighth resistor R3, and the ninth resistor R5. Among them, for the eighth resistor R3, its first end (Vout end) is connected to the connection line between the device under test and the load, its second end is grounded through the ninth resistor R5, its second end is also grounded through the tenth capacitor C6, and its second end (Vo SENSE end) is also connected to the control module 1.
[0076] Specifically, the output voltage of the device under test is divided by R3 and R5 into a signal that can be detected by the control module 1, and this signal is sent to the control module 1. The control module 1 converts the voltage of the device under test after voltage division into a numerical signal and sends it to the voltage display unit through the I2C protocol.
[0077] In a specific embodiment, the control module 1 in the embodiments of the present invention is as Figure 8 shown. The control module 1 is mainly composed of the single-chip microcomputer U3. Pin1 and Pin2 are the bus pins of the I2C protocol. R9 and R12 are pull-up resistors. Pin3 of the single-chip microcomputer U3 is connected to the voltage detection module 3. Pin11 of the single-chip microcomputer U3 is connected to the reset circuit composed of the key S1, R13, C14, and R15. The function of C14 is to reset the single-chip microcomputer when powered on, and the function of S1 is to manually reset the single-chip microcomputer through the key. Pin12 of the single-chip microcomputer U3 is the power supply pin of the single-chip microcomputer and is connected to the power supply module 2. Pin25 to Pin28 of the single-chip microcomputer U3 are connected to each range switching unit 52 to ensure that the preset multiples of each amplifier circuit 511 are the same. Pin22, Pin21, Pin20, Pin18, Pin17, and Pin15 of the single-chip microcomputer U3 are interrupt pins and are respectively connected to P18 of each voltage conversion chip U4. Pin4 to Pin10, Pin13, Pin16, Pin19, Pin23, and Pin24 of the single-chip microcomputer U3 are connected to the voltage conversion chip U4 for setting its address.
[0078] In a specific embodiment, the power supply module 2 is a buck-boost circuit, as Figure 9 shown. It includes a power conversion chip U1 and its peripheral circuit. Among them, for the power conversion chip U1, its input end (Vout end) is connected to the connection line between the device under test and the load, and its output end is connected to the control module 1, voltage detection module 3, display module 4, and each current detection module 5, and is used to convert the voltage of the device under test into a power supply voltage to supply power to the control module 1, voltage detection module 3, display module 4, and each current detection module 5.
[0079] Specifically, asFigure 9 As shown in the figure, the power supply module 2 provides a stable +5V power supply for other modules. The power conversion chip U1 is a power control chip with an internal MOS tube. C1 and C2 are filter capacitors. R4 is a pull-up resistor for the chip enable signal. C7 is a filter capacitor. R1 and R6 are output voltage dividing resistors, which divide the output voltage and feedback it to the power conversion chip U1. R2 is a pull-up resistor for the output voltage status detection pin. C3, C4, and C5 are filter capacitors. L1 is the power inductor of the buck-boost circuit.
[0080] In a specific embodiment, the display module 4 includes a current display unit and a voltage display unit, as Figure 10 shown. Both the current display unit and the voltage display unit include: a digital tube driver chip U8, a current limiting circuit 41, a digital tube array 42, and a current increasing circuit 43.
[0081] As Figure 10 shown, the digital tube driver chip U8 of the embodiment of the present invention includes a plurality of first ends, a plurality of second ends, and a plurality of third ends. Each first end is connected to the control module 1. Each second end is connected to the digital tube array 42 through the current increasing circuit 43. Each third end is connected to the digital tube array 42 through the current limiting circuit 41. Its fourth end is grounded and is used to output a segment selection signal and a digit selection signal based on the current value or voltage value sent by the control module 1.
[0082] The digital tube array 42 of the embodiment of the present invention is used to display the corresponding current value or voltage value based on the segment selection signal and the digit selection signal. The current limiting circuit 41 is used to limit the current between the digital tube chip and the digital tube array. The current increasing circuit 43 is also connected to the power supply module 2 and is used to increase the current of the LED lights in the digital tube array.
[0083] Specifically, the current display unit is composed of a digital tube driver chip U8, a four-digit digital tube array, and Q1 to Q4. The digital tube driver chip U8 converts the digital signal sent by the control module 1 into a logic level signal through the I2C protocol to control the digital tube to display the value. The digit selection signal pins of the digital tube driver chip U8 are Pin5, Pin9, Pin10, and Pin11. The segment selection signal pins of the digital tube driver chip U8 are Pin1 to Pin4, Pin12, Pin13, Pin15, and Pin15. R23 is the current limiting resistor bank for each segment of the LED digital tube. The digital tube is of the common cathode type. The digit selection pins are pin6, pin8, pin9, and pin12. The remaining pins are segment selection pins. Q1 to Q4 are triodes for increasing the current of the LEDs in the digital tube. R25 to R28 are current limiting resistors.
[0084] Obviously, the above embodiments are merely examples given for clear illustration and not limitations on the implementation manners. For those of ordinary skill in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to enumerate all implementation manners here. And the obvious changes or modifications derived therefrom still fall within the protection scope of the present invention.
Claims
1. A parameter detection device, characterized in that, it includes: a control module, a power supply module, a voltage detection module, a display module, and a plurality of current detection modules. Among them, for each of the current detection modules, its first end is connected to the output end of the device under test, its second end is connected to the input end of the load, and its third end is connected to the control module. The device under test supplies power to the load; all the current detection modules shunt the current of the device under test. Each current detection module converts the collected current with the same amplitude into a voltage signal, amplifies the voltage signal by the same preset multiple, and judges whether it is in the full-scale state based on the preset full-scale reference voltage and the amplified voltage signal. When in the full-scale state, an alarm signal is sent to the control module. When not in the full-scale state, the voltage signal is converted into a voltage digital signal and sent to the control module; the voltage detection module, its first end is connected to the connection line between the device under test and the load, and its second end is connected to the control module, and is used to collect the voltage of the device under test, divide the voltage and send it to the control module; the control module is used to adjust the preset multiple based on the alarm signal until the current detection module is no longer in the full-scale state; sum the voltage digital signals sent by each received current detection module, and convert the sum value into the current value of the device under test; perform analog-to-digital conversion on the voltage of the device under test after voltage division to obtain the voltage value of the device under test, and send it to the display module; the display module, connected to the control module, is used to display the current value and voltage value; the power supply module, its first end is connected to the connection line between the device under test and the load, and its second end is connected to the control module, the voltage detection module, the display module, and each current detection module, and is used to convert the voltage of the device under test into a supply voltage to supply power to the control module, the voltage detection module, the display module, and each current detection module; the voltage detection module includes: a tenth capacitor, an eighth resistor, and a ninth resistor. Among them, for the eighth resistor, its first end is connected to the connection line between the device under test and the load, its second end is grounded through the ninth resistor, its second end is also grounded through the tenth capacitor, and its second end is also connected to the control module; the power supply module is a buck-boost circuit, which includes a power conversion chip and its peripheral circuit. Among them, for the power conversion chip, its input end is connected to the connection line between the device under test and the load, and its output end is connected to the control module, the voltage detection module, the display module, and each current detection module, and is used to convert the voltage of the device under test into a supply voltage to supply power to the control module, the voltage detection module, the display module, and each current detection module.
2. The parameter detection device according to claim 1, characterized in that, the current detection module includes: a current sampling unit, a range switching unit, and an analog-to-digital conversion unit. Among them, A current sampling unit, whose first end is connected to the output end of the device under test, whose second end is connected to the input end of the load, whose third end and fourth end are respectively and correspondingly connected to the first end and the second end of the range switching unit, whose fifth end is connected to the first end of the analog-to-digital conversion unit, and whose sixth end is connected to the power supply module, is configured to collect the current of the device under test after shunting, convert it into a voltage signal, and amplify the voltage signal by a preset multiple based on the preset multiple set by the range switching unit; An analog-to-digital conversion unit, whose second end is connected to the control module and whose third end is connected to the power supply module, is configured to determine whether it is in a full-scale state based on a preset full-scale reference voltage and the amplified voltage signal. When it is in a full-scale state, an alarm signal is sent to the control module. When it is not in a full-scale state, the voltage signal is converted into a voltage digital signal and sent to the control module; A range switching unit, whose third end is connected to the control module and whose fourth end is connected to the power supply module, is configured to enable the control module to control the range switching unit to adjust the preset multiple based on the alarm signal.
3. The parameter detection device according to claim 2, wherein, the current sampling unit includes: an amplification circuit and a follower circuit, where, the amplification circuit, whose first end is connected to the output end of the device under test, whose second end is connected to the input end of the load, whose third end is connected to the first end of the range switching unit, whose fourth end is respectively connected to the first end of the follower circuit and the second end of the range switching unit, whose fifth end is connected to the power supply module, and whose sixth end is grounded, is configured to collect the current of the device under test after shunting, convert it into a voltage signal, and amplify the voltage signal by a preset multiple based on the preset multiple set by the range switching unit; the follower circuit, whose second end is connected to the first end of the analog-to-digital conversion unit, whose third end is grounded, and whose fourth end is connected to the power supply module, is configured to follow the amplified voltage signal.
4. The parameter detection device according to claim 3, wherein, the amplification circuit includes: a first resistor, a second resistor, a first operational amplifier, a first capacitor, and a second capacitor, where, the first resistor, whose first end is connected to the output end of the device under test, and whose second end is connected to the non-inverting input terminal of the first operational amplifier through the second resistor; the first operational amplifier, whose inverting input terminal is connected to the first end of the range switching unit and the first end of the first capacitor, whose output terminal is respectively connected to the second end of the range switching unit, the second end of the first capacitor, and the first end of the follower circuit, whose positive power supply terminal is connected to the power supply module and grounded through the second capacitor, and whose negative power supply terminal is grounded.
5. The parameter detection device according to claim 3, wherein, the follower circuit includes: a comparator, whose non-inverting input terminal is connected to the fourth end of the amplification circuit, whose inverting input terminal is connected to its output terminal, whose output terminal is connected to the first end of the analog-to-digital conversion unit, whose positive power supply terminal is connected to the power supply module, and whose negative power supply terminal is grounded.
6. The parameter detection device according to claim 2, It is characterized in that the range switching unit includes: a third capacitor, a fourth capacitor, a switch module and a plurality of resistors, wherein the switch module includes a plurality of first terminals, a plurality of second terminals and a plurality of third terminals. Each first terminal is connected to the control module, each second terminal is connected to the third terminal of the current sampling unit, each subsequent third terminal is connected to the previous stage output terminal through a resistor, the first stage third terminal is connected to the fourth terminal of the current sampling unit through a resistor, and the last stage third terminal is grounded through a resistor; the fourth terminal of the switch module is connected to the power supply module and grounded through the third capacitor; the fifth terminal of the switch module is connected to the power supply module and grounded through the fourth capacitor; the control module controls the switch module to turn on the internal switch circuit based on the alarm signal to adjust the preset multiple.
7. The parameter detection device according to claim 2, It is characterized in that the analog-to-digital conversion unit includes: an analog-to-digital conversion circuit, a full-scale reference circuit, and a voltage matching circuit, wherein the analog-to-digital conversion circuit, its first terminal is connected to the fifth terminal of the current sampling unit, its second terminal is connected to the first terminal of the full-scale reference circuit, its third terminal is connected to the power supply module, its fourth, fifth, sixth, seventh, and eighth terminals are respectively connected to the first, second, third, fourth, and fifth terminals of the voltage matching circuit, and its ninth terminal is grounded, and is used to judge whether it is in the full-scale state based on the preset full-scale reference voltage output by the full-scale reference circuit and the amplified voltage signal. When in the full-scale state, an alarm signal is generated and sent to the control module through the voltage matching circuit; the full-scale reference circuit, its second terminal is connected to the power supply circuit, its third terminal is grounded, and is used to convert the voltage output by the power supply module into a preset full-scale reference voltage; the voltage matching circuit, its sixth terminal is connected to the power supply module, its seventh, eighth, and ninth terminals are connected to the control module, its tenth terminal is grounded, and its eleventh terminal is connected to the first terminal of the full-scale reference circuit, and is used to achieve voltage matching between the analog-to-digital conversion circuit and the control module.
8. The parameter detection device according to claim 7, It is characterized in that the full-scale reference circuit includes: a reference chip, a fifth capacitor, and a sixth capacitor, wherein the reference chip, its first terminal is grounded, its second terminal is connected to the second terminal of the analog-to-digital conversion unit and grounded through the fifth capacitor, and its third terminal is connected to the power supply module and grounded through the sixth capacitor.
9. The parameter detection device according to claim 8, It is characterized in that the analog-to-digital conversion circuit includes: an analog-to-digital conversion chip, a seventh capacitor, an eighth capacitor, a ninth capacitor and a third resistor, wherein The analog-to-digital conversion chip, its first end is connected to the first end of the voltage matching circuit, its second end is respectively connected to the first end of the third resistor and the first end of the voltage matching circuit, its third end is connected to the fifth end of the voltage matching circuit, its fourth end is connected to the fifth end of the current sampling unit and grounded through the seventh capacitor, its fifth end is connected to the first end of the full-scale reference circuit, its sixth end is connected to the fourth end of the voltage matching circuit, its seventh end is grounded, and its eighth end is connected to the third end of the voltage matching circuit; The eighth capacitor, its first end is connected to the second end of the third resistor, and its second end is connected to the power supply module through the ninth capacitor and grounded.
10. The parameter detection device according to claim 9, characterized in that, the voltage matching circuit includes: a voltage conversion chip, a fourth resistor, a fifth resistor, a sixth resistor and a seventh resistor, wherein, For the voltage conversion chip, its second end is connected to the second end of the third resistor, and its third end, fourth end, fifth end, sixth end and seventh end are respectively connected to the second end, first end, eighth end, sixth end and third end of the analog-to-digital conversion chip. Its fourth end and fifth end are respectively connected to the second end of the reference chip through the fourth resistor and the fifth resistor. Its tenth end is grounded through the sixth resistor, its eleventh end is grounded, its fourteenth end, fifteenth end, sixteenth end, seventeenth end and eighteenth end are all connected to the control module. Its eighteenth end is connected to the power supply module through the seventh resistor, and its nineteenth end is connected to the power supply module.
11. The parameter detection device according to claim 1, characterized in that, the display module includes a current display unit and a voltage display unit. Both the current display unit and the voltage display unit include: a digital tube driving chip, a current limiting circuit, a digital tube array and a current increasing circuit, wherein, The digital tube driving chip includes multiple first ends, multiple second ends and multiple third ends. Each first end is connected to the control module. Each second end is connected to the digital tube array through the current increasing circuit. Each third end is connected to the digital tube array through the current limiting circuit. Its fourth end is grounded and is used to output a segment selection signal and a bit selection signal based on the current value or voltage value sent by the control module; The digital tube array is used to display the corresponding current value or voltage value based on the segment selection signal and the bit selection signal; The current limiting circuit is used to limit the current between the digital tube chip and the digital tube array; The current increasing circuit is also connected to the power supply module and is used to increase the current of the LED lights in the digital tube array.
Citation Information
Patent Citations
Parameter detection device
CN214845679U