CN114035040A - Electric quantity acquisition system and method based on 1P switch - Google Patents
Electric quantity acquisition system and method based on 1P switch Download PDFInfo
- Publication number
- CN114035040A CN114035040A CN202111445451.2A CN202111445451A CN114035040A CN 114035040 A CN114035040 A CN 114035040A CN 202111445451 A CN202111445451 A CN 202111445451A CN 114035040 A CN114035040 A CN 114035040A
- Authority
- CN
- China
- Prior art keywords
- voltage
- analog
- current
- power
- metering chip
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000004364 calculation method Methods 0.000 claims abstract description 6
- 238000006243 chemical reaction Methods 0.000 claims description 25
- 238000005070 sampling Methods 0.000 claims description 24
- 238000004088 simulation Methods 0.000 claims description 23
- 238000004891 communication Methods 0.000 claims description 7
- 238000005259 measurement Methods 0.000 claims description 6
- 230000005611 electricity Effects 0.000 claims description 5
- 230000003993 interaction Effects 0.000 claims description 4
- 230000001360 synchronised effect Effects 0.000 claims description 4
- 238000011144 upstream manufacturing Methods 0.000 claims 6
- 238000009826 distribution Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- HPDFFVBPXCTEDN-UHFFFAOYSA-N copper manganese Chemical compound [Mn].[Cu] HPDFFVBPXCTEDN-UHFFFAOYSA-N 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/327—Testing of circuit interrupters, switches or circuit-breakers
- G01R31/3277—Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Current Or Voltage (AREA)
Abstract
The invention discloses an electric quantity acquisition device and an electric quantity acquisition method based on a 1P switch, which utilize a DAC value generation and calibration method and an analog voltage waveform generation method of each point of a standard 220V voltage waveform to realize electric quantity acquisition on the 1P switch under the condition of no voltage loop access and realize the calculation of power, energy, effective value, power and the like on the 1P switch.
Description
Technical Field
The invention relates to a 1P switch-based electric quantity acquisition system and method, and belongs to the technical field of electric quantity acquisition.
Background
With the advance of intelligent home construction, various equipment running conditions and power consumption conditions used in a user's home need to be collected, so that the user can know the power consumption condition of the intelligent equipment. The electric quantity collection is generally composed of a metering chip, a microprocessor, storage, communication and the like. The metering chip samples voltage and current simultaneously, and integrates a plurality of paths of second-order sigma-delta ADCs, a reference voltage circuit, and circuits for processing digital signals for measuring all power, energy, effective values, power factors and frequency, so that active power, reactive power, apparent power, active functional quantity and reactive energy can be measured, and parameters such as current, voltage effective values, power factors, phase angles and frequency can be measured. At present, the intelligent socket which is widely used in the market and can count the electricity consumption achieves the electricity consumption statistics by arranging a hardware module with a power detection function, but the hardware module is high in production cost and particularly consumes electricity, and the data of real-time power detection through hardware is inaccurate; electrical equipment with intelligent interaction is also arranged on the market, or a distribution box is modified and an intelligent low-voltage switch is installed; the intelligent low-voltage switch is installed in the distribution box, and the intelligent low-voltage switch is low in cost, wide in application range and strong in operability, and the development direction of monitoring the electric quantity of the intelligent household electric equipment is formed.
The intelligent low-voltage switch is divided into a 1P intelligent low-voltage switch and a 2P intelligent low-voltage switch, wherein the 1P intelligent low-voltage switch is usually only introduced into a live wire L for on-off control, a zero line N bypass is not controlled, although current sampling can be carried out through a current transformer, voltage sampling cannot be carried out because the zero line does not pass through the 1P switch, and corresponding electric quantity cannot be calculated; the live wire and zero line N can be inserted simultaneously to 2P intelligence low-voltage switch, so can gather the electric quantity, but 2P intelligence low-voltage switch is bulky, the wiring is many, and fortune dimension is troublesome, and the essence can not install on the former distribution table case of user, need carry out the large tracts of land transformation to cause unable large tracts of land to promote, consequently, need to develop one kind and can install on 1P low-voltage switch and can gather the equipment of electric quantity again.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a device and a method for acquiring electric quantity based on a 1P switch, which can realize electric quantity acquisition on the 1P switch under the condition of no voltage loop access and realize power, energy, effective value and power calculation on the 1P switch.
The technical scheme of the invention is as follows:
the invention provides 1P switch-based electric quantity acquisition equipment, which comprises a current sampling module, a voltage simulation module, a metering chip and a microprocessor, wherein the current sampling module is connected with the voltage simulation module; the current sampling module and the voltage simulation module are respectively and electrically connected with the metering chip, and the metering chip is used for collecting and metering the current and the analog voltage output by the current sampling module and the voltage simulation module and outputting the finally metered electric quantity result; the microprocessor is externally connected with an uplink device and used for collecting real-time voltage through the uplink device to perform voltage simulation and calibration; the microprocessor is in communication connection with the metering chip for data interaction and comprises a current zero-crossing acquisition unit and a voltage waveform DAC unit; the voltage waveform DAC unit is electrically connected with the voltage simulation module and used for generating and outputting voltage simulation waveforms.
Further, the current sampling module comprises a current sampling sensor and a current channel which are electrically connected; the current channel is electrically connected with the metering chip and transmits a current signal.
Further, the voltage simulation module comprises a voltage channel gain control unit and a simulation voltage channel which are electrically connected; the voltage gain control unit is electrically connected with the voltage waveform DAC unit, and the voltage waveform DAC unit performs digital-to-analog conversion on the analog voltage regulated and output by the microprocessor and then enters the voltage gain control unit to perform gain control.
Furthermore, the metering chip is connected with the microprocessor by adopting an SPI interface; the microprocessor is also provided with a communication and power interface which is connected with the uplink equipment.
Furthermore, the metering chip is respectively and electrically connected with the current channel and the analog voltage channel, and the obtained signals are filtered and subjected to digital-analog conversion by the metering chip to obtain corresponding current, voltage, power and electric quantity, and finally are output and stored.
The invention also provides a method for collecting electric quantity based on the 1P switch electric quantity collecting equipment, which comprises the following steps:
s1, supplying power to the 1P switch power acquisition equipment by using the uplink equipment with the power acquisition function, generating DAC values of each point of the standard voltage waveform and related metering data through the microprocessor and the metering chip, and simultaneously calibrating;
s2, collecting voltage through uplink equipment, broadcasting the voltage to 1P switch electric quantity collection equipment in real time, and adjusting the real-time voltage through the calibrated 220V standard voltage to obtain voltage values of all points in the voltage waveform corresponding to the real-time broadcast voltage;
s3, acquiring current zero crossing, calculating the zero crossing time of the analog voltage according to the voltage and current phase parameters, triggering the voltage waveform DAC unit to realize digital-to-analog DAC conversion when the analog voltage crosses zero, and generating an analog voltage waveform;
s4, the metering chip acquires current and analog voltage waveform through the current sampling module and the analog voltage channel, and obtains corresponding current, voltage, power and electric quantity after filtering and sigma-delta type ADC analog-to-digital conversion processing;
and S5, judging whether the voltage processed by the metering chip is the real-time alternating voltage broadcasted by the uplink equipment, if so, acquiring and outputting the electric quantity data obtained by calculation, and if not, returning to the step (2) for adjusting the voltage value of each point in the voltage waveform.
Further, the steps of generating and calibrating the DAC values at the points of the voltage waveform of the standard voltage 220V in the step S1 are as follows:
s11, initializing the 1P switch electric quantity acquisition equipment, initializing a metering chip, loading a standard 220V digital-to-analog conversion point value in a microprocessor, and simultaneously initializing a voltage waveform DAC unit to prepare for converting to generate an analog voltage waveform;
s12, a current zero-crossing acquisition unit is used for acquiring a trigger voltage waveform DAC unit when current passes through zero, an analog voltage waveform is generated, and a metering chip is used for sampling the current and the analog voltage to obtain related metering data;
s13, judging whether the voltage calculated by the metering chip is the standard voltage 220V, if not, returning to the step S11 to adjust the data value of the time-digital conversion point of the standard voltage 220V; if yes, the standard voltage 220V is calibrated, the digital-to-analog conversion point value is updated, and the adjustment proportion K is equal to 1.
Further, the step S2 of adjusting the voltage by using the calibrated 220V standard voltage specifically includes: when the 1P switch electric quantity acquisition equipment acquires the voltage broadcasted by the uplink equipment, a new K value is calculated according to the voltage, wherein K is the broadcast voltage/220V, and then the voltage values of all points of the voltage waveform of the calibrated 220V standard voltage are multiplied by K to perform equal proportion adjustment so as to obtain the voltage values of all points of the voltage waveform corresponding to the broadcast voltage.
Further, the voltage zero crossing and the current zero crossing are synchronized in step S3.
Further, in the step S3, the analog voltage waveform generated by the voltage waveform DAC unit enters the voltage gain control unit to perform gain control, so as to form a voltage input requirement that the metering chip collects the analog voltage channel.
Compared with the prior art, the invention has the beneficial effects that:
1. the 1P switch-based electric quantity acquisition equipment and the acquisition method provided by the invention can acquire the electric quantity of the 1P switch under the condition of no voltage loop access, realize the measurement and output of parameters such as power, energy, effective value and the like only based on the 1P switch, and realize the standard 220V voltage analog calibration, the analog voltage generation, the related electric quantity calculation and the like.
2. The electric quantity acquisition equipment based on the 1P switch, provided by the invention, only needs to be connected into a current channel, is small in size, only needs to acquire the current of a live wire L, is suitable for the transformation of the 1P intelligent low-voltage switch or a common 1P switch, and is wide in application range.
3. The electric quantity acquisition equipment based on the 1P switch is convenient to maintain, except one more communication and power supply interface with the uplink equipment, the structure of the electric quantity acquisition equipment is basically the same as that of a common 1P switch installed on the existing furniture, and the technical threshold of operation and maintenance personnel is greatly reduced.
Drawings
Fig. 1 is a block diagram of a 1P switch-based power collection device according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments.
Example 1
Referring to fig. 1, a 1P switch-based electric quantity acquisition device includes a current sampling module, a voltage analog module, a metering chip and a microprocessor; the metering chip adopts a high-precision electric energy metering IC, can measure line voltage and line current, and can calculate active power, apparent power, power factor and the like, and the microprocessor is used for generating and outputting voltage simulation waveforms and collecting current zero crossing and voltage simulation zero crossing; the current sampling module and the voltage simulation module are respectively and electrically connected with the metering chip, and the metering chip is used for collecting and metering the current and the analog voltage output by the current sampling module and the voltage simulation module and outputting the finally metered electric quantity result; the microprocessor is externally connected with an uplink device and used for collecting real-time voltage through the uplink device to perform voltage simulation and calibration; the microprocessor is in communication connection with the metering chip for data interaction and comprises a current zero-crossing acquisition unit and a voltage waveform DAC unit; the voltage waveform DAC unit is electrically connected with the voltage simulation module and used for generating and outputting voltage simulation waveforms.
Further, the current sampling module comprises a current sampling sensor and a current channel which are electrically connected; the current channel is electrically connected with the metering chip to transmit current signals, and the current sampling sensor can adopt 2 types of conventional manganese copper sheets or current transformers, wherein the current transformers are divided into a buckle type and a threading type.
Further, the voltage simulation module comprises a voltage channel gain control unit and a simulation voltage channel which are electrically connected; the voltage gain control unit is electrically connected with the voltage waveform DAC unit, the voltage waveform DAC unit performs digital-to-analog conversion on analog voltage regulated and output by the microprocessor and then enters the voltage gain control unit for gain control, and the voltage channel gain control unit is mainly realized by adopting a high-precision amplification integrated circuit and controlling a gain coefficient K; the voltage waveform DAC digital-to-analog conversion unit is generally realized by a DAC digital-to-analog module carried by a microprocessor if the precision requirement is not very high, and is realized by a special DAC digital-to-analog conversion chip if the precision requirement is high.
Furthermore, the metering chip is connected with the microprocessor by adopting an SPI interface; the microprocessor is also provided with a communication and power interface which is connected with the uplink equipment.
Furthermore, the metering chip is respectively and electrically connected with the current channel and the analog voltage channel, and the obtained signals are filtered and subjected to digital-analog conversion by the metering chip to obtain corresponding current, voltage, power and electric quantity, and finally are output and stored.
Example 2
The method for collecting the electric quantity based on the 1P switch electric quantity collecting device in the embodiment 1 specifically comprises the following steps:
s1, supplying power to the 1P switch power acquisition equipment by using the uplink equipment with the power acquisition function, generating DAC values of each point of the standard voltage waveform and related metering data through the microprocessor and the metering chip, and simultaneously calibrating; the uplink equipment is generally a 2P intelligent leakage protection switch;
s2, collecting voltage through uplink equipment, broadcasting the voltage to each path of 1P switch electric quantity collection equipment in real time, and adjusting the real-time voltage through the calibrated 220V standard voltage to obtain voltage values of all points in the voltage waveform corresponding to the real-time broadcast voltage;
s3, acquiring current zero crossing by using a current zero crossing acquisition unit in a microprocessor, calculating the zero crossing time of analog voltage according to input voltage and current phase parameters in the microprocessor, triggering a voltage waveform DAC unit to realize digital-to-analog DAC conversion when the analog voltage crosses zero, generating analog voltage waveform, and enabling the analog voltage waveform generated by the voltage waveform DAC unit to enter a voltage gain control unit for gain control so as to form voltage input requirements of a metering chip on analog voltage channel acquisition; the analog voltage zero crossing and the current zero crossing are synchronous;
s4, the metering chip acquires current and analog voltage waveform through the current sampling module and the analog voltage channel, and obtains corresponding current, voltage, power and electric quantity after filtering and sigma-delta type ADC analog-to-digital conversion processing;
and S5, judging whether the voltage processed by the metering chip is the real-time alternating voltage broadcasted by the uplink equipment, if so, acquiring and outputting the electric quantity data obtained by calculation, and if not, returning to the step (2) for adjusting the voltage value of each point in the voltage waveform.
Further, the steps of generating and calibrating the DAC values at the points of the voltage waveform of the standard voltage 220V in the step S1 are as follows:
s11, initializing the 1P switch electric quantity acquisition equipment, namely acquiring relevant parameters such as an equipment ID number, voltage gain, voltage and current phase, initializing the voltage gain, initializing a metering chip, namely starting relevant metering data measurement; loading a standard 220V digital-to-analog conversion point value in a microprocessor, and simultaneously initializing a voltage waveform DAC unit to prepare for conversion to generate an analog voltage waveform;
s12, a current zero-crossing acquisition unit is used for acquiring a trigger voltage waveform DAC unit when current passes through zero, DAC digital-to-analog conversion is carried out to generate analog voltage waveforms, the analog voltage zero-crossing and the current zero-crossing are synchronous, and then a metering chip samples the current and the analog voltage to obtain related metering data;
s13, the microprocessor judges whether the analog voltage calculated by the metering chip is the standard voltage 220V, if not, the microprocessor returns to the step S11 to adjust the data value of the time-to-digital conversion point of the standard voltage 220V; if yes, the standard voltage 220V is calibrated, the digital-to-analog conversion point value is updated, and the adjustment proportion K is equal to 1.
Further, the step S2 of adjusting the voltage by using the calibrated 220V standard voltage specifically includes: when the 1P switch electric quantity acquisition equipment acquires the voltage broadcasted by the uplink equipment, a new K value is calculated according to the voltage, wherein K is the broadcast voltage/220V, and then the voltage values of all points of the voltage waveform of the calibrated 220V standard voltage are multiplied by K to perform equal proportion adjustment so as to obtain the voltage values of all points of the voltage waveform corresponding to the broadcast voltage.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by the present specification, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111445451.2A CN114035040B (en) | 2021-11-30 | 2021-11-30 | A 1P switch-based power collection system and collection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111445451.2A CN114035040B (en) | 2021-11-30 | 2021-11-30 | A 1P switch-based power collection system and collection method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114035040A true CN114035040A (en) | 2022-02-11 |
CN114035040B CN114035040B (en) | 2025-01-14 |
Family
ID=80139327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111445451.2A Active CN114035040B (en) | 2021-11-30 | 2021-11-30 | A 1P switch-based power collection system and collection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114035040B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108037348A (en) * | 2017-11-27 | 2018-05-15 | 深圳市锐钜科技有限公司 | Single-phase alternating current zero passage detection method |
CN207424128U (en) * | 2017-09-19 | 2018-05-29 | 东莞市广安电气检测中心有限公司 | For low tension switch and control device harmonic wave jamming immunity tester |
US20180217205A1 (en) * | 2017-01-30 | 2018-08-02 | Control4 Corporation | Systems and methods for detecting switching circuitry failure |
CN216747994U (en) * | 2021-11-30 | 2022-06-14 | 福建网能科技开发有限责任公司 | A power acquisition system based on 1P switch |
-
2021
- 2021-11-30 CN CN202111445451.2A patent/CN114035040B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180217205A1 (en) * | 2017-01-30 | 2018-08-02 | Control4 Corporation | Systems and methods for detecting switching circuitry failure |
CN207424128U (en) * | 2017-09-19 | 2018-05-29 | 东莞市广安电气检测中心有限公司 | For low tension switch and control device harmonic wave jamming immunity tester |
CN108037348A (en) * | 2017-11-27 | 2018-05-15 | 深圳市锐钜科技有限公司 | Single-phase alternating current zero passage detection method |
CN216747994U (en) * | 2021-11-30 | 2022-06-14 | 福建网能科技开发有限责任公司 | A power acquisition system based on 1P switch |
Also Published As
Publication number | Publication date |
---|---|
CN114035040B (en) | 2025-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103149546B (en) | The field integrated tester of a kind of portable electric energy measuring terminal | |
CN102156219B (en) | Multifunctional integrated high-pressure metering device | |
CN112924862B (en) | System and method for detecting primary side fault injection (FA) | |
CN101769968B (en) | Mutual inductor no-load voltage ratio tester | |
CN106249045A (en) | A kind of wide-range electric power meter and metering method thereof | |
CN211263701U (en) | A high-precision standard source for DC energy measurement | |
CN216747994U (en) | A power acquisition system based on 1P switch | |
CN110380694A (en) | Auto-excitation type full solid-sate radio frequency power supply with precision power detector | |
CN214041522U (en) | Non-contact voltage measurement sensor | |
CN112485498A (en) | Non-contact voltage measurement sensor and working method thereof | |
CN209486284U (en) | A kind of power source | |
CN114035040A (en) | Electric quantity acquisition system and method based on 1P switch | |
EP3918352A1 (en) | Electricity meter | |
CN101493509A (en) | Verifying apparatus for measuring extra-high voltage transformer error | |
CN202305663U (en) | High-precision metering circuit of three-phase intelligent watt-hour meter for State Grid | |
CN204925279U (en) | Steal electric detection means | |
CN117991169A (en) | Comprehensive on-line monitoring device for measuring cabinet for wide-range high-voltage cable network | |
CN201373913Y (en) | Calibration device for error measurement of UHV voltage transformer | |
CN202189088U (en) | Alternating-current voltage isolating and measuring circuit based on combination of mutual inductor and operational amplifier | |
CN209134143U (en) | A kind of control device for low-pressure plastic shell circuit breaker | |
CN104977465B (en) | remote electrical parameter measuring system | |
CN220820112U (en) | Multi-user metering system of electric energy meter | |
CN209044052U (en) | A kind of composition error detection platform emulating pulse conversion station harmonic signal | |
CN201600416U (en) | Transformation ratio tester for mutual inductor | |
CN206132849U (en) | Wide range electric energy metering device |
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 |