CN115902372B - Direct-current voltage measurement method and device, electronic equipment and storage medium - Google Patents

Direct-current voltage measurement method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115902372B
CN115902372B CN202211285983.9A CN202211285983A CN115902372B CN 115902372 B CN115902372 B CN 115902372B CN 202211285983 A CN202211285983 A CN 202211285983A CN 115902372 B CN115902372 B CN 115902372B
Authority
CN
China
Prior art keywords
voltage
discharge
measurement
discharge time
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211285983.9A
Other languages
Chinese (zh)
Other versions
CN115902372A (en
Inventor
刘国福
柳革命
李岩
邹兰平
尹高锋
刘婵娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou College Of Commerce
Original Assignee
Guangzhou College Of Commerce
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou College Of Commerce filed Critical Guangzhou College Of Commerce
Priority to CN202211285983.9A priority Critical patent/CN115902372B/en
Publication of CN115902372A publication Critical patent/CN115902372A/en
Application granted granted Critical
Publication of CN115902372B publication Critical patent/CN115902372B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention discloses a direct-current voltage measurement method, a direct-current voltage measurement device, electronic equipment and a storage medium, wherein the method comprises the following steps: when the measurement curve is obtained, the measurement voltage can be determined to be reduced from the capacitor voltage dividing circuit to the test discharge time of the set discharge voltage, and then the target measured voltage corresponding to the test discharge time is determined from a predetermined relation table to be used as the voltage at two ends of the second direct current element. The relation table can record the measurement relation between a plurality of discharge times and the measured voltage in advance, the measured voltage can be accurately measured based on a table look-up method, meanwhile, the piezoelectric device is less influenced by the ambient temperature and the drifting charges in the device, the piezoelectric device has no hysteresis characteristic, and the error generated in the measurement process can be obviously reduced.

Description

Direct-current voltage measurement method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of voltage measurement, in particular to a direct-current voltage measurement method, a direct-current voltage measurement device, electronic equipment and a storage medium.
Background
The measurement of the direct voltage in the prior art is generally realized by a resistor divider circuit, and the measurement circuit needs to be in direct contact with the measured voltage. In order to realize non-contact measurement of direct-current voltage, the capacitive voltage dividing circuit suitable for alternating-current voltage measurement is improved, and the capacitive voltage dividing circuit is a new idea for realizing non-contact measurement of direct-current voltage.
The existing scheme for measuring direct current voltage based on a capacitive voltage dividing circuit has the following problems: firstly, a capacitance voltage division circuit adopting a varactor mainly utilizes the junction capacitance and the voltage capacitance characteristic of reverse bias voltage of the varactor, so that the sensitivity of the occasion for measuring unipolar direct current voltage is high, but because the varactor is a semiconductor device, the effect of ambient temperature and drifting charge in the device is larger, and errors are easy to generate; secondly, a capacitive voltage divider circuit adopting an MLCC capacitor has the main defect that the MLCC capacitor generally has hysteresis characteristics, so that the error of a measurement result is obvious.
Therefore, a DC voltage measurement scheme with small measurement errors is very worthy of research.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for measuring a dc voltage with a small measurement error.
An aspect of an embodiment of the present invention provides a method for measuring a dc voltage, including:
acquiring a measurement curve of measurement voltage relative to discharge time, wherein the measurement voltage is the voltage between a detection point set in a capacitive voltage division circuit and ground;
determining a test discharge time for the measured voltage to drop to a set discharge voltage according to the measurement curve;
determining a target measured voltage corresponding to the test discharge time from a preset relation table, wherein the relation table comprises a plurality of sets of candidate discharge time for the candidate measurement voltages to drop to the set candidate discharge voltage and the corresponding relation between the candidate discharge time and the candidate measured voltages;
the switch, the discharge resistor and one end of the piezoelectric device in the capacitive voltage dividing circuit are connected in parallel with the detection point, the other end of the switch is connected with the first direct current element, the other end of the piezoelectric device is connected with the coupling capacitor, the other end of the coupling capacitor is connected with the second direct current element, the first direct current element, the discharge resistor and the other end of the second direct current element are connected in parallel with the ground, and the voltage at two ends of the second direct current element is used as the detected voltage and is not zero.
Optionally, the determining of the measurement curve includes:
acquiring a plurality of sampling voltages between the detection point and the ground, which are acquired according to a set sampling period after the switch is disconnected;
determining the measurement curve according to a plurality of the sampling voltages;
after the switch is disconnected, the piezoelectric device, the coupling capacitor, the second direct current element and the discharge resistor form a discharge loop, the piezoelectric device and the coupling capacitor start to discharge, and the measurement voltage starts to drop.
Optionally, the determining the test discharge time for the measured voltage to drop to the set discharge voltage according to the measurement curve includes:
determining a target sampling voltage with the smallest absolute value of a difference value from the discharge voltage on the measurement curve, wherein the target sampling voltage is larger than or equal to the discharge voltage;
and determining the discharge time between the target sampling time corresponding to the target sampling voltage and the time when the switch is turned off as the test discharge time.
Optionally, the method further comprises:
determining a reference discharge time when the measured voltage drops to a set discharge voltage when the measured voltage is zero;
and determining the polarity of the tested voltage which is not zero according to the reference discharge time and the test discharge time.
Optionally, determining the polarity of the measured voltage being non-zero according to the reference discharge time and the test discharge time includes:
if the measured discharge time is greater than the reference discharge time, determining that the measured voltage is a positive voltage;
and if the measured discharge time is smaller than the reference discharge time, determining that the measured voltage is a negative voltage.
Another aspect of the embodiment of the present invention further provides a device for measuring dc voltage, including:
the curve acquisition unit is used for acquiring a measurement curve of measurement voltage relative to discharge time, wherein the measurement voltage is the voltage between a detection point set in the capacitive voltage division circuit and the ground;
a discharge time determining unit for determining a test discharge time for the measured voltage to drop to a set discharge voltage according to the measurement curve;
the measured voltage determining unit is used for determining target measured voltage corresponding to the test discharge time from a preset relation table as the voltage at two ends of the second direct current element, wherein the relation table comprises the candidate discharge time of a plurality of groups of candidate measurement voltages falling to the set candidate discharge voltage and the corresponding relation between the plurality of groups of candidate measured voltages;
the switch, the discharge resistor and one end of the piezoelectric device in the capacitive voltage dividing circuit are connected in parallel with the detection point, the other end of the switch is connected with the first direct current element, the other end of the piezoelectric device is connected with the coupling capacitor, the other end of the coupling capacitor is connected with the second direct current element, the first direct current element, the discharge resistor and the other end of the second direct current element are connected in parallel with the ground, and the voltage at two ends of the second direct current element is used as the detected voltage and is not zero.
Optionally, the determining of the measurement curve includes:
acquiring a plurality of sampling voltages between the detection point and the ground, which are acquired according to a set sampling period after the switch is disconnected;
determining the measurement curve according to a plurality of the sampling voltages;
after the switch is disconnected, the piezoelectric device, the coupling capacitor, the second direct current element and the discharge resistor form a discharge loop, the piezoelectric device and the coupling capacitor start to discharge, and the measurement voltage starts to drop.
Another aspect of the embodiment of the invention also provides an electronic device, which includes a processor and a memory;
the memory is used for storing programs;
the processor executes the program to implement the method described above.
Another aspect of the embodiments of the present invention also provides a computer-readable storage medium storing a program that is executed by a processor to implement the above-described method.
Embodiments of the present invention also disclose a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read from a computer-readable storage medium by a processor of a computer device, and executed by the processor, to cause the computer device to perform the foregoing method.
The invention utilizes the piezoelectric device and the coupling capacitor to form the capacitive voltage division circuit, the piezoelectric device is a passive device, the withstand voltage range is large, the measuring range of the measurable direct current voltage is large, therefore, the measuring curve of the measuring voltage relative to the discharge time can be determined based on the measuring voltage between the detecting point and the ground, when the measuring curve is obtained, the measuring voltage can be determined to be reduced from the capacitive voltage division circuit to the discharge time according to the measuring curve, then the target measured voltage corresponding to the test discharge time is determined from the predetermined relation table, as the two-end voltage of the second direct current element, the relation table can record the measuring relation between a plurality of discharge times and the measured voltage in advance, the measured voltage can be accurately measured based on the table lookup method, meanwhile, the piezoelectric device has low influence of ambient temperature and drifting charge in the device and has no hysteresis characteristic, and the error generated in the measuring process can be obviously reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for measuring dc voltage according to an embodiment of the present invention;
fig. 2 is a circuit configuration diagram of a capacitive voltage divider circuit according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a graph of measured voltage versus discharge time according to an embodiment of the present invention;
fig. 4 is a block diagram of a dc voltage measurement device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
First, a capacitive voltage divider circuit in the present invention will be described.
Specifically, the capacitive voltage divider circuit may include a switch, a discharge resistor, a piezoelectric device, a coupling capacitor, a first dc component, and a second dc component. The first and second dc components may be active components, which may generate dc voltages, for example: a voltage source, a controlled voltage source, etc. And the piezoelectric device may include: piezoelectric devices made of piezoelectric materials such as quartz, piezoelectric ceramics, novel polymer materials (such as polyvinylidene fluoride, polyvinyl chloride and the like), and other optional materials.
One end of a switch, a discharge resistor and a piezoelectric device in the capacitive voltage dividing circuit can be connected in parallel with a set detection point, the other end of the switch can be connected with a first direct current element, the other end of the piezoelectric device can be connected with a coupling capacitor, the other end of the coupling capacitor can be connected with a second direct current element, the other ends of the first direct current element, the discharge resistor and the second direct current element can be connected in parallel with ground, and the voltage at two ends of the second direct current element can be used as a detected voltage and is not zero.
Referring to fig. 1, an embodiment of the present invention provides a method for measuring a dc voltage, which specifically includes the following steps:
step S100: and obtaining a measurement curve of measurement voltage relative to discharge time, wherein the measurement voltage is the voltage between a detection point set in the capacitive voltage division circuit and the ground.
Specifically, the voltage between the detection point and the ground in the capacitive voltage division circuit can be used as a measurement voltage, and then a curve of the measurement voltage with respect to the discharge time can be obtained as a measurement curve.
Step S110: and determining the test discharge time for the measured voltage to drop to the set discharge voltage according to the measurement curve.
Specifically, since the measured voltage gradually decreases within a period of time after the measured voltage starts to discharge, the discharge voltage may be set to a certain ratio of the measured voltage, and the test discharge time may be the time when the measured voltage starts to discharge from the capacitive voltage divider circuit to decrease to the discharge voltage. In an alternative embodiment, the discharge voltage of the present invention may be set as: the discharge time of the measured voltage is the voltage corresponding to the time constant of the discharge loop, and the specific discharge loop can be determined by the capacitive voltage dividing circuit.
Step S120: and determining a target measured voltage corresponding to the test discharge time from a preset relation table, wherein the relation table comprises the candidate discharge time of a plurality of groups of candidate measurement voltages falling to the set candidate discharge voltage and the corresponding relation between the plurality of groups of candidate measured voltages as the voltages at two ends of the second direct current element.
Specifically, the correspondence between a plurality of sets of candidate discharge times and candidate measured voltages may be recorded in advance in the relationship table, and each candidate discharge time may correspond to one candidate measured voltage. The candidate measured voltage can be based on the capacitive voltage dividing circuit, and a second direct current element with known voltage is utilized to determine the candidate measured voltage between the detection point and the ground and the candidate measurement curve related to the discharge time, further determine the candidate discharge time when the candidate measured voltage is discharged and falls to the set discharge voltage, and then establish a relation table of the candidate measured voltage and the candidate discharge time.
It should be noted that, in order to reduce errors, the relation table may select multiple sets of candidate measured voltages in the building process, where the difference between each set of candidate measured voltages is smaller, so as to cover each voltage value as much as possible, and after determining a test discharge time, the relation table may determine, based on the refined relation table, a target measured voltage corresponding to the test discharge time, so as to implement measurement of dc voltages at two ends of the second dc element.
Next, a description will be given of a determination process of the measurement curve acquired in the above step S100.
Specifically, in the capacitive voltage divider circuit described above, after the switch is turned off, the piezoelectric device, the coupling capacitor, the second dc element, and the discharge resistor may form a discharge loop, and the piezoelectric device and the coupling capacitor start to discharge, so that the measurement voltage starts to drop.
In particular, the process of determining the measurement profile may include the following:
s1, acquiring a plurality of sampling voltages between the detection point and the ground, wherein the sampling voltages are acquired according to a set sampling period after the switch is disconnected.
Specifically, after the switch is turned off, the measured voltage, that is, the voltage between the detection point and the ground starts to drop, and then the measured voltage can be sampled by the analog-to-digital conversion circuit according to a set sampling period, and a plurality of sampling voltages are obtained.
In addition, in order to ensure the accuracy of the measurement curve and reduce the time interval error, the sampling frequency can be increased, and more sampling voltages can be obtained.
S2, determining the measurement curve according to the plurality of sampling voltages.
Specifically, the sampling time of each sampling voltage can be determined, and then a plurality of acquired sampling voltages are fitted into a curve related to the discharge time as a measurement curve. The abscissa of the measurement curve may represent time and the ordinate may represent measurement voltage.
For the sake of calculation, the abscissa of the measurement curve being zero may refer to the time when the switch is turned off just before, and the abscissa corresponding to each sampling voltage may be converted into a time interval with the time when the switch is turned off.
Further, the step S110 is described in detail, which includes the following steps:
s1, determining a target sampling voltage with the minimum absolute value of a difference value with the discharge voltage on the measurement curve, wherein the target sampling voltage is larger than or equal to the discharge voltage.
S2, determining the discharge time between the target sampling time corresponding to the target sampling voltage and the time when the switch is turned off as the test discharge time.
Specifically, considering that the set discharge voltage does not necessarily coincide with a certain sampling voltage, a target sampling voltage with the smallest absolute value of the difference value with the discharge voltage can be determined from a plurality of sampling voltages, the target sampling voltage can be larger than the discharge voltage or smaller than the discharge voltage, and the embodiment of the invention rounds up, namely, the sampling voltage with the smallest absolute value of the difference value with the discharge voltage and larger than or equal to the discharge voltage is taken as the target sampling voltage, so that the sampling time corresponding to the target sampling voltage and the discharge time between the moment when the switch is turned off can be determined as the test discharge time.
The invention can measure the voltage at two ends of the second direct current element, and can also determine the polarity of the voltage at two ends of the second direct current element, and the process of determining the polarity can comprise the following steps:
s1, determining the reference discharge time of the measured voltage falling to the set discharge voltage when the measured voltage is zero.
Specifically, a time interval during which the measured voltage drops to the set discharge voltage, which may be used as the reference discharge time, may be determined when the applied voltage across the second dc component is zero, i.e., when the measured voltage is zero.
S2, determining the polarity of the tested voltage which is not zero according to the reference discharge time and the test discharge time.
Specifically, as the capacitance of the piezoelectric device changes along with the measured voltage, the measured voltage is positive, the distance between two electrode plates of the piezoelectric device is small, the capacitance is large, and the corresponding test discharge time is long; when the measured voltage is negative, the distance between two electrode plates of the piezoelectric device is increased, the capacitance is decreased, and the corresponding test discharge time is shortened. Therefore, the polarity when the measured voltage is not zero can be determined according to the comparison of the reference discharge time and the test discharge time.
According to the relationship between the polarity of the measured voltage and the test discharge time, if the measured discharge time is greater than the reference discharge time, the measured voltage can be determined to be a positive voltage; if the measured discharge time is less than the reference discharge time, the measured voltage can be determined to be a negative voltage.
The embodiment of the invention can determine the test discharge time based on the capacitive voltage dividing circuit, further determine the target measured voltage corresponding to the test discharge time from a relation table obtained by a plurality of groups of known candidate measured voltages in advance, realize non-contact measurement of the direct-current voltage by utilizing the inverse piezoelectric effect of the piezoelectric device and the discharge process of the circuit, and has the advantages of large withstand voltage range, larger measured direct-current voltage range, smaller influence by external environment, obvious error reduction and improvement of the accuracy of direct-current voltage measurement because the piezoelectric device in the capacitive voltage dividing circuit is a passive device.
The invention will now be illustrated by way of specific examples in connection with all embodiments of the invention.
Specifically, the capacitive voltage divider circuit of the present invention can refer to fig. 2, in which the coupling capacitance C of the known capacitor 1 Capacitance C of piezoelectric device 2 (which changes with the voltage across the piezoelectric device), a discharge resistor R of known resistance 1 DC voltage V of first DC element of known voltage e Switch S 1 DC voltage V of the second DC element m Measuring voltage u o (t) the analog-to-digital conversion circuit can be used for collecting the measurement voltage u according to a set period o (t) the microcontroller module may be used to control the switch, the display module may be used to display the measurement profile, and the dc power module may be used to power the modules.
First, switch S 1 In the closed state, the voltage u is measured o (t=0)=V e Then the switch is turned off during measurement, u o (t) will pass through the discharge resistor R 1 Second DC element V m Coupling capacitor C 1 Piezoelectric device C 2 The formed discharge loop discharges. C during discharge 1 And C 1 Series connection, equivalent capacitance isThe time constant of the discharge circuit is therefore +.>And capacitance C of piezoelectric device 2 And the measured voltage V m In turn, the curve u can be measured o (t) calculating the measured voltage V from the time constant of (t) m Is a function of the magnitude of (a).
u o After the (t) curve is sampled by the analog-to-digital conversion circuit, the time constant tau can be calculated by the operation processing in the microcontroller module, and then the measured voltage V can be calculated by the table look-up method m And determining the polarity of the measured voltage according to the time constant and the pre-obtained reference time constant, and finally outputting the amplitude and the polarity of the measured voltage through the display module.
Next, a test time interval, i.e., a process for determining the time constant τ, is described, which specifically includes the following steps:
discharge voltage u o And (t) acquiring the waveform curve by a digital-to-analog conversion circuit, wherein the waveform curve is shown in figure 3. Let the sampling period of the D/A converter be T s The sampled data is sequentially u o (0),u o (T s ),u o (2T s ),…,u o (NT s ). When a certain sampling point u o (nT s ) Fall within interval u o (nT s )≥0.368V e >u o ((n+1)T s ) When, then time interval τ=nt s . To reduce the time interval measurement error, the sampling period T s The smaller the better, i.e. sampling frequency f s =1/T s The larger the better.
Next, a process for judging the polarity of the measured dc voltage will be described, which specifically includes the following steps:
due to time constantIn the above, C 1 Is constant, C 2 Along with the measured voltage V m Is varied by varying the size of (a). According to the capacitance-voltage characteristics of the piezoelectric device, there are three cases:
(1) when V is m When=0, the capacitance at this time is C 20 τ is
(2) When V is m >0, at this time, the distance between the two electrode plates of the piezoelectric device is smaller, the capacitance is larger, and the capacitance is C 2+ And C 2+ >C 20 τ isAnd τ +0
(3) When V is m <0, at this time, the distance between two polar plates of the piezoelectric device is increased, the capacitance is decreased, and C is 2- And C 2- <C 20 τ isAnd τ -0
So long as the measured voltage V is calibrated in advance m τ when=0 0 Measured τ>τ 0 When the measured voltage is positive, the measured voltage can be judged; measured τ<τ 0 And when the measured voltage is negative, the measured voltage can be judged.
The above embodiment describes determining the measured voltage V based on a look-up table m The invention can also provide another method for solving the measured voltage V m Still taking the capacitive voltage division circuit provided in fig. 2 as an example, the following may be specifically included:
(1) Before measurement (t is less than or equal to 0), switch S 1 In a closed state, when u o (0)=V e
(2) During measurement (t is more than or equal to 0), switch S 1 The disconnection is performed according to kirchhoff's voltage law:
u o (t)=V m -u 1 (t)-u 2 (t) (1)
due to coupling capacitance C 1 And a piezoelectric device C 2 The charges Q (t) on the two capacitors are thus equal in series. Based on the charge-voltage relationship characteristics of the capacitor, there are:
u o the relationship of (t) to Q (t) is:
as can be seen from formula (3), if u is measured o And (t), Q (t) can be obtained.
In formula (2), the capacitance C of the piezoelectric device 2 (t) following the voltage u across the piezoelectric device 2 The variation relationship of (t) is:
in formula (4), the function f (·) can be obtained by fitting experimental data of the piezoelectric device.
Substituting formula (4) into formula (2) includes:
so far, the measured voltage V can be obtained by calculation m
Referring to fig. 4, an embodiment of the present invention provides a measurement device for dc voltage, including:
the curve acquisition unit is used for acquiring a measurement curve of measurement voltage relative to discharge time, wherein the measurement voltage is the voltage between a detection point set in the capacitive voltage division circuit and the ground;
a discharge time determining unit for determining a test discharge time for the measured voltage to drop to a set discharge voltage according to the measurement curve;
the measured voltage determining unit is used for determining target measured voltage corresponding to the test discharge time from a preset relation table as the voltage at two ends of the second direct current element, wherein the relation table comprises the candidate discharge time of a plurality of groups of candidate measurement voltages falling to the set candidate discharge voltage and the corresponding relation between the plurality of groups of candidate measured voltages;
the switch, the discharge resistor and one end of the piezoelectric device in the capacitive voltage dividing circuit are connected in parallel with the detection point, the other end of the switch is connected with the first direct current element, the other end of the piezoelectric device is connected with the coupling capacitor, the other end of the coupling capacitor is connected with the second direct current element, the first direct current element, the discharge resistor and the other end of the second direct current element are connected in parallel with the ground, and the voltage at two ends of the second direct current element is used as the detected voltage and is not zero.
Embodiments of the present invention also disclose a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read from a computer-readable storage medium by a processor of a computer device, and executed by the processor, to cause the computer device to perform the method shown in fig. 1.
In some alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flowcharts of the present invention are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed, and in which sub-operations described as part of a larger operation are performed independently.
Furthermore, while the invention is described in the context of functional modules, it should be appreciated that, unless otherwise indicated, one or more of the described functions and/or features may be integrated in a single physical device and/or software module or one or more functions and/or features may be implemented in separate physical devices or software modules. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary to an understanding of the present invention. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be apparent to those skilled in the art from consideration of their attributes, functions and internal relationships. Accordingly, one of ordinary skill in the art can implement the invention as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative and are not intended to be limiting upon the scope of the invention, which is to be defined in the appended claims and their full scope of equivalents.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the invention, the scope of which is defined by the claims and their equivalents.
While the preferred embodiment of the present invention has been described in detail, the present invention is not limited to the embodiments described above, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention, and these equivalent modifications or substitutions are included in the scope of the present invention as defined in the appended claims.

Claims (10)

1. A method for measuring a direct current voltage, comprising:
acquiring a measurement curve of measurement voltage relative to discharge time, wherein the measurement voltage is the voltage between a detection point set in a capacitive voltage division circuit and ground;
determining a test discharge time for the measured voltage to drop to a set discharge voltage according to the measurement curve;
determining target measured voltage corresponding to the test discharge time from a preset relation table as the voltage at two ends of a second direct current voltage source, wherein the relation table comprises the candidate discharge time of a plurality of groups of candidate measurement voltages which are reduced to the set candidate discharge voltage and the corresponding relation between the plurality of groups of candidate measured voltages;
the switch, the discharging resistor and one end of the piezoelectric device in the capacitive voltage dividing circuit are connected in parallel with the detection point, the other end of the switch is connected with a first direct-current voltage source, the other end of the piezoelectric device is connected with a coupling capacitor, the other end of the coupling capacitor is connected with a second direct-current voltage source, the other ends of the first direct-current voltage source, the discharging resistor and the second direct-current voltage source are connected in parallel with the ground, and the voltages at two ends of the second direct-current voltage source are used as detected voltages and are not zero.
2. The method for measuring a direct current voltage according to claim 1, wherein the determining of the measurement curve includes:
acquiring a plurality of sampling voltages between the detection point and the ground, which are acquired according to a set sampling period after the switch is disconnected;
determining the measurement curve according to a plurality of the sampling voltages;
after the switch is disconnected, the piezoelectric device, the coupling capacitor, the second direct-current voltage source and the discharge resistor form a discharge loop, the piezoelectric device and the coupling capacitor start to discharge, and the measurement voltage starts to drop.
3. The method according to claim 2, wherein determining a test discharge time for the measured voltage to drop to a set discharge voltage according to the measurement curve comprises:
determining a target sampling voltage with the smallest absolute value of a difference value from the discharge voltage on the measurement curve, wherein the target sampling voltage is larger than or equal to the discharge voltage;
and determining the discharge time between the target sampling time corresponding to the target sampling voltage and the time when the switch is turned off as the test discharge time.
4. The method for measuring a direct current voltage according to claim 1, further comprising:
determining a reference discharge time when the measured voltage drops to a set discharge voltage when the measured voltage is zero;
and determining the polarity of the tested voltage which is not zero according to the reference discharge time and the test discharge time.
5. The method according to claim 4, wherein determining the polarity of the measured voltage that is not zero based on the reference discharge time and the test discharge time comprises:
if the measured discharge time is greater than the reference discharge time, determining that the measured voltage is a positive voltage;
and if the measured discharge time is smaller than the reference discharge time, determining that the measured voltage is a negative voltage.
6. A measurement device for direct current voltage, characterized by comprising:
the curve acquisition unit is used for acquiring a measurement curve of measurement voltage relative to discharge time, wherein the measurement voltage is the voltage between a detection point set in the capacitive voltage division circuit and the ground;
a discharge time determining unit for determining a test discharge time for the measured voltage to drop to a set discharge voltage according to the measurement curve;
the measured voltage determining unit is used for determining target measured voltage corresponding to the test discharge time from a preset relation table as the voltage at two ends of the second direct current voltage source, wherein the relation table comprises the candidate discharge time of a plurality of groups of candidate measurement voltages which are reduced to the set candidate discharge voltage and the corresponding relation between the plurality of groups of candidate measured voltages;
the switch, the discharging resistor and one end of the piezoelectric device in the capacitive voltage dividing circuit are connected in parallel with the detection point, the other end of the switch is connected with a first direct-current voltage source, the other end of the piezoelectric device is connected with a coupling capacitor, the other end of the coupling capacitor is connected with a second direct-current voltage source, the other ends of the first direct-current voltage source, the discharging resistor and the second direct-current voltage source are connected in parallel with the ground, and the voltages at two ends of the second direct-current voltage source are used as detected voltages and are not zero.
7. The direct current voltage measuring apparatus according to claim 6, wherein the determining of the measurement curve includes:
acquiring a plurality of sampling voltages between the detection point and the ground, which are acquired according to a set sampling period after the switch is disconnected;
determining the measurement curve according to a plurality of the sampling voltages;
after the switch is disconnected, the piezoelectric device, the coupling capacitor, the second direct-current voltage source and the discharge resistor form a discharge loop, the piezoelectric device and the coupling capacitor start to discharge, and the measurement voltage starts to drop.
8. An electronic device comprising a processor and a memory;
the memory is used for storing programs;
the processor executing the program implements the method of any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that the storage medium stores a program that is executed by a processor to implement the method of any one of claims 1 to 5.
10. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1 to 5.
CN202211285983.9A 2022-10-20 2022-10-20 Direct-current voltage measurement method and device, electronic equipment and storage medium Active CN115902372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211285983.9A CN115902372B (en) 2022-10-20 2022-10-20 Direct-current voltage measurement method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211285983.9A CN115902372B (en) 2022-10-20 2022-10-20 Direct-current voltage measurement method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115902372A CN115902372A (en) 2023-04-04
CN115902372B true CN115902372B (en) 2023-11-07

Family

ID=86486252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211285983.9A Active CN115902372B (en) 2022-10-20 2022-10-20 Direct-current voltage measurement method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115902372B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104297559A (en) * 2014-11-07 2015-01-21 杭州凯达电力建设有限公司 Device and method for measuring induced voltage
CN107064612A (en) * 2017-02-28 2017-08-18 上海交通大学 Single-phase overhead transmission line of electricity phase voltage measuring method
CN113176441A (en) * 2021-06-11 2021-07-27 广西电网有限责任公司电力科学研究院 Non-contact voltage measuring device and method
CN113238093A (en) * 2021-06-11 2021-08-10 广西电网有限责任公司电力科学研究院 Non-contact voltage measuring method, non-contact voltage measuring device, computer equipment and storage medium
CN113341203A (en) * 2021-06-11 2021-09-03 南方电网数字电网研究院有限公司 Voltage measuring device, voltage measuring method, and storage medium
CN114578121A (en) * 2022-04-11 2022-06-03 南方电网数字电网研究院有限公司 High-voltage measuring method, system and device
CN114910696A (en) * 2022-04-22 2022-08-16 广州商学院 Non-contact measurement device and method for direct-current voltage of electric wire

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104297559A (en) * 2014-11-07 2015-01-21 杭州凯达电力建设有限公司 Device and method for measuring induced voltage
CN107064612A (en) * 2017-02-28 2017-08-18 上海交通大学 Single-phase overhead transmission line of electricity phase voltage measuring method
CN113176441A (en) * 2021-06-11 2021-07-27 广西电网有限责任公司电力科学研究院 Non-contact voltage measuring device and method
CN113238093A (en) * 2021-06-11 2021-08-10 广西电网有限责任公司电力科学研究院 Non-contact voltage measuring method, non-contact voltage measuring device, computer equipment and storage medium
CN113341203A (en) * 2021-06-11 2021-09-03 南方电网数字电网研究院有限公司 Voltage measuring device, voltage measuring method, and storage medium
CN114578121A (en) * 2022-04-11 2022-06-03 南方电网数字电网研究院有限公司 High-voltage measuring method, system and device
CN114910696A (en) * 2022-04-22 2022-08-16 广州商学院 Non-contact measurement device and method for direct-current voltage of electric wire

Also Published As

Publication number Publication date
CN115902372A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
US4825147A (en) Capacitance measuring method and apparatus
CN106461732B (en) Method for estimating state of health of battery
US7472028B2 (en) Sensor or capacitance measuring with a microprocessor
US8493080B2 (en) Test system and method
TW442655B (en) Laplace transform impedance spectrometer and its measurement method
US7145350B2 (en) Process and a circuit arrangement for evaluating a measuring capacitance
US9651596B2 (en) System and apparatus for measuring capacitance
CN108398142B (en) Method and circuit for biasing and sensing resistive sensor structures
US7084644B2 (en) Circuit arrangement for capacitive humidity measurement and method for operating the same
WO2012078599A2 (en) System and method for sensing battery capacity
JPH02194367A (en) Electrostatic measuring apparatus and method
US10180407B2 (en) Capacitor type humidity sensor
CN115902372B (en) Direct-current voltage measurement method and device, electronic equipment and storage medium
US11774284B1 (en) High-sensitivity light sensor and sensing method thereof comprising a plurality of comparator circuits, reset circuits and counter circuits
CN109873643B (en) A/D sampling circuit and sampling method for alternating current power supply resistance type sensor
JP3583540B2 (en) Method and apparatus for measuring equivalent series resistance of capacitive element
US8030949B2 (en) Measurement method for determining moisture content
TWI759959B (en) Measurement circuit for measuring passive component
JP5039169B2 (en) Capacitance detection device, resistance detection device
RU2660283C1 (en) Method of measuring electric capacity
RU2647564C1 (en) Method of measuring electric capacity
JP3805478B2 (en) Method and apparatus for measuring equivalent series resistance of capacitive element
RU2645130C1 (en) Method of measuring the electric capacity
WO2019025116A1 (en) Method for determining an electrical parameter and measurement arrangement for determining an electrical parameter
US11906559B2 (en) Enhanced impedance measurement using CTMU

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant