CN108051640A - A kind of method that alternating current and oil machine power supply are judged based on periodic method frequency - Google Patents

A kind of method that alternating current and oil machine power supply are judged based on periodic method frequency Download PDF

Info

Publication number
CN108051640A
CN108051640A CN201711219238.3A CN201711219238A CN108051640A CN 108051640 A CN108051640 A CN 108051640A CN 201711219238 A CN201711219238 A CN 201711219238A CN 108051640 A CN108051640 A CN 108051640A
Authority
CN
China
Prior art keywords
frequency
mcu
alternating current
power supply
oil machine
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.)
Pending
Application number
CN201711219238.3A
Other languages
Chinese (zh)
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.)
Kunming Enlighten Technology Co Ltd
Original Assignee
Kunming Enlighten 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 Kunming Enlighten Technology Co Ltd filed Critical Kunming Enlighten Technology Co Ltd
Priority to CN201711219238.3A priority Critical patent/CN108051640A/en
Publication of CN108051640A publication Critical patent/CN108051640A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/02Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
    • G01R23/06Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage by converting frequency into an amplitude of current or voltage

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention discloses a kind of methods for judging alternating current and oil machine power supply based on periodic method frequency, it is desirable to provide a kind of method for accurately and reliably judging alternating current and oil machine power supply based on periodic method frequency.It is more than the MCU processing of supply voltage frequency using measurement clock frequency, using supply voltage as measured signal, it is depressured by isolating transformer, then the electric signal that isolating transformer exports is filtered by bandpass filter, then filtered electric signal is divided to two-way, it is connected after being handled all the way by signal conditioning circuit with the ADC input terminals of MCU, for sampling current voltage, is confirmed whether to have a power failure;Another way forms square wave after being handled by hysteresis comparator, subsequently into the timer capture pin of MCU, is realized frequency measurement by MCU and is judged;The result that last MCU will determine that is input to corresponding display device by relay.The real-time detection of the invention for effectively realizing frequency of supply, reliable foundation is provided for business electrical fine-grained management.

Description

A kind of method that alternating current and oil machine power supply are judged based on periodic method frequency
Technical field
The present invention relates to power supply technique fields, judge that alternating current and oil machine are powered based on periodic method frequency more particularly, to one kind Method.
Background technology
Due to much with electric unit all by the way of outsourcing, and the use of the clearing unit price of hydro power generation and alternating current is to differ Sample, so objectively just have the demand for distinguishing alternating current and oil machine, and non-artificial fill in a form alternating current and hydro power generation.With communication Exemplified by industry, national communication base station far surpasses 1,000,000, is substantially maintenance company's power generation, annual power generation expense is all one surprising Number, in order to adapt to the regulatory requirement that the communications industry becomes more meticulous, it is necessary to solve the problems, such as alternating current and oil machine power supply differentiation.
The frequency accuracy of alternating current is very high, the power grid of 3,000,000 kilowatts of requirements of the national standard or more, frequency accuracy requirement do in ±0.2Hz;The frequency accuracy of actual measurement alternating current is significantly larger than high standard, confirmation bias only 0.01Hz or so.And electrical power generators frequency It cannot be precise and stable in 50 ± 0.2Hz in certain power-up period(Because generator output frequency can by load effect fluctuate compared with Greatly).It can quick and precisely judge mains-supplied or oil machine power supply currently without effective means, it is fine electricity consumption can not to be met The regulatory requirement of change.
The content of the invention
The purpose of the present invention is intended to overcome the shortcomings of the prior art, provides a kind of reliability height, easy to use The method that alternating current and oil machine power supply are judged based on periodic method frequency.
In order to solve the above-mentioned technical problem, the present invention is achieved by the following technical solutions:
A kind of method for judging alternating current and oil machine power supply based on periodic method frequency, is more than supply voltage frequency using measurement clock frequency The MCU processing of rate using supply voltage as measured signal, is depressured by isolating transformer, is then become isolation The electric signal of depressor output is filtered by bandpass filter, is then divided filtered electric signal to two-way, is passed through letter all the way It is connected after the processing of number modulate circuit with the ADC input terminals of MCU, for sampling current voltage, is confirmed whether to have a power failure;Another way passes through Square wave is formed after hysteresis comparator processing, subsequently into the timer capture pin of MCU, frequency measurement is realized by MCU and is carried out Judge;The result that last MCU will determine that is input to corresponding display device by relay.
Preferably, the MCU uses the STM32F030F4P6 in Cortex-M0 family devices.
Preferably, the clock frequency of the MCU is 1MHz.
Compared with prior art, the invention has the advantages that:
The present invention is far longer than by measured frequency by designing measurement clock using periodic method frequency detecting method, is made measurement accuracy Higher than the actual clock frequency for judging demand, such as using 1MHz, measure the signal of 50Hz, maximum error of measuring for 50/1M= 0.005%, worst error is equivalent to as 0.0025Hz, the required precision higher than 0.01HZ.It is effectively real by periodic method frequency detecting The real-time detection of frequency of supply is showed, alternating current and oil machine power supply can accurately be judged, provided for business electrical fine-grained management Reliable foundation.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the detection circuit flow chart of the present invention.
Fig. 2 is the power supply tree of signal conditioning circuit in the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of not making the creative labor Embodiment belongs to the scope of protection of the invention.
The method for judging alternating current and oil machine power supply based on periodic method frequency shown in Fig. 1-2, is more than using measurement clock frequency The MCU processing of supply voltage frequency using supply voltage as measured signal, is depressured by isolating transformer, is connect It and is filtered the electric signal of isolating transformer output by bandpass filter, then divide filtered electric signal to two-way, After being handled all the way by signal conditioning circuit with the ADC of MCU(Analog-digital converter)Input terminal connects, for sampling current voltage, It is confirmed whether to have a power failure;Another way forms square wave after being handled by hysteresis comparator, subsequently into the timer capture pin of MCU, MCU is by determining the judgement of frequency oil machine or alternating current input, if having a power failure etc., and this information is passed through into the dynamic of relay Make to inform terminal such as computer or alarm.
MCU (micro-control unit Microcontroller Unit) be integrated with inner treater (CPU), memory (RAM, ROM), one piece of integrated chip that counter and I/O ports are integrated.On the basis of this hardware circuit, by number to be processed According to, computational methods, step, operational order be compiled into program, deposit in inside or outside MCU in memory, MCU operationally can Automatically, continuously take out and perform from memory.The effect of ADC is that the analog signal of continuous variable is converted to dispersion number Word signal is realized and collects voltage and frequency signal.MCU is by determining the judgement of frequency oil machine or alternating current input, if Have a power failure etc., and this information is informed into terminal such as computer or alarm by the action of relay.
The STM32F030F4P6 in Cortex-M0 family devices can be used in the MCU.MCU resource requirements design:
(1)ADC at least one input channels are designed, the precision for having more than 12Bit;
(2)Design timer capture at least one input channel;
(3)Design at least three GPIO;General Purpose Input Output(Universal input/output)Referred to as GPIO, Or bus extender, people simplify I/O mouthfuls of extension using industrial standard I2C, SMBus or SPI interface.When microcontroller or Chipset does not have enough I/O ports or when system is needed using distal end serial communication or control, and GPIO products are capable of providing Additional control and function for monitoring.
(4)Designing Flash design more than 8k, RAM estimations needs 4K;
(5)UART is designed, for possible communication requirement;
(6)Design JTAG or SWD debugging interfaces.
Since the supply voltage of system is higher, the DC-DC of high input voltage is supported in design, it is contemplated that needs to drive relay (Most of relay is powered using 12V), first by voltage transformation into 12V, then 12V become 5V(Amplifier is powered)And 3.3V(MCU Power supply), power supply architecture is as shown in Figure 2.On the one hand the 12V of LM5007 outputs provides relay work electricity consumption, on the other hand defeated Go out and 12V is transformed into 5V voltages to 7805,7805, on the one hand power to amplifiers such as signal conditioning circuit and hysteresis comparators, separately On the one hand export to 1117.5V is transformed into 3.3V voltages by 1117 outputs, is powered to MCU.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modifications, equivalent replacements and improvements are made should all be included in the protection scope of the present invention god.

Claims (3)

1. a kind of method for judging alternating current and oil machine power supply based on periodic method frequency, is more than supply voltage using measurement clock frequency The MCU processing of frequency, it is characterised in that including following content:Using supply voltage as measured signal, become by isolating Depressor is depressured, and is then filtered the electric signal that isolating transformer exports by bandpass filter, after then filtering Electric signal divide two-way, be connected after being handled all the way by signal conditioning circuit with the ADC input terminals of MCU, for sampling current electricity Pressure, is confirmed whether to have a power failure;Another way forms square wave after being handled by hysteresis comparator, draws subsequently into the timer capture of MCU Foot is realized frequency measurement by MCU and is judged;The result that last MCU will determine that is input to corresponding display by relay Equipment.
2. the method that alternating current and oil machine power supply are judged based on periodic method frequency according to claim 1, it is characterised in that:It is described MCU uses the STM32F030F4P6 in Cortex-M0 family devices.
3. the method according to claim 1 or claim 2 that alternating current and oil machine power supply are judged based on periodic method frequency, it is characterised in that: The clock frequency of the MCU is 1MHz.
CN201711219238.3A 2017-11-28 2017-11-28 A kind of method that alternating current and oil machine power supply are judged based on periodic method frequency Pending CN108051640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711219238.3A CN108051640A (en) 2017-11-28 2017-11-28 A kind of method that alternating current and oil machine power supply are judged based on periodic method frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711219238.3A CN108051640A (en) 2017-11-28 2017-11-28 A kind of method that alternating current and oil machine power supply are judged based on periodic method frequency

Publications (1)

Publication Number Publication Date
CN108051640A true CN108051640A (en) 2018-05-18

Family

ID=62121132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711219238.3A Pending CN108051640A (en) 2017-11-28 2017-11-28 A kind of method that alternating current and oil machine power supply are judged based on periodic method frequency

Country Status (1)

Country Link
CN (1) CN108051640A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108808660A (en) * 2018-06-06 2018-11-13 江苏亚奥科技股份有限公司 A kind of base station oil engine electric generation management method based on rotating ring system
CN109669070A (en) * 2019-01-02 2019-04-23 中电和瑞科技有限公司 A kind of frequency measurement method and frequency measurement circuit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201812154U (en) * 2010-07-02 2011-04-27 上海汉鼎电力科技有限公司 Frequency detection module of satellite synchronous clock device
CN102749508A (en) * 2011-04-20 2012-10-24 北京德威特继保自动化科技股份有限公司 Frequency measurement device and method
CN202661575U (en) * 2012-07-23 2013-01-09 杨光友 Device for distinguishing mains supply from generator power supply
CN104849685A (en) * 2015-04-27 2015-08-19 上海交通大学 Partial discharge detector performance evaluation method
CN205864269U (en) * 2016-04-26 2017-01-04 安徽师范大学 A kind of uninterrupted variable-frequency power sources of backup type

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201812154U (en) * 2010-07-02 2011-04-27 上海汉鼎电力科技有限公司 Frequency detection module of satellite synchronous clock device
CN102749508A (en) * 2011-04-20 2012-10-24 北京德威特继保自动化科技股份有限公司 Frequency measurement device and method
CN202661575U (en) * 2012-07-23 2013-01-09 杨光友 Device for distinguishing mains supply from generator power supply
CN104849685A (en) * 2015-04-27 2015-08-19 上海交通大学 Partial discharge detector performance evaluation method
CN205864269U (en) * 2016-04-26 2017-01-04 安徽师范大学 A kind of uninterrupted variable-frequency power sources of backup type

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108808660A (en) * 2018-06-06 2018-11-13 江苏亚奥科技股份有限公司 A kind of base station oil engine electric generation management method based on rotating ring system
CN108808660B (en) * 2018-06-06 2021-03-23 江苏亚奥科技股份有限公司 Base station oil engine power generation management method based on dynamic loop system
CN109669070A (en) * 2019-01-02 2019-04-23 中电和瑞科技有限公司 A kind of frequency measurement method and frequency measurement circuit

Similar Documents

Publication Publication Date Title
CN104569902A (en) Digital type electric energy meter power consumption measuring device and method
CN105487039A (en) Conjunction box without power loss during replacement
CN103176066A (en) Digitization power quality monitoring device
CN108051640A (en) A kind of method that alternating current and oil machine power supply are judged based on periodic method frequency
CN204575733U (en) A kind of high-tension cable sheath grounding current on-line monitoring system
US9575102B2 (en) Dispersed state monitoring device for distributed generation
CN109375120A (en) The monitoring method of alternating current is scurried into DC power system
CN203464994U (en) Novel overhead power transmission line galloping monitoring device
CN205091391U (en) Direct current busbar voltage ripple detection device
CN103023046B (en) Based on the operating passing zero filtering reactive power compensator that dsp chip controls
CN116449164B (en) Insulation detection method, system and storage medium for industrial and commercial energy storage alternating current-direct current system
CN203385783U (en) Low-power intelligent high-voltage charged display locking device based on AVR microcontroller
CN204631180U (en) A kind of parallel thyristors leak current detection device and system
CN204633477U (en) A kind of precision intelligence alternating current-direct current distributing monitoring system
CN205826763U (en) Terminal electricity consumption acquisition system based on three-phase program-controlled power supply
CN213364891U (en) Nuclear phase detection device based on low-voltage transformer area grid connection
CN207611099U (en) A kind of transducer testing system
CN107247174A (en) Monitor the circuit of sewage disposal device multichannel operating mode electric current
CN203455024U (en) Early warning apparatus for secure operation of switch cabinet
CN208654244U (en) A kind of three-phase electric energy mass-synchrometer
CN208367139U (en) A kind of measurement loop condition monitoring device being integrated in special transformer terminals
CN207586327U (en) High-voltage parallel capacitor on-line monitoring system
CN206990665U (en) Monitor the circuit of sewage disposal device multichannel operating mode electric current
CN207301202U (en) Low-voltage distribution network circuit health status monitors device on-line
CN105759116A (en) Low-voltage power line power grid frequency collection device and frequency measurement algorithm

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180518