CN108282581A - A kind of ultrasonic flowmeter parameter setting module based on Bluetooth communication - Google Patents
A kind of ultrasonic flowmeter parameter setting module based on Bluetooth communication Download PDFInfo
- Publication number
- CN108282581A CN108282581A CN201810120436.2A CN201810120436A CN108282581A CN 108282581 A CN108282581 A CN 108282581A CN 201810120436 A CN201810120436 A CN 201810120436A CN 108282581 A CN108282581 A CN 108282581A
- Authority
- CN
- China
- Prior art keywords
- ultrasonic flowmeter
- parameter setting
- processor
- parameter
- setting 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72412—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F1/00—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
- G01F1/66—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by measuring frequency, phase shift or propagation time of electromagnetic or other waves, e.g. using ultrasonic flowmeters
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F15/00—Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
- G01F15/06—Indicating or recording devices
- G01F15/061—Indicating or recording devices for remote indication
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72415—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Fluid Mechanics (AREA)
- Electromagnetism (AREA)
- Measuring Volume Flow (AREA)
Abstract
The present invention discloses a kind of ultrasonic flowmeter parameter setting module based on Bluetooth communication, including the blue tooth interface circuit that processor, power supply, the RS485 interface circuits for being communicated to connect with ultrasonic flowmeter and the communication of mobile terminal for being read out and being arranged with the parameter to ultrasonic flowmeter are connect, the power supply is powered by RS485 interface circuits, processor described in pair of connecting wires and to blue tooth interface circuit respectively;The RS485 interface circuits, which are connect by interface with ultrasonic flowmeter, realizes data transmit-receive, the processor is connect with the transmitting-receiving pin of the RS485 interface circuits realizes data transmission, and the processor is connect with the data transmit-receive end of blue tooth interface circuit realizes data transmission.The parameter that ultrasonic flowmeter is arranged by Bluetooth communication by mobile terminal can be achieved in the present invention.
Description
Technical field
The present invention relates to instrument and meter applied technical fields, and in particular to one kind is by Blue-tooth communication method to supersonic flow
Gauge carries out the parameter setting module of parameter setting and reading.
Background technology
Flowmeter is as measuring instrument, in environmental engineering, energy measurement, communications and transportation, plant produced, biological skill
The fields such as art, scientific experiment play increasingly important role.With making rapid progress for science and technology, new flowmeter is also such as the spring after rain
It is emerged as bamboo shoot.Existing flowmeter is varied, in recent years, as the technologies such as electronic technology, digital technology quickly develop, surpasses
The cost of acoustic wave flow meter declines to a great extent;Meanwhile the importance of demand that the industries fluid flow such as oil, chemical industry measures exists
It is increasingly prominent in production process so that the application field of ultrasonic flowmeter is more and more wider.Ultrasonic flowmeter collection microcontroller skill
Art and sensor are, it can be achieved that non-contact measurement and measurement method is simple, precision is high and reaches Real-time Monitoring Data
Function.Its exclusive advantage of ultrasonic flowmeter makes it have actual application value and vast market prospect.
But during the installation of ultrasonic flowmeter and use, need to carry out it parameter initialization setting or progress
Periodic inspection and adjustment such as need that caliber is arranged, measure medium, measurement range, ultrasonic propagation velocity, temperature benefit when mounted
The parameters such as coefficient, flow velocity penalty coefficient, echo detecting circuit gain are repaid, need to check instantaneous velocity, flow in the process of running
And the information such as integrated flux, it needs that ultrasonic flowmeter communication frequency, signal output format is arranged when carrying out system upgrade
With the parameters such as agreement.The included parameter setting of ultrasonic flowmeter is realized by four buttons, and parameter setting and information are read
Process is taken to need to realize by complicated key logic, not only cumbersome but also inefficiency needs progress a large amount of on time wrong
Repetitive operation is modified, therefore very inconvenient.Ultrasonic flowmeter generally realizes information networking by communication interface, passes through net
It is also a kind of feasible mode that network, which is configured its parameter, but in order to protect system safe, permission one is arranged in remote parameter
As will not open.Fairly simple mode is to be directly connected to ultrasonic flowmeter by laptop and directly carry out parameter to set
It sets, but laptop is not only inconvenient to carry, and also typically no AC power near instrument, laptop are not supported
It works in the case of long-time non-transformer.Therefore, a kind of portable Implement of Function Module ultrasonic flowmeter parameter is designed just
Prompt, quick setting has prodigious use value.
Invention content
To solve the problems, such as the parameter setting of ultrasonic flowmeter, a kind of ultrasonic flowmeter based on Bluetooth communication is devised
Parameter setting module easily can be read out the parameter of ultrasonic flowmeter such as mobile phone conveniently by mobile terminal
And setting.
The technical solution adopted to achieve the purpose of the present invention is as follows:
A kind of ultrasonic flowmeter parameter setting module based on Bluetooth communication, including processor, power supply, be used for and ultrasound
RS485 interface circuits of wave flowmeter communication connection and for the parameter to ultrasonic flowmeter being read out and being arranged
The blue tooth interface circuit of communication of mobile terminal connection, the power supply pass through RS485 interface circuits, processor described in pair of connecting wires respectively
And it powers to blue tooth interface circuit;The RS485 interface circuits, which are connect by interface with ultrasonic flowmeter, realizes that data are received
Hair, the processor is connect with the transmitting-receiving pin of the RS485 interface circuits realizes that data transmission, the processor connect with bluetooth
Data transmission is realized in the data transmit-receive end connection of mouth circuit.
The processor uses the other STM32F103 processors of technical grade.
The power supply is battery.
The power supply includes 3 section dry cells, is connect respectively to the RS485 interface circuits, processor and to bluetooth
Mouth circuit power supply.
The present invention is connected by Blue-tooth communication method and mobile terminal, such as mobile phone, and the ginseng of mobile terminal transmission may be implemented
Number setting instruction is sent to by bluetooth module in parameter setting module, then is forwarded to progress parameter in ultrasonic flowmeter and is set
It sets, equally can also the parameter that ultrasonic flowmeter stores be sent to mobile phone terminal through Blue-tooth communication method shows.
Only RS485 cable Connecting quantities need to be arranged when needing to carry out parameter setting to ultrasonic flowmeter by the present invention
Module and ultrasonic flowmeter, and open the Bluetooth AP P in mobile terminal and establish Bluetooth communication with parameter setting module, it completes
Parameter setting can be carried out to ultrasonic flowmeter by mobile terminal after pairing and read the ginseng of ultrasonic flowmeter storage
Number, such as caliber, measurement medium, temperature compensation coefficient, flow velocity penalty coefficient, echo detecting circuit gain.Module knot of the present invention
Structure is simple, compact, easy to carry and use, eliminates the tedious steps that ultrasonic flowmeter parameter is arranged by button,
Also it is inconvenient using computer installation ultrasonic flowmeter parameter to solve the problems, such as.
Description of the drawings
Fig. 1 is the functional block diagram of the ultrasonic flowmeter parameter setting module based on Bluetooth communication.
Fig. 2 is the circuit diagram of the minimum system of processor STM34F103.
Fig. 3 is the circuit diagram of the RS485 interface circuits based on SP3485E.
Specific implementation mode
The present invention is described in further detail below in conjunction with the drawings and specific embodiments.It should be appreciated that described herein
Specific embodiment be only used to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, a kind of ultrasonic flowmeter parameter setting module based on Bluetooth communication, including processor, power supply,
RS485 interface circuits for being communicated to connect with ultrasonic flowmeter and for being read with the parameter to ultrasonic flowmeter
The blue tooth interface circuit of communication of mobile terminal connection for taking and being arranged, the power supply passes through RS485 interfaces described in pair of connecting wires respectively
Circuit, processor and to blue tooth interface circuit power;The RS485 interface circuits are connect by interface with ultrasonic flowmeter
Realize data transmit-receive, the processor is connect with the transmitting-receiving pin of the RS485 interface circuits realizes data transmission, the processing
Device is connect with the data transmit-receive end of blue tooth interface circuit realizes data transmission.
The parameter setting module can be communicated by RS485 communication modes with ultrasonic flowmeter, can will be handled
The parameter that device receives is transmitted in ultrasonic flowmeter, equally can also be by the arrange parameter of the ultrasonic flowmeter storage mould
Block is forwarded on mobile terminal and is shown.
When work, arrange parameter that parameter setting module of the invention is received processor by RS485 communication modes
It is transmitted in ultrasonic flowmeter, realizes that parameter setting module is communicated with ultrasonic flowmeter, it equally can also will be ultrasonic
It is shown in the arrange parameter of the wave flowmeter storage module forwards to the mobile terminal with display screen.
Further, the parameter setting module further includes that red power supply electrifying indicator light and green LED working condition refer to
Show lamp, is connect respectively by indicating circuit with the processor.In the normal meeting blinking green LED operation of parameter setting
Status indicator lamp is prompted twice, and printenv setting instruction keeps normal state of going out to save electric energy, the parameter setting mould when sending
Block normally works on power under state, and red power supply electrifying indicator light is in is always on state in normal state.
Preferably, which is realized using the other STM32F103 processors of technical grade as control core to mobile terminal
With the communication of ultrasonic flowmeter, that is, realize the forwarding of the parameter setting instruction to ultrasonic flowmeter parameter and mobile terminal.
It uses the STM32F103 of technical grade as core controller, there is stronger function and higher reliability.
Preferably, the communication chip of the RS485 interface circuits selects SP3485E models.
The blue tooth interface circuit may be used existing bluetooth communication and be communicated, as using NRF51822 as core
Direct insertion integrated bluetooth communication, the Bluetooth AP P of installation and blue tooth interface circuit communication in the mobile terminal are realized and ginseng
The blue tooth interface circuit of number setup module establishes communication connection by connection, pairing.
Wherein, mobile terminal is when referring to module transmission parameter setting instruction to parameter setting by blue tooth interface circuit
Prevent malfunction, ensure the safety of communication, can " AT " as instruction prefix, otherwise parameter setting module return instruction
Send false command.Ultrasonic flowmeter parameter when being uploaded to mobile terminal parameter setting module can " AK " beginning, otherwise
To the parameter read error of ultrasonic flowmeter.For ease of reusing, parameter setting module may be designed to automatically save last
Data are arranged in primary parameter.
It should be noted that in the present invention, the communication protocol of the parameter setting module and ultrasonic flowmeter can be arranged,
User illustrates the baud rate communicated with ultrasonic flowmeter to parameter setting module, association according to the parameter device of ultrasonic flowmeter
Frame head, content format, order length, communication baud rate and the verification mode etc. of view frame are configured, and ensure ultrasonic flow
The efficient communication of meter and parameter setting module.
Wherein, in the present invention, the power supply is battery, and the mobile terminal can be mobile phone, the handheld-type intelligents such as IPAD
Mobile terminal device.The power switch of module is opened when in use, and module normally powers on, and red power supply indicator is in normal shape
It is under state and is always on state.It is carried out twice in the normal meeting blinking green LED operation state instruction instruction of parameter setting
Prompt, printenv setting instruct the state that keeps often going out when sending to save electric energy.
Specifically, the power supply includes 3 section dry cells, respectively to the RS485 interface circuits, processor and right
Blue tooth interface circuit provides power supply.
Steps are as follows for the use of the parameter setting module:
Step 1:By RS485 interface circuits, the parameter setting interface of parameter setting module and ultrasonic flowmeter is connected
It connects;
Step 2:Parameter setting module power switch is opened, is powered on to parameter setting module, at this time red power supply indicator
It lights;
Step 3:Mobile terminal Bluetooth AP P is opened, searches for and the Bluetooth signal of Connecting quantity setup module, completion is matched;
Step 4:" AT " instruction is sent to parameter setting module by mobile terminal Bluetooth AP P, waits for parameter setting module
Blinking green leads to working station indicator once and returns " OK ", and parameter setting module enters working condition;
Step 5:The messaging parameter of parameter setting module and ultrasonic flowmeter is configured, including baud rate, verification
Mode, frame head, command format etc. are often arranged a parameter and green working station indicator flicker are waited for once to show parameter configuration
It completes.If it is the ultrasonic flowmeter for repeating that model of the same race is arranged, then this step is can skip, step 6 is directly entered;
Step 6:To the caliber of pipeline, measurement medium type, temperature compensation coefficient, flow velocity penalty coefficient, echo detecting electricity
The parameters such as road gain are configured, and the flicker of green communications indicator light is waited for once to show that parameter configuration is completed per setting option parameter;
Step 7:Mobile terminal Bluetooth AP P sends to parameter setting module and reads instruction, reads ultrasonic flowmeter parameter,
Arrange parameter is checked;
Step 8:Parameter setting module power switch is closed after parameter confirmation, and disconnects parameter setting module and ultrasound
The communication line of wave flowmeter, parameter setting are completed.
The present invention is based on Bluetooth communication ultrasonic flowmeter parameter designing modules to realize through mobile phone easily to ultrasound
The parameter of wave flowmeter is read out and is arranged, small using dry cell power supply, and light weight is easy to carry and use.Pass through
Bluetooth approach and communication of mobile terminal, there is no limit do not need extras and flower for brand and operating system to mobile terminal
Take, it is cost-effective, it is easy to use.In addition, the communications setting of the module and ultrasonic flowmeter can be supported batch primary with postponing
Amount configuration ultrasonic flowmeter parameter, effectively improves working efficiency.In the ultrasonic flow timing for replacing different brands or agreement
Reconfigurable messaging parameter, it is adaptable.
The above is only a preferred embodiment of the present invention, it is noted that for the common skill of the art
For art personnel, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications
Also it should be regarded as protection scope of the present invention.
Claims (4)
1. a kind of ultrasonic flowmeter parameter setting module based on Bluetooth communication, it is characterized in that:Including processor, power supply, use
In the RS485 interface circuits communicated to connect with ultrasonic flowmeter and for being read out with the parameter to ultrasonic flowmeter
And the blue tooth interface circuit of the communication of mobile terminal connection of setting, the power supply pass through RS485 interfaces electricity described in pair of connecting wires respectively
Road, processor and to blue tooth interface circuit power;The RS485 interface circuits are connect by interface with ultrasonic flowmeter real
Existing data transmit-receive, the processor is connect with the transmitting-receiving pin of the RS485 interface circuits realizes data transmission, the processor
It is connect with the data transmit-receive end of blue tooth interface circuit and realizes data transmission.
2. the ultrasonic flowmeter parameter setting module according to claim 1 based on Bluetooth communication, it is characterized in that:It is described
Processor uses the other STM32F103 processors of technical grade.
3. the ultrasonic flowmeter parameter setting module according to claim 1 based on Bluetooth communication, it is characterized in that:It is described
Power supply is battery.
4. the ultrasonic flowmeter parameter setting module according to claim 1 based on Bluetooth communication, it is characterized in that:It is described
Power supply includes 3 section dry cells, is powered respectively to the RS485 interface circuits, processor and to blue tooth interface circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810120436.2A CN108282581A (en) | 2018-02-07 | 2018-02-07 | A kind of ultrasonic flowmeter parameter setting module based on Bluetooth communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810120436.2A CN108282581A (en) | 2018-02-07 | 2018-02-07 | A kind of ultrasonic flowmeter parameter setting module based on Bluetooth communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108282581A true CN108282581A (en) | 2018-07-13 |
Family
ID=62807822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810120436.2A Pending CN108282581A (en) | 2018-02-07 | 2018-02-07 | A kind of ultrasonic flowmeter parameter setting module based on Bluetooth communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108282581A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714764A (en) * | 2018-12-29 | 2019-05-03 | 浙江中控自动化仪表有限公司 | A kind of guard grating configuration delivery method |
CN112798175A (en) * | 2021-02-24 | 2021-05-14 | 北京康斯特仪表科技股份有限公司 | Method for rapidly configuring working parameters of metering device and pressure metering device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202915966U (en) * | 2012-08-10 | 2013-05-01 | 深圳市建恒测控股份有限公司 | Ultrasonic flowmeter with wireless technology function |
CN205582220U (en) * | 2016-02-24 | 2016-09-14 | 昆明理工大学 | Oversize vehicle ultrasonic wave real -time protection method oil mass data acquisition device |
CN106770641A (en) * | 2017-03-02 | 2017-05-31 | 张潮 | A kind of portable intelligent nondestructive detection system and method for detection based on mobile terminal |
-
2018
- 2018-02-07 CN CN201810120436.2A patent/CN108282581A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202915966U (en) * | 2012-08-10 | 2013-05-01 | 深圳市建恒测控股份有限公司 | Ultrasonic flowmeter with wireless technology function |
CN205582220U (en) * | 2016-02-24 | 2016-09-14 | 昆明理工大学 | Oversize vehicle ultrasonic wave real -time protection method oil mass data acquisition device |
CN106770641A (en) * | 2017-03-02 | 2017-05-31 | 张潮 | A kind of portable intelligent nondestructive detection system and method for detection based on mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714764A (en) * | 2018-12-29 | 2019-05-03 | 浙江中控自动化仪表有限公司 | A kind of guard grating configuration delivery method |
CN112798175A (en) * | 2021-02-24 | 2021-05-14 | 北京康斯特仪表科技股份有限公司 | Method for rapidly configuring working parameters of metering device and pressure metering device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101349900B (en) | Gas large user terminal observe and control system based on wireless sensor network | |
CN104700506A (en) | Safety cut-off type remotely-controlled intelligent mass flow rate gas meter and management system thereof | |
CN108282581A (en) | A kind of ultrasonic flowmeter parameter setting module based on Bluetooth communication | |
CN103399555B (en) | Flammable, toxic gas wireless intelligent monitoring system | |
CN108154672A (en) | System and method is configured in a kind of ultrasonic liquid flow meter Automatic parameter | |
CN208061413U (en) | A kind of ultrasonic liquid flow meter Automatic parameter configuration system | |
CN208094652U (en) | A kind of ultrasonic flowmeter parameter setting module based on Bluetooth communication | |
CN109238322A (en) | It is a kind of that system is monitored based on infrared transmitting tube and the pointer instrument of reception pipe | |
CN101566488A (en) | Wireless intelligent gas meter with extremely low power dissipation | |
CN205981500U (en) | But remote control's intelligent pressure transmitter | |
CN201666802U (en) | Integrated intelligent orifice-plate flowmeter based on ZIGBEE technology | |
CN206192430U (en) | Long -range meter system that copies based on pulse water gauge | |
CN102568186A (en) | Parameter configuration and system updating device of non-contact data acquisition instrument | |
CN203162557U (en) | On-line monitoring system for leakage of city water supply pipe network | |
CN212623642U (en) | Thing networking gas management system based on zigBee | |
CN207336628U (en) | A kind of small-size voltage monitoring, alarming circuit | |
CN204988406U (en) | Fuel gas metering device and system based on power communication | |
CN206258154U (en) | Wireless remote photoelectric direct-reading water meter | |
CN208537718U (en) | A kind of positioning terminal based on narrowband Internet of Things NB-IoT technology | |
CN206479821U (en) | A kind of pressure vessel operation monitoring system | |
CN205748835U (en) | A kind of device for plane hydraulic system leak detection | |
CN201215685Y (en) | Wireless water meter actively transmitting data and preventing collision | |
CN209182984U (en) | Integrated wireless remote meter reading terminal device | |
CN209148063U (en) | A kind of temperature and pressure compensation NB-IoT transmission gas meter, flow meter | |
CN202472916U (en) | Long-distance wireless measuring device for ambient temperature |
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 |