CN104713602A - Turbine flow meter provided with double central processing units (CPUs), and processing method of turbine flow meter - Google Patents

Turbine flow meter provided with double central processing units (CPUs), and processing method of turbine flow meter Download PDF

Info

Publication number
CN104713602A
CN104713602A CN201510149720.9A CN201510149720A CN104713602A CN 104713602 A CN104713602 A CN 104713602A CN 201510149720 A CN201510149720 A CN 201510149720A CN 104713602 A CN104713602 A CN 104713602A
Authority
CN
China
Prior art keywords
communication
control cpu
flow
flow meter
module
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
CN201510149720.9A
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.)
Tianjin University of Commerce
Original Assignee
Tianjin University 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 Tianjin University of Commerce filed Critical Tianjin University of Commerce
Priority to CN201510149720.9A priority Critical patent/CN104713602A/en
Publication of CN104713602A publication Critical patent/CN104713602A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a turbine flow meter provided with double central processing units (CPUs), and a processing method of the turbine flow meter. According to the turbine flow meter, the output control CPU is used for being in charge of a current output module, a frequency output module, a flow display module, a key input module and a digital communication module; the measurement control CPU is used for acquiring flow signals processed by a turbine signal processing circuit; the output control CPU has communication with the measurement control CPU by a serial peripheral interface (SPI). The work process of the measurement control CPU comprises the steps of detecting whether flow measurement is completed or not; if not, continuously carrying out flow measurement and data processing; if yes, carrying out communication by a communication label; then, detecting whether the communication is completed or not; if yes, continuously carrying out flow measurement. The work process of the output control CPU comprises the steps of detecting whether the communication label is available or not; if not, carrying out other operations such as current output, frequency output, flow display, key input, digital communication and the like; if yes, carrying out communication and data processing; carrying out other operations after processing. The turbine flow meter provided with double CPUs is simple in structure and high in practicality, and can be widely applied to the field of flow measurement.

Description

A kind of dual processors turbo flow meter and disposal route thereof
Technical field
The present invention relates to field of flow measurement, particularly relate to a kind of dual processors turbo flow meter and disposal route.
Background technology
Turbo flow meter is a kind of flowmeter being carried out measuring flow by the rotating speed of detection impeller.Current instrument and meter industry development rapidly, intellectuality and the integration degree of instrument are more and more higher, major part turbo flow meter is provided with electric current and exports, rate-adaptive pacemaker, flow indication, key-press input, and digital communication function, this intelligent turbo flow meter, mostly by a turbine signal processing circuit, wheel speed is converted into frequency signal, through CPU frequency acquisition, the flow value of fluid is obtained again through computing, and display it, and exported by electric current, rate-adaptive pacemaker, or the mode such as digital communication is transferred to host computer and is further processed.This turbo flow meter is owing to only having a CPU, complete the various functions such as frequency acquisition, electric current output, rate-adaptive pacemaker, digital communication, key-press input, flow indication, may produce owing to responding the frequency collection mistake caused not in time, electric current, rate-adaptive pacemaker not in time, key response not in time or digital communication the problem such as to make mistakes.Tracing it to its cause, is that computational burden is too heavy because turbo flow meter only has a CPU, and when detecting and process, response causes not in time.
Summary of the invention
The present invention in order to solve turbo flow meter owing to responding the frequency collection mistake that causes not in time, electric current, rate-adaptive pacemaker not in time, key response not in time or digital communication the problem such as to make mistakes, provide a kind of dual processors turbo flow meter and disposal route thereof.
The technical scheme adopted for realizing object of the present invention is:
A kind of dual processors turbo flow meter, comprise and export control CPU and Survey control CPU, described output control CPU is responsible for current output module, rate-adaptive pacemaker module, flow indication module, keyboard input module and digital communication module; Described Survey control CPU is responsible for gathering the flow signal by the process of turbine signal processing circuit; Export between control CPU and Survey control CPU and adopt SPI communication.
Described output control CPU and Survey control CPU selects MSP430 series monolithic MSP430F5418A, or adopts MSP430 other single-chip microcomputers of series or MCS-51 or AVR series monolithic.
A kind of disposal route of dual processors turbo flow meter, described Survey control CPU is the main frame of SPI communication, control SPI communication process, concrete steps are as follows: first detect and whether complete flow measurement, if do not completed, proceed flow measurement and data processing, if complete flow measurement just carry out communication to communication symbol, finally detect whether communication completes, if complete communication, proceed flow measurement; Described output control CPU be SPI communication from machine, its control procedure concrete steps are as follows: first detect and whether have communication symbol, if without communication symbol, then carry out electric current output, rate-adaptive pacemaker, key-press input, flow indication and digital communication successively, continue after digital communication to have judged whether communication symbol; If there is communication symbol, carry out communication and data processing, after having processed, carry out electric current output, rate-adaptive pacemaker, key-press input, flow indication and digital communication successively again.
Compared with prior art, the invention has the beneficial effects as follows:
Dual processors turbo flow meter of the present invention uses two CPU, one is used for controlling flow measurement, one is used for carrying out electric current output, rate-adaptive pacemaker, flow indication, key-press input, other operations such as digital communication, effectively can solve turbo flow meter owing to responding the frequency collection mistake caused not in time, electric current, rate-adaptive pacemaker not in time, key response not in time or digital communication the problem such as to make mistakes, thus turbo flow meter can be made to measure accurately, export accurately, substantially increase the reliability of turbo flow meter, dual processors turbo flow meter structure of the present invention is simple, practical, field of flow measurement can be widely used in.
Accompanying drawing explanation
Figure 1 shows that dual processors turbo flow meter theory diagram of the present invention;
Figure 2 shows that output control CPU software flow pattern of the present invention;
Figure 3 shows that Survey control CPU software flow pattern of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
Dual processors turbo flow meter theory diagram of the present invention as shown in Figure 1, comprises and exports control CPU and Survey control CPU, wherein exports control CPU and is responsible for current output module, rate-adaptive pacemaker module, flow indication module, keyboard input module and digital communication module; Survey control CPU is responsible for gathering the flow signal by the process of turbine signal processing circuit; Export between control CPU and Survey control CPU and adopt SPI communication.
Output control CPU control flow of the present invention as shown in Figure 2, export control CPU be SPI communication from machine, its idiographic flow is: first detect and whether have communication symbol, if no marks, then carry out other operations such as electric current output, rate-adaptive pacemaker, flow indication, key-press input, digital communication, if there is communication symbol, carry out communication and data processing, after having processed, carry out other operations again.
Survey control CPU control flow of the present invention as shown in Figure 3, Survey control CPU is the main frame of SPI communication, control SPI communication process, ensure that communication process does not affect the collection of flow signal, its idiographic flow is: detect whether complete flow measurement, do not complete, proceed flow measurement and data processing, just puts communication symbol carry out communication if complete flow measurement, detect whether communication completes again, if complete, proceed flow measurement.
Dual processors turbo flow meter of the present invention utilizes the functional module of existing intelligent turbine flowmeter, use two CPU, one is used for controlling flow measurement, one is used for carrying out electric current output, rate-adaptive pacemaker, flow indication, key-press input, other operations such as digital communication, effectively can solve turbo flow meter like this owing to responding the frequency collection mistake caused not in time, electric current, rate-adaptive pacemaker not in time, key response not in time or digital communication the problem such as to make mistakes, thus turbo flow meter can be made to measure accurately, export accurately, substantially increase the reliability of turbo flow meter, dual processors turbo flow meter structure of the present invention is simple, practical, field of flow measurement can be widely used in.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (3)

1. a dual processors turbo flow meter, is characterized in that, comprise and export control CPU and Survey control CPU, described output control CPU is responsible for current output module, rate-adaptive pacemaker module, flow indication module, keyboard input module and digital communication module; Described Survey control CPU is responsible for gathering the flow signal by the process of turbine signal processing circuit; Export between control CPU and Survey control CPU and adopt SPI communication.
2. dual processors turbo flow meter according to claim 1, it is characterized in that, described output control CPU and Survey control CPU selects MSP430 series monolithic MSP430F5418A, or adopts MSP430 other single-chip microcomputers of series or MCS-51 or AVR series monolithic.
3. the disposal route of a dual processors turbo flow meter, it is characterized in that, described Survey control CPU is the main frame of SPI communication, control SPI communication process, concrete steps are as follows: first detect and whether complete flow measurement, if do not completed, proceed flow measurement and data processing, if complete flow measurement just carry out communication to communication symbol, finally detect whether communication completes, if complete communication, proceed flow measurement; Described output control CPU be SPI communication from machine, its control procedure concrete steps are as follows: first detect and whether have communication symbol, if without communication symbol, then carry out electric current output, rate-adaptive pacemaker, key-press input, flow indication and digital communication successively, continue after digital communication to have judged whether communication symbol; If there is communication symbol, carry out communication and data processing, after having processed, carry out electric current output, rate-adaptive pacemaker, key-press input, flow indication and digital communication successively again.
CN201510149720.9A 2015-04-01 2015-04-01 Turbine flow meter provided with double central processing units (CPUs), and processing method of turbine flow meter Pending CN104713602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510149720.9A CN104713602A (en) 2015-04-01 2015-04-01 Turbine flow meter provided with double central processing units (CPUs), and processing method of turbine flow meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510149720.9A CN104713602A (en) 2015-04-01 2015-04-01 Turbine flow meter provided with double central processing units (CPUs), and processing method of turbine flow meter

Publications (1)

Publication Number Publication Date
CN104713602A true CN104713602A (en) 2015-06-17

Family

ID=53413127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510149720.9A Pending CN104713602A (en) 2015-04-01 2015-04-01 Turbine flow meter provided with double central processing units (CPUs), and processing method of turbine flow meter

Country Status (1)

Country Link
CN (1) CN104713602A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201017447Y (en) * 2007-03-20 2008-02-06 天津亚旭科技发展有限公司 GSM remote data transfer control device
CN201210073Y (en) * 2008-06-12 2009-03-18 刘东清 Micro impeller type cumulative flow and instant flow PC data communication device
CN101614566A (en) * 2009-06-29 2009-12-30 合肥工业大学 Low-power and two-wire vortex shedding flowmeter based on Fast Fourier Transform (FFT)
US20100100654A1 (en) * 2008-10-20 2010-04-22 Daniel Measurement And Control, Inc. Coupling a Specialty System, Such as a Metering System, to Multiple Control Systems
CN202158875U (en) * 2011-06-11 2012-03-07 杭州电子科技大学 Vortex flow meter
CN202948335U (en) * 2012-12-12 2013-05-22 北京七星华创电子股份有限公司 Gas mass flow control apparatus based on double CPU

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201017447Y (en) * 2007-03-20 2008-02-06 天津亚旭科技发展有限公司 GSM remote data transfer control device
CN201210073Y (en) * 2008-06-12 2009-03-18 刘东清 Micro impeller type cumulative flow and instant flow PC data communication device
US20100100654A1 (en) * 2008-10-20 2010-04-22 Daniel Measurement And Control, Inc. Coupling a Specialty System, Such as a Metering System, to Multiple Control Systems
CN101614566A (en) * 2009-06-29 2009-12-30 合肥工业大学 Low-power and two-wire vortex shedding flowmeter based on Fast Fourier Transform (FFT)
CN202158875U (en) * 2011-06-11 2012-03-07 杭州电子科技大学 Vortex flow meter
CN202948335U (en) * 2012-12-12 2013-05-22 北京七星华创电子股份有限公司 Gas mass flow control apparatus based on double CPU

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马崇良: "《单片微型计算机原理及应用》", 31 December 1996, 北京:中国纺织出版社 *

Similar Documents

Publication Publication Date Title
CN103982413B (en) Pump class efficiency on-line checkingi appraisal procedure and system
CN203949716U (en) A kind of digital weighing sensor
CN204556728U (en) A kind of power panel three-phase ac signal phase detection device
CN104199343A (en) Micro data collection system based on serial storage mode
CN202599446U (en) Intelligent temperature and humidity detection sensor
CN205210623U (en) Analog data acquisition controller based on DSP+ARM industry treater and FPGA
CN104713602A (en) Turbine flow meter provided with double central processing units (CPUs), and processing method of turbine flow meter
CN203925973U (en) Pump class efficiency detects evaluating system online
CN206710912U (en) A kind of high-precision multipoint parallel temperature control device
CN104713546A (en) Novel non-contact photoelectric detection method for high-speed two-dimensioned motion tracks
CN203433507U (en) A fault detection device for a computer mainboard
CN204855638U (en) A frock for measuring motor electric current and voltage
CN104061886A (en) Data collecting and processing method used for digital display measuring tool
CN204406391U (en) A kind of data of optical fiber gyroscope R-T unit based on SPI
CN203849627U (en) Temperature control system
CN204177575U (en) A kind of insert bearing fault detection system based on DSP and ARM
CN208012754U (en) A kind of data collecting card suitable for optical fiber vibration sensing
CN107064679A (en) New Electric Quality Monitoring and monitoring method
CN106655960A (en) Elevator speed detection system
CN206756930U (en) One kind can be used for control multifunctional intellectual electric instrument
CN206271166U (en) A kind of wireless data acquisition device based on Zigbee
CN204851728U (en) Utilize watchdog circuit to detect fan running state's circuit
CN202205078U (en) Multi-channel data acquisition equipment
CN203759181U (en) Electric cable fault real-time detection system
CN206057366U (en) A kind of SCM Based wind speed and direction measuring device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150617

RJ01 Rejection of invention patent application after publication