CN105738725B - Multichannel AC split-phase synchronous sampling method and circuit - Google Patents

Multichannel AC split-phase synchronous sampling method and circuit Download PDF

Info

Publication number
CN105738725B
CN105738725B CN201610069378.6A CN201610069378A CN105738725B CN 105738725 B CN105738725 B CN 105738725B CN 201610069378 A CN201610069378 A CN 201610069378A CN 105738725 B CN105738725 B CN 105738725B
Authority
CN
China
Prior art keywords
sampling
phase
conversion
multichannel
split
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
CN201610069378.6A
Other languages
Chinese (zh)
Other versions
CN105738725A (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.)
Shandong luruan Digital Technology Co.,Ltd. smart energy branch
Original Assignee
Shandong Luneng Intelligence Technology Co Ltd
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 Shandong Luneng Intelligence Technology Co Ltd filed Critical Shandong Luneng Intelligence Technology Co Ltd
Priority to CN201610069378.6A priority Critical patent/CN105738725B/en
Publication of CN105738725A publication Critical patent/CN105738725A/en
Application granted granted Critical
Publication of CN105738725B publication Critical patent/CN105738725B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

The invention discloses a kind of multichannel AC split-phase synchronous sampling method and circuit, multiway analog switch gates A and intersects traffic channel, and control AD conversion starts;Conversion end, gating B is waited for intersect traffic channel, read in A phases transformation result to MCU processor internal RAM;By T/ (N*3) after the time, AD conversion starts, and conversion end, gating C is waited for intersect traffic channel, read in B phases transformation result to MCU processor internal RAM;By T/ (N*3) after the time, AD conversion starts, and waits for conversion end, gating A to intersect traffic channel, read in C phases transformation result to MCU processor internal RAM, three-phase alternating current amount completes 1 point sampling;By T/ (N*3) after the time, repeat to complete the sampling of one cycle of three-phase ac signal after step carries out N number of sampling.2/3 A/D ALT-CH alternate channels are saved, AD conversion channel utilization index is improved, saves hardware resource, reduce hardware cost.

Description

Multichannel AC split-phase synchronous sampling method and circuit
Technical field
The present invention relates to electric system sampling technique field more particularly to multichannel AC split-phase synchronous sampling methods and electricity Road.
Background technology
Same measuring device needs to acquire a large amount of ac electrics in electric system, and in order to keep the synchronization of each sampled point Property, it needs to different sampled points while starting sampling, therefore keep the synchronism of sampling particularly important.
In order to ensure that the synchronism of sampling, now more common scheme are using with high-precision, high-speed synchronous sampling The AD conversion chip of function.When needing to acquire multichannel AC signal, need AD numbers of channels relatively more, cost is higher.It is same The asynchronous sampling of of ac will will produce phase difference, and of ac acquisition is caused to generate deviation, need to take complicated compensation side Method compensates calibration.
Invention content
The purpose of the present invention is exactly to solve the above-mentioned problems, to provide a kind of multichannel AC split-phase synchronous sampling method and electricity Road saves 2/3 A/D ALT-CH alternate channels, reduces hardware cost when acquiring multichannel AC amount.Realize multichannel AC amount Split-phase synchronized sampling ensure that telemetry precision.
To achieve the goals above, the present invention adopts the following technical scheme that:
Multichannel AC split-phase synchronous sampling method takes N points equal interval sampling side in a cycle T of AC signal Formula, including:
Step 1, multiway analog switch gate A and intersect traffic channel, and control AD conversion starts;Wait for conversion end, switching Multiway analog switch gates B and intersects traffic channel, reads in A phases transformation result to MCU processor internal RAM;
Step 2, by T/ (N*3) after the time, AD conversion starts, and waits for conversion end, switching multiway analog switch gating C intersects traffic channel, reads in B phases transformation result to MCU processor internal RAM;
Step 3, but by T/ (N*3) after the time, AD conversion starts, and waits for conversion end, switching multiway analog switch choosing Logical A intersects traffic channel, reads in C phases transformation result to MCU processor internal RAM, and three-phase alternating current amount completes 1 point sampling;
Step 4 again passes by T/ (N*3) after the time, and repeating said steps one to step 3 are completed after carrying out N number of sampling One cycle of three-phase ac signal samples.
Sampling number N and sampling period T is converted by carrying out frequency-tracking to adopted AC signal.
Fourier transform is utilized after the completion of N points equal interval sampling, calculates virtual value, power and phase parameter.
Pass through the startup of FSMC bus marco AD conversion.
Using the circuit of the multichannel AC split-phase synchronous sampling method, including multiple multiway analog switches, of ac A, one multiway analog switch of the corresponding access of B, C three-phase, each multiway analog switch access high-speed synchronous sampling AD turn The output of one input channel of parallel operation, the high-speed synchronous oversampling A/D-converter terminates MCU processor.
The MCU processor is using FSMC bus interface control AD conversion and reads transformation result, and MCU processor control is each Multiway analog switch synchronism switching ensures each phase of ac synchronized sampling.
Beneficial effects of the present invention:
1,2/3 A/D ALT-CH alternate channels are saved, AD conversion channel utilization index is improved, are accurately adopted solving a large amount of of acs While sample, hardware resource is saved, reduces hardware cost.
2, A, B, C three-phase alternating current amount phase synchronization accurately sample, can accurately obtain all single-phase voltages, electric current, it is active, Idle equal signals.A, the sampling interval is fixed between B, C three-phase, and there are the fixed skews of very little between three-phase, convenient for compensation meter It calculates.
3, after each AD conversion, first switching analoging switch channel, then digital independent and processing are carried out, AD can be made to adopt Sample avoids the spike brought in analog switch channel interference, and sampled signal is more stablized, and data precision is improved.
4, MCU controls AD conversion by parallel interface FSMC, can reach highest data transmission bauds;
Description of the drawings
Fig. 1 is the System control structures figure of the embodiment of the present invention;
Fig. 2 is the circuit diagram of the embodiment of the present invention;
Fig. 3 is the AD sampling flow charts of the embodiment of the present invention.
Specific implementation mode
The invention will be further described with embodiment below in conjunction with the accompanying drawings.
As shown in Figure 1, multichannel AC split-phase synchronized sampling circuit, including multiple multiway analog switches, A, B, C of of ac Three-phase one multiway analog switch of corresponding access, each multiway analog switch access high-speed synchronous oversampling A/D-converter The output of one input channel, the high-speed synchronous oversampling A/D-converter terminates MCU processor.MCU processor is total using FSMC Line interface controls AD conversion and reads transformation result, and MCU processor controls each multiway analog switch synchronism switching, ensures each intersection Flow synchronized sampling.
Fig. 2 is a kind of circuit implementing method of this programme, is cut to A, B, C three-phase using multiway analog switch ADG659 It changes, is sequentially sent to AD7606 and is converted.AD conversion chip is using with 16 8 Channel Synchronous sampling functions of bipolarity AD7606 is very suitable for sampling a large amount of ployphase voltages current synchronizations.Data reading is carried out to AD7606 using FSMC parallel bus It takes and the start and stop of conversion.
It is adopted in a cycle T of AC signal using the method for sampling of the multichannel AC split-phase synchronized sampling circuit N point equal interval sampling modes are taken, including:
Step 1, multiway analog switch gate A and intersect traffic channel, started by FSMC bus marco AD conversion;It waits for Conversion end, switching multiway analog switch gating B intersect traffic channel, read A phases transformation result to MCU processor internal RAM In;
Step 2, by T/ (N*3) after the time, AD conversion starts, and waits for conversion end, switching multiway analog switch gating C intersects traffic channel, reads in B phases transformation result to MCU processor internal RAM;
Step 3, but by T/ (N*3) after the time, AD conversion starts, and waits for conversion end, switching multiway analog switch choosing Logical A intersects traffic channel, reads in C phases transformation result to MCU processor internal RAM, and three-phase alternating current amount completes 1 point sampling;
Step 4 again passes by T/ (N*3) after the time, and repeating said steps one to step 3 are completed after carrying out N number of sampling One cycle of three-phase ac signal samples.
Sampling number N is integer, and value is bigger, and sample waveform is more ideal, but calculation amount is also bigger, and real-time is poor.Electricity Force system considers that Harmonics Calculation, N usually take 32 or 64.
System ensure that multichannel AC amount using multiway analog switch successively synchronism switching A, B, C three-phase alternating currents analog quantity Split-phase synchronized sampling, and save 2/3 A/D ALT-CH alternate channels, reduce hardware cost.Will not because of phase error shadow Ring the accuracy of the calculating of single-phase voltage, electric current, power.
In a cycle of AC signal, N point equal interval sampling modes are taken, then utilize Fourier transform, are calculated Go out the parameters such as virtual value, power, phase.Due to taking three-phase synchronous switch sampling, N point samplings point-to-point transmission between to three Phase communication channel signal is switched at equal intervals.
The method that Fig. 3 show acquisition monophasic pulses is turning every time in order to ensure stabilization of level after the switching of channel After the completion of changing, multiway analog switch is switched into next channel to be sampled, then carries out the reading process of data, to ensure having foot Enough level settling times avoid after switching due to switch disturbance caused by prime signal conditioning circuit.For the cycle T time Interior N points equal interval sampling, switching interval be T/ (N*3), wherein sampling period T can by adopted AC signal into line frequency with Track is converted.
Above-mentioned, although the foregoing specific embodiments of the present invention is described with reference to the accompanying drawings, not protects model to the present invention The limitation enclosed, those skilled in the art should understand that, based on the technical solutions of the present invention, those skilled in the art are not Need to make the creative labor the various modifications or changes that can be made still within protection scope of the present invention.

Claims (6)

1. multichannel AC split-phase synchronous sampling method, characterized in that in a cycle T of AC signal, take N points at equal intervals Sample mode, including:
Step 1, multiway analog switch gate A and intersect traffic channel, and control AD conversion starts;Conversion end is waited for, multichannel is switched Analog switch gates B and intersects traffic channel, reads in A phases transformation result to MCU processor internal RAM;
Step 2, by T/ (N*3) after the time, AD conversion starts, and conversion end, switching multiway analog switch is waited for gate C phases Of ac channel is read in B phases transformation result to MCU processor internal RAM;
Step 3, but by T/ (N*3) after the time, AD conversion starts, and conversion end, switching multiway analog switch is waited for gate A Intersect traffic channel, read in C phases transformation result to MCU processor internal RAM, three-phase alternating current amount completes 1 point sampling;
Step 4 again passes by T/ (N*3) after the time, and repeating said steps one to step 3 complete three-phase after carrying out N number of sampling One cycle of AC signal samples.
2. multichannel AC split-phase synchronous sampling method as described in claim 1, characterized in that sampling number N and sampling period T is logical It crosses and adopted AC signal progress frequency-tracking is converted.
3. multichannel AC split-phase synchronous sampling method as described in claim 1, characterized in that profit after the completion of N points equal interval sampling With Fourier transform, virtual value, power and phase parameter are calculated.
4. multichannel AC split-phase synchronous sampling method as described in claim 1, characterized in that pass through FSMC bus marco AD conversion Startup.
5. using the circuit of multichannel AC split-phase synchronous sampling method described in claim 1, characterized in that including multiple multichannel moulds Quasi- switch, A, B, C three-phase one multiway analog switch of corresponding access of of ac, each multiway analog switch access are high The output of one input channel of fast synchronized sampling AD converter, the high-speed synchronous oversampling A/D-converter terminates MCU processor.
6. multichannel AC split-phase synchronized sampling circuit as claimed in claim 5, characterized in that the MCU processor uses FSMC Bus interface controls AD conversion and reads transformation result, and MCU processor controls each multiway analog switch synchronism switching, ensures each phase Of ac synchronized sampling.
CN201610069378.6A 2016-01-29 2016-01-29 Multichannel AC split-phase synchronous sampling method and circuit Active CN105738725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610069378.6A CN105738725B (en) 2016-01-29 2016-01-29 Multichannel AC split-phase synchronous sampling method and circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610069378.6A CN105738725B (en) 2016-01-29 2016-01-29 Multichannel AC split-phase synchronous sampling method and circuit

Publications (2)

Publication Number Publication Date
CN105738725A CN105738725A (en) 2016-07-06
CN105738725B true CN105738725B (en) 2018-11-13

Family

ID=56242141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610069378.6A Active CN105738725B (en) 2016-01-29 2016-01-29 Multichannel AC split-phase synchronous sampling method and circuit

Country Status (1)

Country Link
CN (1) CN105738725B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106443162A (en) * 2016-12-14 2017-02-22 佛山市科瑞德电气科技有限公司 Device and method for reducing power calculation errors
CN108008178A (en) * 2017-11-28 2018-05-08 指明集团有限公司 Wireless multifunctional power network signal Transmission system
CN108010295A (en) * 2017-11-28 2018-05-08 指明集团有限公司 Power network signal wireless transmitting system based on collection type current transformer
CN111123774B (en) * 2019-12-19 2021-09-07 上海宇航系统工程研究所 Motor current acquisition method and system applied to deep space detection antenna servo controller

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101153879A (en) * 2006-09-25 2008-04-02 广州长正电子技术有限公司 Multiplex three-phase alternating current sampling system and implementing method thereof
CN101726658A (en) * 2010-01-12 2010-06-09 河源市雅达电子有限公司 Single-channel time-sharing multiplexing sampling method and sampling circuit thereof
CN101975886A (en) * 2010-09-10 2011-02-16 深圳市科陆电子科技股份有限公司 Three-phase alternating current (AC) synchronous oversampling method
CN103941078A (en) * 2014-04-02 2014-07-23 云南大学 High-precision multi-path alternating current true virtual value detection circuit
CN203909138U (en) * 2014-06-18 2014-10-29 中国航天科技集团公司第九研究院第七七一研究所 General three-phase AC signal synchronous sampling device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9766278B2 (en) * 2012-01-12 2017-09-19 Cirrus Logic, Inc. Three phase power quality measurement using asynchronous, isolated single phase circuits

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101153879A (en) * 2006-09-25 2008-04-02 广州长正电子技术有限公司 Multiplex three-phase alternating current sampling system and implementing method thereof
CN101726658A (en) * 2010-01-12 2010-06-09 河源市雅达电子有限公司 Single-channel time-sharing multiplexing sampling method and sampling circuit thereof
CN101975886A (en) * 2010-09-10 2011-02-16 深圳市科陆电子科技股份有限公司 Three-phase alternating current (AC) synchronous oversampling method
CN103941078A (en) * 2014-04-02 2014-07-23 云南大学 High-precision multi-path alternating current true virtual value detection circuit
CN203909138U (en) * 2014-06-18 2014-10-29 中国航天科技集团公司第九研究院第七七一研究所 General three-phase AC signal synchronous sampling device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
64路数据采集系统的设计与应用;安如存等;《河北大学学报(自然科学版)》;19970331;第17卷(第1期);正文第82-84页 *
交流采样的频率测量及跟踪锁相方法的实现;郭颖娜等;《自动化与仪器仪表》;20020331(第3期);正文第17-19页 *

Also Published As

Publication number Publication date
CN105738725A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN105738725B (en) Multichannel AC split-phase synchronous sampling method and circuit
CN103257271B (en) A kind of micro-capacitance sensor harmonic wave based on STM32F107VCT6 and m-Acetyl chlorophosphonazo pick-up unit and detection method
CN103792419B (en) Realize analog quantity and mix the synchronous sampling method accessed with digital quantity
CN203287435U (en) A micro electrical network harmonic wave and inter-harmonic wave test apparatus based on an STM32F107VCT6
CN111953252B (en) Synchronous sampling method for three-stage brushless synchronous motor variable-frequency alternating-current power generation system
CN102135567A (en) Real-time frequency tracking and harmonic measuring method for AC sampling of power system
CN110286262B (en) Power frequency voltage zero crossing point detection method and system
CN103152052B (en) Method of sampling plurality of voltage analog signals
CN112526208B (en) Electric energy quality measurement system and method based on high-coupling-degree iteration model
CN106452251A (en) Motor alternating-current electricity quantity synchronous sampling device fully utilizing rotary transformation orthogonal output
CN112858802B (en) Method, device and system for determining effective value of output electric parameter of switching power converter
CN109901382B (en) Regular sampling PWM (pulse-Width modulation) optimization method of digital control system
CN203720258U (en) Voltage and current transient signal high-speed synchronous data sampling device
CN201918957U (en) Signal acquisition and motor control system based on complex programmable logic device (CPLD) and digital signal processor (DSP)
EP4310517A1 (en) Single-phase electric energy metering chip and intelligent internet-of-things meter based on ir46 standard
CN204129207U (en) Electric energy measuring equipment on-site calibrator
CN109507629A (en) A kind of three phase electrical parameters test device
CN106125033B (en) A kind of voltage and current synchronism classification error testing system
CN209247885U (en) A kind of wireless phase measurement device
CN209166465U (en) A kind of sine and cosine encoder signal processing apparatus of compatible multi-protocols polymorphic type
CN110620398B (en) Power grid impedance measuring method and grid-connected system
CN105572554A (en) Wireless sensing network on-line insulation detection frequency adaptive measuring method
CN206258515U (en) A kind of device for reducing power calculation error
CN202837394U (en) Synchronous sampling device for triphase low voltage power grid alternating current data
CN104503298A (en) Merging unit with multi-sampling rate output

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 250101 block B, Yinhe building, 2008 Xinjie street, hi tech Zone, Ji'nan, Shandong.

Applicant after: Shandong Luneng Intelligent Technology Co., Ltd.

Address before: 250101 B block 626, Yinhe building, 2008 Xinjie street, Ji'nan high tech Zone, Shandong.

Applicant before: Shandong Luneng Intelligent Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 250101 Electric Power Intelligent Robot Production Project 101 in Jinan City, Shandong Province, South of Feiyue Avenue and East of No. 26 Road (ICT Industrial Park)

Patentee after: National Network Intelligent Technology Co., Ltd.

Address before: 250101 block B, Yinhe building, 2008 Xinjie street, hi tech Zone, Ji'nan, Shandong.

Patentee before: Shandong Luneng Intelligent Technology Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201214

Address after: Room 902, 9 / F, block B, Yinhe building, 2008 Xinluo street, hi tech Zone, Jinan City, Shandong Province

Patentee after: Shandong Luneng Software Technology Co.,Ltd. intelligent electrical branch

Address before: 250101 power intelligent robot production project 101 south of Feiyue Avenue and east of No.26 Road (in ICT Industrial Park) in Suncun District of Gaoxin, Jinan City, Shandong Province

Patentee before: National Network Intelligent Technology Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Room 902, 9 / F, block B, Yinhe building, 2008 Xinluo street, hi tech Zone, Jinan City, Shandong Province

Patentee after: Shandong luruan Digital Technology Co.,Ltd. smart energy branch

Address before: Room 902, 9 / F, block B, Yinhe building, 2008 Xinluo street, hi tech Zone, Jinan City, Shandong Province

Patentee before: Shandong Luneng Software Technology Co.,Ltd. intelligent electrical branch