Wide-range voltage measuring device and method

By using voltage adjustment module, comparison module, decoder and gear switching module in the voltage measurement device, the appropriate measurement gear is automatically selected, which solves the problem of equipment damage caused by improper gear selection during voltage measurement, and improves the Measurement accuracy and safety.

CN118937785AInactive Publication Date: 2024-11-12KUSN MAIZHI FIXTURE TECH
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411089914.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the gear position for measuring the voltage cannot be accurately selected during voltage measurement, which may damage the measurement equipment when selecting inappropriate gear position measurement.

Method used

A wide range voltage measurement device is designed, including a voltage regulation module, a voltage comparison module, a decoder and a gear switching module. By amplifying or dividing the measured voltage, a BCD code is generated to automatically switch to the appropriate gear. Avoid inappropriate measurements.

Benefits of technology

Automatic adjustment of different voltage values ​​is achieved, which avoids damage to the measurement equipment and improves measurement accuracy and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118937785A_ABST
    Figure CN118937785A_ABST
Patent Text Reader

Abstract

The invention provides a wide-range voltage measuring device and method, and the device comprises a voltage regulation module which is used for amplifying or dividing a measured voltage, and outputting a voltage regulation value; the voltage comparison module is used for acquiring a voltage regulation value of the voltage regulation module and generating a comparison voltage value according to the voltage regulation value and a set threshold value; a decoder for generating a BCD code based on the comparison voltage value; the gear switching module is used for switching to a gear switch corresponding to the voltage regulation value according to the BCD code and outputting the corresponding voltage regulation value; and the conversion processing module is used for obtaining the voltage regulation value and obtaining the actual value of the measured voltage according to the gear information corresponding to the voltage regulation value. According to the invention, the measured voltage is amplified and divided through the adjusting module, a plurality of voltage values are converted into the BCD codes, corresponding voltage output is obtained through the BCD codes, the voltage values are calculated, and the problems of automatically selecting voltage gears during voltage measurement and preventing measurement equipment from being damaged are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of voltage measurement, and in particular to a wide range voltage measurement device and method. Background Art

[0002] In the current industrial field, wide power input has become the norm, and programmable power supplies are basically popular. Even programmable waveform output power supplies with a wide swing width have been widely used. How to accurately measure the voltage of the current power supply has become a difficult problem for engineers. Usually, to obtain the voltage at the current point, an ADC acquisition chip is required. When you need to collect a 0.01V voltage, it usually needs to be amplified. To collect a 1V voltage, you can collect it directly. To collect a 20V voltage, you need to divide the voltage. Different input power supply voltages require different gears to achieve a balance between accuracy and range. For example, when collecting a 20V voltage, using a 0.01V gear may directly cause the ADC to be fully biased and damage the measuring instrument. Therefore, before measuring, it is not possible to accurately select a gear suitable for measuring voltage, which makes it more dangerous to select an inappropriate gear during measurement, and may even damage the measuring equipment. Summary of the invention

[0003] In view of this, the embodiments of the present application are dedicated to providing a wide range voltage measurement device, method, equipment and storage medium, which are used to solve the problem in the prior art that the voltage measurement gear cannot be accurately selected when measuring voltage, and the measurement equipment is damaged when an inappropriate gear is selected for measurement.

[0004] According to a first aspect of the present invention, the present invention provides a wide range voltage measurement device, comprising:

[0005] A voltage regulating module is used to amplify or divide the voltage under test and output a voltage regulation value;

[0006] A voltage comparison module, connected to the voltage regulation module, for obtaining a voltage regulation value of the voltage regulation module, and generating a comparison voltage value according to the voltage regulation value and a set threshold value;

[0007] A decoder, connected to the voltage comparison module, for generating a BCD code based on the comparison voltage value;

[0008] a gear switching module, connected to the regulating module and the decoder respectively, for switching to a gear switch corresponding to the voltage regulating value according to the BCD code, and outputting the corresponding voltage regulating value;

[0009] The conversion processing module is used to obtain the voltage adjustment value and obtain the actual value of the measured voltage according to the gear information corresponding to the voltage adjustment value.

[0010] Preferably, the voltage regulating module includes a plurality of amplifying circuits with different amplification factors;

[0011] The amplifying circuit comprises a first resistor, a second resistor, a third resistor and a voltage amplifier, the measured voltage is connected to the non-inverting input terminal of the voltage amplifier through the first resistor, the inverting input terminal of the voltage amplifier is grounded through the second resistor, the output terminal of the voltage amplifier is connected to the inverting input terminal of the voltage amplifier through the third resistor, the power supply terminal of the voltage amplifier is connected to the power supply voltage VCC, and the ground terminal of the voltage amplifier is grounded;

[0012] The output end of the amplifier circuit is connected to the voltage comparison module.

[0013] Preferably, the voltage regulating module includes a plurality of voltage dividing circuits with different voltage dividing multiples;

[0014] The voltage divider circuit comprises a fourth resistor, a fifth resistor, a sixth resistor and a voltage divider, the measured voltage is connected to the non-phase input terminal of the voltage divider through the fourth resistor, the inverting input terminal of the voltage divider is grounded through the fifth resistor, the output terminal of the voltage divider is connected to the inverting input terminal of the voltage divider through the sixth resistor, the power supply terminal of the voltage divider is connected to the power supply voltage VCC, and the ground terminal of the voltage divider is grounded;

[0015] The output end of the voltage divider circuit is connected to the voltage comparison module.

[0016] Preferably, the amplification factors of the plurality of amplification circuits range from 1 to 100 times;

[0017] The voltage division multiples of the plurality of voltage division circuits range from 1 to 1000.

[0018] Preferably, the voltage comparison module comprises a plurality of hysteresis comparators;

[0019] Each of the amplifying circuits and each of the voltage dividing circuits is arranged in one-to-one correspondence with the hysteresis comparator. One end of each of the hysteresis comparators is connected to the voltage regulating circuit, and the other end is connected to the decoder.

[0020] Preferably, each of the amplifying circuits and each of the voltage dividing circuits and the hysteresis comparator form a hysteresis comparison circuit;

[0021] The hysteresis comparator circuit comprises a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor and the hysteresis comparator, the measured voltage is connected to the non-inverting input terminal of the hysteresis comparator through the eighth resistor, the inverting input terminal of the hysteresis comparator is respectively connected to the power supply voltage VCC through the ninth resistor, to the ground through the tenth resistor and to the reference voltage; the output terminal of the hysteresis comparator is connected to the non-inverting input terminal of the hysteresis comparator through the seventh resistor, the power supply terminal of the hysteresis comparator is connected to the power supply voltage VCC, and the ground terminal of the hysteresis comparator is grounded;

[0022] The output end of the hysteresis comparison circuit is connected to the decoder.

[0023] Preferably, the conversion processing module includes an ADC converter and a processor:

[0024] The ADC converter is connected to the gear switching module and is used to convert the voltage adjustment value into an ADC value;

[0025] The processor is connected to the ADC converter and the decoder respectively, and is used to select and obtain the actual value of the measured voltage through the gear information corresponding to the ADC value and the voltage adjustment value.

[0026] Preferably, the input end of the decoder is connected to the voltage comparison module, and the output end of the decoder is connected to the gear switching module and the processor respectively.

[0027] According to a second aspect of the present invention, a wide range voltage measurement method is also provided, comprising:

[0028] The measured voltage is input into the voltage regulating module for regulation to obtain a voltage regulation value;

[0029] Inputting the voltage adjustment value into the voltage comparison module, and comparing it with a set threshold value to obtain a comparison voltage value;

[0030] Inputting the comparison voltage value into a decoder for decoding to obtain a BCD code;

[0031] The gear switching module switches to the gear switch corresponding to the voltage adjustment value according to the BCD code, and outputs the corresponding voltage adjustment value;

[0032] The voltage adjustment value is obtained through a conversion processing module, and the actual value of the measured voltage is obtained according to the gear information corresponding to the voltage adjustment value.

[0033] Preferably, the step of acquiring the voltage adjustment value through a conversion processing module and obtaining the actual value of the measured voltage according to the gear information corresponding to the voltage adjustment value includes:

[0034] Acquire the voltage adjustment value through the ADC converter in the conversion processing module, and convert the voltage adjustment value into an ADC value;

[0035] The processor in the conversion processing module selects and obtains the actual value of the measured voltage through the gear information corresponding to the ADC value and the voltage adjustment value.

[0036] The effects provided in the content of the invention are only the effects of the embodiments, not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects:

[0037] According to the first aspect of the present invention, the voltage under test of the present invention is amplified and divided by the voltage adjustment module, and the voltage comparison module is used to compare the amplified and divided voltage values ​​to obtain the comparison voltage value, and then the comparison voltage value is generated by the decoder to generate a BCD code. Since the voltage value of the voltage under test is different and the voltage adjustment value after adjustment by the voltage adjustment module is different, the comparison voltage value obtained is different, and the BCD code generated each time is different, so that the voltage signal can be kept within the ideal range in the subsequent processing. The gear switching module switches to different gear switches through different BCD codes. At this time, the voltage of the corresponding gear will be turned on, and then the voltage adjustment value of the conduction is obtained through the conversion processing module and the actual voltage value is calculated according to the gear information. The gear can be automatically adjusted according to different voltage values ​​to avoid damage to the measuring equipment when selecting an inappropriate gear for measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 FIG. 1 is a schematic diagram of a wide-range voltage measurement device according to an embodiment of the present invention;

[0039] Figure 2 shows a schematic diagram of a voltage divider circuit according to an embodiment of the present invention;

[0040] Figure 3 shows a schematic diagram of an amplifier circuit according to an embodiment of the present invention;

[0041] Figure 4 The figure shows a schematic diagram of a conversion processing module according to an embodiment of the present invention;

[0042] Figure 5 A schematic flow chart of a wide range voltage measurement method according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0043] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some structures related to the present application are shown in the accompanying drawings, rather than all structures. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0044] The terms "including" and "having" and any variations thereof in this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0045] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0046] Figure 1 FIG. 4 shows a schematic diagram of a wide range voltage measurement device according to an embodiment of the present invention. Figure 1 As shown, the present invention provides a wide range voltage measurement device, including a voltage regulation module, a voltage comparison module, a decoder, a gear switching module and a conversion processing module:

[0047] Among them, the voltage regulation module is used to amplify or divide the measured voltage and output the voltage regulation value; the voltage comparison module is connected to the voltage regulation module and is used to obtain the voltage regulation value of the voltage regulation module and generate a comparison voltage value according to the voltage regulation value and the set threshold; the decoder is connected to the voltage comparison module and is used to generate a BCD code based on the comparison voltage value; the gear switching module is respectively connected to the regulation module and the decoder and is used to switch to the gear switch corresponding to the voltage regulation value according to the BCD code and output the corresponding voltage regulation value; the conversion processing module is used to obtain the voltage regulation value and obtain the actual value of the measured voltage according to the gear information corresponding to the voltage regulation value.

[0048] The voltage under test is passed through the voltage regulation module, which amplifies and divides the unknown voltage value at the same time, and cooperates with the voltage comparison module to compare the amplified and divided voltage values ​​to obtain the comparison voltage value, and then the comparison voltage value is generated by the decoder to generate the BCD code. Since the voltage value of the voltage under test is different and the voltage adjustment value after adjustment by the voltage regulation module is different, the comparison voltage value obtained is different, and the BCD code generated each time is different, which can keep the voltage signal within the ideal range in the subsequent processing. The gear switching module switches to different gear switches through different BCD codes. At this time, the voltage of the corresponding gear will be turned on, and then the voltage adjustment value of the conduction is obtained through the conversion processing module and the actual voltage value is calculated according to the gear information. The gear can be automatically adjusted according to different voltage values ​​to avoid damage to the measuring equipment when selecting an inappropriate gear for measurement.

[0049] In one embodiment, the voltage regulation module includes a plurality of amplification circuits with different amplification factors; the amplification circuit includes a first resistor, a second resistor, a third resistor and a voltage amplifier, the measured voltage is connected to the non-phase input terminal of the voltage amplifier through the first resistor, the inverting input terminal of the voltage amplifier is grounded through the second resistor, the output terminal of the voltage amplifier is connected to the inverting input terminal of the voltage amplifier through the third resistor, the power supply terminal of the voltage amplifier is connected to the power supply voltage VCC, and the ground terminal of the voltage amplifier is grounded; the output terminal of the amplification circuit is connected to the voltage comparison module.

[0050] The voltage regulation module includes a plurality of voltage divider circuits with different voltage divider multiples; the voltage divider circuit includes a fourth resistor, a fifth resistor, a sixth resistor and a voltage divider, the measured voltage is connected to the non-phase input terminal of the voltage divider through the fourth resistor, the inverting input terminal of the voltage divider is grounded through the fifth resistor, the output terminal of the voltage divider is connected to the inverting input terminal of the voltage divider through the sixth resistor, the power supply terminal of the voltage divider is connected to the power supply voltage VCC, and the ground terminal of the voltage divider is grounded; the output terminal of the voltage divider circuit is connected to the voltage comparison module.

[0051] The measured voltage is input into the voltage regulation module for simultaneous amplification and voltage division. Since the measured voltage value is unclear, when the voltage is too high or too low, it will cause damage to the measured instrument. Therefore, the voltage regulation module can flexibly select the appropriate amplification or voltage division multiple according to the size of the measured voltage. By selecting the appropriate circuit, the voltage signal can be kept within the ideal range in subsequent processing, thereby improving the measurement accuracy.

[0052] Figure 3 FIG. 4 shows a schematic diagram of an amplifier circuit according to an embodiment of the present invention. Figure 3As shown, in one embodiment, the amplification factors of the plurality of amplification circuits include 1 to 100 times; the voltage division factors of the plurality of voltage division circuits include 1 to 1000 times. In this embodiment, the amplification factors are 1, 10 and 20 times, and the voltage division factors are 10, 100 and 1000 times;

[0053] The 1x amplification circuit includes resistors R69, R70, R71 and voltage amplifier U23. The measured voltage is connected to the non-phase input terminal of the voltage amplifier U23 through resistor R69, the inverting input terminal of the voltage amplifier U23 is grounded through resistor R70, the output terminal of the voltage amplifier U23 is connected to the inverting input terminal of the voltage amplifier U23 through resistor R71, the power supply terminal of the voltage amplifier U23 is connected to the power supply voltage VCC, and the ground terminal of the voltage amplifier U23 is grounded; the output terminal of the amplification circuit is connected to the voltage comparison module.

[0054] The 10x amplification circuit includes resistors R72, R73, R74 and voltage amplifier U24. The measured voltage is connected to the non-phase input terminal of the voltage amplifier U24 through resistor R72, the inverting input terminal of the voltage amplifier U24 is grounded through resistor R73, the output terminal of the voltage amplifier U24 is connected to the inverting input terminal of the voltage amplifier U24 through resistor R74, the power supply terminal of the voltage amplifier U24 is connected to the power supply voltage VCC, and the ground terminal of the voltage amplifier U24 is grounded; the output terminal of the amplification circuit is connected to the voltage comparison module.

[0055] The 20x amplification circuit includes resistors R94, R96, R98 and a voltage amplifier U30. The measured voltage is connected to the non-phase input terminal of the voltage amplifier U30 through resistor R94, the inverting input terminal of the voltage amplifier U30 is grounded through resistor R96, the output terminal of the voltage amplifier U30 is connected to the inverting input terminal of the voltage amplifier U30 through resistor R98, the power supply terminal of the voltage amplifier U30 is connected to the power supply voltage VCC, and the ground terminal of the voltage amplifier U30 is grounded; the output terminal of the amplification circuit is connected to the voltage comparison module.

[0056] Figure 2 FIG. 4 shows a schematic diagram of a voltage divider circuit according to an embodiment of the present invention. Figure 2 As shown, the 10-fold voltage divider circuit includes resistors R66, R67, R68 and a voltage divider U22. The measured voltage is connected to the positive input terminal of the voltage divider U22 through the resistor R66, the negative input terminal of the voltage divider U22 is grounded through the resistor R67, the output terminal of the voltage divider U22 is connected to the negative input terminal of the voltage divider U22 through the resistor R68, the power supply terminal of the voltage divider U22 is connected to the power supply voltage VCC, and the ground terminal of the voltage divider U22 is grounded; the output terminal of the voltage divider circuit is connected to the voltage comparison module.

[0057] The 100-fold voltage divider circuit includes resistors R63, R64, R65 and a voltage divider U21. The measured voltage is connected to the positive input terminal of the voltage divider U21 through the resistor R63, the negative input terminal of the voltage divider U21 is grounded through the resistor R64, the output terminal of the voltage divider U21 is connected to the negative input terminal of the voltage divider U21 through the resistor R65, the power supply terminal of the voltage divider U21 is connected to the power supply voltage VCC, and the ground terminal of the voltage divider U21 is grounded; the output terminal of the voltage divider circuit is connected to the voltage comparison module.

[0058] The 1000 times voltage divider circuit includes resistor R60, resistor R61, resistor R62 and voltage divider U20. The measured voltage is connected to the positive input terminal of the voltage divider U20 through resistor R60, the inverting input terminal of the voltage divider U20 is grounded through resistor R61, the output terminal of the voltage divider U20 is connected to the inverting input terminal of the voltage divider U20 through resistor R62, the power supply terminal of the voltage divider U20 is connected to the power supply voltage VCC, and the ground terminal of the voltage divider U20 is grounded; the output terminal of the voltage divider circuit is connected to the voltage comparison module.

[0059] In one embodiment, the voltage comparison module includes multiple hysteresis comparators; each amplifier circuit and each voltage divider circuit are arranged in a one-to-one correspondence with the hysteresis comparator, and one end of each hysteresis comparator is connected to the voltage regulation circuit and the other end is connected to the decoder.

[0060] The hysteresis comparator provides a reference comparison function for the voltage signal, which is conducive to detecting changes in the voltage signal and making effective judgments. The use of the hysteresis comparator can effectively avoid false triggering caused by noise, improve the stability of the system, and prevent unstable states caused by slight changes in the input signal through the hysteresis interval, thereby increasing the reliability of the measurement.

[0061] In one embodiment, each amplifier circuit and each voltage divider circuit and the hysteresis comparator form a hysteresis comparison circuit;

[0062] The hysteresis comparison circuit includes a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor and a hysteresis comparator. The measured voltage is connected to the non-phase input terminal of the hysteresis comparator through the eighth resistor. The inverting input terminal of the hysteresis comparator is respectively connected to the power supply voltage VCC through the ninth resistor, to the ground through the tenth resistor, and to the reference voltage. The output terminal of the hysteresis comparator is connected to the non-phase input terminal of the hysteresis comparator through the seventh resistor, the power supply terminal of the hysteresis comparator is connected to the power supply voltage VCC, and the ground terminal of the hysteresis comparator is grounded. The output terminal of the hysteresis comparison circuit is connected to the decoder.

[0063] In this embodiment, the hysteresis comparator U11 and the 1x amplifier circuit form a hysteresis comparator circuit, which includes a resistor R34, a resistor R35, a resistor R36, a resistor R37 and the hysteresis comparator U11. The measured voltage is connected to the positive phase input terminal of the hysteresis comparator U11 through the resistor R35, and the negative phase input terminal of the hysteresis comparator U11 is connected to the power supply voltage VCC through the resistor R36, to the ground through the resistor R37, and to the reference voltage Vref3; the output terminal of the hysteresis comparator U11 is connected to the positive phase input terminal of the hysteresis comparator U11 through the resistor R34, the power supply terminal of the hysteresis comparator U11 is connected to the power supply voltage VCC, and the ground terminal of the hysteresis comparator U11 is grounded; the output terminal of the hysteresis comparator circuit is connected to the decoder.

[0064] The hysteresis comparator circuit composed of the hysteresis comparator U12 and the 10 times amplifier circuit includes a resistor R38, a resistor R39, a resistor R40, a resistor R41 and the hysteresis comparator U12. The measured voltage is connected to the non-phase input terminal of the hysteresis comparator U12 through the resistor R39, and the inverting input terminal of the hysteresis comparator U12 is connected to the power supply voltage VCC through the resistor R40, is grounded through the resistor R41, and is connected to the reference voltage Vref4; the output terminal of the hysteresis comparator U12 is connected to the non-phase input terminal of the hysteresis comparator U12 through the resistor R38, the power supply terminal of the hysteresis comparator U12 is connected to the power supply voltage VCC, and the ground terminal of the hysteresis comparator U12 is grounded; the output terminal of the hysteresis comparator circuit is connected to the decoder.

[0065] The hysteresis comparator circuit composed of the hysteresis comparator U31 and the 20 times amplifier circuit includes a resistor R92, a resistor R93, a resistor R95, a resistor R97 and the hysteresis comparator U31. The measured voltage is connected to the non-phase input terminal of the hysteresis comparator U31 through the resistor R93, and the inverting input terminal of the hysteresis comparator U31 is connected to the power supply voltage VCC through the resistor R95, is grounded through the resistor R97, and is connected to the reference voltage Vref3; the output terminal of the hysteresis comparator U31 is connected to the non-phase input terminal of the hysteresis comparator U31 through the resistor R92, the power supply terminal of the hysteresis comparator U31 is connected to the power supply voltage VCC, and the ground terminal of the hysteresis comparator U31 is grounded; the output terminal of the hysteresis comparator circuit is connected to the decoder.

[0066] The hysteresis comparator circuit composed of the hysteresis comparator U10 and the 10-times voltage divider circuit includes a resistor R30, a resistor R31, a resistor R32, a resistor R33 and the hysteresis comparator U10. The measured voltage is connected to the positive phase input terminal of the hysteresis comparator U10 through the resistor R31, and the negative phase input terminal of the hysteresis comparator U10 is respectively connected to the power supply voltage VCC through the resistor R32, to the ground through the resistor R33, and to the reference voltage Vref3; the output terminal of the hysteresis comparator U10 is connected to the positive phase input terminal of the hysteresis comparator U10 through the resistor R30, the power supply terminal of the hysteresis comparator U10 is connected to the power supply voltage VCC, and the ground terminal of the hysteresis comparator U10 is grounded; the output terminal of the hysteresis comparator circuit is connected to the decoder.

[0067] The hysteresis comparator circuit composed of the hysteresis comparator U9 and the 100-times voltage divider circuit includes a resistor R26, a resistor R27, a resistor R28, a resistor R29 and the hysteresis comparator U9. The measured voltage is connected to the positive phase input terminal of the hysteresis comparator U9 through the resistor R27, and the negative phase input terminal of the hysteresis comparator U9 is connected to the power supply voltage VCC through the resistor R28, is grounded through the resistor R29, and is connected to the reference voltage Vref3; the output terminal of the hysteresis comparator U9 is connected to the positive phase input terminal of the hysteresis comparator U9 through the resistor R26, the power supply terminal of the hysteresis comparator U9 is connected to the power supply voltage VCC, and the ground terminal of the hysteresis comparator U9 is grounded; the output terminal of the hysteresis comparator circuit is connected to the decoder.

[0068] The hysteresis comparator circuit composed of the hysteresis comparator U1 and the 1000 times amplification circuit includes a resistor R15, a resistor R18, a resistor R17, a resistor R25 and the hysteresis comparator U1. The measured voltage is connected to the non-phase input terminal of the hysteresis comparator U1 through the resistor R18, and the inverting input terminal of the hysteresis comparator U1 is respectively connected to the power supply voltage VCC through the resistor R17, to the ground through the resistor R25, and to the reference voltage Vref3; the output terminal of the hysteresis comparator U1 is connected to the non-phase input terminal of the hysteresis comparator U1 through the resistor R15, the power supply terminal of the hysteresis comparator U1 is connected to the power supply voltage VCC, and the ground terminal of the hysteresis comparator U1 is grounded; the output terminal of the hysteresis comparator circuit is connected to the decoder.

[0069] Figure 4 FIG. 4 shows a schematic diagram of a conversion processing module according to an embodiment of the present invention. Figure 4 As shown, in one embodiment, the conversion processing module includes an ADC converter and a processor:

[0070] The ADC converter is connected to the gear switching module and is used to convert the voltage adjustment value into an ADC value;

[0071] The processor is connected to the ADC converter and the decoder respectively, and is used to select and obtain the actual value of the measured voltage through the gear information corresponding to the ADC value and the voltage adjustment value.

[0072] The voltage adjustment value is converted into the ADC value through the ADC converter to ensure the accuracy of the measurement result. The digital processor can accurately calculate and convert the measurement data to improve the efficiency of the measurement. The cooperation between the ADC converter and the processor enables the system to process voltages within a variety of voltage ranges and realize multi-functional measurement.

[0073] In one embodiment, the input end of the decoder is connected to the voltage comparison module, and the output end of the decoder is connected to the gear switching module and the processor respectively.

[0074] The decoder can realize rapid identification and processing of signals.

[0075] For example, as shown in Table 1, a 1V voltage is input and the result is that the B position is appropriate.

[0076] Table 1

[0077]

[0078] As shown in Table 2, a voltage of 0.1V is input and the result shows that the C position is appropriate.

[0079] Table 2

[0080]

[0081] Among them, the comparator threshold of A is greater than that of B, the comparator threshold of B is greater than that of C, and the comparator threshold of C is greater than that of D.

[0082] Therefore, if an input voltage is greater than the setting value of the B comparator, then this voltage Uin must be A>Uin>B>C>D;

[0083] If an input voltage is greater than the setting value of the C comparator, then this voltage Uin must be A>B>Uin>C>D.

[0084] As shown in Table 3, by setting multiple gears, multiple comparators are arranged and combined as follows to ultimately deliver different values ​​to the decoder.

[0085] Table 3

[0086] Input voltage 1*mV 100*mV 1*V 10*V 20*V Decoder 1 1 1 1 1 1 Decoder 2 0 1 1 1 1 Decoder 3 0 0 1 1 1 Decoder 4 0 0 0 1 1 Decoder 5 0 0 0 0 1

[0087] According to the level status of each channel, it is sent to the decoder, converted into BCD code, and notified to switch the analog switch to the appropriate gear. After ADC acquisition, it is sent to the processor, and the processor selects different conversion formulas according to the current ADC value and the gear of the decoder to convert it into the final result.

[0088] Figure 5FIG. 4 is a schematic flow chart showing a method for measuring a wide range voltage according to an embodiment of the present invention. Figure 5 As shown, a wide range voltage measurement method is also provided, comprising:

[0089] Step S100, inputting the measured voltage into the voltage regulating module for regulation to obtain a voltage regulation value;

[0090] Step S200, inputting the voltage adjustment value into the voltage comparison module, and comparing it with the set threshold value to obtain a comparison voltage value;

[0091] Step S300, inputting the comparison voltage value into a decoder for decoding to obtain a BCD code;

[0092] Step S400, the gear switching module switches to the gear switch corresponding to the voltage adjustment value according to the BCD code, and outputs the corresponding voltage adjustment value;

[0093] Step S500, obtaining a voltage adjustment value through a conversion processing module, and obtaining an actual value of the measured voltage according to the gear information corresponding to the voltage adjustment value.

[0094] The voltage adjustment value is obtained through the conversion processing module, and the actual value of the measured voltage is obtained according to the gear information corresponding to the voltage adjustment value, including:

[0095] Obtaining a voltage adjustment value through an ADC converter in a conversion processing module, and converting the voltage adjustment value into an ADC value;

[0096] The processor in the conversion processing module selects the actual value of the measured voltage through the gear information corresponding to the ADC value and the voltage adjustment value.

[0097] The above are only some specific implementation methods of the present application, and any other improvements made based on the concept of the present application are deemed to be within the protection scope of the present application.

Claims

1. A wide range voltage measurement device, characterized in that: include: A voltage regulating module is used to amplify or divide the voltage under test and output a voltage regulation value; A voltage comparison module, connected to the voltage regulation module, for obtaining a voltage regulation value of the voltage regulation module, and generating a comparison voltage value according to the voltage regulation value and a set threshold value; A decoder, connected to the voltage comparison module, for generating a BCD code based on the comparison voltage value; a gear switching module, connected to the regulating module and the decoder respectively, for switching to a gear switch corresponding to the voltage regulating value according to the BCD code, and outputting the corresponding voltage regulating value; The conversion processing module is used to obtain the voltage adjustment value and obtain the actual value of the measured voltage according to the gear information corresponding to the voltage adjustment value.

2. The device according to claim 1, characterized in that The voltage regulation module includes a plurality of amplifier circuits with different amplification factors; The amplifying circuit comprises a first resistor, a second resistor, a third resistor and a voltage amplifier, the measured voltage is connected to the non-inverting input terminal of the voltage amplifier through the first resistor, the inverting input terminal of the voltage amplifier is grounded through the second resistor, the output terminal of the voltage amplifier is connected to the inverting input terminal of the voltage amplifier through the third resistor, the power supply terminal of the voltage amplifier is connected to the power supply voltage VCC, and the ground terminal of the voltage amplifier is grounded; The output end of the amplifier circuit is connected to the voltage comparison module.

3. The device according to claim 1, characterized in that The voltage regulation module includes a plurality of voltage division circuits with different voltage division multiples; The voltage divider circuit comprises a fourth resistor, a fifth resistor, a sixth resistor and a voltage divider, the measured voltage is connected to the non-phase input terminal of the voltage divider through the fourth resistor, the inverting input terminal of the voltage divider is grounded through the fifth resistor, the output terminal of the voltage divider is connected to the inverting input terminal of the voltage divider through the sixth resistor, the power supply terminal of the voltage divider is connected to the power supply voltage VCC, and the ground terminal of the voltage divider is grounded; The output end of the voltage divider circuit is connected to the voltage comparison module.

4. The device according to claims 2 and 3, characterized in that The amplification factors of the plurality of amplification circuits include 1 to 100 times; The voltage division multiples of the plurality of voltage division circuits range from 1 to 1000.

5. The device according to claim 4, characterized in that The voltage comparison module includes a plurality of hysteresis comparators; Each of the amplifying circuits and each of the voltage dividing circuits is arranged in one-to-one correspondence with the hysteresis comparator. One end of each of the hysteresis comparators is connected to the voltage regulating circuit, and the other end is connected to the decoder.

6. The device according to claim 5, characterized in that Each of the amplifier circuits and each of the voltage divider circuits and the hysteresis comparator form a hysteresis comparison circuit; The hysteresis comparator circuit comprises a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor and the hysteresis comparator, the measured voltage is connected to the non-inverting input terminal of the hysteresis comparator through the eighth resistor, the inverting input terminal of the hysteresis comparator is respectively connected to the power supply voltage VCC through the ninth resistor, to the ground through the tenth resistor and to the reference voltage; the output terminal of the hysteresis comparator is connected to the non-inverting input terminal of the hysteresis comparator through the seventh resistor, the power supply terminal of the hysteresis comparator is connected to the power supply voltage VCC, and the ground terminal of the hysteresis comparator is grounded; The output end of the hysteresis comparison circuit is connected to the decoder.

7. The device according to claim 1, characterized in that The conversion processing module includes an ADC converter and a processor: The ADC converter is connected to the gear switching module and is used to convert the voltage adjustment value into an ADC value; The processor is connected to the ADC converter and the decoder respectively, and is used to select and obtain the actual value of the measured voltage through the gear information corresponding to the ADC value and the voltage adjustment value.

8. The device according to claim 7, characterized in that The input end of the decoder is connected to the voltage comparison module, and the output end of the decoder is connected to the gear switching module and the processor respectively.

9. A wide range voltage measurement method, characterized in that: include: The measured voltage is input into the voltage regulating module for regulation to obtain a voltage regulation value; Inputting the voltage adjustment value into the voltage comparison module, and comparing it with a set threshold value to obtain a comparison voltage value; Inputting the comparison voltage value into a decoder for decoding to obtain a BCD code; The gear switching module switches to the gear switch corresponding to the voltage adjustment value according to the BCD code, and outputs the corresponding voltage adjustment value; The voltage adjustment value is obtained through a conversion processing module, and the actual value of the measured voltage is obtained according to the gear information corresponding to the voltage adjustment value.

10. The method according to claim 9, characterized in that The step of obtaining the voltage adjustment value through a conversion processing module and obtaining the actual value of the measured voltage according to the gear information corresponding to the voltage adjustment value includes: Acquire the voltage adjustment value through the ADC converter in the conversion processing module, and convert the voltage adjustment value into an ADC value; The processor in the conversion processing module selects and obtains the actual value of the measured voltage through the gear information corresponding to the ADC value and the voltage adjustment value.

Citation Information

Patent Citations

  • Wide-voltage electrical signal voltage detecting device

    CN104316755A

  • Isolated high-precision wide-range voltage measurement system and measurement method

    CN112730970A

  • Self-adaptive wide-range voltage signal measuring system and measuring method

    CN114113763A

  • Multi-gear voltage detection circuit

    CN117826915A

  • Voltage regulation circuit and voltage measurement circuit

    CN218866381U