CN102735295B - Liquid flow quantity measurement and control system - Google Patents

Liquid flow quantity measurement and control system Download PDF

Info

Publication number
CN102735295B
CN102735295B CN 201210235710 CN201210235710A CN102735295B CN 102735295 B CN102735295 B CN 102735295B CN 201210235710 CN201210235710 CN 201210235710 CN 201210235710 A CN201210235710 A CN 201210235710A CN 102735295 B CN102735295 B CN 102735295B
Authority
CN
China
Prior art keywords
main control
detection unit
flow detection
control unit
time
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
CN 201210235710
Other languages
Chinese (zh)
Other versions
CN102735295A (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.)
Guangzhou XISEN automation equipment Co. Ltd
Original Assignee
张金木
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 张金木 filed Critical 张金木
Priority to CN 201210235710 priority Critical patent/CN102735295B/en
Publication of CN102735295A publication Critical patent/CN102735295A/en
Application granted granted Critical
Publication of CN102735295B publication Critical patent/CN102735295B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a liquid flow quantity measurement and control system, which is formed by a plurality of flow quantity detection units and a main control unit. The power supply of the system is obtained by half-wave rectification, and the other half wave time is used for communicating through power wires. Each flow quantity detection unit circularly transmits the detection data to the main control unit according to the address order. The system adopts the counting value of the characteristic value of the cyclic wave of the electric network as the time reference of system synchronization.

Description

A kind of fluid flow TT﹠C system
(1) technical field:
The present invention relates to a kind of fluid flow TT﹠C system, it is made of a plurality of flow detection units and a main control unit, its power supply adopts half-wave rectification, hemiwave time is used between them through power line communication in addition, each flow detection unit sends by the sequence of addresses circulation to main control unit and detects data, and system adopts the eigenwert count value of grid cyclic wave as the time reference of system synchronization.
(2) background technology:
Flow is significant process parameter in the commercial production, in fields such as oil, chemical industry, metallurgy, water conservancies consequence is arranged. using aspect many all needs flow is measured and controls, economical and easy to install is the basic demand of these controlling units. liquid flow sensor can be measured the instantaneous delivery of plurality of liquid, gas and steam in circular pipe, the rectangular duct exactly, its output signal has pulse output, and electric current output etc. are multiple.For some relatively large application systems, simultaneously the fluid in the multiple-way duct is measured and controlled with regard to needing, it relates to message exchange between the devices in system, modal a kind of communication mode is many slaves of a main frame, adopt the multi-computer communication of RS485, RS232,12C bus between each slave, need with many buses, message exchange takies a large amount of CPU time and hardware resource, because it is all very large that general place scope is controlled in flow measurement, take the least possible port line for some provisional measurement controls with regard to the both sides that require to communicate.The present invention adopts each slave that is articulated on the power lead to send the system of information to main frame through power lead, and it has characteristics easy and that save hardware resource.
(3) summary of the invention:
Existing fluid flow TT﹠C system, its data bus all is the version that adopts many signal wires, hardware cost is high, wiring trouble, separately independent timing of each main frame slave in the system, its cumulative errors very greatly also must constantly be corrected when communication, if the interrupt mode addressing is adopted in the message exchange between the main frame slave, the waste hardware resource is if adopt the inquiry mode addressing, take a large amount of CPU time, native system has overcome above-mentioned shortcoming.
System is made of a plurality of flow detection units and a main control unit, the detection pulse signal of being sent here by flow sensor amplifies through shaping. and be coupled to single-chip microcomputer by photoelectric device and carry out the data processing, single-chip microcomputer makes liquid line realize leading to, closing according to result and flow prevalue control electromagnetic valve switch, and the calculated flow rate integrating and, show that not establishing the flow prevalue is the natural count state if the parameters such as instantaneous delivery are delivered to display, the liquid that flows through flowmeter does not have determined value.When liquid passed through sensor with flow Q, producing frequency was the pulse signal of f, and the pass of f and Q is:
f=K ·Q
K is the meter constant of sensor in the formula. the step-by-step counting that single-chip microcomputer is sent sensor obtains instantaneous delivery. then obtain the flow accumulation value according to calculating.
Native system relates to a kind of fluid flow TT﹠C system, it is to be made of a plurality of flow detection units and a main control unit, the power supply of each flow detection unit and main control unit, by public rectification diode the mains supply power supply being made half-wave rectification obtains, hemiwave time is used in the system through power line communication in addition, each flow detection unit and main control unit all begin an eigenwert counting to grid cyclic wave in the system after public power switch is connected, and with the count value of this grid cyclic wave eigenwert time reference as system synchronization, can adopt the grid cyclic wave zero crossing is counted, because the grid alternating current source frequency is low, and only obtain in the near zero-crossing point judgement, therefore have high Stability and veracity.Each flow detection unit is equipped with toggle switch and is provided with own unique address, the transmission that detects data is to preset after calculating by the count value of address and grid cyclic wave eigenwert, determine that each flow detection unit sends the time of detecting data to main control unit, this transmitting time is to send by the sequence of addresses circulation, leave as required several main control units therebetween to the time of flow detection unit sending controling instruction, flow detection unit adopts inquiry mode to receive in the time of sending controling instruction, and the corresponding relation of the count value of the address of above-mentioned transmitting time and this grid cyclic wave eigenwert is made form be preset in main control unit and each flow detection unit, it is to determine the beginning transmitting time that the count value of grid cyclic wave eigenwert characterizes by sequence of addresses, every flow amount detection unit transmitting time non-overlapping copies, each each flow detection unit of start is read first the toggle switch address, the count value of the corresponding cycle eigenwert when obtaining to begin to send of tabling look-up again, half-wave when flow detection unit count down to prevalue to the grid cyclic wave eigenwert just begins to send, each flow detection unit automatically sends to main control unit in order and detects data, main control unit receives the detection data by presetting the transmitting-receiving time, after all flow detection units all are sent, this more from the beginning circulation transmission of transmitting-receiving timing unit zero clearing, main control unit is when receiving the detection data, press the count value identification flow detection unit of grid cyclic wave eigenwert, if detecting data, certain time do not represent that the corresponding discharge detecting unit does not exist or fault, needn't carry out the flow detection unit registration when therefore starting shooting, main control unit can also additionally send the steering orders such as control electromagnetic valve switch to flow detection unit, when main control unit during to the flow detection unit sending controling instruction, the sending controling instruction time of then tabling look-up and selecting one to characterize with the count value of grid cyclic wave eigenwert, come sending controling instruction and flow detection unit address, addressed flow detection unit is in each sending controling instruction the time, receive by inquiry mode, above-mentioned each transmitting-receiving time only finishes in the hemiwave time of grid cyclic wave, only take a small amount of time of CPU, all be connected to an electronic switch on the passage of its signal transmission of described flow detection unit and main control unit, this electronic switch is only connected when receiving or sending the detection data, electronic switch always turn-offs at the hemiwave time of electrical network to system power supply, in addition half-wave conducting when transmitting-receiving detects data, the detection data that main control unit will receive and address thereof and time are kept in the storer so that demonstration or take storer away and read and write by host computer.
Native system is made of following modules:
Public power switch and rectification unit, half-wave rectification as power switch control and power supply, rectification unit comprises rectification diode and electronic switch, this electronic switch is by Single-chip Controlling in the control module, electronic switch is connected other hemiwave time at electrical network to the hemiwave time of system power supply and is turn-offed, and is used for improving security of system;
Main control unit, consisted of by isolation diode, power supply, cycle detection, storer, single-chip microcomputer, electronic switch, signal condition and keyboard display, be connected to the isolation diode at the power supply front end and be used for the isolated DC supply voltage, main control unit is used for receiving the detection data that flow detection unit sends and preserves and to the flow detection unit sending controling instruction;
Flow detection unit, consisted of by isolation diode, power supply, cycle detection, storer, toggle switch, single-chip microcomputer, electronic switch, signal condition, flow sensor, signal processing and driver, solenoid valve, also be connected to the isolation diode at the power supply front end and be used for the isolated DC supply voltage, flow detection unit is used for sending detection data and control electromagnetic valve switch to main control unit.
(4) description of drawings:
Fig. 1 is a kind of circuit structure block scheme of fluid flow TT﹠C system.
(5) embodiment:
A kind of circuit structure block scheme of fluid flow TT﹠C system as shown in Figure 1, it is used for the liquid flow measurement control in liquid handling pond.This system is made of public power switch 1 and rectification unit 2 and main control unit A, a plurality of flow detection unit B, rectification unit comprises rectification diode and electronic switch, this electronic switch is by Single-chip Controlling in the control module, and electronic switch is connected other hemiwave time at electrical network to the hemiwave time of system power supply and turn-offed.Its main control unit A is by isolation diode 3; power supply 4; all wave measurements 5; storer 6; single-chip microcomputer 7; electronic switch 8; signal condition 9; keyboard display 10 consists of; wherein isolate diode 3 and be used for the passage that blocking-up direct supply high voltage protective signal transmits; week, wave measurement 5 was for the grid cyclic wave zero cross signal being triggered single-chip microcomputer 7 generation interruptions and the grid cyclic wave zero cross signal is counted after shaping; electronic switch 8 turn-offed in the time beyond the measurement data that the reception measuring unit that makes it to preset under single-chip microcomputer 7 controls is sent; and in the time of connecting; electronic switch still turn-offs in the hemiwave time of system power supply at electrical network, in addition just conducting of hemiwave time.Flow detection unit B by isolation diode 13, power supply 14, all wave measurements 15, toggle switch 12, storer 16, single-chip microcomputer 17, electronic switch 18, signal condition 19, driver 20, solenoid valve 21, signal process 22, flow sensor 23 consists of, and is identical among the effect of wherein isolating diode 13, power supply 14, all wave measurements 15, electronic switch 18 and the main control unit A.The address of each measuring unit B is preset by toggle switch, and the data of detection send to main control unit A through electronic switch 18.
The detection pulse signal of being sent here by flow sensor amplifies through shaping. be coupled to the timer/counter input end T1 of single-chip microcomputer 17 by photoelectric device, 89C4051 by single-chip microcomputer 17 carries out the data processing, then export steering order, the control liquid line leads to, closes, the switch controlling signal of solenoid valve 21 is from single-chip microcomputer 17 outputs, amplify the conducting of triggering bidirectional triode thyristor through driver 20, solenoid valve is opened.

Claims (2)

1. fluid flow TT﹠C system, it is made of a plurality of flow detection units and a main control unit, the power supply of each flow detection unit and main control unit, by public rectification diode the mains supply power supply being made half-wave rectification obtains, hemiwave time is used in the system through power line communication in addition, each flow detection unit and main control unit all begin an eigenwert counting to grid cyclic wave in the system after public power switch is connected, and with the count value of this grid cyclic wave eigenwert time reference as system synchronization, it is characterized in that, each flow detection unit is equipped with toggle switch and is provided with own unique address, the transmission that detects data is to preset after calculating by the count value of address and grid cyclic wave eigenwert, determine that each flow detection unit sends the time of detecting data to main control unit, this transmitting time is to send by the sequence of addresses circulation, leave as required several main control units therebetween to the time of flow detection unit sending controling instruction, flow detection unit adopts inquiry mode to receive in the time of sending controling instruction, and the corresponding relation of the count value of the address of above-mentioned transmitting time and this grid cyclic wave eigenwert is made form be preset in main control unit and each flow detection unit, it is to determine the beginning transmitting time that the count value of grid cyclic wave eigenwert characterizes by sequence of addresses, every flow amount detection unit transmitting time non-overlapping copies, each each flow detection unit of start is read first the toggle switch address, the count value of the corresponding grid cyclic wave eigenwert when obtaining to begin to send of tabling look-up again, half-wave when flow detection unit count down to prevalue to the grid cyclic wave eigenwert just begins to send, each flow detection unit automatically sends to main control unit in order and detects data, main control unit receives the detection data by presetting the transmitting-receiving time, after all flow detection units all are sent, this more from the beginning circulation transmission of transmitting-receiving timing unit zero clearing, main control unit is when receiving the detection data, press the count value identification flow detection unit of grid cyclic wave eigenwert, when main control unit during to the flow detection unit sending controling instruction, the sending controling instruction time of then tabling look-up and selecting one to characterize with the count value of grid cyclic wave eigenwert, come sending controling instruction and flow detection unit address, addressed flow detection unit is in each sending controling instruction the time, receive by inquiry mode, all be connected to an electronic switch on the passage of its signal transmission of described flow detection unit and main control unit, this electronic switch is only connected when detecting data receiving or send, and the detection data that main control unit will receive and address thereof and time are kept in the storer so that demonstration or take storer away and read and write by host computer.
2. a kind of fluid flow TT﹠C system according to claim 1 is characterized in that comprising:
Public power switch and rectification unit, half-wave rectification as power switch control and power supply, rectification unit comprises rectification diode and electronic switch, this electronic switch is by Single-chip Controlling in the main control unit, electronic switch is connected other hemiwave time at electrical network to the hemiwave time of system power supply and is turn-offed, and is used for improving security of system;
Main control unit, consisted of by isolation diode one, power supply one, cycle detection one, storer one, single-chip microcomputer one, electronic switch one, signal condition one and keyboard display, be connected to isolation diode one at power supply one front end and be used for the isolated DC supply voltage, main control unit is used for receiving the detection data that flow detection unit sends and preserves and to the flow detection unit sending controling instruction;
Flow detection unit, consisted of by isolation diode two, power supply two, cycle detection two, storer two, toggle switch two, single-chip microcomputer two, electronic switch two, signal condition two, flow sensor, signal processing and driver, solenoid valve, also be connected to isolation diode two at power supply two front ends and be used for the isolated DC supply voltage, flow detection unit is used for sending detection data and control electromagnetic valve switch to main control unit.
CN 201210235710 2012-06-27 2012-06-27 Liquid flow quantity measurement and control system Active CN102735295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210235710 CN102735295B (en) 2012-06-27 2012-06-27 Liquid flow quantity measurement and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210235710 CN102735295B (en) 2012-06-27 2012-06-27 Liquid flow quantity measurement and control system

Publications (2)

Publication Number Publication Date
CN102735295A CN102735295A (en) 2012-10-17
CN102735295B true CN102735295B (en) 2013-10-23

Family

ID=46991214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210235710 Active CN102735295B (en) 2012-06-27 2012-06-27 Liquid flow quantity measurement and control system

Country Status (1)

Country Link
CN (1) CN102735295B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036754B (en) * 2012-11-22 2015-11-04 青岛海尔空调电子有限公司 A kind of multi-gang air-conditioner communication system and communication means
CN102984866A (en) * 2012-12-17 2013-03-20 湖南师范大学 Intelligent power module for LED lamps, based on electric carrier waves with address control
CN110875792A (en) * 2019-11-29 2020-03-10 东南大学 Battery management unit sampling and data uploading method based on active synchronization

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1046822A (en) * 1989-04-29 1990-11-07 裴丛国 Multichannel analog signals circle transmission method and device
US5122948A (en) * 1990-06-28 1992-06-16 Allen-Bradley Company, Inc. Remote terminal industrial control communication system
CN1073272A (en) * 1991-12-09 1993-06-16 横河电机株式会社 Dcs
CN102124420A (en) * 2008-05-09 2011-07-13 塞甘有限责任公司 Addressable led light string

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1046822A (en) * 1989-04-29 1990-11-07 裴丛国 Multichannel analog signals circle transmission method and device
US5122948A (en) * 1990-06-28 1992-06-16 Allen-Bradley Company, Inc. Remote terminal industrial control communication system
CN1073272A (en) * 1991-12-09 1993-06-16 横河电机株式会社 Dcs
CN102124420A (en) * 2008-05-09 2011-07-13 塞甘有限责任公司 Addressable led light string

Also Published As

Publication number Publication date
CN102735295A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
KR102132245B1 (en) Method for automatic mapping between smart plug and electronic device in a home gateway and apparatus thereof
CN102735295B (en) Liquid flow quantity measurement and control system
CN204359542U (en) A kind of Real-Time Monitoring is in the detection system by household air-conditioner parameter
CN102759896B (en) Principal and subordinate communication system based on alternating current power lines
CN102709758A (en) Smart socket for home or Internet of things system
CN206178035U (en) Electric quantity gauge system based on sharing basic station
CN102185747A (en) Automatic remote meter reading system
CN105589436A (en) Oil field water flooding monitoring system based on PROFIBUS fieldbus
CN102722125B (en) Data detecting system
CN204206285U (en) A kind of air-source water heater is reported to the police and display analysis device
CN103245931B (en) Power information collecting device electric energy meter metrical pulse simulation system and output intent
CN205861130U (en) A kind of sensor-based water power usage amount monitoring device
CN203224265U (en) Membrane type gas meter
CN203838030U (en) Density measuring device for dense-medium coal dressing suspension liquid
KR101620990B1 (en) Temperature Monitering System of Heat Tracing part by Using PLC Controller
CN106546291A (en) A kind of control system for gathering various data
CN106816001A (en) A kind of centralized automatic meter-reading terminal passageway detection means
CN204422742U (en) Intelligent electric energy meter remote supervision system
CN104316895A (en) Single-phase and three-phase power meter detector
CN204228945U (en) A kind of single three-phase electric energy meter detecting instrument
CN105628209A (en) Novel infrared temperature measurement module
CN208672726U (en) A kind of malfunction elimination mancarried device
CN202838011U (en) Multifunctional integrated acquisition device
CN210401513U (en) Intelligent networked equipment running state electrical parameter detection device based on card type microcomputer
CN203490283U (en) Multifunctional power consumption detection equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160427

Address after: 511495 Guangdong city of Guangzhou province Panyu District Village Street Gaosha industrial district C5 first

Patentee after: Guangzhou XISEN automation equipment Co. Ltd

Address before: 350004 Fuzhou City, Taijiang province Yi Chau longevity Park, block 401, 8,

Patentee before: Zhang Jinmu