CN112433504A - Combined type BACnet controller - Google Patents
Combined type BACnet controller Download PDFInfo
- Publication number
- CN112433504A CN112433504A CN202110033914.8A CN202110033914A CN112433504A CN 112433504 A CN112433504 A CN 112433504A CN 202110033914 A CN202110033914 A CN 202110033914A CN 112433504 A CN112433504 A CN 112433504A
- Authority
- CN
- China
- Prior art keywords
- bacnet
- slave
- analog
- interface
- host
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 27
- 238000004891 communication Methods 0.000 claims abstract description 23
- 239000002131 composite material Substances 0.000 claims abstract description 9
- 238000009434 installation Methods 0.000 claims abstract description 4
- DWSYCUKCNSVBRA-UHFFFAOYSA-N 4-(5-methylsulfonyltetrazol-1-yl)phenol Chemical compound CS(=O)(=O)C1=NN=NN1C1=CC=C(C=C1)O DWSYCUKCNSVBRA-UHFFFAOYSA-N 0.000 claims description 6
- 101710167643 Serine/threonine protein phosphatase PstP Proteins 0.000 claims description 6
- 238000000034 method Methods 0.000 claims description 3
- 239000006185 dispersion Substances 0.000 abstract description 3
- 230000000694 effects Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000001816 cooling Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000007710 freezing Methods 0.000 description 1
- 230000008014 freezing Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000005057 refrigeration Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0428—Safety, monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2612—Data acquisition interface
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a composite BACnet controller, which is characterized in that a host and a plurality of slave machines are arranged on an internal bus, and the plurality of slave machines are hung on the internal bus in a serial bus installation mode; the host comprises a single chip microcomputer, a nonvolatile memory and a host power supply conversion circuit, wherein the single chip microcomputer is connected with an interface for realizing BACnet communication and a host 485 interface for connecting the internal bus; the slave comprises a microprocessor, the microprocessor is connected with an analog input channel, a switching value input channel, an analog output channel, a switching value output channel, a slave 485 interface used for connecting the internal bus, and a slave power supply conversion circuit. The controller can realize the technical effect of logic centralized control point dispersion.
Description
Technical Field
The invention belongs to the field of building automatic control systems, and particularly relates to a BACnet controller.
Background
The building automatic control system is an important component of an intelligent building and is also a whole set of automatic control system formed by combining an advanced computer technology and a network communication technology.
In the building automatic control field, a DDC controller based on a BACnet communication protocol is dominant. Such a controller has the following features: A. BACnet MSTP is used as a main communication port; B. support various services and objects of BACnet; C. downloading and uploading a logic file through a BACnet file service; D. running the programmable logic file; E. the device comprises an analog quantity input, a switching quantity input, an analog quantity output and a switching quantity output (also a relay output); F. the number of input and output points is limited, and 1-2 controllers generally control one unit electromechanical device; G. the controllers can transmit data through network variables, but the internal resources of the chip and the MSTP bus time are consumed more.
The DDC controller based on the BACnet communication protocol in the building automatic control system is more suitable for controlling electromechanical equipment with less points, such as a fresh air handling unit, an air conditioning unit, water supply and drainage, a sump and the like. However, the control of a large-scale unit such as a freezing station is difficult to deal with because of a plurality of control points, control logic needs to be written in a centralized manner but the space distribution of equipment is not centralized (generally, a refrigerator is underground and a cooling tower is on the top of a building), a plurality of DDC controllers do not know which is the core, a main logic program runs in which controller, and a large number of network variables need to be transmitted back and forth, which brings great difficulty to programming and debugging, and is difficult to deal with various fault-tolerant problems and faces a large number of hidden program defects.
The other scheme is to use PLC control. The PLC is a combination of a main module and a plurality of IO extension modules, only the main module can be programmed, and troubles of programming and network variables can be avoided. However, PLC has 2 drawbacks: 1. the slave machine carried by each host machine is expanded by a parallel bus and cannot be dispersedly installed, so that one additional slave machine is required to be additionally arranged for controlling the cooling tower; 2. the building automatic control system is not provided with a BACnet data interface, does not support a BACnet standard protocol, and means that a technical system is not unified with the whole building automatic control system, is not fused, and is troublesome in debugging and maintenance.
Disclosure of Invention
In order to solve the problems in the prior art, the invention aims to provide a composite BACnet controller which can realize the technical effect of logic centralized control point dispersion.
In order to achieve the technical purpose and achieve the technical effect, the invention is realized by the following technical scheme:
a compound BACnet controller is provided with a host and a plurality of slaves on an internal bus, and the slaves are hung on the internal bus in a serial bus installation mode; the host comprises a single chip microcomputer, the single chip microcomputer (101) is connected with an interface for realizing BACnet communication and a host 485 interface for connecting the internal bus, and further comprises a nonvolatile memory and a host power supply conversion circuit, wherein the nonvolatile memory and the host power supply conversion circuit are respectively connected with the single chip microcomputer, the interface for realizing BACnet communication and the host 485 interface; the slave comprises a microprocessor, the microprocessor is connected with an analog input channel, a switching value input channel, an analog output channel, a switching value output channel and a slave 485 interface used for connecting the internal bus, and the slave also comprises a slave power supply conversion circuit, and the slave power supply conversion circuit is respectively connected with the microprocessor, the analog input channel, the switching value input channel, the analog output channel, the switching value output channel and the slave 485 interface.
Further, the interface for realizing BACnet communication includes one or both of an ethernet interface for realizing BACnet IP communication and an RS485 interface for realizing BACnet MSTP communication.
The analog output channel comprises an analog-to-digital conversion chip, the microprocessor controls the output of the analog-to-digital conversion chip through 12C or SPI serial communication, the analog-to-digital conversion chip is connected with a signal amplifier, and a voltage signal output by the analog-to-digital conversion chip is converted into a 4-20mA current or a 0-10V voltage signal through the signal amplifier.
The switching value output channel comprises a latch, and the latch is connected with a plurality of relays.
In the actual operation process, due to external electromagnetic interference or internal data disorder and the like, abnormal reset may occur in both the master and the slave. In the absence of a reliable design, the two abnormal resets can cause the output signal to be out of control, and further damage the stable operation of the controlled equipment.
In most building control systems, the system is in a stable state under the condition that the output of the relay and the output of the analog quantity are kept unchanged, so the reliability design principle provided by the invention is as follows: a, setting a certain time window, wherein in the window, the operation result of a logic program is possibly unreasonable, but the actual output of a controller is kept unchanged before resetting; and B, after the time window is passed, the logic program is operated and restored to a reasonable state, and the controller executes the operation result.
Combining the design of the BACnet controller, when the host is reset, the host sets a reset time window, and the task of the host is to recover data from the nonvolatile memory device A in the reset time window; B. the logic program enters a recovery running state; C. the slave still keeps reading the physical channel; D. reading necessary data from an external device; E. stopping sending data and commands to the external device; F. the sending of commands to the slave is stopped. The reset window period ends and all data returns to normal E, F.
The length of the reset time window is generally fixed time which can be set manually, and can also be judged by program logic, and a user can judge whether to enter a stable operation period by programming according to collected information.
The slave is abnormally reset, the output of analog quantity and switching value signals is automatically latched and unchanged before the program is restored to be normal, and the host command is restored to be executed after the normal operation is carried out. The latch time of the slave is much shorter than that of the master.
The invention has the following beneficial effects:
1. the invention is constructed by hanging a host and a plurality of slave machines on an internal bus, and the slave machines are installed by a serial bus and can be installed dispersedly, thereby realizing the requirements of 'logic concentration and control point dispersion' of the refrigeration station.
2. The host of the invention is the core of the whole BACnet controller, and has the upper layer functions of the general BACnet controller:
A. support BACnet communication protocol, MSTP and IP, have one of them at least;
B. the logic file can be downloaded and uploaded through the file service in the BACnet protocol;
C. executing a logical operation function;
D. storing a configuration file of a slave machine physical channel;
E. and converting the original information of the input channel read from the slave into physical data which can be understood by a user according to the configuration information, and converting the physical data of the output channel into original information which can be executed by the slave.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings. The detailed description of the present invention is given in detail by the following examples and the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings;
FIG. 1 is a system architecture diagram of the present invention.
FIG. 2 is a system framework diagram of the host of the present invention.
Fig. 3 is a system framework diagram of the slave of the present invention.
Fig. 4 is a schematic diagram of a switching value output channel system of the slave of the invention.
FIG. 5 is a schematic diagram of the analog output channel system of the slave of the present invention.
Fig. 6 shows a communication relationship between a master and a slave according to an embodiment of the present invention.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Referring to fig. 1, a composite BACnet controller is provided with a master 1 and a plurality of slaves 2 on an internal bus 3, and the slaves 2 are hung on the internal bus 3 by a serial bus installation method.
As shown in fig. 2, the host 1 includes a single chip microcomputer 101, the single chip microcomputer 101 is connected to the ethernet interface (102) for implementing BACnet IP communication, an RS485 interface 103 for implementing BACnet MSTP communication, and a host 485 interface 104 for connecting the internal bus, and further includes a nonvolatile memory 105 and a host power conversion circuit 106, and the nonvolatile memory 105 and the host power conversion circuit 106 are respectively connected to the single chip microcomputer 101, the ethernet interface 102, the RS485 interface 103, and the host 485 interface 104.
As shown in fig. 3, the slave 2 includes a microprocessor 201, the microprocessor 201 is connected to an analog input channel 204, a switching input channel 205, an analog output channel 206, a switching output channel 207, a slave 485 interface 202 for connecting the internal bus, and a slave power conversion circuit 203, the slave power conversion circuit 203 is connected to the microprocessor 201, the analog input channel 204, the switching input channel 205, the analog output channel 206, the switching output channel 207, and the slave 485 interface 202, respectively.
The host needs to adopt a high-performance chip, has strong operational capability and larger storage space, and preferably, the single chip microcomputer 101 adopts a 32-bit ARM chip.
Preferably, the microprocessor 201 is an 8-bit MCU chip.
As shown in fig. 5, the analog output channel 206 includes an analog-to-digital conversion chip 2061, the microprocessor 201 controls the output of the analog-to-digital conversion chip 2061 through 12C or SPI serial communication, the analog-to-digital conversion chip 2061 is connected to a signal amplifier 2062, and a voltage signal output by the analog-to-digital conversion chip 2061 is converted into a 4-20mA current or a 0-10V voltage signal through the signal amplifier 2062. When the microprocessor 201 is abnormally reset, the output of the digital-to-analog conversion chip is kept unchanged, and the latch function is automatically realized.
As shown in fig. 6, the switching value output channel 207 includes a latch 2071, and a plurality of relays 2072 are connected to the latch 2071. The latch signal is normally turned off, and only when the program in the microprocessor 201 judges that the latch is in a normal state, the output control signal is given first, and then the latch is in a through state, so that the relay is correctly controlled, and the fluctuation of the microprocessor 201 under the abnormal reset condition is avoided.
In this embodiment, a communication bus protocol between the master and the slave, a physical layer of which adopts a commonly used 485 polling architecture, the master sends commands of analog output and switching output, and the slave responds to input port information. If a certain address has no response, it indicates that the module corresponding to the address is empty, and the corresponding variable displays an "unbown" value, as shown in fig. 6.
In this embodiment, the physical channel of the slave is mapped to the BACnet IO object of the host. And setting a frame with the largest possible size, and automatically numbering the IO channels of the slave machines. The addresses of the slaves start from 0, and the section corresponding to each slave is assumed to have a maximum number of AI (analog input) N1, a maximum number of BI (switching value input) N2, a maximum number of AO (analog output) N3, and a maximum number of BO (switching value output) N4 for each IO. See table below:
the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110033914.8A CN112433504A (en) | 2021-01-12 | 2021-01-12 | Combined type BACnet controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110033914.8A CN112433504A (en) | 2021-01-12 | 2021-01-12 | Combined type BACnet controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112433504A true CN112433504A (en) | 2021-03-02 |
Family
ID=74697210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110033914.8A Pending CN112433504A (en) | 2021-01-12 | 2021-01-12 | Combined type BACnet controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112433504A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259230A (en) * | 2021-05-12 | 2021-08-13 | 苏州和欣致远节能科技有限公司 | BACnet gateway with multiple Modbus ports and communication method thereof |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201589978U (en) * | 2010-01-29 | 2010-09-22 | 许勇 | Centralized monitoring equipment in computer room based on BACnet field bus |
US20100241275A1 (en) * | 2009-03-20 | 2010-09-23 | Johnson Controls Technology Company | Devices, systems, and methods for communicating with rooftop air handling units and other hvac components |
US20130242798A1 (en) * | 2012-03-13 | 2013-09-19 | Nara Controls Inc. | Apparatus for duplicating router in building automatic control system and controlling method thereof |
US20150106447A1 (en) * | 2013-10-14 | 2015-04-16 | Edward Hague | Modular system and method for communicating information between different protocols on a control network |
CN104699015A (en) * | 2013-12-06 | 2015-06-10 | 珠海格力电器股份有限公司 | Air conditioner monitoring system based on distributed power generation and air conditioner system applying same |
CN105607527A (en) * | 2014-11-20 | 2016-05-25 | 机械工业仪器仪表综合技术经济研究所 | KNX-BACnet/IP protocol conversion gateway based on Cortex-M processor |
KR20190041087A (en) * | 2017-10-12 | 2019-04-22 | 엘지전자 주식회사 | Air conditioning system |
CN110741607A (en) * | 2017-06-21 | 2020-01-31 | 西门子瑞士有限公司 | System and method for stabilizing BACnet MSTP network when fault occurs |
CN111131011A (en) * | 2019-11-29 | 2020-05-08 | 北京和欣运达科技有限公司 | Communication gateway and LoRa node control system |
CN214252944U (en) * | 2021-01-12 | 2021-09-21 | 苏州和欣致远节能科技有限公司 | Combined type BACnet controller |
-
2021
- 2021-01-12 CN CN202110033914.8A patent/CN112433504A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100241275A1 (en) * | 2009-03-20 | 2010-09-23 | Johnson Controls Technology Company | Devices, systems, and methods for communicating with rooftop air handling units and other hvac components |
CN201589978U (en) * | 2010-01-29 | 2010-09-22 | 许勇 | Centralized monitoring equipment in computer room based on BACnet field bus |
US20130242798A1 (en) * | 2012-03-13 | 2013-09-19 | Nara Controls Inc. | Apparatus for duplicating router in building automatic control system and controlling method thereof |
US20150106447A1 (en) * | 2013-10-14 | 2015-04-16 | Edward Hague | Modular system and method for communicating information between different protocols on a control network |
CN104699015A (en) * | 2013-12-06 | 2015-06-10 | 珠海格力电器股份有限公司 | Air conditioner monitoring system based on distributed power generation and air conditioner system applying same |
CN105607527A (en) * | 2014-11-20 | 2016-05-25 | 机械工业仪器仪表综合技术经济研究所 | KNX-BACnet/IP protocol conversion gateway based on Cortex-M processor |
CN110741607A (en) * | 2017-06-21 | 2020-01-31 | 西门子瑞士有限公司 | System and method for stabilizing BACnet MSTP network when fault occurs |
KR20190041087A (en) * | 2017-10-12 | 2019-04-22 | 엘지전자 주식회사 | Air conditioning system |
CN111131011A (en) * | 2019-11-29 | 2020-05-08 | 北京和欣运达科技有限公司 | Communication gateway and LoRa node control system |
CN214252944U (en) * | 2021-01-12 | 2021-09-21 | 苏州和欣致远节能科技有限公司 | Combined type BACnet controller |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259230A (en) * | 2021-05-12 | 2021-08-13 | 苏州和欣致远节能科技有限公司 | BACnet gateway with multiple Modbus ports and communication method thereof |
CN113259230B (en) * | 2021-05-12 | 2022-11-22 | 苏州和欣致远节能科技有限公司 | BACnet gateway with multiple Modbus ports and communication method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Martirano et al. | Building automation and control systems (bacs): a review | |
CN106707784A (en) | Smart home control method and system based on KNX protocol | |
CN101174960A (en) | Redundant intelligent network communication controller | |
CN112327732A (en) | Smart building interior micro-edge service control method and system and electronic equipment | |
CN107044714A (en) | A kind of double water cooling equipment energy-saving control systems of computer room and method | |
CN214252944U (en) | Combined type BACnet controller | |
CN112433504A (en) | Combined type BACnet controller | |
CN201029023Y (en) | Intelligent switch power source communication protocol converter | |
CN112134153A (en) | System capable of mastering temperature and humidity in real time for power tunnel power distribution device | |
CN102635922A (en) | Work environment monitoring and adjusting system for 10kV power distribution station | |
CN202547014U (en) | Working environment monitoring and conditioning system for 10kV power distribution station | |
CN117750242B (en) | Low-power-consumption digital building intercom system and control method thereof | |
CN202153792U (en) | Free topology intelligent lighting control system based on EIB bus KNX protocol | |
CN209044341U (en) | Air-raid shelter's three proof controllers of intelligence | |
CN206361659U (en) | A kind of relay client/server system | |
CN207752364U (en) | Photovoltaic and Intelligent housing manage system | |
CN201335980Y (en) | Field network control device | |
CN113747468B (en) | Control method of electronic equipment, loRa gateway, electronic equipment and storage medium | |
CN202734152U (en) | Energy-saving control device of split-type air conditioner | |
CN206410287U (en) | A kind of control of intelligent terminal | |
CN115949608A (en) | Control system and method for glass factory fan and air valve | |
CN104869702A (en) | Environment regulating system and method | |
CN202362661U (en) | CAN bus communication-based direct digital controller | |
CN201110616Y (en) | Machinery room air conditioner controller | |
CN106765978A (en) | A kind of control of intelligent terminal |
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 |