CN107909786B - M-BUS input micropower wireless output parallel connection converter - Google Patents
M-BUS input micropower wireless output parallel connection converter Download PDFInfo
- Publication number
- CN107909786B CN107909786B CN201710454311.9A CN201710454311A CN107909786B CN 107909786 B CN107909786 B CN 107909786B CN 201710454311 A CN201710454311 A CN 201710454311A CN 107909786 B CN107909786 B CN 107909786B
- Authority
- CN
- China
- Prior art keywords
- pin
- capacitor
- grounded
- resistor
- field effect
- 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
Links
Images
Classifications
-
- 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
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种通讯转换器,尤其涉及一种M-BUS输入微功率无线输出并线转换器。The invention relates to a communication converter, in particular to an M-BUS input micro-power wireless output parallel converter.
背景技术Background technique
目前,水务企业对用户水表数据的抄读采用现场集中抄表方式,抄表人员通过连接水务企业抄表机和居民单元楼的M-BUS总线接口,实现水表的抄读。电力企业对用户电表数据的抄读采用远程自动抄表方式,将通过M-BUS通讯的水表、气表、热表通过微功率无线协议转换器转换为DL/T645-2007通用规约数据后,再将数据传送至采集RS485电表的通用采集器后,上送给主站。由于M-BUS总线是一种专门为消耗量计量仪表数据传输设计的主从式半双工传输总线,在任何时候的传输方向是单向的,从主设备到从设备或从从设备到主设备,因此,当水务企业与电力企业同时进行抄表时,会产生相互干扰,导致无法进行抄读。At present, the water enterprise reads the user's water meter data by on-site centralized meter reading, and the meter reading personnel realize the reading of the water meter by connecting the meter reading machine of the water enterprise and the M-BUS bus interface of the residential unit building. The electric power enterprise adopts the remote automatic meter reading method to read the user's electricity meter data. After the data is sent to the general collector that collects the RS485 meter, it is sent to the master station. Since the M-BUS bus is a master-slave half-duplex transmission bus specially designed for data transmission of consumption metering instruments, the transmission direction at any time is unidirectional, from the master device to the slave device or from the slave device to the master. Therefore, when the water company and the power company conduct meter reading at the same time, there will be mutual interference, resulting in the inability to read.
发明内容SUMMARY OF THE INVENTION
本发明主要解决现有水务企业和电力企业无法同时抄读M-BUS通讯的水表和电表的技术问题;提供一种M-BUS输入微功率无线输出并线转换器,其能够把M-BUS采集数据转换成ZIGBEE无线数据进行传送,即从M-BUS读取的数据,可以通过Zigbee进行无线数据传送,传送给上层主站进行数据处理,从而实现水电和电表的同时抄读。本发明的并线转换器具有数据传输稳定、抗干扰能力强、成本低、体型小巧等特点,大大降低了漏抄、误超的发生几率,提高计量仪表抄读的正确性和可靠性。The invention mainly solves the technical problem that the existing water affairs enterprises and electric power enterprises cannot read the water meter and the electric meter of M-BUS communication at the same time; provides an M-BUS input micro-power wireless output parallel converter, which can collect the M-BUS The data is converted into ZIGBEE wireless data for transmission, that is, the data read from the M-BUS can be wirelessly transmitted through Zigbee and transmitted to the upper master station for data processing, so as to realize the simultaneous reading of water, electricity and electricity meters. The parallel converter of the invention has the characteristics of stable data transmission, strong anti-interference ability, low cost, small size and the like, greatly reduces the occurrence probability of missed copying and false overrun, and improves the correctness and reliability of metering reading.
本发明的上述技术问题主要是通过下述技术方案得以解决的:本发明包括中央处理模块、M-BUS接收模块、M-BUS发送模块、微功率无线处理模块和为整个并线转换器提供工作电压的电源模块,M-BUS接收模块、M-BUS发送模块及微功率无线处理模块分别和所述的中央处理模块相连。本发明通过设置M-BUS接收模块和微功率无线处理模块,能够把M-BUS采集数据转换成ZIGBEE无线数据进行传送,即从M-BUS读取的数据,可以通过Zigbee进行无线数据传送,传送给上层主站进行数据处理,从而实现水电和电表的同时抄读。The above-mentioned technical problems of the present invention are mainly solved by the following technical solutions: the present invention includes a central processing module, an M-BUS receiving module, an M-BUS transmitting module, a micro-power wireless processing module, and provides work for the entire parallel converter. The voltage power supply module, the M-BUS receiving module, the M-BUS sending module and the micro-power wireless processing module are respectively connected with the central processing module. By setting the M-BUS receiving module and the micro-power wireless processing module, the present invention can convert the M-BUS collected data into ZIGBEE wireless data for transmission, that is, the data read from the M-BUS can be wirelessly transmitted through Zigbee. Perform data processing for the upper master station, so as to realize the simultaneous reading of water and electricity meters.
作为优选,所述的M-BUS接收模块包括场效应管Q7~场效应管Q11和差动比较器U3,差动比较器U3采用TL331差动比较器;场效应管Q9、场效应管Q10及场效应管Q11的栅极经电阻R25和所述的中央处理模块的TXD-EN/DIS脚相连,场效应管Q9的漏极经电阻R20和差动比较器U3的3脚相连,差动比较器U3的3脚经电容C10接地,电阻R20上并联有二极管D6,且二极管D6的负极和场效应管Q9的漏极相连,二极管D6的正极和差动比较器U3的3脚相连,场效应管Q9的源极和二极管D7及二极管D8的正极相连,二极管D7及二极管D8的负极均和差动比较器U3的1脚相连,差动比较器U3的1脚经电阻R22接地,差动比较器U3的2脚接地,场效应管Q9的源极和场效应管Q10的漏极相连,场效应管Q10的漏极既和二极管D9及二极管D10的负极相连又和二极管D11的正极相连,二极管D9及二极管D10的正极和场效应管Q10的源极相连,场效应管Q10的源极和M-BUS总线中的M-BUS-端相连,二极管D11的负极和二极管D6的负极相连,差动比较器U3的5脚既接+5V电压又经电容C7接地,差动比较器U3的4脚,一路经电阻R21和发光二极管D5的负极相连,发光二极管D5的正极接+5V电压,另一路和场效应管Q8的栅极相连,场效应管Q8的源极接地,场效应管Q8的漏极既经电阻R18接+3V电压又和场效应管Q7的栅极相连,场效应管Q7的源极和场效应管Q11的漏极相连,场效应管Q11的源极接地,场效应管Q7的漏极既和所述的中央处理模块的RXD EN/DIS脚相连又经电阻R19和电容C8的并联电路和+3V电压相连。数据传输稳定,成本较低。Preferably, the M-BUS receiving module includes field effect transistors Q7 to field effect transistors Q11 and a differential comparator U3, and the differential comparator U3 adopts a TL331 differential comparator; The gate of the field effect transistor Q11 is connected to the TXD-EN/DIS pin of the central processing module via the resistor R25, and the drain of the field effect transistor Q9 is connected to the 3 pin of the differential comparator U3 via the resistor R20. The 3 pin of the device U3 is grounded through the capacitor C10, the diode D6 is connected in parallel with the resistor R20, and the negative electrode of the diode D6 is connected to the drain of the field effect transistor Q9, and the positive electrode of the diode D6 is connected to the 3 pin of the differential comparator U3. The source of the tube Q9 is connected to the anode of the diode D7 and the diode D8, and the cathode of the diode D7 and the diode D8 are connected to the 1 pin of the differential comparator U3. The 1 pin of the differential comparator U3 is grounded through the resistor R22, and the differential comparison The 2 pin of the device U3 is grounded, the source of the FET Q9 is connected to the drain of the FET Q10, the drain of the FET Q10 is not only connected to the cathode of the diode D9 and the diode D10, but also connected to the anode of the diode D11. The anodes of D9 and diode D10 are connected to the source of FET Q10, the source of FET Q10 is connected to the M-BUS- terminal in the M-BUS bus, the cathode of diode D11 is connected to the cathode of diode D6, and the differential The 5th pin of the comparator U3 is connected to the +5V voltage and grounded through the capacitor C7. The 4th pin of the differential comparator U3 is connected to the negative pole of the light-emitting diode D5 through the resistor R21, and the positive pole of the light-emitting diode D5 is connected to the +5V voltage, and the other way It is connected to the gate of the field effect transistor Q8, the source of the field effect transistor Q8 is grounded, and the drain of the field effect transistor Q8 is connected to the +3V voltage through the resistor R18 and is also connected to the gate of the field effect transistor Q7. The source is connected to the drain of the field effect transistor Q11, the source of the field effect transistor Q11 is grounded, and the drain of the field effect transistor Q7 is not only connected to the RXD EN/DIS pin of the central processing module, but also to the resistor R19 and the capacitor C8. The parallel circuit is connected to +3V voltage. The data transmission is stable and the cost is low.
作为优选,所述的M-BUS输入微功率无线输出并线转换器包括短路保护电路,短路保护电路包括三极管Q1、场效应管Q2~场效应管Q4和差动比较器U1,差动比较器U1采用TL331差动比较器;M-BUS总线中的M-BUS+端经电阻R3和电阻R8的串联电路接地,M-BUS总线中的M-BUS-端既和电阻R3与电阻R8的连接点相连又和差动比较器U1的1脚相连,差动比较器U1的2脚接地,差动比较器U1的3脚既经电阻R9接地又经电阻R1接+5V电压,差动比较器U1的5脚接+5V电压,差动比较器U1的4脚既经电阻R5接+5V电压又和场效应管Q2的栅极相连,场效应管Q2的源极接+5V电压,场效应管Q2的漏极经电阻R12和电容C4的并联电路接地,场效应管Q2的漏极和场效应管Q4的栅极相连,场效应管Q4的源极接地,场效应管Q4的漏极既经电阻R6接+5V电压又经电阻R7和场效应管Q3的栅极相连,场效应管Q3的源极接地,场效应管Q3的漏极经电阻R4和三极管Q1的基极相连,三极管Q1的集电极经电阻R10和发光二极管D3的正极相连,发光二极管D3的负极接地,三极管Q1的集电极又和M-BUS总线中的M-BUS+端相连,三极管Q1的发射极和基极之间连接有电阻R2,三极管Q1的发射极和中央处理模块的Vmark/space脚相连。具有短路保护功能,提高安全性和稳定性。Preferably, the M-BUS input micro-power wireless output parallel converter includes a short-circuit protection circuit, and the short-circuit protection circuit includes a transistor Q1, a field effect transistor Q2 to a field effect transistor Q4 and a differential comparator U1, the differential comparator U1 adopts TL331 differential comparator; the M-BUS+ terminal in the M-BUS bus is grounded through the series circuit of resistor R3 and resistor R8, and the M-BUS- terminal in the M-BUS bus is connected to the connection point of resistor R3 and resistor R8 Connected and connected to the 1 pin of the differential comparator U1, the 2 pin of the differential comparator U1 is grounded, the 3 pin of the differential comparator U1 is both grounded through the resistor R9 and connected to the +5V voltage through the resistor R1, the differential comparator U1 The 5 pin of the differential comparator U1 is connected to the +5V voltage, and the 4 pin of the differential comparator U1 is connected to the +5V voltage through the resistor R5 and is connected to the gate of the field effect transistor Q2. The source of the field effect transistor Q2 is connected to the +5V voltage. The drain of Q2 is grounded through the parallel circuit of resistor R12 and capacitor C4, the drain of field effect transistor Q2 is connected to the gate of field effect transistor Q4, the source of field effect transistor Q4 is grounded, and the drain of field effect transistor Q4 is connected to the ground. The resistor R6 is connected to the +5V voltage and is connected to the gate of the FET Q3 through the resistor R7, the source of the FET Q3 is grounded, and the drain of the FET Q3 is connected to the base of the transistor Q1 through the resistor R4. The collector is connected to the positive electrode of the light-emitting diode D3 through the resistor R10, the negative electrode of the light-emitting diode D3 is grounded, the collector of the transistor Q1 is connected to the M-BUS+ terminal in the M-BUS bus, and the emitter of the transistor Q1 is connected to the base. There is a resistor R2, and the emitter of the transistor Q1 is connected to the Vmark/space pin of the central processing module. With short circuit protection function, improve safety and stability.
作为优选,所述的M-BUS发送模块包括三级管Q5、场效应管Q6和升压转换器U2,升压转换器U2采用TPS61170升压转换器;所述的中央处理模块的TXD-EN/DIS脚经电阻R17和场效应管Q6的栅极相连,场效应管Q6的源极接地,场效应管Q6的漏极经电阻R16和三极管Q5的基极相连,三极管Q5的基极和三极管Q5的发射极之间连接有电阻R15,三极管Q5的集电极和二极管D4的正极相连,二极管D4的负极和中央处理模块的Vmark/space脚相连,三极管Q5的发射极,一路经稳压管TVS1和二极管D2的正极相连,另一路和二极管D1的负极相连,二极管D2的负极和中央处理模块的Vmark/space脚相连,二极管D2的正极经电容C3接地,二极管D1的正极和升压转换器U2的4脚相连,二极管D1的负极既经电容C6接地又经电阻R13和电阻R14的串联电路接地,电阻R13和电阻R14的连接点和升压转换器U2的1脚相连,升压转换器U2的2脚经电阻R11和电容C5的串联电路接地,升压转换器U2的3脚接地,升压转换器U2的6脚和4脚之间连接有电感L1,升压转换器U2的6脚和5脚相连,升压转换器U2的6脚既接+5V电压又经电容C2和电容C1的并联电路接地。数据传输稳定,成本较低。Preferably, the M-BUS sending module includes a three-stage transistor Q5, a field effect transistor Q6 and a boost converter U2, and the boost converter U2 adopts a TPS61170 boost converter; the TXD-EN of the central processing module The /DIS pin is connected to the gate of the field effect transistor Q6 via the resistor R17, the source of the field effect transistor Q6 is grounded, the drain of the field effect transistor Q6 is connected to the base of the triode Q5 via the resistor R16, and the base of the triode Q5 is connected to the triode A resistor R15 is connected between the emitters of Q5, the collector of the transistor Q5 is connected to the positive pole of the diode D4, the negative pole of the diode D4 is connected to the Vmark/space pin of the central processing module, and the emitter of the transistor Q5 is connected to the voltage regulator tube TVS1. It is connected to the anode of diode D2, the other is connected to the cathode of diode D1, the cathode of diode D2 is connected to the Vmark/space pin of the central processing module, the anode of diode D2 is grounded through capacitor C3, and the anode of diode D1 is connected to boost converter U2 The 4-pin of the diode D1 is connected to the ground, and the negative electrode of the diode D1 is grounded both through the capacitor C6 and the series circuit of the resistor R13 and the resistor R14. The connection point of the resistor R13 and the resistor R14 is connected to the boost converter U2.
作为优选,所述的M-BUS输入微功率无线输出并线转换器包括TTL转USB转换电路,TTL转USB转换电路包括RS232-USB接口转换器U4,RS232-USB接口转换器U4采用PL2303转换器;RS232-USB接口转换器U4的1脚既经电阻R23接+3V电压又和所述的中央处理模块的TXD-EN/DIS脚相连,RS232-USB接口转换器U4的5脚和中央处理模块的RXD-EN/DIS脚相连,RS232-USB接口转换器U4的7脚接地,RS232-USB接口转换器U4的15脚经电阻R26和USB接口JP2的3脚相连,RS232-USB接口转换器U4的16脚经电阻R27和USB接口JP2的2脚相连,USB接口JP2的1脚接+5V电压,USB接口JP2的4脚和5脚均接地,RS232-USB接口转换器U4的17脚经电容C13接地,RS232-USB接口转换器U4的19脚既经电容C14接地又经电阻R24接+3.3V电压,RS232-USB接口转换器U4的20脚接+5V电压,RS232-USB接口转换器U4的21脚既经电容C12接+5V电压又接地,RS232-USB接口转换器U4的27脚和28脚之间连接有晶振Y1,RS232-USB接口转换器U4的27脚、28脚分别经电容C11、电容C9接地。同时具备USB接口,使用更加灵活和方便。Preferably, the M-BUS input micro-power wireless output parallel converter includes a TTL to USB conversion circuit, the TTL to USB conversion circuit includes an RS232-USB interface converter U4, and the RS232-USB interface converter U4 adopts a PL2303 converter ;
作为优选,所述的微功率无线处理模块包括芯片U1,芯片U1采用CC2530片上系统;芯片U1的16脚、17脚分别和所述的中央处理模块的DEBUG-RX脚、DEBUG-TX脚相连,芯片U1的1脚、2脚、3脚、4脚及41脚均接地,芯片U1的21脚、24脚、27脚、28脚、29脚、31脚及39脚均接3.3V电压,芯片U1的39脚经电容C51和电容C52的并联电路接地,芯片U1的21脚经电容C53接地,芯片U1的24脚经电容C54接地,芯片U1的27脚经电容C55和电容C56的并联电路接地,芯片U1的31脚经电容C57和电容C58的并联电路接地,3.3V电压经电感L51接电压VCC,芯片U1的25脚和电容C60的一端相连,电容C60的另一端既经电感L52接地又经电容C59和电容C61的串联电路和天线SMA的1脚相连,天线SMA的2脚接地,芯片U1的26脚和电容C62的一端相连,电容C62的另一端和电感L53的一端相连,电感L53的另一端和电容C59与电容C61的连接点相连,芯片U1的22脚和23脚之间连接有晶振Y51,晶振Y51的两端分别经电容C67和电容C68接地,芯片U1的32脚和33脚之间连接有晶振Y52,晶振Y52的两端分别经电容C65和电容C66接地,芯片U1的40脚经电容C64接地,芯片U1的30脚经电阻R51接地。本技术方案的微功率无线处理模块,能够把M-BUS采集数据转换成ZIGBEE无线数据进行传送,采用CC2530片上系统作为处理器,CC2530片上系统是用于2.4GHZ、IEEE802.15.4、zigbee和RF4CE应用的一个真正的片上系统解决方案,它能够以非常低的总的材料成本建立强大的网络节点。CC2530片上系统具有不同的运行模式,使得它尤其适应超低功耗要求的系统。同时,结合德州仪器的业界领先的Zigbee协议栈,提供了一个强大和完整的Zigbee解决方案。在本技术方案中,从M-BUS读取的数据,可以通过Zigbee进行无线数据传送,传送给上层主站进行数据处理,从而实现水电和电表的同时抄读。Preferably, the micro-power wireless processing module includes a chip U1, and the chip U1 adopts a CC2530 system-on-chip; the 16-pin and 17-pin of the chip U1 are respectively connected with the DEBUG-RX pin and the DEBUG-TX pin of the central processing module,
本发明的有益效果是:能够把M-BUS采集数据转换成ZIGBEE无线数据进行传送,即从M-BUS读取的数据,可以通过Zigbee进行无线数据传送,传送给上层主站进行数据处理,从而实现水电和电表的同时抄读。本发明的并线转换器具有数据传输稳定、抗干扰能力强、成本低、体型小巧等特点,大大降低了漏抄、误超的发生几率,提高计量仪表抄读的正确性和可靠性。The beneficial effect of the invention is that the M-BUS collected data can be converted into ZIGBEE wireless data for transmission, that is, the data read from the M-BUS can be wirelessly transmitted through Zigbee, and transmitted to the upper master station for data processing, thereby Realize the simultaneous reading of water and electricity meters. The parallel converter of the invention has the characteristics of stable data transmission, strong anti-interference ability, low cost, small size and the like, greatly reduces the occurrence probability of missed copying and false overrun, and improves the correctness and reliability of metering reading.
附图说明Description of drawings
图1是本发明的一种电路原理连接结构框图。FIG. 1 is a block diagram of a circuit principle connection structure of the present invention.
图2是本发明中M-BUS接收模块的一种电路原理图。FIG. 2 is a circuit schematic diagram of the M-BUS receiving module in the present invention.
图3是本发明中M-BUS发送模块的一种电路原理图。Fig. 3 is a circuit schematic diagram of the M-BUS sending module in the present invention.
图4是本发明中短路保护电路的一种电路原理图。FIG. 4 is a circuit schematic diagram of the short-circuit protection circuit in the present invention.
图5是本发明中TTL转USB转换电路的一种电路原理图。FIG. 5 is a circuit schematic diagram of the TTL to USB conversion circuit in the present invention.
图6是本发明中微功率无线处理模块的一种电路原理图。FIG. 6 is a circuit schematic diagram of the micro-power wireless processing module in the present invention.
图中1.中央处理模块,2.M-BUS接收模块,3.M-BUS发送模块,4.微功率无线处理模块,5.电源模块。In the figure 1. Central processing module, 2. M-BUS receiving module, 3. M-BUS sending module, 4. Micro-power wireless processing module, 5. Power supply module.
具体实施方式Detailed ways
下面通过实施例,并结合附图,对本发明的技术方案作进一步具体的说明。The technical solutions of the present invention will be further described in detail below through embodiments and in conjunction with the accompanying drawings.
实施例:本实施例的M-BUS输入微功率无线输出并线转换器,如图1所示,包括中央处理模块1、M-BUS接收模块2、M-BUS发送模块3、微功率无线处理模块4和为整个并线转换器提供工作电压的电源模块5,M-BUS接收模块2、M-BUS发送模块3及微功率无线处理模块4分别和中央处理模块1相连。Embodiment: The M-BUS input micro-power wireless output parallel converter of this embodiment, as shown in Figure 1, includes a
本实施例中,中央处理模块1包括单片机,单片机采用STM32F103RCT6单片机,STM32F103RCT6单片机的15脚为Vmark/space脚,STM32F103RCT6单片机的16脚、17脚分别为TXD-EN/DIS脚、RXD-EN/DIS脚,STM32F103RCT6单片机的42脚、43脚分别为DEBUG-TX脚、DEBUG-RX脚。In this embodiment, the
本实施例中设有短路保护电路,如图4所示,短路保护电路包括三极管Q1、场效应管Q2~场效应管Q4和差动比较器U1,差动比较器U1采用TL331差动比较器;M-BUS总线中的M-BUS+端经电阻R3和电阻R8的串联电路接地,M-BUS总线中的M-BUS-端既和电阻R3与电阻R8的连接点相连又和差动比较器U1的1脚相连,差动比较器U1的2脚接地,差动比较器U1的3脚既经电阻R9接地又经电阻R1接+5V电压,差动比较器U1的5脚接+5V电压,差动比较器U1的4脚既经电阻R5接+5V电压又和场效应管Q2的栅极相连,场效应管Q2的源极接+5V电压,场效应管Q2的漏极经电阻R12和电容C4的并联电路接地,场效应管Q2的漏极和场效应管Q4的栅极相连,场效应管Q4的源极接地,场效应管Q4的漏极既经电阻R6接+5V电压又经电阻R7和场效应管Q3的栅极相连,场效应管Q3的源极接地,场效应管Q3的漏极经电阻R4和三极管Q1的基极相连,三极管Q1的集电极经电阻R10和发光二极管D3的正极相连,发光二极管D3的负极接地,三极管Q1的集电极又和M-BUS总线中的M-BUS+端相连,三极管Q1的发射极和基极之间连接有电阻R2,三极管Q1的发射极和STM32F103RCT6单片机的Vmark/space脚相连。In this embodiment, a short-circuit protection circuit is provided. As shown in FIG. 4 , the short-circuit protection circuit includes a transistor Q1, a field effect transistor Q2 to a field effect transistor Q4, and a differential comparator U1. The differential comparator U1 adopts a TL331 differential comparator. ;The M-BUS+ terminal in the M-BUS bus is grounded through the series circuit of the resistor R3 and the resistor R8, and the M-BUS- terminal in the M-BUS bus is not only connected to the connection point of the resistor R3 and the resistor R8, but also to the differential comparator. The 1 pin of U1 is connected, the 2 pin of the differential comparator U1 is grounded, the 3 pin of the differential comparator U1 is connected to the ground via the resistor R9 and the +5V voltage via the resistor R1, and the 5 pin of the differential comparator U1 is connected to the +5V voltage , the 4 feet of the differential comparator U1 are connected to the +5V voltage through the resistor R5 and the gate of the FET Q2, the source of the FET Q2 is connected to the +5V voltage, and the drain of the FET Q2 is connected to the resistor R12 The parallel circuit of the capacitor C4 is grounded, the drain of the FET Q2 is connected to the gate of the FET Q4, the source of the FET Q4 is grounded, and the drain of the FET Q4 is connected to the +5V voltage through the resistor R6. It is connected to the gate of the field effect transistor Q3 via the resistor R7, the source of the field effect transistor Q3 is grounded, the drain of the field effect transistor Q3 is connected to the base of the triode Q1 via the resistor R4, and the collector of the triode Q1 emits light via the resistor R10. The anode of the diode D3 is connected to the anode, the cathode of the light-emitting diode D3 is grounded, the collector of the transistor Q1 is connected to the M-BUS+ terminal in the M-BUS bus, and a resistor R2 is connected between the emitter and the base of the transistor Q1. The emitter is connected to the Vmark/space pin of the STM32F103RCT6 microcontroller.
如图2所示,M-BUS接收模块2包括场效应管Q7~场效应管Q11和差动比较器U3,差动比较器U3采用TL331差动比较器;场效应管Q9、场效应管Q10及场效应管Q11的栅极经电阻R25和STM32F103RCT6单片机的TXD-EN/DIS脚相连,场效应管Q9的漏极经电阻R20和差动比较器U3的3脚相连,差动比较器U3的3脚经电容C10接地,电阻R20上并联有二极管D6,且二极管D6的负极和场效应管Q9的漏极相连,二极管D6的正极和差动比较器U3的3脚相连,场效应管Q9的源极和二极管D7及二极管D8的正极相连,二极管D7及二极管D8的负极均和差动比较器U3的1脚相连,差动比较器U3的1脚经电阻R22接地,差动比较器U3的2脚接地,场效应管Q9的源极和场效应管Q10的漏极相连,场效应管Q10的漏极既和二极管D9及二极管D10的负极相连又和二极管D11的正极相连,二极管D9及二极管D10的正极和场效应管Q10的源极相连,场效应管Q10的源极和M-BUS总线中的M-BUS-端相连,二极管D11的负极和二极管D6的负极相连,差动比较器U3的5脚既接+5V电压又经电容C7接地,差动比较器U3的4脚,一路经电阻R21和发光二极管D5的负极相连,发光二极管D5的正极接+5V电压,另一路和场效应管Q8的栅极相连,场效应管Q8的源极接地,场效应管Q8的漏极既经电阻R18接+3V电压又和场效应管Q7的栅极相连,场效应管Q7的源极和场效应管Q11的漏极相连,场效应管Q11的源极接地,场效应管Q7的漏极既和STM32F103RCT6单片机的RXD-EN/DIS脚相连又经电阻R19和电容C8的并联电路和+3V电压相连。As shown in Figure 2, the M-
如图3所示,M-BUS发送模块3包括三级管Q5、场效应管Q6和升压转换器U2,升压转换器U2采用TPS61170升压转换器;STM32F103RCT6单片机的TXD-EN/DIS脚经电阻R17和场效应管Q6的栅极相连,场效应管Q6的源极接地,场效应管Q6的漏极经电阻R16和三极管Q5的基极相连,三极管Q5的基极和三极管Q5的发射极之间连接有电阻R15,三极管Q5的集电极和二极管D4的正极相连,二极管D4的负极和STM32F103RCT6单片机的Vmark/space脚相连,三极管Q5的发射极,一路经稳压管TVS1和二极管D2的正极相连,另一路和二极管D1的负极相连,二极管D2的负极和STM32F103RCT6单片机的Vmark/space脚相连,二极管D2的正极经电容C3接地,二极管D1的正极和升压转换器U2的4脚相连,二极管D1的负极既经电容C6接地又经电阻R13和电阻R14的串联电路接地,电阻R13和电阻R14的连接点和升压转换器U2的1脚相连,升压转换器U2的2脚经电阻R11和电容C5的串联电路接地,升压转换器U2的3脚接地,升压转换器U2的6脚和4脚之间连接有电感L1,升压转换器U2的6脚和5脚相连,升压转换器U2的6脚既接+5V电压又经电容C2和电容C1的并联电路接地。As shown in Figure 3, the M-
本实施例中还设有TTL转USB转换电路,如图5所示,TTL转USB转换电路包括RS232-USB接口转换器U4,RS232-USB接口转换器U4采用PL2303转换器;RS232-USB接口转换器U4的1脚既经电阻R23接+3V电压又和STM32F103RCT6单片机的TXD-EN/DIS脚相连,RS232-USB接口转换器U4的5脚和STM32F103RCT6单片机的RXD-EN/DIS脚相连,RS232-USB接口转换器U4的7脚接地,RS232-USB接口转换器U4的15脚经电阻R26和USB接口JP2的3脚相连,RS232-USB接口转换器U4的16脚经电阻R27和USB接口JP2的2脚相连,USB接口JP2的1脚接+5V电压,USB接口JP2的4脚和5脚均接地,RS232-USB接口转换器U4的17脚经电容C13接地,RS232-USB接口转换器U4的19脚既经电容C14接地又经电阻R24接+3.3V电压,RS232-USB接口转换器U4的20脚接+5V电压,RS232-USB接口转换器U4的21脚既经电容C12接+5V电压又接地,RS232-USB接口转换器U4的27脚和28脚之间连接有晶振Y1,RS232-USB接口转换器U4的27脚、28脚分别经电容C11、电容C9接地。In this embodiment, a TTL-to-USB conversion circuit is also provided. As shown in FIG. 5 , the TTL-to-USB conversion circuit includes an RS232-USB interface converter U4, and the RS232-USB interface converter U4 adopts a PL2303 converter; RS232-USB interface converter The 1 pin of the device U4 is connected to the +3V voltage through the resistor R23 and is connected to the TXD-EN/DIS pin of the STM32F103RCT6 microcontroller. The 5 pin of the RS232-USB interface converter U4 is connected to the RXD-EN/DIS pin of the STM32F103RCT6 microcontroller. The 7th pin of the USB interface converter U4 is grounded, the 15th pin of the RS232-USB interface converter U4 is connected to the 3rd pin of the USB interface JP2 via the resistor R26, and the 16th pin of the RS232-USB interface converter U4 is connected to the USB interface JP2 via the resistor R27.
如图6所示,微功率无线处理模块4包括芯片U1,芯片U1采用CC2530片上系统;芯片U1的16脚、17脚分别和STM32F103RCT6单片机的DEBUG-RX脚、DEBUG-TX脚相连,芯片U1的1脚、2脚、3脚、4脚及41脚均接地,芯片U1的21脚、24脚、27脚、28脚、29脚、31脚及39脚均接3.3V电压,芯片U1的39脚经电容C51和电容C52的并联电路接地,芯片U1的21脚经电容C53接地,芯片U1的24脚经电容C54接地,芯片U1的27脚经电容C55和电容C56的并联电路接地,芯片U1的31脚经电容C57和电容C58的并联电路接地,3.3V电压经电感L51接电压VCC,芯片U1的25脚和电容C60的一端相连,电容C60的另一端既经电感L52接地又经电容C59和电容C61的串联电路和天线SMA的1脚相连,天线SMA的2脚接地,芯片U1的26脚和电容C62的一端相连,电容C62的另一端和电感L53的一端相连,电感L53的另一端和电容C59与电容C61的连接点相连,芯片U1的22脚和23脚之间连接有晶振Y51,晶振Y51的两端分别经电容C67和电容C68接地,芯片U1的32脚和33脚之间连接有晶振Y52,晶振Y52的两端分别经电容C65和电容C66接地,芯片U1的40脚经电容C64接地,芯片U1的30脚经电阻R51接地。As shown in Figure 6, the micro-power
使用时,M-BUS接收模块和水务企业水表抄表盒相连,M-BUS发送模块和用户水表相连,微功率无线处理模块和电力企业的电表无线抄表设备相连。本发明的M-BUS接收模块和M-BUS发送模块,数据传输稳定,实现方便,成本较低,同时具有短路保护功能,提高安全性和稳定性。本发明的微功率无线处理模块,采用CC2530片上系统作为处理器,CC2530片上系统是用于2.4GHZ、IEEE802.15.4、zigbee和RF4CE应用的一个真正的片上系统解决方案,它能够以非常低的总的材料成本建立强大的网络节点。CC2530片上系统具有不同的运行模式,使得它尤其适应超低功耗要求的系统。同时,结合德州仪器的业界领先的Zigbee协议栈,提供了一个强大和完整的Zigbee解决方案。When in use, the M-BUS receiving module is connected to the water meter reading box of the water enterprise, the M-BUS sending module is connected to the user's water meter, and the micro-power wireless processing module is connected to the electric meter wireless meter reading equipment of the electric power enterprise. The M-BUS receiving module and the M-BUS sending module of the present invention have stable data transmission, convenient implementation and low cost, and have short-circuit protection function, thereby improving safety and stability. The micro-power wireless processing module of the present invention adopts the CC2530 SoC as the processor. The CC2530 SoC is a real SoC solution for 2.4GHZ, IEEE802.15.4, zigbee and RF4CE applications. The material cost to build a strong network node. The CC2530 SoC has different operating modes, making it especially suitable for systems with ultra-low power consumption requirements. At the same time, combined with the industry-leading Zigbee protocol stack of Texas Instruments, it provides a powerful and complete Zigbee solution.
本发明能够把M-BUS采集数据转换成ZIGBEE无线数据进行传送,即从M-BUS读取的数据,可以通过Zigbee进行无线数据传送,传送给上层主站进行数据处理,从而实现水电和电表的同时抄读。本发明的并线转换器具有数据传输稳定、抗干扰能力强、成本低、体型小巧等特点,大大降低了漏抄、误超的发生几率,提高计量仪表抄读的正确性和可靠性。The invention can convert the M-BUS collected data into ZIGBEE wireless data for transmission, that is, the data read from the M-BUS can be wirelessly transmitted through Zigbee, and transmitted to the upper master station for data processing, thereby realizing the integration of water, electricity and electricity meters. Read at the same time. The parallel converter of the invention has the characteristics of stable data transmission, strong anti-interference ability, low cost, small size and the like, greatly reduces the occurrence probability of missed copying and false overrun, and improves the correctness and reliability of metering reading.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710454311.9A CN107909786B (en) | 2017-06-15 | 2017-06-15 | M-BUS input micropower wireless output parallel connection converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710454311.9A CN107909786B (en) | 2017-06-15 | 2017-06-15 | M-BUS input micropower wireless output parallel connection converter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107909786A CN107909786A (en) | 2018-04-13 |
CN107909786B true CN107909786B (en) | 2020-01-10 |
Family
ID=61840990
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710454311.9A Active CN107909786B (en) | 2017-06-15 | 2017-06-15 | M-BUS input micropower wireless output parallel connection converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107909786B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108806225A (en) * | 2018-08-09 | 2018-11-13 | 浙江八达电子仪表有限公司 | Micropower wireless multi-channel protocol converter |
CN112270819A (en) * | 2020-09-25 | 2021-01-26 | 湖南常德牌水表制造有限公司 | M-Bus input micro-power-consumption wireless output parallel converter |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1257611C (en) * | 2003-06-06 | 2006-05-24 | 华邦电子股份有限公司 | Differential comparison circuit system |
CN202189462U (en) * | 2011-09-15 | 2012-04-11 | 长沙威胜信息技术有限公司 | Concentrator M-bus main machine |
US20140201599A1 (en) * | 2013-01-15 | 2014-07-17 | International Business Machines Corporation | Error protection for integrated circuits in an insensitive direction |
CN204884149U (en) * | 2015-06-24 | 2015-12-16 | 河南卓正电子科技有限公司 | A MBUS converting circuit for collector |
CN106375170A (en) * | 2016-08-26 | 2017-02-01 | 宁波三星医疗电气股份有限公司 | Mbus master node receiving circuit |
CN106781375A (en) * | 2016-12-10 | 2017-05-31 | 国网浙江省电力公司湖州供电公司 | Water meter ammeter hotlist gas meter four-in-one converter |
CN106781413A (en) * | 2017-01-03 | 2017-05-31 | 国网江苏省电力公司电力科学研究院 | The multilist collection that a kind of self adaptation is checked meter copies communication interface converter |
CN207037903U (en) * | 2017-06-15 | 2018-02-23 | 国网浙江省电力公司湖州供电公司 | M‑BUS Input Micropower Wireless Output Parallel Converter |
-
2017
- 2017-06-15 CN CN201710454311.9A patent/CN107909786B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107909786A (en) | 2018-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102693615B (en) | A wireless ad hoc network meter reading system collector device and operating method | |
CN201967144U (en) | Greenhouse wireless remote plant physiological and ecological monitoring system based on ZigBee and 3G (The 3rd Generation Telecommunication) network | |
CN205405241U (en) | Warmhouse booth environmental monitoring system based on energy is from collecting WSN node | |
CN204270126U (en) | A Hierarchical Management System for Household Roof Photovoltaics | |
CN107909786B (en) | M-BUS input micropower wireless output parallel connection converter | |
CN201269891Y (en) | Novel electric energy data remote collector | |
CN102420871B (en) | A network data collector | |
CN207037903U (en) | M‑BUS Input Micropower Wireless Output Parallel Converter | |
CN203349938U (en) | Low-power consumption wireless temperature acquisition circuit | |
CN208314984U (en) | A kind of M-BUS output M-BUS input doubling conversion equipment | |
CN212256564U (en) | A general system of Internet of things measuring instruments for electrical signal output type instruments | |
CN201518045U (en) | RS485 smart meter | |
CN204068987U (en) | Debugging and testing device for GPRS wireless public network communication module for distribution automation | |
CN204559893U (en) | Wireless communication device, table meter inquiry unit and table meter inquiry system | |
CN109472969B (en) | A parallel line conversion device and method based on M-BUS | |
CN205139356U (en) | Appearance system is checied in electrified equipment electric energy measurement | |
CN104581907B (en) | Wireless communication device, meter inquiry unit and meter inquiry system | |
CN107102584A (en) | A kind of superfine particulate matter and VOCs field monitoring node | |
CN209199324U (en) | An electric energy meter networking device | |
CN204269157U (en) | A kind of multiparameter hydrographic information detection system based on wireless self-networking | |
CN103295382A (en) | Gamma-ray wireless sensing monitoring apparatus and system | |
CN201910324U (en) | Current transformer with functions of electronic tag, temperature acquisition and wireless communication | |
CN209858567U (en) | A satellite-based soil moisture monitoring device | |
CN107121582A (en) | One kind coordinates bluetooth module movement oscillograph based on smart mobile phone APP | |
CN209417918U (en) | Smart Meter System |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |