CN105809941A - MBUS heat meter data collection controller and collection method - Google Patents

MBUS heat meter data collection controller and collection method Download PDF

Info

Publication number
CN105809941A
CN105809941A CN201610151297.0A CN201610151297A CN105809941A CN 105809941 A CN105809941 A CN 105809941A CN 201610151297 A CN201610151297 A CN 201610151297A CN 105809941 A CN105809941 A CN 105809941A
Authority
CN
China
Prior art keywords
circuit
mbus
voltage
chip microcomputer
power supply
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
CN201610151297.0A
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.)
Anyang Institute of Technology
Original Assignee
Anyang Institute of Technology
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 Anyang Institute of Technology filed Critical Anyang Institute of Technology
Priority to CN201610151297.0A priority Critical patent/CN105809941A/en
Publication of CN105809941A publication Critical patent/CN105809941A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

Provided are an MBUS heat meter data collection controller and collection method.The MBUS heat meter data collection controller comprises a single chip microcomputer, a power circuit, a sending circuit and a receiving circuit.The collection method is achieved by means of the MBUS heat meter data collection controller.The data collection method comprises the following steps that when data needs to be collected, an instruction is sent to the single chip microcomputer through an upper computer, the single chip microcomputer is driven by an XL6009 enable terminal to start an MBUS power supply and drives the sending circuit and the receiving circuit to work, the receiving circuit converts a current signal into a voltage signal and inputs the voltage signal to the single chip microcomputer for value size identification after receiving the current signal, the single chip microcomputer drives output of analog voltage with a corresponding value according to the size of a signal value to a voltage comparator, and outputting is conducted after comparison is conducted.According to the collection controller, reference voltage is regulated in time according to change situations of loads, outputting is safe, reliable and capable of saving power, and flow is saved in the remote transmission process.

Description

A kind of MBUS calorimeter data acquisition controller and acquisition method
Technical field
The present invention relates to a kind of MBUS calorimeter data acquisition controller and implementation, belong to field of intelligent control technology.
Background technology
The Major Strategic that energy-saving and emission-reduction are countries is disposed.Heat supply in winter consumes a large amount of heat energy, and the past adopts the Scientific Measurement being not suitable with the energy by the metering method of area charge, wastes substantial amounts of energy consumption.Live to build now portion's installation at popularization family, whole nation calorimeter, carry out the on-demand use of heat, spend multiplex more, need not spend, having promoted the efficient utilization to heat energy, the central heating of current China, heating system meterage gradually spread out, and metering device main in thermal substation is exactly calorimeter.Calorimeter is a kind of electromechanical integration instrument based on microprocessor and high-precision sensor, and with the gauge table that building industry has commonly used in the past, such as water meter, ammeter, gas meter are compared, and it has more complicated design and higher technology content.Calorimeter passes through temperature and two kinds of sensors of flow, records heat carrier respectively at the temperature imported and exported and flow, obtains caloric value then through compensation and the integral and calculating of density and heat enthalpy value.Meter bus MBus(Meter-Bus) it is a kind of bus protocol exclusively for the design of calorimeter remote data transmission, it is to measure a kind of important technology that instrumented data is transmitting digitized, have been widely used for heat metering field, and become a part (European standard EN1434-3) for the heat metering standard in Europe.nullTraditional MBUS acquisition controller circuit is as shown in Figure 7,In the circuit shown in Fig. 7,What Q11 was set as having simple voltage stabilizing ability penetrates base follower,The voltage of emitter stage changes with base voltage,When sending high level signal,Serial ports TX end is high level,Q13 is not turned on,R010、R040 dividing potential drop makes the base level of Q11 be about 12.7V,Namely the level of MBUS+ is positively retained at about 12V,Owing to the level of MBUS-end is-24V,So the voltage obtained on R1 is about 36v,When sending low level,Serial ports TX end is low level,Q13 turns on,The base level of Q11 is zero,Namely the level of MBUS+ end is positively retained at about-0.7v,Owing to the level of MBUS-end is always-24v,R010 upper acquisition voltage is about 23.3v,Send low level time ratio and send low about 12v during high level,Receive current sampling resistor R070 to be placed on the collector loop of Q11,One end of R070 is AC earth simultaneously,Carry out electric capacity direct-coupling,Q12、Q14 completes to receive the amplification shaping of waveform,Resistance R080 and electric capacity C120 forms (about 1HZ) high pass filter that cut-off frequency is very low,Stop the load change impact on receiving waveform,And allow the reception signal of 300 ~ 9600Hz pass through;The shortcoming of this circuit is as follows: one is that employing analog device builds, and the diversity of analog device causes performance disunity, and the resistance shift at sample resistance causes the distortion of signal;Two is the load curent change that causes of change more than receiving curent change that electric current causes greatly, directly affects DC Level Shift, causes signal waveform distortion, and this causes that the calorimeter of different manufacturers can produce error when access system;The poor compatibility of the calorimeter of the many different manufacturers of system and varying number, three is that protection circuit relies primarily on+12v and 24v power source short-circuit protection, protects delayed, easily burns out triode in actual use;Four is that current this MBUS is when being operated by long-distance meter-reading system, it is generally adopted GPRS network and realizes telecommunication, the employing controller of application at present is regardless of whether there is the generation checked meter continual to remotely sending data, and the event of checking meter is interval generation, the a lot of hash to remote transmission by this way, causing that GPRS flow is too high, remote meter reading communication cost is big.
Summary of the invention
It is an object of the invention to overcome in prior art MBUS calorimeter data acquisition controller and control the defect existed in implementation, it is provided that a kind of MBUS calorimeter data acquisition controller and implementation.
A kind of MBUS calorimeter data acquisition controller provided by the present invention, including single-chip microcomputer, described acquisition controller also includes power circuit, transtation mission circuit and reception circuit,
Described power circuit adopts 220V power supply to be converted to 12V power supply through power supply adaptor, 12V power supply is converted to 5V power supply through CP1703 chip and powers to single-chip microcomputer, 12V power supply is converted to high level power supply through XL6009 chip, and high level power supply is converted to low level power by 78M24 chip;
nullDescribed transtation mission circuit is: low level power is connected to the positive pole of diode D2,The negative pole of diode D2 connects the transmitting terminal of MBUS,The output of high level power supply is connected on metal-oxide-semiconductor,The grid of metal-oxide-semiconductor is connected on the control signal circuit of single-chip microcomputer output,High level power supply is connected to the negative pole of diode D2 after metal-oxide-semiconductor exports,The control signal circuit of described single-chip microcomputer output includes the resistance R8 being connected on microcontroller serial port,Audion Q1 it is connected to after resistance R8,Resistance R9 it is connected to after triode Q1,Resistance R9 is connected between the end of metal-oxide-semiconductor with the output of high level power supply and is connected to resistance R10,The grid of metal-oxide-semiconductor is connected after resistance R9,When the serial ports of single-chip microcomputer exports electronegative potential,Triode Q1 is not turned on,Metal-oxide-semiconductor is not turned on,Diode D2 turns on,The transmitting terminal of MBUS obtains low level;When exporting high potential on the serial ports of single-chip microcomputer, triode Q1 turns on, and the grid of metal-oxide-semiconductor makes metal-oxide-semiconductor turn on after obtaining driving voltage, and the metal-oxide-semiconductor after conducting makes diode D2 end, and the transmitting terminal of MBUS obtains high level voltage;
nullDescribed reception circuit is: be connected to divider resistance R13 at MBUS signal receiving end,MBUS receives current signal and accesses Chip Microcomputer A/D _ 1 after divider resistance R13,The SPI interface of single-chip microcomputer is connected to D/A circuit output analog voltage,Analog voltage accesses the IN+ end of voltage comparator LM2903,MBUS signal receiving end is also associated with sampling resistor R15,The other end ground connection of sampling resistor R15,MBUS signal receiving end enters the IN-end of voltage comparator LM2903 after resistance R18,When MBUS signal receiving end has signal,The pressure drop of certain value is become under the effect of divider resistance R13,After single-chip microcomputer, single-chip microcomputer knows for sure and receives the size of signal value,Single-chip microcomputer according to the size of the signal value received from SPI interface exports the analog voltage IN+ end to voltage comparator LM2903,Simultaneously MBUS signal receiving end enters the IN-end of voltage comparator LM2903 after resistance R18 and compares,Signal inputs to single-chip microcomputer from the IOUT interface of voltage comparator LM2903,Further,XL6009 chip in transtation mission circuit has Enable Pin,Enable Pin is connected in the I/O interface of single-chip microcomputer,Further,Receive the other end of divider resistance R13 in circuit and be connected to resistance R14,The other end ground connection of R14,The plus earth of diode D3,Negative pole is connected in the AD input of single-chip microcomputer,Further,Receive sampling resistor R15=20 Ω in circuit,Resistance R18=20K Ω,Resistance R13=10K Ω,Electric capacity C16 it is also connected with between MBUS signal receiving end and ground connection,Electric capacity C16=0.01 μ F,Further,Receive resistance R14=10K Ω in circuit,Further,Receiving and being connected to D/A circuit on the SPI interface of the single-chip microcomputer described in circuit is MCP4801 chip,Further,MBUS transtation mission circuit is connected to relay,Relay is connected to single-chip microcomputer
A kind of MBUS calorimeter collecting method of offer of the present invention, adopts above-mentioned MBUS calorimeter data acquisition controller to realize, and collecting method is as follows:
(1) when needs gather data, issuing instructions to single-chip microcomputer by host computer, single-chip microcomputer is driven by XL6009 Enable Pin and opens MBUS power supply, and drives transtation mission circuit and receive circuit work;
null(2) after circuit powers on,Single-chip microcomputer is first measured and is received the voltage of AD_1 point in circuit,Calculate the voltage of IN+ end 2 pin of comparator LM2903,Then single-chip microcomputer passes through spi bus,Control the DA chip MCP4801 output voltage 3 pins to comparator LM2903,And constantly gather the voltage of AD_1 point,Make 3 pin voltage of comparator LM2903 more than comparator 2 pin voltage,And it is slightly less than the voltage of comparator 2 pin when transmitting digital 0 in bus,This voltage is as the reference voltage of comparator,Reference voltage is different according to the voltage difference of AD_1 point,When slave station return current pulse train,Change the voltage of comparator IN+ end 2 pin,By compared with reference voltage,OUT1 pin output voltage pulse train,It is after 0 ~ 5V signal through level conversion,The serial ports receiving the single-chip microcomputer in circuit receives pin RX1,In communication process,AD_1 point voltage value constantly changes,Before bus sends data to calorimeter,Stop the voltage sample of AD_1 point,After receiving slave station data and returning,Restart the voltage sample to AD_1 point,Every 1 second according to the different voltage of ADI point,Update a reference voltage,Further,When MBUS is short-circuited,Single-chip microcomputer is learnt rapidly according to the voltage drop value on divider resistance R13,Single-chip microcomputer turns off MBUS output circuit by control relay circuit,Making voltage on external MBUS circuit is 0,Simultaneously,Turn off the Enable Pin 3 of XL6009 chip,The circuit making output 36v is output as 0,Now panel circuit LED instruction short-circuit condition,Single-chip microcomputer interval opens and closes internal 12V voltage repeatedly,Open and close relay simultaneously and connect outside MBUS circuit,Whether the outside MBUS circuit of test releases short-circuit condition,Such software controls repeatedly to compare test,Until short circuit releases,Further,When single-chip microcomputer obtain host computer check meter order time,Single-chip microcomputer is driven by XL6009 Enable Pin and opens MBUS power supply,And drive transtation mission circuit and receive circuit work,The data received are transmitted to remote control center by GPRS network;When event of not checking meter occurs, single-chip microcomputer cuts out 36V power supply by XL6009 Enable Pin, and making the power consumption on circuit is zero, simultaneously closes off GPRS transmission;When single-chip microcomputer, not obtain checking meter of host computer injunctive, and single-chip microcomputer oneself stores the data of MBUS transmission over networks, does not carry out GPRS remote transmission.
nullThe positive Advantageous Effects of the present invention is in that: the present invention adopts Single-chip Controlling,Transtation mission circuit adopts two-way LDO voltage and 36v and 24V,Output high-low voltage is switched over by metal-oxide-semiconductor,Namely calorimeter MBUS receives 1 and 0 required for circuit,LDO is voltage stabilization in output power range,Metal-oxide-semiconductor is quick when switching,There is no pressure drop,So that not affected by load circuit impedance when sending meter reading signal,Ensure stabilization of level,Ensure that the reliability of data on circuit simultaneously,Chip XL6009 has Enable Pin,Its work can be controlled by the I/O port of single-chip microcomputer,When single-chip microcomputer detects short circuit,This enable port can be passed through and close the output of MUBS,Ensure the safety of whole system,Receiving circuit adopts single-chip microcomputer first to detect the size of signal,Then transport to voltage comparator according to the size corresponding analog voltage of output of signal to compare,Ensure that and remain able to export reliably signal when load changes,Distortion and the entanglement of data signal will not be caused because of the change of load,Moreover by single-chip microcomputer by A/D end detection signal,When being short-circuited,Single-chip microcomputer can be immediately detected,Corresponding protection circuit is coordinated to can ensure that the safe operation of whole system,In the present invention, protection adopts combination of hardware protection,Reliability is high,Make the instrument safety in this controller and network reliable.
Accompanying drawing explanation
Fig. 1 is the supply voltage lifting schematic diagram of the present invention.
Fig. 2 is 12V power conversion is the schematic diagram of 36V.
Fig. 3 is transtation mission circuit schematic diagram.
Fig. 4 is relay protection circuit schematic diagram.
Fig. 5 receives circuit theory diagrams.
Fig. 6 is the circuit theory diagrams of single-chip microcomputer output transform analog voltage.
Shown in Fig. 7 is traditional MBUS acquisition controller circuit theory diagrams.
Detailed description of the invention
In order to explain the enforcement of the present invention more fully, it is provided that the embodiment of the present invention, these embodiments are only the elaboration to the present invention, do not limit the scope of the invention.
In conjunction with accompanying drawing, the present invention is described in more detail, Fig. 1 is the power conversion figure of the application, in figure, 220V power supply is converted to 12V power supply through power supply adaptor, 12V power supply is converted to 5V power supply through MCP1703 chip and powers to single-chip microcomputer, 12V power supply is converted to 36V power supply through XL6009 chip, 36V power supply is converted to low level power by 78M24 chip, Fig. 2 is 12V power conversion is the schematic diagram of 36V, in the present embodiment, described high level power supply is 36V power supply, low level power is 24V power supply, in actual applications, the low and high level that every MBUS of meeting requires and is mutually matched all can use, it is not limited to the 36V in the application, 24V;
nullThe square frame that in transtation mission circuit schematic diagram shown in Fig. 3, TX1 connects is single-chip microcomputer,,XL6009 chip has Enable Pin,Enable Pin is connected in the I/O interface of single-chip microcomputer,24V power supply is connected to the positive pole of diode D2,The negative pole of diode D2 connects the transmitting terminal of MBUS,The output of 36V power supply is connected on metal-oxide-semiconductor,The grid of metal-oxide-semiconductor is connected on the control signal circuit of single-chip microcomputer output,36V power supply is connected to the negative pole of diode D2 after metal-oxide-semiconductor exports,The control signal circuit of described single-chip microcomputer output includes the resistance R8 being connected on microcontroller serial port,Audion Q1 it is connected to after resistance R8,Resistance R9 it is connected to after triode Q1,Resistance R9 and 36V power supply exports and is connected to resistance R10 between the end being connected metal-oxide-semiconductor,The grid of metal-oxide-semiconductor is connected after resistance R9,When the serial ports of single-chip microcomputer exports electronegative potential,Metal-oxide-semiconductor is not turned on,Diode D2 turns on,The transmitting terminal of MBUS obtains 24V voltage,I.e. logic low,When the serial ports of single-chip microcomputer exports high potential,Triode Q1 turns on,The grid of metal-oxide-semiconductor makes metal-oxide-semiconductor turn on after obtaining driving voltage,Metal-oxide-semiconductor after conducting makes diode D2 end,The transmitting terminal of MBUS obtains 36V voltage,I.e. logic high,Filter capacitor C13 is have employed when the output of 36V power supply is to 78M24,Filter capacitor C10 is have employed when the output of 36V power supply is closed to MOS,In Fig. 2,Audion Q1 adopts TIP41C,R8=1kΩ,R9=1kΩ,R10=3.921kΩ,Level output area on microcontroller serial port is at 0-5V,Metal-oxide-semiconductor adopts AOD409,Diode D5 is connected between MBUS+ and MBUS-;
Fig. 5, Fig. 6 are the circuit theory diagrams relevant to receiving circuit, are all shown without single-chip microcomputer in Fig. 5, Fig. 6, and AD_1 pin is the pin on single-chip microcomputer in Figure 5, TX1 output is also to single-chip microcomputer, in Fig. 6, SPI interface, namely the CS interface in figure, SCK interface, SDI interface.nullSuch as Fig. 5、MBUS calorimeter data acquisition controller shown in Fig. 6 receives circuit,Including single-chip microcomputer,It is connected to divider resistance R13 at MBUS signal receiving end,R13=10KΩ,MBUS receives current signal and accesses the voltage of the AD_1 point that knows for sure after Chip Microcomputer A/D _ 1 pin carries out A/D conversion after divider resistance R13,The SPI interface of single-chip microcomputer is connected to D/A circuit output analog voltage,In Fig. 6, MCP4801 chip is D/A conversion chip,The analog voltage of MCP4801 output exports from ADJUST-V end,Analog voltage accesses IN end 3 pin of voltage comparator LM2903,MBUS signal receiving end is also associated with sampling resistor R15,Sampling resistor R15=20 Ω,The other end ground connection of sampling resistor R15,MBUS signal receiving end enters IN end 2 pin of voltage comparator LM2903 after resistance R18,R18=20K,When MBUS signal receiving end has signal,The pressure drop of certain value is become under the effect of divider resistance R13,After Chip Microcomputer A/D conversion, single-chip microcomputer knows for sure and receives the size of signal value,Single-chip microcomputer according to the size of the signal value received from SPI interface exports analog voltage IN end 3 pin to voltage comparator LM2903,By sampling resistor, the electric current loop of signal is transformed to Voltage loop,Simultaneously MBUS signal receiving end enters IN end 2 pin of voltage comparator LM2903 after resistance R18 and compares,Signal inputs to single-chip microcomputer from the IOUT interface of voltage comparator LM2903,The other end of divider resistance R13 is connected to resistance R14,R14=10KΩ,The other end ground connection of resistance R14,The plus earth of diode D3,Negative pole is connected in the AD input of single-chip microcomputer,Foregoing circuit forms the protection circuit to single-chip microcomputer,Electric capacity C16 it is also connected with between MBUS signal receiving end and ground connection,Electric capacity C16=0.01 μ F.After this controller powers on, bus is powered from machine calorimeter telecommunication circuit, the reasons such as the characteristic due to the number of load and load, pressure drop on R15 can be different, this is also the reason that a lot of MBUS reception circuit can not correctly copy and accept data when load characteristic or number change, after circuit powers on, first measure the voltage between R13 and R14, calculate the voltage of IN end 2 pin of comparator LM2903.Then single-chip microcomputer passes through spi bus, control DA chip MCP4801 output voltage IN end 3 pin to comparator LM2903, and constantly gather the voltage of AD_1 point, make 3 pin voltage of comparator LM2903 more than comparator 2 pin voltage, and it is slightly less than the voltage of comparator 2 pin when transmitting digital 0 in bus, this voltage is as the reference voltage of comparator, reference voltage is different according to the voltage difference of AD_1 point, a form can be set up and store in single-chip microcomputer memorizer, in order to inquiry, when slave station return current pulse train, change the voltage of comparator 2 pin, by compared with reference voltage, OUT1 pin output voltage pulse train, it is after 0 ~ 5V signal through level conversion, the serial ports connecing single-chip microcomputer receives pin RX1.nullOwing to adjusting the reference voltage of comparator 3 pin in real time according to the voltage of AD_1 point,This reception circuit adaptive capacity is made to be greatly enhanced,In communication process,Because AD_1 point voltage value constantly changes,Before bus sends data to calorimeter,Stop the voltage sample of AD1 point,After receiving slave station data and returning,Restart the voltage sample to AD1 point,Every 1S according to the different voltage of AD_1 point,Update a reference voltage,The plus earth of Zener diode D3,Negative pole is connected in the AD_1 input of single-chip microcomputer,Foregoing circuit forms protection circuit,The AD input of protection single-chip microcomputer,,By single-chip microcomputer by AD_1 place end detection signal,If once be short-circuited,Then the level of MBUS receiving terminal can raise rapidly,Single-chip microcomputer can be immediately detected,Coordinate corresponding protection circuit can also ensure the safe operation of whole system;Fig. 4 is relay protection circuit schematic diagram, and relay protection is connected to the front end of MUBS+, and relay is connected on single-chip microcomputer.
A kind of MBUS calorimeter collecting method of offer of the present invention, adopts above-mentioned MBUS calorimeter data acquisition controller to realize, and collecting method is as follows:
(1) when needs gather data, issuing instructions to single-chip microcomputer by host computer, single-chip microcomputer is driven by XL6009 Enable Pin and opens MBUS power supply, and drives transtation mission circuit and receive circuit work;
null(2) after circuit powers on,Single-chip microcomputer is first measured and is received the voltage of AD_1 point in circuit,Calculate the voltage of IN+ end 2 pin of comparator LM2903,Then single-chip microcomputer passes through spi bus,Control the DA chip MCP4801 output voltage 3 pins to comparator LM2903,And constantly gather the voltage of AD_1 point,Make 3 pin voltage of comparator LM2903 more than comparator 2 pin voltage,,And it is slightly less than the voltage of comparator 2 pin when transmitting digital 0 in bus,This voltage is as the reference voltage of comparator,Reference voltage is different according to the voltage difference of AD_1 point,When slave station return current pulse train,Change the voltage of comparator IN+ end 2 pin,By compared with reference voltage,OUT1 pin output voltage pulse train,It is after 0 ~ 5V signal through level conversion,The serial ports receiving the single-chip microcomputer in circuit receives pin RX1,In communication process,AD_1 point voltage value constantly changes,Before bus sends data to calorimeter,Stop the voltage sample of AD_1 point,After receiving slave station data and returning,Restart the voltage sample to AD_1 point,Every 1 second according to the different voltage of ADI point,Update a reference voltage,Further,When MBUS is short-circuited,Single-chip microcomputer is learnt rapidly according to the voltage drop value on divider resistance R13,Single-chip microcomputer turns off MBUS output circuit by control relay circuit,Making voltage on external MBUS circuit is 0,Simultaneously,Turn off the Enable Pin 3 of XL6009 chip,The circuit making output 36v is output as 0,Now panel circuit LED instruction short-circuit condition,Single-chip microcomputer interval opens and closes internal 12V voltage repeatedly,Open and close relay simultaneously and connect outside MBUS circuit,Whether the outside MBUS circuit of test releases short-circuit condition,Test is compared in such control repeatedly,Until short circuit releases,Further,When single-chip microcomputer obtain host computer check meter order time,Single-chip microcomputer is driven by XL6009 Enable Pin and opens MBUS power supply,And drive transtation mission circuit and receive circuit work,The data received are transmitted to remote control center by GPRS network;When event of not checking meter occurs, single-chip microcomputer cuts out 36V power supply by XL6009 Enable Pin, and making the power consumption on circuit is zero, simultaneously closes off GPRS transmission;When single-chip microcomputer, not obtain checking meter of host computer injunctive, and single-chip microcomputer oneself stores the data of MBUS transmission over networks, does not carry out GPRS remote transmission.
After describing embodiments of the present invention in detail, one of ordinary skilled in the art is clearly understood that, various change and amendment can be carried out under without departing from above-mentioned claim and spirit, all any simple modification, equivalent variations and modifications above example made according to the technical spirit of the present invention, belong to the scope of technical solution of the present invention, and the present invention is also not only restricted in description the embodiment of example.

Claims (10)

1. a MBUS calorimeter data acquisition controller, including single-chip microcomputer, it is characterised in that: described acquisition controller also includes power circuit, transtation mission circuit and reception circuit,
Described power circuit adopts 220V power supply to be converted to 12V power supply through power supply adaptor, 12V power supply is converted to 5V power supply through CP1703 chip and powers to single-chip microcomputer, 12V power supply is converted to high level power supply through XL6009 chip, and high level power supply is converted to low level power by 78M24 chip;
nullDescribed transtation mission circuit is: low level power is connected to the positive pole of diode D2,The negative pole of diode D2 connects the transmitting terminal of MBUS,The output of high level power supply is connected on metal-oxide-semiconductor,The grid of metal-oxide-semiconductor is connected on the control signal circuit of single-chip microcomputer output,High level power supply is connected to the negative pole of diode D2 after metal-oxide-semiconductor exports,The control signal circuit of described single-chip microcomputer output includes the resistance R8 being connected on microcontroller serial port,Audion Q1 it is connected to after resistance R8,Resistance R9 it is connected to after triode Q1,Resistance R9 is connected between the end of metal-oxide-semiconductor with the output of high level power supply and is connected to resistance R10,The grid of metal-oxide-semiconductor is connected after resistance R9,When the serial ports of single-chip microcomputer exports electronegative potential,Triode Q1 is not turned on,Metal-oxide-semiconductor is not turned on,Diode D2 turns on,The transmitting terminal of MBUS obtains low level;When exporting high potential on the serial ports of single-chip microcomputer, triode Q1 turns on, and the grid of metal-oxide-semiconductor makes metal-oxide-semiconductor turn on after obtaining driving voltage, and the metal-oxide-semiconductor after conducting makes diode D2 end, and the transmitting terminal of MBUS obtains high level voltage;
nullDescribed reception circuit is: be connected to divider resistance R13 at MBUS signal receiving end,MBUS receives current signal and accesses Chip Microcomputer A/D _ 1 after divider resistance R13,The SPI interface of single-chip microcomputer is connected to D/A circuit output analog voltage,Analog voltage accesses the IN+ end of voltage comparator LM2903,MBUS signal receiving end is also associated with sampling resistor R15,The other end ground connection of sampling resistor R15,MBUS signal receiving end enters the IN-end of voltage comparator LM2903 after resistance R18,When MBUS signal receiving end has signal,The pressure drop of certain value is become under the effect of divider resistance R13,After single-chip microcomputer, single-chip microcomputer knows for sure and receives the size of signal value,Single-chip microcomputer according to the size of the signal value received from SPI interface exports the analog voltage IN+ end to voltage comparator LM2903,Simultaneously MBUS signal receiving end enters the IN-end of voltage comparator LM2903 after resistance R18 and compares,Signal inputs to single-chip microcomputer from the IOUT interface of voltage comparator LM2903.
2. MBUS calorimeter data acquisition controller transtation mission circuit according to claim 1, it is characterised in that: the XL6009 chip in transtation mission circuit has Enable Pin, and Enable Pin is connected in the I/O interface of single-chip microcomputer.
3. a kind of MBUS calorimeter data acquisition controller according to claim 1 receives circuit, it is characterized in that: receive the other end of divider resistance R13 in circuit and be connected to resistance R14, the other end ground connection of R14, the plus earth of diode D3, negative pole is connected in the AD input of single-chip microcomputer.
4. a kind of MBUS calorimeter data acquisition controller according to claim 1 receives circuit, it is characterized in that: receive sampling resistor R15=20 Ω in circuit, resistance R18=20K Ω, resistance R13=10K Ω, electric capacity C16, electric capacity C16=0.01 μ F it is also connected with between MBUS signal receiving end and ground connection.
5. a kind of MBUS calorimeter data acquisition controller according to claim 3 receives circuit, it is characterised in that: receive resistance R14=10K Ω in circuit.
6. a kind of MBUS calorimeter data acquisition controller according to claim 1 receives circuit, it is characterised in that: receiving and being connected to D/A circuit on the SPI interface of the single-chip microcomputer described in circuit is MCP4801 chip.
7. a kind of MBUS calorimeter data acquisition controller according to claim 1 receives circuit, it is characterised in that: being connected to relay on MBUS transtation mission circuit, relay is connected to single-chip microcomputer.
8. a MBUS calorimeter collecting method, it is characterised in that: adopting the MBUS calorimeter data acquisition controller described in claim 1-7 to realize, collecting method is as follows:
(1) when needs gather data, issuing instructions to single-chip microcomputer by host computer, single-chip microcomputer is driven by XL6009 Enable Pin and opens MBUS power supply, and drives transtation mission circuit and receive circuit work;
null(2) after circuit powers on,Single-chip microcomputer is first measured and is received the voltage of AD_1 point in circuit,Calculate the voltage of IN+ end 2 pin of comparator LM2903,Then single-chip microcomputer passes through spi bus,Control the DA chip MCP4801 output voltage 3 pins to comparator LM2903,And constantly gather the voltage of AD_1 point,Make 3 pin voltage of comparator LM2903 more than comparator 2 pin voltage,And it is slightly less than the voltage of comparator 2 pin when transmitting digital 0 in bus,This voltage is as the reference voltage of comparator,Reference voltage is different according to the voltage difference of AD_1 point,When slave station return current pulse train,Change the voltage of comparator IN+ end 2 pin,By compared with reference voltage,OUT1 pin output voltage pulse train,It is after 0 ~ 5V signal through level conversion,The serial ports receiving the single-chip microcomputer in circuit receives pin RX1,In communication process,AD_1 point voltage value constantly changes,Before bus sends data to calorimeter,Stop the voltage sample of AD_1 point,After receiving slave station data and returning,Restart the voltage sample to AD1 point,Every 1 second according to the different voltage of ADI point,Update a reference voltage.
9. a kind of MBUS calorimeter collecting method according to claim 8, it is characterized in that: when MBUS is short-circuited, single-chip microcomputer is learnt rapidly according to the voltage drop value on divider resistance R13, single-chip microcomputer turns off MBUS output circuit by control relay circuit, making voltage on external MBUS circuit is 0, simultaneously, turn off the Enable Pin 3 of XL6009 chip, the circuit making output 36v is output as 0, now panel circuit LED instruction short-circuit condition, single-chip microcomputer interval opens and closes internal 12V voltage repeatedly, open and close relay simultaneously and connect outside MBUS circuit, whether the outside MBUS circuit of test releases short-circuit condition, such software controls repeatedly to compare test, until short circuit releases.
10. a kind of MBUS calorimeter collecting method according to claim 8, it is characterized in that: when single-chip microcomputer obtain host computer check meter order time, single-chip microcomputer is driven by XL6009 Enable Pin and opens MBUS power supply, and drive transtation mission circuit and receive circuit work, the data received are transmitted to remote control center by GPRS network;When event of not checking meter occurs, single-chip microcomputer cuts out 36V power supply by XL6009 Enable Pin, and making the power consumption on circuit is zero, simultaneously closes off GPRS transmission;When single-chip microcomputer, not obtain checking meter of host computer injunctive, and single-chip microcomputer oneself stores the data of MBUS transmission over networks, does not carry out GPRS remote transmission.
CN201610151297.0A 2016-03-15 2016-03-15 MBUS heat meter data collection controller and collection method Pending CN105809941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610151297.0A CN105809941A (en) 2016-03-15 2016-03-15 MBUS heat meter data collection controller and collection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610151297.0A CN105809941A (en) 2016-03-15 2016-03-15 MBUS heat meter data collection controller and collection method

Publications (1)

Publication Number Publication Date
CN105809941A true CN105809941A (en) 2016-07-27

Family

ID=56453231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610151297.0A Pending CN105809941A (en) 2016-03-15 2016-03-15 MBUS heat meter data collection controller and collection method

Country Status (1)

Country Link
CN (1) CN105809941A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330144A (en) * 2016-08-05 2017-01-11 成都赛来机械有限公司 Digital signal comparer
CN106558213A (en) * 2016-12-09 2017-04-05 杭州西力智能科技股份有限公司 A kind of four table integrated information acquisition converters
CN107256626A (en) * 2017-07-19 2017-10-17 南京新联电子股份有限公司 Based on MBUS standard agreements collection water, heat, the method for gas meter
CN107783456A (en) * 2016-08-31 2018-03-09 上海唐辉电子有限公司 A kind of MBUS communicates calorimeter data acquisition controller receiving circuit
CN108302239A (en) * 2017-10-31 2018-07-20 瑞纳智能设备股份有限公司 A kind of MBUS control circuits and its control method for thermostat valve
CN109669378A (en) * 2019-01-21 2019-04-23 武汉易维电子科技有限公司 Dynamic threshold detection circuit, method and concentrator
CN109962449A (en) * 2017-12-26 2019-07-02 宁夏赛文技术股份有限公司 A kind of short-circuit protection and overload detection circuit for MBus main website circuit
CN110930681A (en) * 2019-12-06 2020-03-27 怀化学院 Remote meter reading main equipment and remote meter reading system
CN113163275A (en) * 2021-03-26 2021-07-23 山东艾克姆智能科技有限公司 Calorimeter data acquisition unit and acquisition method thereof
CN116909197A (en) * 2023-09-05 2023-10-20 江苏正泰泰杰赛智能科技有限公司 MBUS signal conversion module and conversion method for multi-type water meter acquisition

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0626653A1 (en) * 1993-05-27 1994-11-30 STMicroelectronics S.A. Image processing system
CN104062916A (en) * 2014-06-05 2014-09-24 中国航天科技集团公司第五研究院第五一三研究所 Main control circuit of centralized meter reading system
CN104361730A (en) * 2014-10-29 2015-02-18 梁永富 Data transferring system and data transferring method of intelligent metering device
CN204990682U (en) * 2015-09-02 2016-01-20 保定市宇创电气科技有限公司 On --spot detector in batches of low pressure power consumption
CN205405190U (en) * 2016-03-15 2016-07-27 安阳工学院 MBUS calorimeter data acquisition controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0626653A1 (en) * 1993-05-27 1994-11-30 STMicroelectronics S.A. Image processing system
CN104062916A (en) * 2014-06-05 2014-09-24 中国航天科技集团公司第五研究院第五一三研究所 Main control circuit of centralized meter reading system
CN104361730A (en) * 2014-10-29 2015-02-18 梁永富 Data transferring system and data transferring method of intelligent metering device
CN204990682U (en) * 2015-09-02 2016-01-20 保定市宇创电气科技有限公司 On --spot detector in batches of low pressure power consumption
CN205405190U (en) * 2016-03-15 2016-07-27 安阳工学院 MBUS calorimeter data acquisition controller

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XLSEMI: "XL6009规格书", 《百度文库》 *
罗永刚等: "基于MBUS的智能集中器设计", 《测控技术与仪器仪表》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330144A (en) * 2016-08-05 2017-01-11 成都赛来机械有限公司 Digital signal comparer
CN107783456A (en) * 2016-08-31 2018-03-09 上海唐辉电子有限公司 A kind of MBUS communicates calorimeter data acquisition controller receiving circuit
CN106558213A (en) * 2016-12-09 2017-04-05 杭州西力智能科技股份有限公司 A kind of four table integrated information acquisition converters
CN107256626A (en) * 2017-07-19 2017-10-17 南京新联电子股份有限公司 Based on MBUS standard agreements collection water, heat, the method for gas meter
CN108302239A (en) * 2017-10-31 2018-07-20 瑞纳智能设备股份有限公司 A kind of MBUS control circuits and its control method for thermostat valve
CN109962449A (en) * 2017-12-26 2019-07-02 宁夏赛文技术股份有限公司 A kind of short-circuit protection and overload detection circuit for MBus main website circuit
CN109669378A (en) * 2019-01-21 2019-04-23 武汉易维电子科技有限公司 Dynamic threshold detection circuit, method and concentrator
CN109669378B (en) * 2019-01-21 2023-10-10 武汉易维科技股份有限公司 Dynamic threshold detection circuit, method and concentrator
CN110930681A (en) * 2019-12-06 2020-03-27 怀化学院 Remote meter reading main equipment and remote meter reading system
CN113163275A (en) * 2021-03-26 2021-07-23 山东艾克姆智能科技有限公司 Calorimeter data acquisition unit and acquisition method thereof
CN116909197A (en) * 2023-09-05 2023-10-20 江苏正泰泰杰赛智能科技有限公司 MBUS signal conversion module and conversion method for multi-type water meter acquisition
CN116909197B (en) * 2023-09-05 2024-01-05 江苏正泰泰杰赛智能科技有限公司 MBUS signal conversion module and conversion method for multi-type water meter acquisition

Similar Documents

Publication Publication Date Title
CN105809941A (en) MBUS heat meter data collection controller and collection method
CN205229445U (en) Electric energy meter RS485 communication interface comprehensive properties test module
CN106303342A (en) A kind of power supply circuits based on supply power coaxially technology
CN204498261U (en) A kind of energy-saving radio video monitoring device
CN205405190U (en) MBUS calorimeter data acquisition controller
CN206818778U (en) Control and protection device on intelligent high reliability electric automobile cable
CN204881720U (en) Wireless teletransmission ultrasonic water table
CN105607546A (en) MBUS calorimeter data acquisition controller receiving circuit
CN2554740Y (en) Power carrier home controller
CN104077260B (en) A kind of concentrator M BUS host communication interface arrangements
CN208589996U (en) Intelligent home control system based on radio network technique
CN204462357U (en) LED environmental test chamber
CN208489467U (en) Load detecting circuit, intelligent switch/socket and based on intelligent switch/socket smart home system
CN203673037U (en) Automatic circuit board detection tool of intelligent electric energy meter
CN205427525U (en) MBUS calorimeter data acquisition controller receiving circuit
CN109738687A (en) A kind of three-phase-voltage monitoring system and method
CN201919002U (en) Carrier communication test instrument
CN210376528U (en) Device for automatic detection of alternating current charging interface
CN208299459U (en) Equalizaing charge power supply circuit
CN104280598B (en) Power supply detection method and detection system for microwave oven
CN208299460U (en) Equalization charging circuit
CN202817404U (en) Intelligent meter connector
CN203984446U (en) The interchangeability testing apparatus of a kind of power information acquisition terminal local communication unit
CN204631186U (en) A kind of phase three-wire three supply line decompression calculagraph
CN108418284B (en) Working power supply circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160727