[go: up one dir, main page]

CN1084992C - Control network and confiquration method thereof - Google Patents

Control network and confiquration method thereof Download PDF

Info

Publication number
CN1084992C
CN1084992C CN 95197404 CN95197404A CN1084992C CN 1084992 C CN1084992 C CN 1084992C CN 95197404 CN95197404 CN 95197404 CN 95197404 A CN95197404 A CN 95197404A CN 1084992 C CN1084992 C CN 1084992C
Authority
CN
China
Prior art keywords
network
node
data
sensor unit
sensor
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.)
Expired - Lifetime
Application number
CN 95197404
Other languages
Chinese (zh)
Other versions
CN1173258A (en
Inventor
乔治·奥托·塞弗特
丹尼尔·法里克斯·威德莫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
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 International Business Machines Corp filed Critical International Business Machines Corp
Priority to CN 95197404 priority Critical patent/CN1084992C/en
Publication of CN1173258A publication Critical patent/CN1173258A/en
Application granted granted Critical
Publication of CN1084992C publication Critical patent/CN1084992C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Selective Calling Equipment (AREA)

Abstract

描述了一种控制网络及其配置方法,其中传感器和执行器单元(16、17)连接于可配置的转换器(12)。这些转换器,除了为把物理信号转换成网络数据可能必须的任何其他转换器(18)(例如A/D(模/数)转换器等)外,还根据外部提供的条件完成传感器数据的转换。在一个最佳实施例中,对于和这一传感器单元有关的每个条件,其可能的传感器数据区间被压缩成1位。这种转换是在把该传感器数据传送给其他节点之前完成的,从而显著地减少了网络通信量。由于每个传感器单元只在其状态的逻辑值已经改变时才发送其当前状态,使通信量进一步减少。所描述的网络特别适用于有高噪声水平的低带宽介质,例如供电线路和红外辐射。

A control network and its configuration method are described, in which sensor and actuator units (16, 17) are connected to a configurable converter (12). These converters, in addition to any other converters (18) (such as A/D (analog/digital) converters, etc.) that may be necessary to convert physical signals into network data, also perform sensor data conversion according to externally provided conditions . In a preferred embodiment, the possible sensor data intervals are compressed to 1 bit for each condition associated with this sensor unit. This conversion is done before transmitting the sensor data to other nodes, thereby significantly reducing network traffic. The communication traffic is further reduced since each sensor unit only transmits its current state when the logical value of its state has changed. The described network is particularly suitable for low-bandwidth media with high noise levels, such as power supply lines and infrared radiation.

Description

控制网络及其配置方法Control network and its configuration method

本发明一般地说是关于数字数据传输网络的配置过程。更具体地说,本发明定义了一种由带有传感器单元和执行单元的节点构成的网络结构并提供了一种配置这种网络结构的方法。再更具体地说,本发明是关于一种控制系统,例如建筑物的控制系统,它可由不具备编程技术的人来配置。The present invention relates generally to the configuration process of digital data transmission networks. More specifically, the invention defines a network structure consisting of nodes with sensor units and execution units and provides a method for configuring such a network structure. Still more particularly, the present invention relates to a control system, such as a building control system, which can be configured by a person without programming skills.

已知有无数次的努力要向建筑物和工业场地提供一种可靠的和易于使用的控制系统,以应用于例如根据时间、温度和侵入检测器的实际传感器值来切换负载。尽管在过去十年里,用于各种可能传输介质(例如用红外线或射频电磁波、双绞电缆、同轴电缆、以及交流(AC)电源线)的调制解调器或收发器的结构以及安全和稳健(ro-bust)的网络协议的结构都有了显著的进步,但在技术上仍缺乏一种至少在原则上能被任何人安装、配置和使用的控制网络结构。先有技术尽管向专业的网络管理员提供了一些辅助工具,但在这方面却普遍未能成功。Numerous efforts are known to provide buildings and industrial sites with a reliable and easy-to-use control system for applications such as switching loads based on time, temperature and actual sensor values of intrusion detectors. Although in the past decade, the structure and safety and robustness of modems or transceivers for various possible transmission media (such as infrared or radio frequency electromagnetic waves, twisted pair cables, coaxial cables, and alternating current (AC) power lines) and safe and robust ( ro-bust) have made significant progress in the structure of the network protocol, but there is still a lack of a control network structure that can be installed, configured and used by anyone, at least in principle. The prior art has generally been unsuccessful in this regard, although it has provided some assistive tools to the professional network administrator.

美国专利US-A-4 864 492提供了一种系统和方法,用于把基于知识的专家系统应用于建立个体化到复杂网络各工作站的配置参数。使用该知识去提供选项菜单和控制网络管理员可用的选择。对先有技术的进一步参考是关于网络拓扑结构的图形表示方法。例如US-A-4 942 540描述了从滚动菜单中选择通信参数从而在用户终端和目标终端之间建立和选择通信路径的方法。根据不同的菜单选择,显示出终端和路径的图形表示。欧洲专利申请EP-A-0490 624提供了一种操作系统和方法,利用它网络管理员能通过定义带有各自硬件和操作系统的多个节点来用图形方式描述一个网络,然后能定义节点之间通信路径的协议并且根据这种节点和通信路径构成网络的约束对节点(通常为工作站或PC)的各种操作系统产生配置参数。显然,解决网络配置问题的这种途径对于专业网络管理员以外的其他使用者是没有意义的。US-A-4 864 492 provides a system and method for applying a knowledge-based expert system to establish configuration parameters individualized to individual workstations in a complex network. Use this knowledge to provide menus of options and control choices available to network administrators. A further reference to the prior art relates to graphical representations of network topology. For example US-A-4 942 540 describes a method for setting up and selecting a communication path between a user terminal and a target terminal by selecting communication parameters from a scrolling menu. Depending on the menu selection, a graphical representation of the terminal and path is displayed. European Patent Application EP-A-0490 624 provides an operating system and method by which a network administrator can graphically describe a network by defining a plurality of nodes with their own hardware and operating systems, and then can define Configuration parameters are generated for the various operating systems of the nodes (usually workstations or PCs) according to the protocol of the communication paths between them and according to the constraints that such nodes and communication paths constitute a network. Obviously, this approach to solving network configuration problems is meaningless to users other than professional network administrators.

所以本发明的一个目的是提供一种直观可用的网络配置方法,特别是用于建筑物控制和自动化的网络配置方法。It is therefore an object of the present invention to provide an intuitive and usable network configuration method, especially for building control and automation.

本发明假定存在一个网络,用于控制例如一座建筑物,所述网络由若干单个节点组成。每个节点带有至少一个调制解调器或收发器用于通过传输介质传送数据。每个节点还包括一个读/写(r/w)存储器用于存储微代码以及一个微处理器用于执行存储于存储器中的微代码。在网络内部,每个节点有一个节点标识(ID)。这个节点ID允许由读取被传送数据的特定部分(例如一个头段)来识别发送和/或接收节点。通常,每个节点带有至少一个传感器单元或执行单元。尽管在本发明范围内的网络基本上是基于所谓点对点(peer-to-peer)连网的网络,但也假定存在带有用户界面的特殊节点。这个特殊节点被设计成用于接收使用者的输入或显示和存储关于网络及其节点的信息。在网络配置完成之后,这些节点能作为“同等地位的点(peer)”级此可直接通信而不需要依赖于中心节点。The invention assumes the existence of a network for controlling eg a building, said network consisting of several individual nodes. Each node has at least one modem or transceiver for communicating data over the transmission medium. Each node also includes a read/write (r/w) memory for storing microcode and a microprocessor for executing the microcode stored in the memory. Inside the network, each node has a node identification (ID). This node ID allows the sending and/or receiving node to be identified by reading a specific part of the transmitted data (eg a header). Typically, each node has at least one sensor unit or execution unit. Although the network within the scope of the invention is basically a network based on so-called peer-to-peer networking, it is also assumed that there are special nodes with user interfaces. This special node is designed to accept user input or to display and store information about the network and its nodes. After the network configuration is complete, these nodes can act as "peers" and communicate directly without relying on the central node.

上面描述的这类网络是大家都知道的。一个早期实例是由N.McArthur等发表的“智能插头”(无线世界,第46-51页,1979年12月)。在欧洲专利申请EP-A-0 393 117中描述了另一个更新近的网络。Networks of the type described above are known. An early example is "The Smart Plug" by N. McArthur et al. (Wireless World, pp. 46-51, December 1979). Another more recent network is described in European patent application EP-A-0 393 117.

本发明的特别之处在于:一个控制网络的节点除包括调制解调器装置用于通过传输介质发送和/或接收数据及至少一个传感器单元,该节点进一步包括可配置的转换器装置用于把所述传感器单元的输出转换成可通过所述传输介质传输的数字数据,以及存储装置用于存储外部提供的配置数据供所述可配置转换器装置使用,所述配置数据是从外部提供的关于所述传感器单元的控制条件数据中提取出来的。带有执行单元的节点包括相应的转换装置来解释由传感器单元发送的数字数据并启动所要求的执行单元操作。The special feature of the present invention is that a node of a control network includes modem means for sending and/or receiving data via a transmission medium and at least one sensor unit, the node further includes configurable converter means for converting said sensor the output of the unit is converted into digital data transmittable via said transmission medium, and storage means for storing externally provided configuration data for use by said configurable converter means, said configuration data being externally provided with respect to said sensor Extracted from the control condition data of the unit. Nodes with execution units include corresponding conversion means to interpret the digital data sent by the sensor units and initiate the required execution unit operations.

本发明的一个重要方面在于网络数据通信是按定义的数字数据格式即位图(bit pattern)进行的。这个位图指明由传感器元件测量到的一个(当前)值是否满足一个条件。在本发明的一个实施例中,位图被简化成由一位表示的“真”和“伪”,即“1”或“0”,从而显著地限制了传输介质上的数据传输量。数据传输量减少还由于节点只在相关状态的逻辑值从“真”变成“伪”或反过来从“伪”变成“真”时才传送数据,而不是连续地向网络发送数据。An important aspect of the present invention is that network data communication is carried out according to a defined digital data format, namely a bit pattern. This bitmap indicates whether a (current) value measured by the sensor element satisfies a condition. In one embodiment of the present invention, the bitmap is reduced to "true" and "false", ie, "1" or "0", represented by one bit, thereby significantly limiting the amount of data transfer on the transmission medium. Data transfers are also reduced because nodes only transmit data when the logical value of the associated state changes from "true" to "false" or vice versa, rather than continuously sending data to the network.

把这一方法看作是将传感器的整个量程映射或压缩转换成与定义的位图相关联的有限数量的区间,这种看法或许会有指导作用。传统的线性或对数转换器是根据固定的编码方案将输入值转换成相应的输出值,与此相对照的是,根据本发明,编码方案是动态地分配给传感器单元,并适应于由网络使用者从外部提供的要求或条件。理想情况是网络通信会由此而简化为“状态报告”。这种“状态报告”由带有传感器单元的节点发出并由具有执行单元的节点接收。然而,网络的某些功能,例如取决于传感器单元实际状态的所有应用,可能会要求连续传输一个(固定的)编码信号。根据本发明的配置处理所提供的传感器数据与所测参数的具体的(物理的)性质无关,并能任意组合以实现控制执行单元的目的。It may be instructive to think of this approach as mapping or compressing the entire range of the sensor into a finite number of bins associated with a defined bitmap. In contrast to conventional linear or logarithmic converters, which convert input values into corresponding output values according to a fixed coding scheme, according to the present invention, the coding scheme is dynamically assigned to the sensor units and adapted by the network A requirement or condition provided externally by a user. Ideally, network communication would thus be reduced to "status reporting". Such "status reports" are issued by nodes with sensor units and received by nodes with execution units. However, certain functions of the network, eg all applications depending on the actual state of the sensor units, may require the continuous transmission of a (fixed) coded signal. The sensor data provided by the configuration process according to the invention are independent of the specific (physical) properties of the measured parameters and can be combined arbitrarily for the purpose of controlling the execution unit.

本发明特别适用于点对点控制网络,例如应用于建筑物或工厂中的负载控制。它表现出显著减少网络通信量,从而可以最佳地应用于低带宽或低通过率的传输介质。这种介质可以是例如红外光波、超声波、或交流(AC)电力线。The invention is particularly suitable for point-to-point control networks, eg for load control in buildings or factories. It is shown to significantly reduce network traffic and thus can be optimally applied to transmission media with low bandwidth or low throughput. Such a medium may be, for example, infrared light waves, ultrasonic waves, or alternating current (AC) power lines.

在一个最佳实施例中,关于传感器单元的每个条件(IF(如果)条件)在带有这一传感器单元和节点所发送的数据流中被指定一个特定的位置(bit position)。如果这个单元的量程被使用者的IF(如果)条件分成例如4个区间,则有4位指示是否满足各自的条件。In a preferred embodiment, each condition (IF condition) with respect to a sensor unit is assigned a specific bit position in the data stream sent with this sensor unit and node. If the range of this unit is divided into, for example, 4 intervals by the user's IF (if) condition, there are 4 bits indicating whether the respective conditions are satisfied.

然而,可以根据其他编码方案对IF(如果)条件进行编码,例如用二进制编码,在这种情况下,4个区间将只由2位编码。对于本行专家而言,显然能从已知的编码方案中任意选择确切的编码方案。However, the IF (if) condition could be encoded according to other encoding schemes, eg in binary encoding, in which case the 4 intervals would be encoded by only 2 bits. It is obvious to an expert in the field that the exact coding scheme can be chosen arbitrarily from known coding schemes.

本发明的又一方面是,带有执行单元(它的动作由一个或多个传感器单元的IF条件来控制)的每个节点接收关于位图、赋予每个IF条件的编码表示连同它们各自的逻辑连接(即把单个IF条件组合起来的布尔运算,例如“与(AND)”或“或(OR)”)的信息。加到执行单元节点的第三种信息是关于优先级的,当使用者的输入含有不一致的或矛盾的IF条件时这种优先级便起作用。In yet another aspect of the invention, each node with an execution unit whose action is controlled by the IF conditions of one or more sensor units receives an encoded representation of the bitmap, assigned to each IF condition, along with their respective Information about logical connections (ie, Boolean operations that combine individual IF conditions, such as "AND" or "OR"). The third type of information added to the execution unit nodes is about priorities, which come into play when user input contains inconsistent or contradictory IF conditions.

在所附权利要求中提出了相信为本发明特点的这些或其他新特征。然而本发明本身以及最佳使用方式及其他目标和优点,都将通过参考下文中结合附图对实施例的详细描述而得到最好的理解。These and other novel features believed to be characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as its best mode of use and other objects and advantages, will be best understood by reference to the following detailed description of the embodiments taken in conjunction with the accompanying drawings.

将参考如下附图对本发明进行详细描述:The present invention will be described in detail with reference to the following drawings:

图1显示出一个网络,它包含的几个节点连于一个建筑物的电源线上。Figure 1 shows a network consisting of several nodes connected to a building's power lines.

图2显示出根据本发明进行配置的过程中显示屏的详细情况。Figure 2 shows a detail of the display screen during configuration according to the invention.

图3A显示出在已知的控制网络中数据传送的详细情况。Figure 3A shows the details of data transfer in a known control network.

图3B显示出根据本发明的数据传送的详细情况。Figure 3B shows the details of data transfer according to the present invention.

实现本发明的方式The mode of realizing the present invention

首先参考图1,图中显示出由几个节点构成的网络10。网络的所有节点包括调制解调器11,它根据配置过程中存于每个节点的存储器13中的控制代码启动节点控制器12,使其向传输介质15发送数据。所描述的实例的传输介质15是建筑物的电源线。然而,如前所述,本发明能应用于任何传输介质。一个节点还包括传感器单元16和执行单元17,这里每个节点可以包括这些单元的任意组合。传感器单元和执行单元被连接于适当的转换器装置18,它根据固定的转换方案操作,在网络本身的安装和配置过程中这种转换方案是不改变的。这些已知转换器的实例是A/D(模/数)和D/A(数/模)转换器,F/D(频率/数字)和D/F(数字/频率)转换器等。节点之一101还包括运行程序的装置及与操作员或使用者通信的接口。在下文中将把这个特殊节点称作管理器或A节点。在所描述的实例中,A节点是一台个人计算机(PC),有一插板带有调制解调器装置以及让PC作为网络内节点进行通信的所有其他部件。将会清楚看到的是,尽管存在一个特殊节点,即A节点,所描述的网络确实是属于点对点网络这一类。在网络的这一运行方式中,在完成配置过程之后,A节点变成与网络中的其他节点没有区别。Referring first to Figure 1, there is shown a network 10 of several nodes. All nodes of the network include a modem 11 which activates a node controller 12 to transmit data to a transmission medium 15 according to a control code stored in a memory 13 of each node during configuration. The transmission medium 15 of the depicted example is the building's power supply lines. However, as previously stated, the present invention can be applied to any transmission medium. A node also includes a sensor unit 16 and an execution unit 17, where each node may include any combination of these units. The sensor units and actuating units are connected to appropriate converter means 18, which operate according to a fixed switching scheme which does not change during the installation and configuration of the network itself. Examples of such known converters are A/D (Analog/Digital) and D/A (Digital/Analog) converters, F/D (Frequency/Digital) and D/F (Digital/Frequency) converters and the like. One of the nodes 101 also includes means for running programs and an interface for communicating with an operator or user. This special node will be referred to as the manager or A-node hereinafter. In the depicted example, Node A is a personal computer (PC) with a plug-in board with a modem device and all other components for the PC to communicate as a node within the network. It will be clearly seen that the network described is indeed of the class of peer-to-peer networks, despite the presence of one special node, the A-node. In this mode of operation of the network, after completing the configuration process, node A becomes indistinguishable from other nodes in the network.

建立网络的第一步是使A节点识别出网络中安装的每个节点。这种识别过程可以用几种方法实现。在本例中,A节点中安装的一个配置程序包括一个预定义节点类型库。每当安装一个新节点,便产生一个信号,它允许A节点去识别节点的类型,包括它的所有传感器和执行单元以及节点ID(标识),即允许与这个新安装的节点进行通信的地址。The first step in setting up the network is to make the A node recognize each node installed in the network. This identification process can be accomplished in several ways. In this example, a configuration program installed in node A includes a library of predefined node types. Whenever a new node is installed, a signal is generated that allows Node A to identify the type of node, including all its sensors and execution units, as well as the node ID (identification), the address that allows communication with this newly installed node.

在网络的所有节点被安装和识别为库中所存节点类型之后,在A节点显示器上产生一个如图2所示的二列表20,A节点还包括一种手段,用于解释由使用者打入第一列作为IF(如果)陈述的所有陈述以及作为THEN(于是)陈述的第二列的所的条目。此外,在IF列中处于一个字段(field)内的所有陈述被看作为由AND(与)连接,而处于二个不同字段的陈述被看作为由布尔OR(或)算子连接。配置过程迫使使用者向第一列只插入与传感器单元有关的陈述,而向第二列只插入与执行单元有关的陈述。对每个节点,其可用单元211作为在由使用者定义的节点名字之下的一组图标21显示出来。没有经验的使用者可以利用指示器(鼠标器)把所希望的单元图标211拖放到表20的一个字段中从而建立表中的条目。在拖放操作之后,使用者将被提示提供要定义的条件的进一步详细情况。After all the nodes of the network are installed and identified as the type of nodes stored in the library, a second list 20 as shown in Figure 2 is generated on the display of the A node. All statements in the first column as IF (if) statements and entries in the second column as THEN (then) statements. Furthermore, all statements in one field in the IF column are considered to be connected by AND, while statements in two different fields are considered to be connected by a Boolean OR operator. The configuration process forces the user to insert only sensor unit-related statements into the first column and actuator unit-related statements into the second column. For each node, its available elements 211 are displayed as a set of icons 21 under the node name defined by the user. An inexperienced user can create an entry in the table by dragging and dropping the desired unit icon 211 into a field of the table 20 using a pointer (mouse). After the drag and drop operation, the user will be prompted to provide further details of the condition to be defined.

在根据所希望的网络配置和控制参数完成了表格条目之后,A节点产生所有必要的配置数据并把它们发送给网络的其他节点。在下文中将参考一个简单的情况描述其确切的方法。应该指出,确切的方法(例如对参数的定义)可以很容易地由本行专家改变。After completing the table entries according to the desired network configuration and control parameters, the A-node generates all necessary configuration data and sends them to the other nodes of the network. The exact method is described below with reference to a simple case. It should be noted that the exact method (eg definition of parameters) can easily be changed by experts in the field.

在所描述的实例中,库为每个传感器单元提供一个STATEDEF(状态定义)变量。在亮度传感器单元的情况下,该变量的C语言定义是:In the described example, the library provides a STATEDEF (state definition) variable for each sensor unit. In the case of the brightness sensor unit, the C language definition of this variable is:

           
typedef struct{

    SNVT_lux threshold1;

    SNVT_lux threshold2;

    Char     logic;

    SNS_MATRIX snsMatrix;
				
				<dp n="d5"/>
}

BGT_STATE_DEF;

typedef struct{

    SNVT_lux threshold1;

    SNVT_lux threshold2;

    Char logic;

    SNS_MATRIX snsMatrix;
				
<dp n="d5"/>
}

BGT_STATE_DEF;

        

这个定义允许使用者定义二个阈值。阈值可被看作是代表由亮度传感器测量的值。应该指出,在网络中这些测量值的实际格式依赖于固定的转换和格式操作(例如A/D转换),这种操作在不同的网络环境中和/或对于不同类型传感器可能是不同的。然而这些格式(下文中称作“未编码格式”)与本发明没有关系。第三个变量是字符型变量,表示二个阈值之间的关系,例如等于、大于、小于等,其值由对象库预先确定,并根据使用者的输入赋值。SNS_MATRIX变量定义为:

  typedef struct {

  unsigned out SNSStIndex:2;/*行位置*/

  unsigned out StatePos:6;/*在STATENV中的位位置*/

}

SNS_MATRIX;
该变量保有由一个节点所传送的全部网络变量的组合有效负载构成的矩阵中的位位置。关于这些网络变量的详细情况将在下文中描述。This definition allows the user to define two thresholds. The threshold can be considered to represent the value measured by the brightness sensor. It should be noted that the actual format of these measurements in the network relies on fixed conversion and format operations (eg A/D conversion) which may be different in different network environments and/or for different types of sensors. However, these formats (hereinafter referred to as "uncoded formats") have no relation to the present invention. The third variable is a character variable, which represents the relationship between two thresholds, such as equal to, greater than, less than, etc. Its value is predetermined by the object library and assigned according to the user's input. The SNS_MATRIX variable is defined as:
  typedef struct {

  unsigned out SNSStIndex: 2; /* row position */

  unsigned out StatePos: 6; /* bit position in STATENV */

}

SNS_MATRIX;
This variable holds the bit position in the matrix formed by the combined payload of all network variables transmitted by a node. Details about these network variables are described below.

当使用者想要亮度传感器去控制几个装置或在不同条件下的同一个执行单元时,便定义若干个BGT_STATE_DEF变量。When the user wants the brightness sensor to control several devices or the same execution unit under different conditions, several BGT_STATE_DEF variables are defined.

存于STATE_DEF变量中的信息对于每个传感器单元组合成配置变量,在亮度传感器的情况里这个变量的定义是:The information stored in the STATE_DEF variable is grouped into configuration variables for each sensor unit, in the case of a brightness sensor the definition of this variable is:

           
typedef struct{

    uSHORT8 noStates;/*完全没有被定义的状态*/

    BGT_STATE_DEF state Def[SNS_BGT_STATE_MAX];

    SNS_DEFECT snsDefect[SNS_ST_MAX];/*状态:传感器缺陷*/

    uSHORT8 updateTime/*更新传感器的时间*/

}

SNS_BGT_CFG;

typedef struct{

    uSHORT8 noStates; /* no states defined at all */

    BGT_STATE_DEF state Def[SNS_BGT_STATE_MAX];

    SNS_DEFECT snsDefect[SNS_ST_MAX]; /* Status: sensor defect */

    uSHORT8 updateTime/*Time to update the sensor*/

}

SNS_BGT_CFG;

        

这个配置变量中除STATE_DEF变量外还包括关于处置传感器缺陷的信息及关于一个时间周期的信息,在这个时间周期之后由传感器传送新值(更新周期)。This configuration variable contains, in addition to the STATE_DEF variable, information on the handling of sensor defects and information on a time period after which new values are transmitted by the sensor (update period).

在提到上述网络变量(NV)的作用时,得要考虑控制网络的一些物理限制。由于本发明是特别为低带宽和高噪声水平的传输介质设计的,网络通信量是有限制的,因而得要加以管理。在把网络资源分配给各节点的第一步中,每个由前述安装步骤识别出的节点与一定数量的网络变量(NV)相关联。一个网络变量是一个数据串,可有效地作为一个容器而起作用,它由其起始位序列(头段)或停止位序列(尾段)或二者的结合来表示其特征。除了这些位之外,网络变量还带有或固定或可变数量的若干位来代表要传送的信息即数据,按已建立的通信术语,它由术语“有效负载”(payload)”表示。NV的例子可在图3B中找到。When referring to the role of network variables (NV) described above, some physical limitations of the control network have to be considered. Since the invention is specifically designed for transmission media with low bandwidth and high noise levels, network traffic is limited and has to be managed. In the first step of allocating network resources to nodes, each node identified by the preceding installation steps is associated with a certain number of network variables (NV). A network variable is a string of data, effectively functioning as a container, characterized by its sequence of start bits (header) or stop bits (trailer), or a combination of both. In addition to these bits, a network variable carries a number of bits, either fixed or variable, to represent the information to be transmitted, data, which is denoted by the term "payload" in established communication terms. NV An example can be found in Figure 3B.

以有限个数NV的形式赋予网络中每个节点的有效负载是在对节点传感器单元分配的第二步中赋值的。通过这一分配步骤,每个传感器单元被给予最大数量的可能状态,它对应于前述配置过程中由使用者赋予任何一个传感器单元的最大状态数。实质上,对于每个传感器单元在NV的有效负载中保留了固定个数的位。The payload given to each node in the network in the form of a finite number of NVs is assigned in the second step of node sensor unit assignment. Through this assignment step, each sensor unit is given a maximum number of possible states, which corresponds to the maximum number of states assigned to any one sensor unit by the user during the preceding configuration procedure. Essentially, a fixed number of bits are reserved in the NV's payload for each sensor cell.

尽管在本例中的二个分配步骤都是静态的,即在实际配置过程之前确定的,但本发明也考虑了在每一级上根据使用者希望的配置动态地分配资源。在这一变体中,或者是根据关于节点的陈述个数将网络变量赋予该节点,或者只对使用者实际定义的陈述保留赋予节点的NV有效负载中的位位置。动态分配方案的显然的优点在于资源的利用要比静态分配更加经济。然而,这个优点被更复杂和更耗时的管理操作所抵销。Although both allocation steps in this example are static, ie determined before the actual configuration process, the present invention also considers dynamically allocating resources at each level according to the user's desired configuration. In this variant, either the network variable is assigned to the node according to the number of statements about the node, or the bit position in the NV payload assigned to the node is reserved only for the statements actually defined by the user. The obvious advantage of the dynamic allocation scheme is that resource utilization is more economical than static allocation. However, this advantage is offset by more complex and time-consuming administrative operations.

现在回到描述本发明的最佳实施例和对表中第二列条目的处理,我们还记得那些条目即THEN(于是)陈述定义了节点中执行单元的状态。使用者在这一列中的输入被转换成配置变量。例如,控制电源开关的配置变量定义为:

typedef struct{

      uSHORT 8 ruleDefNr;/*定义的规则数(<=RULES_MAX)*/
      RULE_DEF ruleDef[ACT_230_RULE_MAX];/*规则*/

      SNVT_lev_disc   idleState;

}    

ACT 230-CFG;
它包括一个数代表由使用者定义的陈述值,这些陈述是关于这一电源开关(这个数要相对于初始化过程中分配给该电源开关的最大数进行检验,还包括执行定义的状态本身,该状态由RULE_DEF表示Returning now to the description of the preferred embodiment of the invention and the processing of the second column entries in the table, we recall that those entries, THEN (therefore) statements define the state of the execution units in the node. User input in this column is converted into configuration variables. For example, a configuration variable that controls a power switch is defined as:
typedef struct{

      uSHORT 8 ruleDefNr; /* number of defined rules (<=RULES_MAX)*/
      RULE_DEF ruleDef[ACT_230_RULE_MAX]; /* rule */

      SNVT_lev_disc idleState;

}    

ACT 230-CFG;
It includes a number representing the value of the user-defined statement about this power switch (this number is checked against the maximum number assigned to the power switch during initialization, and also includes the implementation-defined state itself, the Status is represented by RULE_DEF

           
typedef struct {

    unsigned inACTSTIndex:6;/*在nvi ActST[]中的传感器位置*/

    unsigned invInState:1;/*1=0反转;0=不反转*/

    unsigned logicRule:1;/*0=_AND(与),1=_OR(或)*/

    unsigned inStatePos:6;/*在状态nvi中的位位置(左至右)*/

    unsigned stateAct;2;/*0=_ST_OFF,1=ST_ON,2=ST_INV*/

    SNS_DEFECT snsDefect;

}

RULE_DEF
typedef struct {

    unsigned inACTSTIndex: 6; /* sensor position in nvi ActST[] */

    unsigned invInState: 1; /* 1 = 0 inversion; 0 = no inversion */

    unsigned logicRule: 1; /* 0 = _AND (and), 1 = _OR (or) */

    unsigned inStatePos: 6; /* bit position in state nvi (left to right) */

    unsigned stateAct; 2; /* 0 = _ST_OFF, 1 = ST_ON, 2 = ST_INV */

    SNS_DEFECT snsDefect;

}

RULE_DEF
        

它包括所希望的状态(stateAct),在开关的情况中可以是ON(通)、OFF(断)或CHANGE(变),分别由0、1、2表示。RULE_DEF还包括变量inACTStIndex和inStatePos,它们指出接收到的网络变量(NV)的有效负载或组合有效负载矩阵中的位位置,还包括变量logicRule,它确定在NV所指示的位位置处找到的位和由下一个RULE_DEF指出的与这个执行单元有关的下一位之间要完成的逻辑运算,在logicRule被设成“AND(与)”的情况中,其stateAct可以是左无赋值的,因为只有在下一个RULE_DEF被求值之后才完成执行单元操作。只有当遇到OR(或)作为logicRule值时,如果所有先前的AND(与)运算符连接的RULE_DEF提出的条件得到满足,则执行由stateAct定义的操作。于是下一个RULE_DEF不管是否由AND(与)运算符组合,只要与这同一执行单元有关,则被忽略。如果未得到满足,则相应地处理下一个RULE_DEF或RULE_DEF组。It includes the desired state (stateAct), which in the case of a switch can be ON, OFF or CHANGE, denoted by 0, 1, 2 respectively. RULE_DEF also includes the variables inACTStIndex and inStatePos, which indicate the received network variable (NV) payload or bit position in the combined payload matrix, and the variable logicRule, which determines the bit and The logical operation to be completed between the next bit related to this execution unit pointed out by the next RULE_DEF, in the case where the logicRule is set to "AND (and)", its stateAct can be left-no assignment, because only the following A RULE_DEF is evaluated before the execution unit operation is complete. Only when OR (or) is encountered as a logicRule value, the action defined by stateAct is performed if the conditions posed by all previous AND (and) operator-connected RULE_DEFs are met. So the next RULE_DEF is ignored as long as it is related to the same execution unit, regardless of whether it is combined with the AND operator. If not satisfied, proceed to the next RULE_DEF or RULE_DEF group accordingly.

在对上述变量求值之后,与一个节点的传感器单元和执行单元相关联的那些STATE_CFG和ACT_CFG变量被组合成一个CFG变量。After evaluation of the above variables, those STATE_CFG and ACT_CFG variables associated with a node's sensor units and execution units are combined into one CFG variable.

           
typedef struct {

    SNS_BGT__CFG snsBgtCfg;/*亮度传感器配置*/
				
				<dp n="d8"/>
    SNS_PSH__CFG snsPshCfg;/*按钮传感器配置*/

    ACT_230__CFG act230Cfg;/*供电继电器配置*/

}

CFG;

typedef struct {

    SNS_BGT__CFG snsBgtCfg; /*Brightness sensor configuration*/
				
<dp n="d8"/>
    SNS_PSH__CFG snsPshCfg; /* button sensor configuration */

    ACT_230__CFG act230Cfg; /*power supply relay configuration*/

}

CFG;

        

例如,它描述一个节点的CFG变量,该节点包括一个亮度传感器和一个按钮作为传感器单元,还包括一个电源线开关(例如继电器)作为执行单元。当由A节点产生的CFG数据被传送给所有节点并存储在其局部微控制器存储器中时,作为本发明基础的程序代码已基本完成。然而,为了可以作为控制网络而充分地操作,含有传感器单元状态信息的那些网络变量(NV)得要寻址到带有由所述传感器单元状态控制的执行单元的那些节点。寻址网络中单个节点的任务能用不同的方法实现,这些方法在原理上是本行专家所熟知的。在本示例的网络中,赋予一节点的网络变量(NV)由单独的头段来标识。在一个可以称作“连接”的处理过程中,含有执行单元的节点被指示去接收含有相关传感器数据的网络变量(NV)。For example, it describes the CFG variables of a node that includes a brightness sensor and a button as sensor units, and a power line switch (e.g. a relay) as actuation unit. When the CFG data generated by node A is transmitted to all nodes and stored in their local microcontroller memory, the program code on which the invention is based is substantially complete. However, in order to be able to operate adequately as a control network, those network variables (NVs) containing sensor unit state information have to be addressed to those nodes with execution units controlled by said sensor unit states. The task of addressing individual nodes in the network can be achieved in different ways, which are in principle known to experts in the field. In the network of this example, network variables (NV) assigned to a node are identified by a separate header. In a process that may be called "linking", nodes containing execution units are instructed to receive network variables (NV) containing relevant sensor data.

下面更详细地说明根据上述实例配置的网络的运行情况,这里假定一个假想的情景,其中当由节点2的亮度传感器测量的亮度超过阈值30000Lux并同时节点2的按钮处于“ON(通)”位置时,使用者希望节点1的电源继电器被切断。当所测亮度处于0至20000Lux范围内时也只有当节点2的按钮处于“ON通”位置时,应启动电源继电器。最后在假想的情景中假定使用者想要使测得的亮度值连续地显示在A节点的显示器上。The following describes in more detail the operation of the network configured according to the above example, assuming a hypothetical scenario where when the brightness measured by the brightness sensor of node 2 exceeds the threshold of 30000Lux and the button of node 2 is in the "ON" position at the same time , the user wants the power relay of node 1 to be cut off. When the measured brightness is in the range of 0 to 20000Lux and only when the button of node 2 is in the "ON" position, the power relay should be activated. Finally, in a hypothetical scenario, it is assumed that the user wants to continuously display the measured luminance value on the display of node A.

在安装步骤,有电源开关的节点1和包括亮度传感器及按钮的节点2通过简单地把它们插到电源线的插座上来与电源线相连。每个节点与也连到同一电源线上的被启动的A节点交换初始化序列。A节点把每个节点的初始化序列与其节点库中的条目进行比较,并产生代表关于该节点、它的传感器或执行单元、这些单元所允许的状态及最大数目、以及赋予该节点的网络变量(NV)等信息的节点对象。同时,产生每个节点及其单元的图形表示或图标(如图2所示),允许使用者在进行其后的配置步骤过程中使用鼠标型指示或控制装置。In the installation step, node 1, which has a power switch, and node 2, which includes a brightness sensor and a button, are connected to the power line by simply plugging them into the socket of the power line. Each node exchanges an initialization sequence with a powered-up A-node also connected to the same power line. A node compares the initialization sequence of each node with the entries in its node library, and generates representations about the node, its sensors or execution units, the states and the maximum number of these units allowed, and the network variables assigned to the node ( NV) and other information of the node object. At the same time, a graphical representation or icon (as shown in Figure 2) of each node and its elements is produced, allowing the user to use a mouse-type pointing or control device during subsequent configuration steps.

配置系统让使用者在监视器方式和配置方式之间进行选择。首先来描述监视器方式,这种方式对本发明不特别重要:一旦选择了节点2的亮度传感器,实质上提示使用者要给出测量应被显示的时间间隔。于是配置系统识别出一个特定的网络变量(SNV),它的有效负载只含有如前面定义的亮度值的未编码格式。再有,根据使用者的输入设置节点2产生和传送SNV的时间间隔。A节点被指示接收这一SNV并在适当的转换操作之后将亮度值显示出来。该值也可以作为适于由在spreadsheet(电子表格)程序或类似程序进一步处理的数据被直接传送和存储。SNV处理的示意图示于图3A。如前所述,未编码格式数据的产生和处理不是与本发明特别有关。The configuration system lets the user choose between monitor mode and configuration mode. First the monitor mode is described, which is not particularly important to the invention: once the brightness sensor of node 2 is selected, the user is essentially prompted to give the time interval at which the measurement should be displayed. The configuration system then recognizes a specific network variable (SNV) whose payload contains only the unencoded format of the luminance value as defined above. Furthermore, the time interval for node 2 to generate and transmit the SNV is set according to the user's input. The A node is instructed to receive this SNV and display the luminance value after the appropriate conversion operation. The values can also be directly transferred and stored as data suitable for further processing in a spreadsheet program or similar. A schematic diagram of SNV processing is shown in Figure 3A. As previously stated, the generation and processing of data in unencoded format is not particularly relevant to the present invention.

配置方式可以看作为本发明的重要要素,在此方式中由配置系统产生图2所示的表20。现在使用者可以利用鼠标按前述假想情景把传感器单元211拖动到第一列的字段中。为产生如假想情景中描述的第一操作方式或条件,把亮度传感器图标拖动到配置表中的IF(如果)列第一字段中并当提示要求阈值时填入30000Lux作为第一阈值就足够了。然后选择“大于”。节点2的按钮图标被拖动到同一字段,而配置系统自动地在两个传感器单元状态之间用“AND(与)”关系联结起来。使用者可把按钮定义为逻辑开关并设其值为ON(通)。然后把节点1的电源开关单元拖动到配置表中THEN(于是)列的相邻字段并定义为OFF(断)。为了配置第二操作方式,再把节点2的亮度传感器单元拖动到配置表的IF(条件)列的下一个字段,并分别设阈值为0Lux和20000Lux。这两个值用“小于”和“小于或等于”测量值连系起来。节点2的按钮再被拖动到同一字段,而配置系统和前文中所述同样地自动在两个传感器单元状态之间用“AND(与)”关系联结起来。同样重复前述拖动和配置电源开关单元过程,并设其值为ON(通)。The configuration mode in which the table 20 shown in FIG. 2 is generated by the configuration system can be seen as an important element of the present invention. Now the user can use the mouse to drag the sensor unit 211 into the field in the first column according to the aforementioned hypothetical scenario. In order to generate the first operating mode or condition as described in the hypothetical scenario, it is sufficient to drag the brightness sensor icon to the first field of the IF (if) column in the configuration table and fill in 30000Lux as the first threshold when prompted to require a threshold up. Then select Greater Than. The button icon for Node 2 is dragged to the same field, and the configuration system automatically connects the two sensor unit states with an AND relationship. Users can define the button as a logic switch and set its value to ON. Then drag the power switch unit of node 1 to the adjacent field of THEN column in the configuration table and define it as OFF. In order to configure the second operation mode, drag the brightness sensor unit of node 2 to the next field of the IF (condition) column of the configuration table, and set the thresholds as 0Lux and 20000Lux respectively. These two values are linked with the "less than" and "less than or equal to" measurements. The button for node 2 is then dragged to the same field, and the configuration system automatically connects the two sensor unit states with an "AND" relationship as described above. Repeat the aforementioned process of dragging and configuring the power switch unit, and set its value to ON.

在完成这些步骤之后,使配置系统能产生和发送两个CFG型消息,这里赋予节点1的CFG消息含有ACT_230_CFG消息。为节点2的CFG消息含有SNS_BRIGHT_CFT和SNS_PSH_CFG消息。ACT_230_CFG含有如前面定义的四个RULE_DEF,而SNS_BRIGHT_CFG含有二个BGT_STATE_DEF,SNS_PSH_CFG含有一个PSH_STATE_DEF。After completing these steps, the configuration system is enabled to generate and send two CFG type messages, here the CFG message assigned to node 1 contains the ACT_230_CFG message. The CFG message for node 2 contains SNS_BRIGHT_CFT and SNS_PSH_CFG messages. ACT_230_CFG contains four RULE_DEFs as previously defined, while SNS_BRIGHT_CFG contains two BGT_STATE_DEFs, and SNS_PSH_CFG contains one PSH_STATE_DEF.

在第一个BGT_STATE_DEF中,SNVT_Lux值设为30000,字符变量设为“GREATER THAN(大于)”。SNS_MATRIX设为赋予节点2的网络变量32的有效负载的未赋值位位置BP22。这个位位置被假定为第一个被传送的网络变量NV1(t)的第22位。因此,outSNSStIndex被设为“1”指向NV1(t),而outState Pos被设为“22”。第二个BGT_STATE_DEF含有阈值0和20000,字符设为“R”指明一个区间关系(0<被测量值<=20000)。SNS_MATRIX指向NV1(t)的有效负载的位位置BP13。SNS_PSH_CFG含有一个PSH_STATE_DEF,其中的字符变量被设为“1”,表明这个按钮的开关功能。在NV1的有效负载内的位位置由SNS_MATRIX定义(为BP17)。In the first BGT_STATE_DEF, the SNVT_Lux value is set to 30000, and the character variable is set to "GREATER THAN (greater than)". SNS_MATRIX is set to the unassigned bit position BP22 of the payload of the network variable 32 assigned to node 2 . This bit position is assumed to be bit 22 of the first transmitted network variable NV1(t). Therefore, outSNSStIndex is set to "1" pointing to NV1(t), and outState Pos is set to "22". The second BGT_STATE_DEF contains thresholds 0 and 20000, and the character is set to "R" to indicate an interval relationship (0<measured value<=20000). SNS_MATRIX points to bit position BP13 of the payload of NV1(t). SNS_PSH_CFG contains a PSH_STATE_DEF, in which the character variable is set to "1", indicating the switch function of this button. The bit position within the payload of NV1 is defined by SNS_MATRIX (for BP17).

在第一个RULE_DEF中,位指针(inACTStIndex,inState Pos)指出由节点1接收的第二网络变量NV2(r)的亮度传感器的第一个前述赋值位(位位置BP22)。在当前的假想情景的条件下是NV2(r)等于NV1(t)即由节点2传送的第一NV。inACTStIndex的值设为“2”,inStatePos设为“22”。LogicRule值设为“AND(与)”。第二个RULE_DEF的位指针指向位位置BP17,即开关位置。logiceRule设为“OR(或)”。stateAct变量设为“ST_OFF”。In the first RULE_DEF, the bit pointer (inACTStIndex, inStatePos) points to the first previously assigned bit (bit position BP22) of the brightness sensor of the second network variable NV2(r) received by node 1. Under the conditions of the present hypothetical scenario, NV2(r) is equal to NV1(t), ie the first NV transmitted by node 2 . The value of inACTStIndex is set to "2", and inStatePos is set to "22". The LogicRule value is set to "AND". The bit pointer of the second RULE_DEF points to bit position BP17, the switch position. logicRule is set to "OR". The stateAct variable is set to "ST_OFF".

在第三RULE_DEFF中,位指针(inACTStIndex,inStatePos)指向第二个收到的网络变量NV2(r)的亮度传感器的第二赋值位(BP13)。logicRule值设为“AND(与)”。第四RULE_DEFF指出位位置17,即开关位置。logicRule设为”OR(或)”。stateAct变量设为“ST_ON”。logicRule值也存储起来作为可配置转换器33的一部分。In the third RULE_DEFF, the bit pointer (inACTStIndex, inStatePos) points to the second assigned bit (BP13) of the brightness sensor of the second received network variable NV2(r). The logicRule value is set to "AND". The fourth RULE_DEFF indicates bit position 17, the switch position. logicRule is set to "OR (or)". The stateAct variable is set to "ST_ON". The logicRule value is also stored as part of the configurable converter 33 .

在所描述的假想情景中,只利用了一个网络变量,即NV1(t)=NV2(r)。然而,在更普遍的情况中,带有多个传感器单元的每个节点会有几个网络变量NV可用于写入定义传感器状态的位。同样情况也适用于那些节点,它们带有的执行单元对应于来到或收到的网络变量(NV)个数。在这种情况下,一个节点的全部外行或发出的网络变量(NV)被看作为矩阵32,其行是网络变量(NV),其列是位位置。同样情况也适用于收到的网络变量(NV)。这样,被发送的网络变量(NV)的矩阵32的行出现在被收到的网络变量矩阵31内的一行(虽然在不同的行位置)。配置过程为每个执行单元提取出与这一执行单元有关的所有传感器状态的矩阵位置。In the hypothetical scenario described, only one network variable is utilized, namely NV1(t)=NV2(r). However, in a more general case, each node with multiple sensor units would have several network variables NV available to write bits defining the state of the sensor. The same applies to nodes with execution units corresponding to the number of incoming or received network variables (NV). In this case, all the outer rows or outgoing network variables (NV) of a node are viewed as a matrix 32 whose rows are network variables (NV) and whose columns are bit positions. The same applies to received network variables (NV). Thus, a row of the matrix 32 of network variables (NV) that is sent appears in a row (albeit at a different row position) within the matrix 31 of network variables that are received. The configuration process extracts for each execution unit the matrix positions of all sensor states associated with this execution unit.

可按下述方法利用本发明提供的手段实现一个简单的控制电路。一个亮度传感器状态“too Dart(太暗)”(<20000Lux)被定义并关联于执行单元状态“increase(增强)”,它可增强对一光源的供电。可与此类似地定义“too Bright(太亮)”状态(>50000Lux)。执行单元的缺省状态设为“STOP(停)”,冻结电源的电流量。20000Lux和50000Lux之间的区间构成一个控制钮滞(hysteresis),这防止了控制电路的振荡。不难看出,这一配置使能在房间或建筑物中进行亮度的反馈控制。A simple control circuit can be realized by using the means provided by the present invention as follows. A brightness sensor state "too Dart (too dark)" (<20000Lux) is defined and associated with the execution unit state "increase (increase)", which can increase the power supply to a light source. The "too Bright" state (>50000Lux) can be defined similarly. The default state of the execution unit is set to "STOP (stop)", freezing the current flow of the power supply. The interval between 20000Lux and 50000Lux constitutes a control hysteresis, which prevents oscillation of the control circuit. It is easy to see that this configuration enables feedback control of brightness in a room or building.

Claims (7)

1、一个用于控制应用设备的控制网络,由至少一个节点组成,所述一个节点(10,101)含有调制解调器装置(11),用于通过传输介质(15)传送和/或接收数据,以及至少一个传感器单元(16),其特征在于所述一个节点还包括:1. A control network for controlling application devices, consisting of at least one node, said one node (10, 101) comprising modem means (11) for transmitting and/or receiving data via a transmission medium (15), and At least one sensor unit (16), characterized in that said one node further comprises: 可配置的转换器装置(18),用于将所述传感器单元的输出转换成通过所述传输介质传送的数字数据(BP13、BP17、BP22),以及用于存储由外部提供的配置数据的存储器装置(13),这些配置数据供所述可配置的转换器装置(18)使用,所述配置数据是从外部提供的关于所述传感器单元(16)的控制条件数据中提取出来的。configurable converter means (18) for converting the output of said sensor unit into digital data (BP13, BP17, BP22) for transmission over said transmission medium, and a memory for storing configuration data provided externally means (13) for use by said configurable converter means (18), said configuration data being extracted from externally provided control condition data concerning said sensor unit (16). 2、如权利要求1的控制网络,其特征在于所述节点包括至少一个执行单元(17),可配置的转换器装置(18)用于把从传感器单元(16)收到的数字数据(PB13、BP17、PB22)转换成所述执行单元的操作,存储器装置(13)用于存储由外部提供的配置数据供所述可配置的转换器使用,所述配置数据是从外部提供的关于所述执行单元的控制条件数据中提取出来的。2. A control network as claimed in claim 1, characterized in that said nodes comprise at least one execution unit (17), configurable converter means (18) for converting digital data (PB13) received from sensor units (16) , BP17, PB22) into the operation of the execution unit, the memory device (13) is used to store the configuration data provided from the outside for the use of the configurable converter, the configuration data is provided from the outside about the Extracted from the control condition data of the execution unit. 3、如权利要求2的控制网络,其特征在于可配置的转换器装置(18)包括一个装置(33),用于以逻辑操作符(AND(与)、OR(或))操作由多个传感器单元(16)发送数据(BP13、BP17、BP22),所述操作符也是从外部提供的关于所述同一执行单元的控制条件中提取出来的。3. The control network according to claim 2, characterized in that the configurable converter means (18) comprises a means (33) for operating with logical operators (AND (and), OR (or)) by a plurality of The sensor unit (16) transmits data (BP13, BP17, BP22), said operators are also extracted from control conditions provided externally on said same execution unit. 4、如权利要求1的控制网络,其特征在于对应于每个由外部提供的关于所述一个传感器单元(16)的控制条件数据,由所述传感器单元(16)发送的数字数据被压缩为1位的数据(BP13、BP17、BP22)。4. The control network according to claim 1, characterized in that corresponding to each control condition data about said one sensor unit (16) provided from the outside, digital data sent by said sensor unit (16) is compressed into 1-bit data (BP13, BP17, BP22). 5、如权利要求1或2的控制网络,其特征为可配置的转换器装置包括存储器装置(13),用于存储微代码,以及微处理器装置(12),用于执行所述存储器装置中存储的微代码。5. A control network as claimed in claim 1 or 2, characterized in that the configurable converter means comprise memory means (13) for storing microcode, and microprocessor means (12) for executing said memory means Microcode stored in . 6、配置一个包括节点(10,101)的控制网络的方法,每个所述节点包括调制解调器装置(11),用于通过传输介质(15)发送和/或接收数据,至少有一些节点还包括一个传感器单元(16)和/或执行单元(17),并带有可配置的转换器装置(18),将所述传感器单元的输出转换成要通过所述传输介质发送给网络中另一节点的数字数据(PB13、BP17、BP22)和/或用于把收到的位图转换成所述执行单元的预定操作,其中,从外部提供的控制条件数据有与所述传感器单元的预定状态相关的IF信息,以及与所述执行单元的预定操作相关的THEN信息,再有,如果几个IF信息关联于一个执行单元,则有所述几个IF信息的逻辑运行信息,如果几个THEN指令关联于所述执行单元之一,则有关于要执行的所述几个THEN指令序列的优先级信息,还有关联于要交换数据的节点的链接信息,所有这些信息被提取出来并转换成配置数据,加载到与所述转换器装置(12)相连的存储装置(13)中,以供所述转换器装置进行所述转换。6. A method of configuring a control network comprising nodes (10, 101), each of said nodes comprising modem means (11) for sending and/or receiving data via a transmission medium (15), at least some of which also comprise a sensor unit (16) and/or execution unit (17) with configurable converter means (18) for converting the output of said sensor unit to be sent to another node in the network via said transmission medium digital data (PB13, BP17, BP22) and/or used to convert the received bitmap into a predetermined operation of the execution unit, wherein the control condition data provided from the outside is related to the predetermined state of the sensor unit IF information, and THEN information related to the predetermined operation of the execution unit, and if several IF information are associated with one execution unit, there is logical operation information of the several IF information, if several THEN instructions Associated with one of the execution units, there is priority information about the sequence of the several THEN instructions to be executed, and also link information associated with the nodes whose data is to be exchanged, all this information is extracted and converted into a configuration Data loaded into storage means (13) connected to said converter means (12) for said converter means to perform said conversion. 7、如权利要求6的方法,其特征为产生一个配置表(20),用于对外部提供的控制条件数据进行预先格式化,所述配置表实质上有一个IF列,用于与传感器单元(16)的预定状态相关联的条目,有一个THEN列,用于与执行单元(17)的预定操作相关联的条目,这里所述IF列的一个字段中的条目用逻辑AND(与)操作联接,在所述表中不同行的条目用逻辑OR(或)操作联接。7. The method according to claim 6, characterized in that a configuration table (20) is generated for pre-formatting externally provided control condition data, said configuration table essentially having an IF column for use with the sensor unit The entry associated with the predetermined state of (16) has a THEN column for the entry associated with the predetermined operation of the execution unit (17), where the entry in a field of the IF column is operated with logical AND Joins, where entries from different rows in the table are joined with a logical OR operation.
CN 95197404 1995-01-19 1995-01-19 Control network and confiquration method thereof Expired - Lifetime CN1084992C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 95197404 CN1084992C (en) 1995-01-19 1995-01-19 Control network and confiquration method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 95197404 CN1084992C (en) 1995-01-19 1995-01-19 Control network and confiquration method thereof

Publications (2)

Publication Number Publication Date
CN1173258A CN1173258A (en) 1998-02-11
CN1084992C true CN1084992C (en) 2002-05-15

Family

ID=5083288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 95197404 Expired - Lifetime CN1084992C (en) 1995-01-19 1995-01-19 Control network and confiquration method thereof

Country Status (1)

Country Link
CN (1) CN1084992C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7475158B2 (en) * 2004-05-28 2009-01-06 International Business Machines Corporation Method for enabling a wireless sensor network by mote communication
CN116168568A (en) * 2022-10-28 2023-05-26 深圳市爱创科技教育有限公司 Intelligent furniture teaching module

Also Published As

Publication number Publication date
CN1173258A (en) 1998-02-11

Similar Documents

Publication Publication Date Title
US6041044A (en) Control network and configuration method therefor
KR100559026B1 (en) Home network system
US10623244B2 (en) Data transfer on an industrial process network
US20040215778A1 (en) Distributed control systems and methods
CN1881121A (en) Wireless architecture and support for process control systems
US6876628B2 (en) Optimization of subnetwork bandwidth based on desired subscription rates
US20020194328A1 (en) Distributed, packet-based premises automation system
CN1507217A (en) Home network system and operating method thereof
CN1084992C (en) Control network and confiquration method thereof
Lee et al. Network configuration technique for home appliances based on LnCP
WO2006091029A1 (en) Method of configuring network profile of network system
KR20050044750A (en) Home network system
Hur et al. Building automation system via LonWorks and Linux based personal computer
TWI755049B (en) The processing system of the controlling iot equipment, the method and the gateway
KR100416044B1 (en) Method of Managing System State Information in the Manager&#39;s Interface System
CN114598425B (en) BATS code-based data transmission method, device, equipment and readable storage medium
KR20030042219A (en) Equipment For Remote Controlling System In Internet And Implementation Method That System
KR100421544B1 (en) Method of Managing Commands in the Manager&#39;s Interface System
CN101164292A (en) Layer structure of network control protocol and interface method
KR100416043B1 (en) Method of Managing a GUI in the Manager&#39;s Interfacing System
Lee et al. The Implementation of EIA 709.1 Standard Protocol Based Home Control System Architecture having Network Configuration Function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CX01 Expiry of patent term

Expiration termination date: 20150119

Granted publication date: 20020515