A kind of Low-power-consumptiodormancy dormancy electromagnetic flowmeter and control methodTechnical field
The invention belongs to metering field, and in particular to a kind of Electromagnetic Flow that super low-power consumption is realized by intelligent dormant technologyMeter.
Background technology
Battery powered electromagnetic flowmeter needs that electromagnetic flowmeter operating power consumption is greatly reduced.Traditional low power consumption electromagneticEffusion meter is except electric circuit and shows using low consumption circuit and low-power consumption IC, is also exactly to reduce exciting current and gap is adoptedThe technology of sample is realizing low-power consumption.But sampling this scheme in gap can lose certain certainty of measurement.
The content of the invention
In order to solve above-mentioned technical problem present in prior art, the invention provides a kind of Low-power-consumptiodormancy dormancy electromagnetic currentGauge, including:MCU circuits, sample circuit, excitation control circuit, empty pipe detection circuitry, display circuit, touch key-press is described to adoptSample circuit, excitation control circuit, empty pipe detection circuitry, display circuit, touch key-press connects respectively with MCU circuits, the MCUCircuit adopts MKM34Z128CLL5 low power processors;The display circuit adopts low-power consumption LCD;The touch key-press is adoptedCY8C20140-SX2I touches IC;The excitation control circuit adopts super low-power consumption MOSFET.
Present invention also offers a kind of control method of Low-power-consumptiodormancy dormancy electromagnetic flowmeter, comprises the steps:
Empty pipe detection circuitry is to the analysis of electrode signal dynamic and the pre- judgement of trend;
If judging that flowed fluctuation diminishes by increasing the sampling interval by the amplitude of variation and rate of change size of electrode signalReduce power consumption;
If it is determined that the fluctuation to flow has the trend of increase to reduce excitation interval in the case of control magnet exciting coil power.
Further, if the system detects that flow is zero within the long time, it is automatically switched off magnet exciting coil entranceThe pattern of super low-power consumption.
Further, close and flow signal monitoring is kept after magnet exciting coil, sampling is recovered when there is flow.
Further, when empty pipe detection circuitry determines empty pipe condition, close flow signal monitoring, until pipeline againFull packages is returned to into common low-power consumption mode.
The present invention is by the dynamic analysis of flow and the intelligence of blank pipe full packages and dynamic analysis.In the case where there is flowIn the case of flowed fluctuation is smaller or compares smoothly, system increases the sampling interval automatically, to reduce power consumption.If instead streamThe normal low-power consumption mode of amount big ups and downs switchback.If the system detects that 0 flow or empty pipe condition, system shutdown exciting current is straightArrive to normal discharge signal.
Description of the drawings
Fig. 1 is the flow chart of online updating embedded software of the present invention;
Fig. 2 is low power consumption electromagnetic flowmeter system block diagram of the present invention;
Fig. 3 is MCU circuit diagrams;
Fig. 4 is display circuit figure;
Fig. 5 is touch key-press circuit diagram;
Fig. 6 is excitation control circuit figure;
Fig. 7 is empty pipe detection circuitry figure.
Specific embodiment
Below in conjunction with the accompanying drawings the invention will be further described.
As illustrated in fig. 1 and 2, Low-power-consumptiodormancy dormancy electromagnetic flowmeter of the invention, including:MCU circuits 1, sample circuit 2, encourageControl circuit 3, empty pipe detection circuitry 4, display circuit 5, touch key-press 6, sample circuit 2, excitation control circuit 3, blank pipe inspectionSlowdown monitoring circuit 4, display circuit 5, touch key-press 6 connects respectively with MCU circuits 1.
As shown in figure 3, MCU circuits 1 adopt MKM34Z128CLL5 low power processors, sampled, shown, excitation controlThe realization of the intelligent function such as system and traffic trends judgement.
Sample circuit 2 is sampled to electrode signal, and then obtains flow and changes in flow rate trend.
As shown in figure 4, display circuit 5 is shown using low-power consumption LCD and can realize intelligent display and close.
As shown in figure 5, touch key-press 6 is using touch IC(CY8C20140-SX2I)Induced key partition capacitance changes messengerMachine interactive operation.Optimization low-power consumption mode is entered system when long-time is operated is compared(Such as closing display reduces CPU worksWorking frequency etc.).
As shown in fig. 6, excitation control circuit 3 adopts super low-power consumption MOSFET (FDN327N), by the intelligence control of MCU circuits 1Magnet exciting coil processed 7 switchs with clearance control to carry out precise controlling and the management of power, when flowed fluctuation is big, increases electric current.
As shown in fig. 7, empty pipe detection circuitry 4 is to the analysis of electrode signal dynamic and the pre- judgement of trend.If passing through electrodeThe amplitude of variation and rate of change size of signal judges that flowed fluctuation diminishes by increasing sampling interval reduction power consumption but energy is abundantEnsure the precision of sampling;If it is determined that the fluctuation to flow has trend reduction in the case of control magnet exciting coil power of increaseExcitation is spaced to ensure precision.Minor swing and steady flow amount situation account for the ratio of whole operating mode in the case of actual flowed fluctuationExample is that comparison is high.Can highly effective reduction Overall Power Consumption by this measure.
If the system detects that flow is zero within the long time.System will turn off excitation and enter super low-power consumptionPattern(The monitoring for only keeping flow signal recovers sampling when there is flow).
When empty pipe detection circuitry 4 determines empty pipe condition, system will further decrease power consumption(Close flow signal prisonControl), until pipeline is restored to the common low-power consumption mode of full packages.