CN1708953B - Communication adapter device - Google Patents
Communication adapter device Download PDFInfo
- Publication number
- CN1708953B CN1708953B CN2003801022493A CN200380102249A CN1708953B CN 1708953 B CN1708953 B CN 1708953B CN 2003801022493 A CN2003801022493 A CN 2003801022493A CN 200380102249 A CN200380102249 A CN 200380102249A CN 1708953 B CN1708953 B CN 1708953B
- Authority
- CN
- China
- Prior art keywords
- machine
- mentioned
- communication
- network
- connecting object
- 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 - Fee Related
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Computer And Data Communications (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
技术领域 technical field
本发明涉及将家电、传感器及其他机器连接到网络的通信适配器装置,内置电可改写非易失性存储器的电器,将数据写入此种非易失性存储器的ROM写入器以及使用上述装置的写入方法。 The present invention relates to a communication adapter device for connecting home appliances, sensors, and other devices to a network, an electric appliance with a built-in electrically rewritable nonvolatile memory, a ROM writer for writing data into such a nonvolatile memory, and the use of the above devices the writing method. the
背景技术Background technique
以往的通信适配器装置,如日本专利特开2002-44745号公报(第5页,段落号0050、图1)及ECHONET联合体发行的ECHONET规格Ver1.10(第7编3-1页)所述,只由进行遥控信号通信的通信单元构成,而控制信号的解释、系统信息的管理功能则设置在家电内的家电控制单元上。
Conventional communication adapter devices are described in Japanese Patent Laid-Open No. 2002-44745 (
另外,如ECHONET联合体发行的ECHONET规格Ver1.10(第1编4-4页、图4-1、形态4)所记载的,以往的通信适配器装置,内置针对每种机器的规格各异的以往的通信接口的变换功能以实现遥控操作。
Also, as described in ECHONET Specification Ver1.10 (
另外,在以往的家用控制系统中,如日本专利特开平01-228395号公报(第3页,图2)所述,在通信适配器中设定有关空调、照明等的负载的属性信息(机种名、功耗等)的场合或由于系统扩展等在通信适配器中设定的属性信息改变的场合,每一次都必须使用DIP代码开关设定负载的代码号。另外,由于使用这种DIP开关的设定是很复杂的作业,如日本专利特开平06-68097号公报(图1)所述,提出了使用条形码和条形码阅读器在通信适配器中设定代码号的家用控制系统。
In addition, in the conventional home control system, as described in Japanese Patent Laid-Open No. 01-228395 (
另外,非易失性存储器的数据写入方法,如日本专利特开平2-130799号公报(图1)所述,ROM写入器经连接设备与终端装置相连 接时,终端装置内的MPU的STBY端子与ROM写入器内的接地端子相连接。于是,因此使终端装置变成待机状态而可以写入程序,可无须进行焊接作业就可以进行EEPROM的更新。 In addition, the data writing method of the nonvolatile memory, as described in Japanese Patent Laid-Open Publication No. 2-130799 (FIG. 1), when the ROM writer is connected to the terminal device through the connecting device, the MPU in the terminal device The STBY terminal is connected to the ground terminal in the ROM writer. Therefore, it is possible to write a program by putting the terminal device into a standby state, and it is possible to update the EEPROM without performing soldering work. the
然而,由于以往的通信适配器装置对通信控制设备不具有公用的接口设备,存在不能根据网络的种类改变通信控制设备的问题。 However, since the conventional communication adapter device does not have a common interface device for the communication control device, there is a problem that the communication control device cannot be changed according to the type of network. the
另外,存在必须在机器内的控制装置中内置用于遥控的通信管理、控制程序而增加微机等的资源的负担和成本的问题。 In addition, there is a problem that the communication management and control programs for remote control must be built in the control device in the equipment, which increases the resource burden and cost of the microcomputer and the like. the
另外,由于要求通信适配器必须与机器一起工作,所以存在在施工时,如果全部机器都不进入运行状态,就不能进行各种系统设定的问题。 In addition, since the communication adapter is required to work with the equipment, there is a problem that various system settings cannot be performed if all the equipment is not in the operating state during construction. the
另外,由于在适配器自身中保持通信设定信息,存在在由于故障等更换适配器时必须进行伴随系统的重新设定的适配器的重新设定的复杂操作的问题。 In addition, since the communication setting information is held in the adapter itself, there is a problem that when the adapter is replaced due to failure or the like, complicated operations such as reset of the adapter accompanied by resetting of the system must be performed. the
另外,在发生系统异常之际,由于在机器中内置控制功能,存在难于判断是适配器异常还是机器故障的问题。 In addition, when a system abnormality occurs, it is difficult to determine whether it is an adapter abnormality or a device failure because the control function is built into the device. the
另外,为了简化施工,在要从家电接受供电时,由于不存在电源管理的功能及信息提供、控制设备,并且没有限制各单元的功能的设备,存在必须对构成通信适配器的各单元供电而增大家电的电源回路的成本的问题。 In addition, in order to simplify construction, when receiving power from home appliances, there is no power management function, information provision, and control equipment, and there is no equipment that limits the functions of each unit. The problem of the cost of the power circuit of large appliances. the
另外,伴随连接的家电的机种名、功耗等属性信息的设定及系统的扩张的设定变更,条形码和条形码阅读器是必需的,并且使用这些也是需要费时费力的。 In addition, barcodes and barcode readers are necessary for setting attribute information such as model names and power consumption of connected home appliances and setting changes for system expansion, and using these requires time and effort. the
另外,由于在ROM写入器中只配置有接地端子,以往的ROM写入器、电器及使用这些装置的写入方法,对在电压下降到接地电平时成为写入模式的内置微机的装置是适用的,但对在微机电压上升到规定电压时成为写入模式的内置微机的装置不适用。其结果,在写入中,必须根据内置于装置之中的文件的规格提供ROM写入器。 In addition, since only the ground terminal is arranged in the ROM writer, conventional ROM writers, electrical appliances, and writing methods using these devices are difficult for devices with built-in microcomputers that enter the writing mode when the voltage drops to the ground level. Applicable, but not applicable to devices with a built-in microcomputer that enters the write mode when the voltage of the microcomputer rises to the specified voltage. As a result, for writing, it is necessary to provide a ROM writer according to the specification of the file built in the device. the
本发明是鉴于上述问题而完成的发明,其目的在于对通信控制设备提供一种具有共用的接口单元,可依照网络的种类改变通信控制设 备的通信适配器装置。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a communication adapter device having a common interface unit for communication control equipment and capable of changing the communication control equipment according to the type of network. the
另外,其目的在于提供一种很少增加家电的微机等的资源的负担、成本而可与网络连接的家电的通信适配器装置。 Another object is to provide a communication adapter device for a home appliance that can be connected to a network without increasing the resource burden and cost of a microcomputer of the home appliance. the
另外,其目的是提供一种易于施工、即使是不与运行状态的家电相连接也可以进行各种系统设定的通信适配器装置。 Another object is to provide a communication adapter device that is easy to install and can perform various system settings even if it is not connected to an operating home appliance. the
另外,其目的是提供一种不需要在更换通信适配器装置时进行复杂的系统重新设定而很容易更换的通信适配器装置。 In addition, it is an object to provide a communication adapter device that can be easily replaced without requiring complex system resetting when replacing the communication adapter device. the
另外,其目的是提供一种在发生系统异常时可以判断是适配器异常还是家电故障的通信适配器装置。 Another object is to provide a communication adapter device capable of judging whether the adapter is abnormal or the home appliance is malfunctioning when a system abnormality occurs. the
另外,其目的是提供一种用来将节能并且不增加连接家电的电源成本的家电与网络相连接的通信适配器装置。 In addition, it is an object to provide a communication adapter device for connecting a home appliance that is energy-saving and does not increase the power supply cost of the connected home appliance to a network. the
另外,其目的是提供一种可以不使用条形码及条形码阅读器就可以自动设定家电的属性信息,或者在发生改变时也可以不使用条形码及条形码阅读器就可以简单地进行改变的通信适配器。 Another object is to provide a communication adapter that can automatically set the attribute information of a home appliance without using a barcode or a barcode reader, or can easily change it when it is changed without using a barcode or a barcode reader. the
另外,其目的是提供一种可以与微机的规格无关而使用的通用性高的ROM写入器、电器及使用这些装置的写入方法。 Another object is to provide a highly versatile ROM writer, electrical appliances, and a writing method using these devices, which can be used regardless of the specifications of the microcomputer. the
发明内容Contents of the invention
本发明的通信适配器装置,使分别具有基于机器的功能的信息及由可操作的控制项目构成的机器对象的多个连接对象机器中的任意一个、对上述连接对象机器进行遥控操作的控制器所连接的网络相连接,所述通信适配器装置的特征在于包括:通信控制设备,控制对上述网络的数据的收发;机器通信管理设备,在复制保存上述机器对象的同时保存有关上述通信控制设备的通信服务的顺序,利用这些保存数据,从上述网络利用上述连接对象机器;以及机器接口设备,连接全部上述多个连接对象机器,且以连接对象机器共用的规格来规定,上述机器通信管理设备使用上述机器接口设备定期地监视上述机器对象的信息项目,在检测出上述机器对象的信息项目的变化时,产生变化通告指令,经由上述通信控制设备向上述网络发送上述变化通告指令。 In the communication adapter device of the present invention, any one of a plurality of connection target devices each having information based on the functions of the device and a device object consisting of operable control items, and a controller for remotely operating the connection target device The connected network is connected, and the communication adapter device is characterized in that it includes: a communication control device, which controls the transmission and reception of data to the above-mentioned network; a machine communication management device, which saves the communication related to the above-mentioned communication control device while copying and saving the above-mentioned machine object. The procedure of the service utilizes the above-mentioned connection object device from the above-mentioned network using these stored data; and the machine interface device connects all of the above-mentioned plurality of connection object devices and is defined by a standard common to the connection object devices, and the above-mentioned device communication management device uses the above-mentioned The machine interface device periodically monitors the information items of the machine object, and when a change in the information item of the machine object is detected, generates a change notification command, and sends the change notification command to the network via the communication control device. the
另外,本发明的通信适配器装置的构成还包括电源管理设备,管理上述通信适配器装置内部的充电量,上述通信控制设备依照上述电源管理设备的管理状况进行通信限制。 In addition, the configuration of the communication adapter device of the present invention further includes a power management device that manages the charging amount inside the communication adapter device, and the communication control device restricts communication according to the management status of the power management device. the
另外,本发明的通信适配器装置的构成还包括管理通信适配器装置内部的充电量的电源管理设备,上述机器通信管理设备依照上述电源管理设备的管理状况进行对上述连接对象机器具有的上述机器对象的访问的限制。 In addition, the configuration of the communication adapter device according to the present invention further includes a power management device that manages the amount of charge inside the communication adapter device, and the device communication management device controls the device object of the connection target device according to the management status of the power management device. Access Restrictions. the
另外,在本发明的通信适配器装置中,上述机器通信管理设备具备:在上述连接对象机器中以共用手续利用的机器接口访问单元;以及从上述通信控制设备以共用手续利用的机器控制访问单元;同时至少具备许可或禁止从上述通信控制设备访问上述机器接口访问单元的许可/禁止设备以及许可或禁止从上述机器接口设备访问上述机器控制访问单元的许可/禁止设备中的一个。 In addition, in the communication adapter device of the present invention, the device communication management device includes: a device interface access unit used in a common procedure in the connection target device; and a device control access unit used in a shared procedure from the communication control device; At the same time, at least one of a permission/prohibition device that permits or prohibits access to the machine interface access unit from the communication control device and a permission/prohibition device that permits or prohibits access to the machine control access unit from the machine interface device is provided. the
另外,在本发明的通信适配器装置中,上述机器通信管理设备具备:在上述连接对象机器中以共用手续利用的机器接口访问单元;以及从上述通信控制设备以共用手续利用的机器控制访问单元;同时上述机器接口访问单元和上述机器控制访问单元分别至少具备如下设备中的一个:对上述机器对象的实例及类别进行生成、消灭、添加的管理的对象管理设备;设定用于取得上述连接对象机器保有的设定值、状态的取得手续、状态变化、定期通知的方法的状态取得手续设定设备;设定并提供有关上述连接对象机器的设置或配置的信息的设置信息管理设备;设定并提供有关上述网络的属性信息的网络属性管理设备;以及设定并提供有关上述网络的通信频带的信息的网络频带管理设备。 In addition, in the communication adapter device of the present invention, the device communication management device includes: a device interface access unit used in a common procedure in the connection target device; and a device control access unit used in a shared procedure from the communication control device; At the same time, the above-mentioned machine interface access unit and the above-mentioned machine control access unit respectively have at least one of the following devices: an object management device that manages the creation, destruction, and addition of instances and types of the above-mentioned machine object; and is configured to obtain the above-mentioned connection object Setting value of device holding, status acquisition procedure, status change, status acquisition procedure setting device of regular notification method; setting information management device that sets and provides information on the setting or configuration of the above-mentioned connected device; setting And a network attribute management device that provides attribute information about the above-mentioned network; and a network frequency band management device that sets and provides information about the communication frequency band of the above-mentioned network. the
另外,在本发明的通信适配器装置中,上述机器通信管理设备在上述连接对象机器未连接的情况下,基于经由上述网络受理了发送的设定命令,生成虚拟的机器对象,代替上述连接对象机器具有的机器对象进行保存。 In addition, in the communication adapter device according to the present invention, when the connection target device is not connected, the device communication management device generates a virtual device object instead of the connection target device based on a setting command received and sent via the network. have machine objects to save. the
另外,在本发明的通信适配器装置中,上述机器通信管理设备具备:在上述连接对象机器中以共用手续利用的机器接口访问单元;以及从上述通信控制设备以共用手续利用的机器控制访问单元,基于经由上述网络受理送信的设定命令,在上述机器通信管理设备中设置虚拟的机器,在进行此虚拟的机器的操作及设定以及取得与其伴随的状态的同时,利用上述机器接口访问单元进行上述机器对象的运行和停止的设定以及取得与其伴随的状态。 In addition, in the communication adapter device of the present invention, the device communication management device includes: a device interface access unit used by a common procedure in the connection target device; and a device control access unit used by a shared procedure from the communication control device, Based on the setting command received and transmitted through the network, a virtual machine is installed in the machine communication management device, and the operation and setting of the virtual machine and the acquisition of the accompanying state are performed using the machine interface access unit. Setting of running and stopping of the above-mentioned machine objects and acquisition of the accompanying states. the
另外,在本发明的通信适配器装置中,上述机器通信管理设备具备:在上述连接对象机器中以共用手续利用的机器接口访问单元;以及从上述通信控制设备以共用手续利用的机器控制访问单元;保有上述机器对象的设定信息的数据库,同时上述机器接口访问单元具有:写入/读出设备,将上述数据库保有的设定信息对上述连接对象机器进行写入及读出。 In addition, in the communication adapter device of the present invention, the device communication management device includes: a device interface access unit used in a common procedure in the connection target device; and a device control access unit used in a shared procedure from the communication control device; A database holding the setting information of the machine object, and the machine interface access unit has a writing/reading device for writing and reading the setting information held in the database to the connected machine. the
另外,本发明的通信适配器装置的构成包括在上述连接对象机器中以共用手续利用的机器接口访问单元;以及从上述通信控制设备以共用手续利用的机器控制访问单元,上述通信适配器装置还包括在与网络之间收发数据的机器网络接口设备,同时上述机器接口访问单元和上述机器控制访问单元分别具备:异常通知设备,用来检测是否是上述机器接口设备、上述通信控制设备、上述机器网络接口设备、上述连接对象机器内的任一个产生的异常,并将检测到的此异常信息提供给上述网络或上述连接对象机器。 In addition, the configuration of the communication adapter device of the present invention includes a device interface access unit used by a common procedure in the above-mentioned connection target device; and a device control access unit used by a shared procedure from the communication control device, and the communication adapter device is further included in The machine network interface device that sends and receives data between the network, and the above-mentioned machine interface access unit and the above-mentioned machine control access unit respectively have: an abnormality notification device, which is used to detect whether the above-mentioned machine interface device, the above-mentioned communication control device, or the above-mentioned machine network interface An abnormality occurs in any of the equipment and the above-mentioned connected equipment, and the detected abnormality information is provided to the above-mentioned network or the above-mentioned connected equipment. the
另外,本发明的通信适配器装置,在可以经由上述网络发送数据时,向上述网络提供上述异常信息,并在不可以经由上述网络发送数据时,向上述连接对象机器提供上述异常信息。 Also, the communication adapter device of the present invention provides the abnormality information to the network when data can be transmitted via the network, and provides the abnormality information to the connection target device when data transmission cannot be performed via the network. the
另外,在本发明的通信适配器装置中,上述机器通信管理设备具备:在上述连接对象机器中以共用手续利用的机器接口访问单元;以及从上述通信控制设备以共用手续利用的机器控制访问单元,依照上述电源管理设备的状态,利用上述机器接口访问单元对机器对象进行通信限制,利用上述机器控制访问单元对上述通信控制设备进行通信限制。 In addition, in the communication adapter device of the present invention, the device communication management device includes: a device interface access unit used by a common procedure in the connection target device; and a device control access unit used by a shared procedure from the communication control device, According to the state of the power management device, the machine object is limited in communication by the machine interface access unit, and the communication control device is limited in communication by the machine control access unit. the
附图说明Description of drawings
图1为本发明的实施方式1的通信适配器装置的框图。
FIG. 1 is a block diagram of a communication adapter device according to
图2为本发明的实施方式2的通信适配器装置的框图。
FIG. 2 is a block diagram of a communication adapter device according to
图3为本发明的实施方式3的通信适配器装置的框图。
3 is a block diagram of a communication adapter device according to
图4为本发明的实施方式4的通信适配器装置的框图。
4 is a block diagram of a communication adapter device according to
图5为本发明的实施方式5的通信适配器装置的框图。
5 is a block diagram of a communication adapter device according to
图6为本发明的实施方式6的通信适配器装置的框图。
6 is a block diagram of a communication adapter device according to
图7为本发明的实施方式7的通信适配器装置的框图。
7 is a block diagram of a communication adapter device according to
图8为本发明的实施方式8的通信适配器装置的框图。
8 is a block diagram of a communication adapter device according to
图9为示出本发明的实施方式4的包含控制器的系统的构成图。
FIG. 9 is a configuration diagram showing a system including a controller according to
图10为示出本发明的实施方式9的通信适配器、家电与网络的关系的系统构成图。
10 is a system configuration diagram showing the relationship between a communication adapter, a home appliance, and a network according to
图11为示出本发明的实施方式9的通信适配器与两台输入输出格式不同的家电连接的情况的示图。
Fig. 11 is a diagram showing a case where the communication adapter according to
图12为示出本发明的实施方式10的通信适配器与时钟同步型的输入输出接口的家电相连接的示图。
FIG. 12 is a diagram showing a communication adapter according to
图13为示出用来从网络参照与本发明的实施方式11的通信适配器相连接的家电的顺序的示图。
13 is a diagram showing a procedure for referring to a home appliance connected to a communication adapter according to
图14为示出经由本发明的实施方式12的电器(通信适配器)将家电与外部网络相连接的情况的示图。 14 is a diagram showing a case where a home appliance is connected to an external network via an electric appliance (communication adapter) according to Embodiment 12 of the present invention. the
图15为示出用来对本发明的实施方式12的电器的非易失性存储器的程序的写入动作进行说明的示图。 15 is a diagram for explaining a writing operation of a program in a nonvolatile memory of an electric appliance according to Embodiment 12 of the present invention. the
图16为示出用来对本发明的实施方式12的另一电器的非易失性存储器的程序的写入动作进行说明的示图。 16 is a diagram for explaining a writing operation of a program in a nonvolatile memory of another electronic device according to Embodiment 12 of the present invention. the
图17为示出用来对本发明的实施方式13的电器的非易失性存储器的程序的写入动作进行说明的示图。 17 is a diagram for explaining a writing operation of a program in a nonvolatile memory of an electric appliance according to Embodiment 13 of the present invention. the
图18为示出本发明的实施方式13的电器和ROM写入器的连接部分的结构的示图。 FIG. 18 is a diagram showing the configuration of a connecting portion of an electric appliance and a ROM writer according to Embodiment 13 of the present invention. the
图19为用来说明本发明的实施方式14的电器的非易失性存储器的程序的写入动作的示图。 FIG. 19 is a diagram for explaining a program writing operation of a nonvolatile memory of an electric appliance according to Embodiment 14 of the present invention. the
图20为用来说明本发明的实施方式15的电器的非易失性存储器的程序的写入动作的示图。 FIG. 20 is a diagram for explaining a program writing operation of a nonvolatile memory of an electric appliance according to Embodiment 15 of the present invention. the
图21为用来说明本发明的实施方式16的电器的非易失性存储器的程序的写入动作的示图。 FIG. 21 is a diagram for explaining a program writing operation of a nonvolatile memory of an electric appliance according to Embodiment 16 of the present invention. the
图22为用来说明本发明的实施方式17的电器的非易失性存储器的程序的写入动作的示图。 22 is a diagram for explaining a program writing operation of a nonvolatile memory of an electronic appliance according to Embodiment 17 of the present invention. the
图23为用来说明本发明的实施方式18的电器的非易失性存储器的程序的写入动作的示图。 23 is a diagram for explaining a program writing operation of a nonvolatile memory of an electric appliance according to Embodiment 18 of the present invention. the
图24为用来说明本发明的实施方式19的ROM写入器的信号生成的示图。 FIG. 24 is a diagram for explaining signal generation of a ROM writer according to Embodiment 19 of the present invention. the
图25为用来说明本发明的实施方式19的电器的非易失性存储器的程序的写入动作的示图。 25 is a diagram for explaining a program writing operation of the nonvolatile memory of the electronic appliance according to Embodiment 19 of the present invention. the
图26为本发明的实施方式19的ROM写入器另一信号例的示图。 26 is a diagram showing another signal example of the ROM writer according to Embodiment 19 of the present invention. the
具体实施方式 Detailed ways
实施方式1
图1为示出本发明的实施方式1的通信适配器装置的内部结构的框图。
FIG. 1 is a block diagram showing an internal configuration of a communication adapter device according to
在图中,机器1是家电及传感器装置等,保有由机器固有的信息及可操作的控制项目构成的机器对象2。
In the drawing, a
另外,通信适配器装置3可以经由在机器1中共通规定的机器接口设备4利用机器1内的机器对象2。
In addition, the
机器通信管理设备5具有机器1保有的机器对象2的设定和操作,以及其他管理功能,借助规定的利用过程与通信控制设备6相连接。
The machine
通信控制设备6,具有用来在经由网络接口设备7和网络8与网络相连接的其他机器之间进行数据交换的通信控制功能。
The
下面对动作予以说明。 The operation will be described below. the
对于从与网络相连接的其他机器,利用通信适配器装置3,向与网络8相连接的机器1发送操作命令的场合进行说明。
A case where an operation command is sent from another device connected to the network to the
网络接口设备7从网络8接收操作命令,并将其传送到通信控制设备6。通信控制设备6与网络接口设备7联合实施各种接收手续。为了将取得的操作命令传送到机器通信管理设备5变换为规定的格式,执行规定的手续,将操作命令传送到机器通信管理设备5。机器通信管理设备5,分析操作命令,为设定机器对象2的相应的控制项目利用机器接口设备4进行机器1内的机器对象2的控制项目的设定改变。
The
在机器1检测出机器对象2的控制项目的设定发生了改变的情况并由机器1实施相应的操作之后,改变因操作所改变的信息项目,完成根据操作命令的一系列的动作。
After the
下面,对于将机器1的机器对象2的信息项目被改变的情况通知给网络连接的其他机器时的动作予以说明。
Next, the operation for notifying other devices connected to the network that the information items of the
机器通信管理设备5利用机器接口设备4定期进行对机器对象2的信息项目的监视,在检测到信息项目的变化时,就生成相应的信息项目的变化通报命令,将其以规定的格式生成,与通信控制设备6一起执行规定的手续,传送变化通报命令。
The machine
通信控制设备6与网络接口设备7联合,进行用来向网络8发送该命令的手续,完成向网络连接的其他机器发送变化通报命令。
The
如上所述,由于机器通信管理设备5具有对机器1载置的机器对象2的管理功能,可减轻由机器1具有的微机等的控制设备实现的处理功能,可在不增加对微机资源的负担的情况下通过附加通信适配器装置3而得到可以从网络进行遥控操作的机器。另外,由于机器通信管理设备5以规定的格式及手续规定了与通信控制设备6的连接设备,比如,即使是在发生改变通信协议的场合,依照所规定的接口, 通过生成通信控制单元也具有很容易得到可改变协议的通用性高的通信适配器装置的效果。
As described above, since the device
实施方式2
图2为示出本发明的实施方式2的通信适配器装置的内部结构的框图。对于与图1相同或相当的部分赋予相同符号,对不同的部分予以说明。在图中,电源管理设备9具有管理通信适配器装置3内的电源的状态,比如,可使用的电力余量等的功能,其作用为可根据该管理状况对通信控制设备6及网络接口设备7施加规定的限制。
FIG. 2 is a block diagram showing an internal configuration of a communication adapter device according to
下面对动作予以说明。 The operation will be described below. the
由于在接收操作命令的动作及信息改变的通报方式方面是一样的,故省略其说明。主要对有关电源管理的动作予以说明。 Since the operation of receiving an operation command and the notification method of a change in information are the same, description thereof will be omitted. Operations related to power management are mainly explained. the
电源管理设备9,比如,在检测到可以由通信适配器装置使用的电力余量很小时,电源管理设备9就在指示网络接口设备7转移到抑制本身功耗的模式,比如,待机模式的同时,还指示通信控制设备6抑制通信频度并向其通知网络接口设备7已经进入待机模式。此外,电源管理设备9还利用规定的手续将电力余量等信息给予机器通信管理设备5。
The
在此状态下,在与网络相连接的其他机器,将操作命令发送到通信适配器装置3与网络8相连接的机器1时,网络接口设备7,比如,通过网络8上的信号变化等等,检测到网络8上的操作命令,就从待机模式恢复到正常的接收动作状态进行接收并将操作命令交接给通信控制设备6。通信控制设备6在与网络接口设备7联合实施各种有关接收的手续之后,将取得的操作命令变换为用来交接给机器通信管理设备5的规定格式之后,执行规定的过程,将操作命令交接给机器通信管理设备5。在命令交接之后,网络接口设备7转移到待机模式。机器通信管理设备5分析操作命令,为设定机器对象2的相应的控制项目利用机器接口设备4进行机器1内的机器对象2的相关控制项目的设定改变。
In this state, when other machines connected to the network send operation commands to the
在机器1检测出机器对象2的控制项目的设定被改变的情况并由机器1实施相应的操作之后,通过操作改变所改变的信息项目,完成根据操作命令的一系列的动作。
After the
下面,对于将机器1的机器对象2的信息项目被改变的情况通知网络连接的其他机器时的动作予以说明。
Next, the operation for notifying other devices connected to the network that the information items of the
机器通信管理设备5利用机器接口设备4定期进行对机器对象2的信息项目的监视,依照从电源管理设备9得到的电源信息延伸监视时间间隔等等限制对机器对象2的访问,抑制在通信适配器装置3内的事件发生的频度。机器通信管理设备,在检测到信息项目的变化时,生成相应的信息项目的变化通报命令,将其以规定的格式生成,与通信控制设备6一起执行规定的手续,传送变化通报命令。
The machine
通信控制设备6与恢复到正常动作模式之后的网络接口设备7进行联合,进行用来向网络8发送命令的手续,完成向网络连接的其他机器发送变化通报命令。在发送完成之后,网络接口设备7再次转移到待机模式。
The
另外,在通信控制设备6向网络接口设备7传送并使其发送命令时,也可依照电源管理设备9的检测内容采取延迟通信速度等等而进一步限制功耗的措施。
In addition, when the
如上所述,由于在通信适配器装置3中设置有电源管理设备9,削减与管理状态相应的内部功耗,比如,在传感器等必须由电池驱动的设备以及接受由机器1供电的场合等,可以在电源受到限制时在限制内确保运行,所以可以得到能够获得抑制机器的电源成本增加及延长电池寿命等的效果的通信适配器装置。
As mentioned above, since the
实施方式3
图3为示出本发明的实施方式3的通信适配器装置5的内部结构细化的通信适配器装置3的框图。对于与图1、2相同或相当的部分赋予相同符号,对不同的部分予以说明。在图中,机器控制访问单元10的构成为使其可以与在机器通信管理设备5内设置的通信控制设备 6以规定的格式及手续进行连接。另外,设置有许可设备14及禁止设备15,以便可以由机器接口设备4许可或禁止机器控制访问单元10。
FIG. 3 is a block diagram of a
机器接口访问单元11的构成为使其可以与在机器通信管理设备5内设置的机器接口设备4以规定的格式及手续进行连接。另外,设置有许可设备12及禁止设备13,以便可以由通信控制设备6许可或禁止机器接口访问单元11。
The machine
下面对动作予以说明。 The operation will be described below. the
在机器1处于初始化过程中等状态下,不能接收来自网络的操作的场合及由于维修中等从网络进行遥控操作的场合是危险的场面之中,机器对象2经由机器接口设备4对机器控制访问单元10操作禁止设备15使其成为有效并禁止从通信控制设备6访问机器控制访问单元10。通过禁止可以抑制从网络8对机器对象2的意外操作。另外,在初始化及维护等结束而许可对机器对象2进行操作时,机器对象2经由机器接口设备4对机器控制访问单元10操作许可设备14使其成为有效并许可从通信控制设备6访问机器控制访问单元10。另外,此许可设备14和禁止设备15被相异地控制,在动作上当一个有效时,另一个为无效。
In a situation where the operation from the network cannot be received while the
下面对从机器对象2对机器通信管理设备5的访问的限制的情况予以说明。在通信适配器装置3的通信设定未完成时,应该禁止意外地向网络发出命令或由于接收到命令引起机器对象2的操作以防止系统的误动作及危险。
Next, the case of restriction of access from the
在此场合,通信控制设备6通过操作使禁止设备13对机器接口访问单元11有效而禁止访问机器接口访问单元11。通过禁止可使在设定过程中间误收的命令不能到达机器接口设备4而不能操作机器对象2。另外,由于机器对象2不能访问机器通信管理设备,遮断了对通信控制设备6的数据交换。另外,可通过操作使许可设备12有效而实现许可访问。
On this occasion, the
另外,在上述说明中说明的是将通信适配器装置3用于抑制非法访问的场合,但也可以,比如,在从机器对象2经由机器接口设备4 对机器通信管理设备5进行初始化或改变时,禁止从通信设备6进行多次访问时禁止访问机器控制访问单元10;或反之在从通信控制设备6对机器通信管理设备5进行初始化或改变时,为了安全地进行机器通信管理设备5的初始化及改变而禁止机器接口访问单元11时使用。
In addition, in the above description, it is described that the
如上所述,由于在通信适配器装置3的机器通信管理设备5中设置有机器控制访问单元10和机器接口访问单元11,由于可以分别设定各自的许可和禁止,可以得到在机器1及通信适配器装置3的初始化及维护之际,可以进行安全且可靠的设定、维护操作的通信适配器装置3。
As mentioned above, since the machine
实施方式4
图4为详细描述本发明的实施方式1或2的机器通信管理设备的功能的框图。对于与图1~3相同或相当的部分赋予相同符号,对不同的部分予以说明。在图中,示出机器控制访问单元10及机器接口访问单元11的内部的具体项目。
4 is a block diagram describing in detail the functions of the machine communication management device of
机器控制访问单元10的构成包括基于与通信控制设备6之间的规定所设定的对上述机器对象2的实例及类别进行生成、消灭、添加的管理的对象管理设备;用来设定用于取得机器1的机器对象2的状态的方法的状态取得手续设定设备;用于管理设置机器1及通信适配器装置3的地点信息等的设置信息管理设备;管理网络的种类等网络属性的网络属性管理设备;以及管理网络的通信频带(通信容量)等的网络频带管理设备。
The structure of the machine
另外,机器接口访问单元11也与机器控制访问单元10一样具有基于机器接口设备4规定的同一功能的设备。
In addition, the machine
另外,图9示出由本发明的通信适配器装置3和机器1构成的通信节点20或21、由传感器装置和通信适配器装置3构成的网络传感器22或23、以及控制器30与网络8连接成为网络的系统的构成。
In addition, FIG. 9 shows a communication node 20 or 21 composed of the
下面基于此系统图对初始设定中的上述说明的各种设备的动作予以说明。 Next, based on this system diagram, the operation of the various devices described above in the initial setting will be described. the
在通信适配器装置3与机器1相连接之际,要求通信适配器装置3公开,比如,作为控制器30的通信节点的各种信息。
When the
为了取得机器1内的机器对象2的信息,机器通信管理设备5利用机器接口访问单元11的对象管理设备,经由机器接口设备4依次取得机器对象2的信息。在初始化完成,机器1启动时,由于检测到机器对象2内的事件变化(启动),为了将此事件变化通报给网络8,机器通信管理设备5利用机器控制访问单元10的对象管理设备,向通信控制设备6发送事件变化通报命令。接收到该命令的通信控制设备6与网络接口设备7联合将命令发送到网络8。控制器30接收到此命令而检测到机器1的启动。之后,控制器30对机器对象2的各种状态设定取得设备。状态的取得方法可由多种方法实现,如在机器1中发生事件时接受通报、或通信适配器装置3定期访问机器1并通报取得的状态、或控制器30在需要时发送监视命令并从应答获得状态等等方法。
In order to obtain the information of the
于是,控制器30从上面说明的方法等等中确定取得方法,生成设定命令并发送到网络。通信适配器装置3的网络接口设备7接收命令,将命令传送到通信控制设备6,而通信控制设备6借助规定的手续利用在机器通信管理设备5内的机器控制访问单元10中所设置的状态取得手续设定设备,将控制器30指定的取得方法设定在机器通信管理设备5中。机器通信管理设备5利用机器接口访问单元11的状态取得手续设定设备,经由机器接口设备4向机器对象2传送同样的设定内容。此处,通过向机器对象2传送设定内容,可以使与通信适配器装置3之间不会发生不一致性。
Then, the controller 30 determines the acquisition method from among the above-described methods and the like, generates a setting command, and transmits it to the network. The
之后,进行机器1的设置信息的设定。设置信息的设定有多种方法,此处对由控制器30给出的方法进行说明。
After that, setting of the setting information of the
当用户等等输入机器1的设置位置时,控制器30生成位置的设定命令并发送到网络。通信适配器装置3的网络接口设备7接收命令,将命令传送到通信控制设备6,而通信控制设备6通过规定的手续利用在机器通信管理设备5内的机器控制访问单元10中设置的设置信 息管理设备,将控制器30指示的设置信息设定在机器通信管理设备5中。另外,机器通信管理设备5也可以根据需要利用机器接口访问单元11的设置位置管理设备经由机器接口设备4向机器对象2传送同样的设定内容。
When a user or the like inputs a setting position of the
另外,在从机器1输入设置位置信息时,可利用与上述相反的路径向控制器30提供机器的设置信息。
In addition, when the installation position information is input from the
下面,对将通信适配器装置3保有的网络属性向控制器30及机器1通报的方法予以说明。
Next, a method of notifying the controller 30 and the
对于网络属性(网络的类别及物理地址)等与网络接口设备7相关联的项目,为了个体识别及在各个控制程序中修正媒体应答时间等的差异,必须由控制器30和通信适配器装置3共享。此信息,机器通信管理设备5可以利用机器控制访问单元10的网络属性管理设备从通信控制设备6和网络接口设备7取得。为了将此信息通报给控制器30,机器通信管理设备5利用机器控制访问单元的网络属性管理设备,将属性信息交接给通信控制设备6,而通信控制设备6将相应命令发给网络接口设备7并发送到网络8。控制器30接收此命令而取得关于网络属性的信息。另外,根据此信息,机器通信管理设备5经由机器接口设备4设定访问机器对象2的间隔等等。
Items related to the
下面对网络频带的设定方法予以说明。 The following describes how to set the network frequency band. the
对于网络频带,在设定上存在各种不同的目的和用法,如设定系统需要的频带、通报由通信适配器装置3的限制规定的设定值或设定机器1要求的频带等等。
For the network frequency band, there are various purposes and uses in setting, such as setting the frequency band required by the system, notifying the set value specified by the limitation of the
为了对应这些不同的用法、目的,网络频带管理设备,将设置于机器控制访问单元10中设置的网络频带管理单元设置为经由通信控制设备6一侧,即经由网络由控制器30等设定的路径,另外,为了能根据机器1一侧的要求进行设定在机器接口访问单元11中也设置网络频带管理单元。通过设置这些设备,可以对应处理经由网络的设定、通信控制设备6及网络接口设备7内部的制约以及从机器1进行的设定。关于从这些单元对机器通信管理设备5的设定方法与前述的 属性等一样进行。另外,将这些设定值用于各单元的访问方法也是与前述的网络属性的相同的方法,所以省略其说明。
In order to correspond to these different usages and purposes, the network frequency band management device sets the network frequency band management unit provided in the machine
如上所述,由于设置对象管理设备、状态取得手续设定设备、设置信息管理设备、网络属性管理设备及网络频带管理设备的构成是可以自由访问的,与系统设定等控制器的信息共享可以容易进行,并且由于信息由通信适配器装置3内的机器通信管理设备5管理,可以得到可以使机器成为与网络对应的节点的通信适配器装置3而不需要增加机器1的负担。
As described above, since the configuration of the installation target management device, status acquisition procedure setting device, setting information management device, network attribute management device, and network band management device is freely accessible, information sharing with controllers such as system settings is possible. It is easy to carry out, and since the information is managed by the machine
实施方式5
图5为详细描述本发明的实施方式1或2的机器通信管理设备的功能的框图,主要是说明在设置调整时等所使用的功能。
FIG. 5 is a block diagram for describing in detail the functions of the equipment communication management device according to
在机器控制访问单元10及机器接口访问单元11中,具有由机器通信管理设备5管理的机器对象2的运行开始及停止的设定以及上述机器对象2的运行、停止状态的取得设备,设置有从机器接口访问单元11设定通信控制单元6的运行至停止及状态的取得设备,并且,设置有由机器通信管理设备5管理的机器对象2的虚拟操作设定设备及虚拟设定机器的设备。
In the machine
下面对动作予以说明。 The operation will be described below. the
在机器1处于未连接状态时,对基于只利用通信适配器装置3进行系统设定及试运行的步骤进行说明。
When the
图9示出的控制器30向通信适配器装置3发送连接机器的设定命令。此命令经由网络接口设备7,由通信控制设备6解释,将信息给予机器控制访问单元10的连接机器设定设备。在机器通信管理设备5内,以此信息为基础,生成虚拟的机器。以下,控制器30可以利用将在通信适配器装置3中生成的设置在机器控制访问单元10中的虚拟机器的虚拟操作设定的设备进行系统的试运行及设定。
The controller 30 shown in FIG. 9 transmits a setting command of a connected device to the
另外,在实施系统的验证等之际,可能发生需要让特定机器对象故意地进行脱离系统、重新连接的动作。对于这种用途,在机器通信 管理设备5中设置有所管理的机器对象2的运行开始、停止的设定及其状态的取得的设备。在停止机器对象2之际,以规定的手续访问在机器通信管理设备5的机器控制访问单元中设置的停止设备,将该指示传送到机器通信管理设备5。机器通信管理设备5,利用机器接口访问单元11的停止设备经过机器接口设备4进行机器对象2的停止。另外,反之,为开始运行,也可以利用启动设备代替上述停止设备以同样的方法使机器对象2变成运行状态。
In addition, when verifying the system, etc., it may be necessary to intentionally disconnect and reconnect a specific machine object from the system. For this purpose, a device for setting the operation start and stop of the managed
如上所述,因为通信适配器装置3的构成为可对机器对象2的启动、停止自由地进行控制并且由通信适配器装置3单独进行虚拟机器的验证,在施工时可以很容易实施在机器不运行状态时的系统设定并且可以得到在系统开发时有效进行的验证操作的通信适配器装置。
As mentioned above, since the
实施方式6
图6为详细描述本发明的实施方式1或2的机器通信管理设备5的功能的框图,主要是表示在通信适配器装置3的更换等等之中用于谋求方便的功能。
6 is a block diagram describing in detail the functions of the device
在机器通信管理设备5内的机器控制访问单元10及机器接口访问单元11中,对存储器写入控制设备及存储器读出设备设定为用于访问在机器1内的机器对象2内设置的非易失性存储器的设备。
In the device
下面对动作予以说明。 The operation will be described below. the
通信适配器装置3保有在网络通信中所必需的地址等的信息及在实施方式3中示出的各种设定值,与机器1一起构成通信节点。
The
在通信适配器装置由于某种原因发生故障时,必须进行通信适配器装置3的更换操作。本发明的通信适配器装置3通过以下的步骤将上述的设定内容存储于机器对象2的存储器中。
When the communication adapter unit fails for some reason, the
机器通信管理设备5保有全部设定信息,在设定完成时由机器接口访问单元11的存储器写入控制设备经由机器接口设备4将设定信息存储于机器对象2的存储器中。
The machine
之后,在更换通信适配器装置3后,机器通信管理设备5利用机 器接口访问单元11的存储器读出控制设备访问机器对象2的存储器并取得设定信息。机器通信管理设备5在将取得的设定内容保持于机器通信管理设备5中的同时,向通信控制设备6及网络接口设备7提供必要的信息。提供的方法是利用机器控制访问单元10内的存储器读出控制设备,经由通信控制设备6通知设定内容。这样就可以由通信适配器装置3单独进行设定值的复原。
Afterwards, after the
另外,对于机器通信管理设备5不管理的信息,比如,为了将通信控制设备内部的信息等存储于机器对象2中,利用机器控制访问单元10内的存储器写入控制设备经由机器通信管理设备5进行写入。
In addition, for the information not managed by the machine
如上所述,由于构成上可以使通信适配器装置3内的信息临时存储于机器1内的机器对象中,所以不需要在更换通信适配器装置3等时进行历来必需的系统的重新设定等等,可以得到容易更换的通信适配器装置3。
As described above, since the information in the
实施方式7
图7为详细描述本发明的实施方式1或2的机器通信管理设备5的功能的框图,主要是在机器通信管理设备5中设置有提供异常内容的设备,以便可以在通信适配器装置3检出的各种异常状态中,容易进行异常部位的确定。
7 is a block diagram describing in detail the functions of the machine
机器通信管理设备5包含有用来提供有关网络8的异常的网络接口异常设备、用来提供通信控制设备6的异常的通信控制异常设备、用来提供有关机器接口设备4的异常的机器接口异常设备以及用来提供机器的异常的机器异常设备。
The machine
下面对动作予以说明。 The operation will be described below. the
机器通信管理设备5经由机器控制访问单元10及机器接口访问单元11收集在网络接口设备7、通信控制设备6、机器接口设备4及机器1(机器对象2)构成的各个构成部位中检测到的异常信息,在依次进行更新的同时进行一元化管理。比如,在控制器30经由网络调查在图9所示的通信节点20的机器1中发生的异常时,通过发出用来 访问机器通信管理设备5的机器异常设备的命令,通过网络接口设备7和通信控制设备6,执行机器异常的取得命令,并且由机器通信管理设备5管理的机器异常的数据经由通信控制设备6、网络接口设备7及网络8提供给控制器30。通过将访问目的地改变为机器接口异常设备也可以利用同样的顺序取得机器接口设备4的异常。
The machine
另外,关于与网络8相关联的异常,由于存在不能经由网络提供信息的情况,所以在此说明中假设在机器对象2中设置有显示功能而进行说明。机器对象2利用机器接口设备4,访问机器接口访问单元11的网络异常设备或通信控制异常设备,从机器通信管理设备5取得通信控制设备6或网络接口设备7的异常信息。当检测到某种异常时,机器对象2执行与异常内容相应的显示等等。
In addition, regarding the abnormality related to the
如上所述,由于具有区分在通信适配器装置3内部可检出的异常状态而通报网络8或机器1的设备,所以在出现由系统缺陷引起的故障时,可以很容易判别是由机器的故障引起的还是由通信适配器装置3的故障引起的,并且可以很容易判别通信适配器装置3的异常是由机器接口设备4的故障引起的还是由通信控制设备6异常引起的,所以得到能够高效率地实施缺陷地点的确定而可以迅速使系统复原的通信适配器装置。
As described above, since there is a device for notifying the
实施方式8
图8为经由本发明的实施方式2的机器接口设备4由机器1供电而动作的场合的框图。与图1~7同一或相当的部分赋予同样的符号。
FIG. 8 is a block diagram of a case where the
在机器控制访问单元10及机器接口访问单元11中,除了利用机器对象2的设备之外,设置有提供电源管理设备9的各种状态的状态提供设备、用来控制电源管理设备9的电源控制设备以及用来取得电源供给能力等等的电源能力取得设备,并且,设置有用来利用这些信息控制通信控制设备的通信限制控制设备。
In the machine
网络接口设备7具有对网络8的接口功能、可限制本身的功耗的功能,比如,转移到待机模式及恢复、改变传输速度等功能。(并且, 一般讲,公知网络接口设备在传输动作时功耗变大)。
The
电源管理设备9具有充放电控制单元和控制单元,具有从机器接口设备4接受供电、将此电力进行充电及根据需要向各单元供电的功能,以及根据当前的充电量提供可供电容量的功能。
The
下面对动作予以说明。 The operation will be described below. the
在通信适配器装置3启动时,利用机器接口访问单元11的电源能力取得设备经由机器接口设备4访问机器1的机器对象2,从机器1取得可供电源的容量到机器通信管理设备5内。另外,利用机器控制访问单元10的电源容量取得设备取得并保持通信控制设备6及网络接口设备7的动作所必需的电源容量数据。
When the
电源管理设备6访问机器控制访问单元10内的电源容量取得设备并取得所取得的供电容量的信息和动作所必需的电源容量,设定充放电占空比(duty)及通信控制设备的省电控制的方式。
The
比如,在动作所需电力为3而可供电力为1的期间,在充电3之后1的期间,利用机器控制访问设备实施许可通信控制设备6及网络接口设备7的动作等的控制,在供电范围内控制通信适配器装置3的动作。
For example, during the period when the required power for operation is 3 and the available power is 1, during the period of 1 after charging 3, the equipment control access device implements the control of allowing the operation of the
在由于应用不允许这种间歇动作时,通信控制设备6经过机器控制访问单元10从机器通信管理设备5取得电源管理设备9管理的充放电控制单元的状态,每当有数据的发送要求的事件时,通信控制设备6监视上述电源管理设备9的信息,判断是否达到可进行发送动作的充电状态,控制网络接口设备7的模式。在未达到可进行发送的状态时,机器通信管理设备5通过通信限制设备向发送事件的发送源提供内容为待机中的信息。另外,关于接收动作,机器通信管理设备5的运作为将网络接口设备7控制为待机模式并且通过网络8的,比如,信号变化等将网络接口设备7控制为正常模式等等而启动接收动作。但是,在这种接收的场合也可能在电源管理设备9中的充放电控制单元的充电状态不足以进行接收动作时经通信限制设备转移到正常模式。
When such intermittent operation is not allowed due to the application, the
另外,机器通信管理设备5通过利用设置于机器接口访问单元11中的状态提供设备将电源管理设备的电源状态提供给机器对象2,在机器对象2具有自发地产生发送事件的功能的场合,对此进行限制,也可以抑制发送的电力。
In addition, the machine
另外,在机器通信管理设备5管理对机器对象2的访问的场合,根据掌握的电源状态,利用机器接口访问单元11的通信限制设备,经由机器接口设备4,调整对机器对象2进行访问的频度和时间间隔,从而可依照电力容量调整发送事件的发生频度。
In addition, when the machine
如上所述,在从机器1只接受有限供电的场合,利用在通信适配器装置3中设置的电源管理设备9和在机器通信管理设备5中设置的各种信息的提供设备和通信限制控制设备,在可供电的范围内,通信适配器装置3可以运转,并在为了将家电与网络连接而附加通信适配器装置之际,由于不需要电源工程,可以得到可以很容易施工的通信适配器装置。
As mentioned above, in the case where only a limited power supply is received from the
实施方式9
图10为利用本发明的实施方式9的通信适配器的系统的构成图。
Fig. 10 is a configuration diagram of a system using the communication adapter according to
在图中,在家电38中配置有连接器A31,经由此连接器A31与通信适配器32进行属性信息的交换。以下将此连接器称为输入输出接口(输入输出I/F)。
In the drawing, a connector A31 is disposed on the
另外,通信适配器32,包括用于与家电38进行属性信息的交换的输入输出接口A37及B33、用来经由Ethernet(注册商标)等的网络39与其他家电及个人计算机等电器40进行信息交换的网络接口35、在输入输出接口A37及B33和网络接口35之间进行信息交换一起处理此信息的CPU36以及存放与输入输出接口A37及B33相连接的家电中所使用的输入输出方式相对应控制输入输出接口的硬件的驱动软件A、B的存储装置34。
In addition, the
输入输出接口A、B,全部是相同型号的连接器,选择与其连接的家电的输入输出方式相对应的格式。此处,为简单起见,假设对选 择串行输入输出和接点输入输出中的某一个予以说明。 The input and output interfaces A and B are all connectors of the same type, and the format corresponding to the input and output method of the connected home appliance is selected. Here, for the sake of simplicity, it is assumed that one of serial I/O and contact I/O is selected. the
图11为示出通信适配器32与两台输入输出格式不同的两台家电38、38’连接的情况的示图。在图中,家电38、38’的输入输出接口分别与串行输入输出格式、接点输入输出格式相对应。
Fig. 11 is a diagram showing a case where the
另外,在具有串行输入输出格式的接口的家电38中准备有接口用的电源,对输入输出接口的特定的端子(以下称其为特定端子)供给电源电压信号。
In addition, in the
下面参照图10、11对通信适配器32的动作予以说明。
Next, the operation of the
CPU36对多个输入输出接口每一个分别(在图11的场合为两个输入输出接口A37、B33)检查有无电源电压信号供给。于是,在输入输出接口与家电相连接,从检查的特定端子检测到电源电压信号时,CPU36判定连接的家电38的输入输出格式是串行输入输出格式,就启动存放于存储装置34中的控制串行输入输出格式的接口硬件的驱动软件A。通过启动此驱动软件A,在连接的家电38之间进行通信,从家电38读出属性信息。此属性信息,经由CPU36存放于存储装置34中。于是,所存放的属性信息被用于访问家电38以取得或控制各种信息。
The
另一方面,在输入输出接口与家电相连接,从检查的特定端子没有检测到电源电压信号时,CPU36判定连接的家电38’的输入输出格式是接点输入输出格式。于是,CPU36对连接的输入输出接口启动存放于存储装置34中的控制接点输入输出格式的接口硬件的驱动软件B。通过启动此驱动软件B,在连接的家电38’之间进行通信,从家电38读出机器类别、功耗等属性信息。此属性信息经由CPU36存放于存储装置34中。于是,所存放的属性信息被用于访问家电38’以取得或控制各种信息。
On the other hand, when the input/output interface is connected to the home appliance and no power supply voltage signal is detected from the checked specific terminal, the
通过这样的构成,判定与通信适配器32相连接的家电相对应的输入输出接口的格式,将控制与其相对应的接口硬件的驱动软件启动。
With such a configuration, the format of the input/output interface corresponding to the home appliance connected to the
于是,通过启动此驱动软件,将有关连接的家电的属性信息经由 CPU36存放到存储装置34中。这样一来,不使用条形码及条形码阅读器就可以在通信适配器32中自动设定属性信息。
Then, by starting this driver software, the attribute information about the connected home appliance is stored in the
另外,在图中,说明了在通信适配器32设置有两个输入输出接口A37及B33的情况,但对于大于等于两个的情况也一样。另外,在串行输入输出格式及接点输入输出格式以外的输入输出格式的情况也可以利用同样的方法判定。
In addition, in the figure, the case where two input/output interfaces A37 and B33 are provided in the
实施方式10
在实施方式9中,说明的是判定所连接的家电的输入输出格式是串行输入输出/接点输入输出中的某一种,取得家电的属性信息的情况。
In
在本实施方式中,说明的是判定所连接的家电的输入输出格式只限于是串行输入输出格式,时钟同步型/时钟非同步型的某一种而取得家电的属性信息的情况。 In this embodiment, a case will be described in which it is determined that the I/O format of the connected home appliance is only one of the serial I/O format, clock synchronous type or clock asynchronous type, and the attribute information of the home appliance is acquired. the
图12为示出具有时钟同步型的串行输入输出接口的家电38与通信适配器32相连接的情况的示图。在图中,VCC、TX、RX、GND、CLK分别表示电源电压信号端子、发送信号端子、接收信号端子、接地端子、时钟信号端子。
FIG. 12 is a diagram showing a state where a
此处,在串行输入输出格式的家电中,时钟同步型的家电在从通信适配器32不供给时钟信号时,不能进行串行通信,而时钟非同步型的家电,即使从通信适配器32不供给时钟信号时,也能进行串行通信。因此,如图12所示,即使是在输入输出接口与时钟同步型的串行输入输出接口相连接的情况下,也设定一个供给时钟信号的特定的CLK端子以便使通信顺序成立。
Here, among home appliances with the serial input and output format, clock synchronous home appliances cannot perform serial communication when no clock signal is supplied from the
下面对通信适配器32的动作予以说明。
Next, the operation of the
CPU36在实施方式9所示的方法中,在判定家电的串行输入输出格式之后,在无时钟信号的情况下启动可与家电通信的时钟非同步型的驱动软件的同时,不向CLK端子供给时钟信号而试行与家电通信。
In the method shown in
其结果,如果确认可以实现正常的通信顺序,就判定是时钟非同步型,原封不动地不更换驱动软件继续进行通信。 As a result, if it is confirmed that the normal communication sequence can be realized, it is determined that the clock asynchronous type is used, and the communication is continued without changing the driver software. the
另一方面,在不能进行通信时,就改变通信适配器一侧的时钟同步型的驱动软件,经由CLK端子对家电供给时钟信号试行通信。这样一来,通信适配器32判定为串行输入输出格式的时钟同步型/时钟非同步型而自动进行切换。
On the other hand, when communication cannot be performed, the clock synchronization type driver software on the communication adapter side is changed, and a clock signal is supplied to the home appliance via the CLK terminal to try communication. In this way, the
在时钟同步型/时钟非同步型切换之后,在与通信适配器32相连接的家电38’之间进行通信,读出机器类别、功耗等属性信息。此属性信息经CPU36存放于存储装置34中。于是,将所存放的属性信息用于访问家电38’以取得或控制各种信息。这样一来,不使用条形码及条形码阅读器就可以在通信适配器32中自动设定属性信息。
After switching between the clock synchronous type and the clock asynchronous type, communication is performed between the household appliances 38' connected to the
另外,在图中,说明了在通信适配器32中设置有两个输入输出接口A37及B33的情况,但对于大于等于两个的场合也一样。
In addition, in the figure, the case where two input/output interfaces A37 and B33 are provided in the
实施方式11
在实施方式9、10中,说明了判定通信适配器32连接的家电的输入输出格式或钟同步/时钟非同步之后,取得家电的属性信息的情况。
In
在本实施方式中,说明在取得属性信息之后,由于系统扩展等等必须改变属性信息或必须进行监视、控制的情况。 In this embodiment, the case where attribute information must be changed or monitoring and control must be performed due to system expansion or the like after acquisition of attribute information will be described. the
这是不使用条形码及条形码阅读器从个人计算机等电器中经由网络39改变属性信息的情况。就是说,在图10所示的连接形态中,从与网络39相连接的电器40,改变针对家电38的属性信息及驱动软件,进行监视和控制。下面对动作予以说明。
This is the case of changing the attribute information from an electrical appliance such as a personal computer via the
首先,说明从与网络相连接的电器来看,在存储装置34中所存储的属性信息、驱动程序是已知的情况的改变。
First, a change in the case where attribute information and drivers stored in the
在这种情况下,只要从与网络相连接的电器,向通信适配器32发送记述改变的属性信息及驱动软件的发送帧(消息)即足够。
In this case, it is sufficient to transmit a transmission frame (message) describing the changed attribute information and driver software from the electronic device connected to the network to the
接收到此消息的CPU36,比如,在立即使使用中的驱动软件结 束的同时,读出并启动从存放于存储装置34中的驱动软件组中指定的驱动软件。
The
这样,如果存放于存储装置34中的属性信息及驱动软件是已知的,就可以不使用条形码及条形码阅读器等等,只从与网络相连接的电器发送消息就可以简单地改变。
In this way, if the attribute information and driver software stored in the
下面说明从与网络相连接的电器来看在放于存储装置34中的属性信息及驱动软件是未知的情况的改变。
The change in the case where the attribute information and driver software stored in the
在这种情况下,电器40为了可以进行对家电38的属性信息的改变、监视及控制,通信适配器32必须针对网络39调查及公开与通信适配器32相连接的家电38是什么、接收什么信息,可以执行何种监视、控制。
In this case, in order for the
图13为示出将连接家电38的属性信息对网络39公开的顺序的示图。
FIG. 13 is a diagram showing a procedure for disclosing the attribute information of the
下面对在通信适配器32的存储装置34中存放的各种家电的控制程序顺序予以说明。
Next, the sequence of control programs of various home appliances stored in the
首先,在家电38与通信适配器32连接之后,经由输入输出接口A37,生成由用来取得家电38的信息的要求构成的要求帧1(家电信息取得要求1)并发送到家电38,等待来自38的对此要求帧的应答(步骤S1)。
First, after the
在家电38接收到要求帧1时,对通信适配器32返回自身(家电38)的名称(代码编号)。通信适配器接收从家电返回的代码编号(步骤S2),并基于此代码编号在存放于存储装置34之中的控制程序组中提取相应的家电的控制程序进行设定。
When the
经过这一步骤,通信适配器32可以了解到与输入输出接口A37相连接的家电38是什么,并且可以设定关于家电38的属性信息及可进行监视和控制的信息。
Through this step, the
于是,这样的步骤,对通信适配器的全部输入输出接口并行执行,通信适配器对与自身相连接的全部家电的属性信息及可进行监视和控制的信息可以进行设定。 Therefore, such steps are executed in parallel for all the input and output interfaces of the communication adapter, and the communication adapter can set attribute information and monitorable and controllable information of all home appliances connected to itself. the
之后,考虑对于这样设定信息的通信适配器32,从与网络39相连接的电器40,改变与通信适配器32相连接的家电的属性信息,并进行监视和控制。
Then, it is considered that the attribute information of the home appliance connected to the
在这种情况下,电器40首先生成由用来取得与通信适配器相连接的家电的信息的要求构成的要求帧2(家电信息取得要求2)并发送到通信适配器32。
In this case, the
通信适配器32作为对要求帧32(家电信息取得要求)的应答,根据相连接的全部家电的属性信息及可监视及控制的信息生成并返回应答帧(家电属性信息应答)。通过来自此通信适配器的应答帧,电器40可判断与网络39相连接的是何种家电38,可得到关于这一点的属性信息及可监视和控制的信息(步骤S3)。于是,根据取得的信息改变家电的属性信息及监视和控制,与上述已知的情况一样,只发送记述改变内容的消息即足够。
The
这样一来,不使用条形码及条形码阅读器,根据取得的信息,就可以从与网络39相连接的电器40,改变与通信适配器相连接的家电的属性信息以及进行监视与控制。
In this way, without using a barcode or a barcode reader, based on the acquired information, the attribute information of the home appliance connected to the communication adapter can be changed and monitored and controlled from the
另外,此处说明的是,在通信适配器32的存储装置34内,存放针对各种家电的控制程序组,经由通信适配器和家电间的输入输出接口,判定与通信适配器相连接的家电的情况,但也可以从与网络39相连接的个人计算机等电器,向通信适配器32,发送设定与通信适配器的输入输出接口相连接的家电的帧。这样一来,基于发送的帧,可以设定、改变相应的家电的控制程序,构建应答帧。
In addition, it is described here that the
实施方式12 Implementation Mode 12
作为电器,取用来将家电与外部网络连接的通信适配器为例进行说明。 As an electric appliance, a communication adapter for connecting a home appliance to an external network will be taken as an example. the
图14为示出经由本发明的实施方式的电器(通信适配器)41将家电与外部网络相连接的情况的示图。 FIG. 14 is a diagram showing a case where a home appliance is connected to an external network via an electric appliance (communication adapter) 41 according to an embodiment of the present invention. the
在图中,电器(通信适配器)41的构成包括与Ethernet(注册商标) 等外部网络相连接的外部网络接口、内置非易失性存储器的微机和与家电46相连接的串行接口47。另外,在家电46中配置有用来与电器(通信适配器)41相连接的串行接口47。 In the figure, an electrical appliance (communication adapter) 41 includes an external network interface connected to an external network such as Ethernet (registered trademark), a microcomputer with a built-in non-volatile memory, and a serial interface 47 connected to a home appliance 46. In addition, a serial interface 47 for connecting to the electric appliance (communication adapter) 41 is arranged in the home appliance 46 . the
以这种构成为基础,电器(通信适配器)41依照来自外部网络接口的控制信号对与自身相连接的家电46进行操作,监视家电46的状态并将该信息通知与外部网络相连接的其他电器。 Based on this configuration, the electric appliance (communication adapter) 41 operates the home appliance 46 connected to itself according to the control signal from the external network interface, monitors the state of the home appliance 46, and notifies the information to other electric appliances connected to the external network. . the
图15为示出用来对内置于电器41的非易失性存储器的程序的写入动作进行说明的示图。在图中,与电器41的串行接口47相连接的是用来将程序写入到非易失性存储器中的ROM写入器42代替家电46。 FIG. 15 is a diagram for explaining a writing operation of a program built into the nonvolatile memory of the electronic device 41 . In the figure, connected to the serial interface 47 of the electric appliance 41 is a ROM writer 42 for writing a program in a nonvolatile memory instead of the home appliance 46 . the
另外,在电器(通信适配器)41中配置有写入控制端子CNVss44,在其被下拉到低电位电平“L”时,载置的微机切换到写入模式。 In addition, a writing control terminal CNVss44 is arranged in the electronic device (communication adapter) 41, and when it is pulled down to the low potential level "L", the mounted microcomputer switches to the writing mode. the
下面根据附图对非易失性存储器的程序写入予以说明。 The program writing to the non-volatile memory will be described below according to the accompanying drawings. the
电器41的写入控制端子CNVss44,通常电压被上拉到电压VCC。于是,此被上拉的写入控制端子CNVss44和接地端子(以下称其为“GND端子”)输出到串行接口。 The writing control terminal CNVss44 of the electric appliance 41 is normally pulled up to the voltage VCC. Then, this pulled-up write control terminal CNVss44 and a ground terminal (hereinafter referred to as "GND terminal") are output to the serial interface. the
另一方面,在ROM写入器42的串行接口47’与电器41和ROM写入器42相连接时,写入控制端子CNVss44和GND端子变成短路而形成短路电路45。 On the other hand, when the serial interface 47' of the ROM writer 42 is connected to the electric appliance 41 and the ROM writer 42, the write control terminal CNVss44 and the GND terminal are short-circuited to form a short circuit 45. the
所以,通过使电器41和ROM写入器42相连接可使写入控制端子CNVss44短路而变成低电位电平“L”,微机成为写入模式,经配置于串行接口47的TXT(Transmitted Data(传输数据)之略)端子及RXD(Received Data(接收数据)之略),可以对非易失性存储器写入新程序。 Therefore, by connecting the electrical appliance 41 and the ROM writer 42, the writing control terminal CNVss44 can be short-circuited to a low potential level "L", and the microcomputer enters the writing mode, and the TXT (Transmitted The Data (abbreviated for transmission data) terminal and RXD (abbreviated for Received Data) can write new programs to the non-volatile memory. the
另外,在本实施方式中,是对通过将写入控制端子CNVss44下拉到低电位电平“L”使微机成为写入模式的场合进行说明的,但也可以通过使写入控制端子CNVss44电压上拉到微机的工作电压(5V)及电路基板上的公共电源线(12V)等的规定电压使微机切换到写入模式也是一样。 In addition, in this embodiment, the case where the writing control terminal CNVss44 is pulled down to the low potential level "L" to make the microcomputer enter the writing mode is described, but it is also possible to set the voltage of the writing control terminal CNVss44 to The same applies to switching the microcomputer to the writing mode by applying a predetermined voltage such as the operating voltage (5V) of the microcomputer and the common power line (12V) on the circuit board. the
就是说,在这种情况下,如图16所示,写入控制端子CNVss44通常被接地。于是,在电器41一侧的串行接口47上与写入控制端子CNVss44一起配置有输出规定电压的端子。另一方面,在ROM写入器42一侧的串行接口47’上,在电器41和ROM写入器42相连接时,设置有使规定电压的端子和写入控制端子CNVss44短路的短路电路。采用这样的构成,与上述一样,利用ROM写入器42可以切换到写入模式。 That is, in this case, as shown in FIG. 16, the write control terminal CNVss44 is normally grounded. Then, a terminal outputting a predetermined voltage is arranged on the serial interface 47 on the electronic device 41 side together with the writing control terminal CNVss44. On the other hand, on the serial interface 47' on the side of the ROM writer 42, when the electrical appliance 41 and the ROM writer 42 are connected, a short-circuit circuit for short-circuiting a terminal of a predetermined voltage and the writing control terminal CNVss44 is provided. . With such a configuration, the ROM writer 42 can be used to switch to the write mode as described above. the
这样,内置本发明的非易失性存储器的电器41,是将写入控制端子CNVss44及输出用来对其进行切换的规定电压的电压端子配置于串行接口47而构成的。于是,在构成上,ROM写入器42的串行接口47’在与电器41相连接时,写入控制端子CNVss44与该电压端子短路。 In this way, the electronic device 41 incorporating the nonvolatile memory of the present invention is configured by arranging the write control terminal CNVss44 and a voltage terminal outputting a predetermined voltage for switching it on the serial interface 47 . Therefore, in terms of configuration, when the serial interface 47' of the ROM writer 42 is connected to the electric appliance 41, the write control terminal CNVss44 is short-circuited with the voltage terminal. the
结果,在使串行接口47和47’相连接时,与微机的规格(电压下拉、电压上拉)无关,一定切换到写入模式,转移到可以经由TXD端子及RXD端子写入新程序的状态。这样一来,就可以提供通用性高的ROM写入器42和电器及使用这些装置的写入方法。 As a result, when the serial interfaces 47 and 47' are connected, regardless of the specifications (voltage pull-down, voltage pull-up) of the microcomputer, it must be switched to the write mode, and a new program can be written via the TXD terminal and the RXD terminal. state. Thus, it is possible to provide a highly versatile ROM writer 42 and electrical appliances, and a writing method using these devices. the
另外,在本实施方式中,作为电器,取通信适配器为例进行说明,但并不限定于此。比如,电器是空调及微波炉等家电,为了在此家电中内置的微机的非易失性存储器中写入新程序,将配置于家电中的串行接口47与ROM写入器42相连接写入程序的场合也一样。 In addition, in this embodiment, a communication adapter is taken as an example of an electronic appliance and described, but it is not limited thereto. For example, the electrical appliances are home appliances such as air conditioners and microwave ovens. In order to write a new program in the nonvolatile memory of the microcomputer built in the home appliance, the serial interface 47 arranged in the home appliance is connected to the ROM writer 42 to write the program. The same applies to programs. the
另外,在本实施方式中,说明的是写入控制端子CNVss44为一个的情况,但是多个的情况也一样。可以对其分别使GND端子与写入控制端子短路的电路设置于ROM写入器42一侧。 In addition, in the present embodiment, the case where there is one writing control terminal CNVss44 is described, but the case where there are a plurality of them is also the same. A circuit capable of short-circuiting the GND terminal and the write control terminal is provided on the ROM writer 42 side. the
另外,在本实施方式中,说明的是设置写入控制端子CNVss44和GND端子直接短路的电路的情况,但只要电器41和ROM写入器42相连接时电器41的写入控制端子CNVss44与低电位电平“L”短路,当然任何一种构成都可以。 In addition, in this embodiment, the case where a circuit is provided in which the write control terminal CNVss44 and the GND terminal are directly short-circuited is described, but as long as the electric appliance 41 and the ROM writer 42 are connected, the write control terminal CNVss44 of the electric appliance 41 is connected to the low voltage. The potential level "L" is short-circuited, and of course any configuration is possible. the
在以下的实施方式中,叙述在连接时使写入控制端子CNVss44短路的各种情况。 In the following embodiments, various cases in which the writing control terminal CNVss44 is short-circuited at the time of connection will be described. the
实施方式13 Implementation Mode 13
在实施方式12中,经由短路电路45,将写入控制端子CNVss44与GND端子短路,将微机设定为写入模式,但也可以如图17所示,写入控制端子CNVss44与光电二极管48相连接,在ROM写入器42中载置LED49,将ROM写入器42与电器41的串行接口47相连接,在写入新程序时,使LED49点亮,使光电流流过光电二极管48,使写入控制端子CNVss44处于低电位电平“L”。 In Embodiment 12, the writing control terminal CNVss44 and the GND terminal are short-circuited via the short-circuit circuit 45, and the microcomputer is set to the writing mode. However, as shown in FIG. Connect, put LED49 in ROM writer 42, connect ROM writer 42 and serial interface 47 of electric appliance 41, when writing new program, make LED49 light up, make photocurrent flow through photodiode 48 , so that the writing control terminal CNVss44 is at the low potential level "L". the
另外,作为ROM写入器42和电器41的串行接口47的连接部分的结构,比如,如图18所示,在通常使用时,为了防止由于外光而导致进入写入模式,只要用遮蔽橡胶50等覆盖,在ROM写入器42写入时,通过利用ROM写入器42一侧的LED49将遮蔽橡胶推开而使LED49的光成为光电二极管48受光的结构即可。 In addition, as the structure of the connecting part of the ROM writer 42 and the serial interface 47 of the electric appliance 41, for example, as shown in FIG. Covered with rubber 50 etc., when the ROM writer 42 writes, the LED 49 on the side of the ROM writer 42 pushes away the masking rubber so that the light from the LED 49 becomes light received by the photodiode 48 . the
如上所述,本实施方式的电器,因为提供用来将微机切换为写入模式的低电位电平“L”,在光电二极管受光后变成低电位电平“L”的结构,与实施方式12一样,ROM写入器42只要具有LED等发光元件即可,无须使ROM写入器42根据电器41的微机的规格而改变,就可以提供通用性高的ROM写入器42和电器及使用这些装置的写入方法。 As described above, the electric appliance of this embodiment has a structure in which the low potential level "L" for switching the microcomputer to the writing mode is changed to the low potential level "L" after the photodiode receives light. 12, as long as the ROM writer 42 has light-emitting elements such as LEDs, it is not necessary to change the ROM writer 42 according to the specifications of the microcomputer of the electrical appliance 41, so that a highly versatile ROM writer 42 and electrical appliances can be provided. Write method for these devices. the
实施方式14 Implementation Mode 14
在实施方式13中,说明的是利用光电二极管48的光的耦合结构,但也可以如图19所示,作为受光元件采用光电晶体管51。是一种通过使LED49点亮,使光电流流入光电晶体管51代替光电二极管48而使写入控制端子CNVss44变成GND电平的结构。在这种情况下的效果与在实施方式12中说明的相同。 In Embodiment 13, a light coupling structure using the photodiode 48 was described, but as shown in FIG. 19 , a phototransistor 51 may be used as the light receiving element. It is a structure in which the writing control terminal CNVss44 is brought to the GND level by turning on the LED 49 to cause a photocurrent to flow into the phototransistor 51 instead of the photodiode 48 . The effects in this case are the same as those described in Embodiment 12. the
实施方式15 Implementation Mode 15
在实施方式12中,经由短路电路45,使写入控制端子CNVss44 短路,将写入控制端子CNVss44设定为写入模式的电压电平,但也可以如图20所示,在按入写入控制端子CNVss44时连接变为ON的机构开关52,使其从串行接口47露出,在ROM写入器42上设置可以将开关按下的凸部,在将ROM写入器42与主体部的串行接口相连接时,利用设置在ROM写入器42一侧的凸部可以使开关变成ON。此时的效果与在实施方式12中说明的相同,省略其说明。 In Embodiment 12, the write control terminal CNVss44 is short-circuited via the short-circuit circuit 45, and the write control terminal CNVss44 is set to the voltage level of the write mode. However, as shown in FIG. When the control terminal CNVss44 is connected to the mechanism switch 52 turned ON, it is exposed from the serial interface 47, and the ROM writer 42 is provided with a protrusion that can press the switch, and the ROM writer 42 is connected to the main body. When the serial interface is connected, the switch can be turned ON by using the protrusion provided on the ROM writer 42 side. The effect at this time is the same as that described in Embodiment 12, and its description is omitted. the
实施方式16 Implementation Mode 16
在实施方式12中,经由短路电路45,使写入控制端子CNVss44短路,将写入控制端子CNVss44设定为写入模式的电压电平,但也可以如图21所示,将继电器53的常开接点连接到写入控制端子CNVss44,将继电器的线圈控制线作为串行接口47一侧的端子输出,在将ROM写入器42与电器41的串行接口47相连接时,通过对此线圈控制线施加继电器动作的电压,控制继电器为ON,使写入控制端子CNVss44成为GND电平。 In Embodiment 12, the write control terminal CNVss44 is short-circuited via the short-circuit circuit 45 to set the write control terminal CNVss44 to the voltage level of the write mode, but as shown in FIG. The open contact is connected to the write control terminal CNVss44, and the coil control line of the relay is output as a terminal on the side of the serial interface 47. When the ROM writer 42 is connected to the serial interface 47 of the electrical appliance 41, the coil A voltage for the operation of the relay is applied to the control line, the control relay is turned ON, and the writing control terminal CNVss44 is brought to GND level. the
此时的效果与在实施方式12中说明的相同。 The effect at this time is the same as that described in Embodiment 12. the
实施方式17 Implementation Mode 17
在实施方式12中,经短路电路45,使写入控制端子CNVss44短路,将写入控制端子CNVss44设定为写入模式的电压电平,但也可以如图22所示,将在室温下为开放的热电先导开关55与写入控制端子CNVss44相连接,在ROM写入器42一侧设置加热器54,在将ROM写入器42与电器41的串行接口47相连接时,使加热器ON,利用连接时的加热器的热量,通过使热电先导开关55成为短路模式,使写入控制端子CNVss44与GND相接,将电器41的微机设定为写入模式。此时的效果与在实施方式12中说明的相同。 In Embodiment 12, the write control terminal CNVss44 is short-circuited via the short-circuit circuit 45, and the write control terminal CNVss44 is set to the voltage level of the write mode. However, as shown in FIG. The open thermoelectric pilot switch 55 is connected to the write control terminal CNVss44, and a heater 54 is provided on the ROM writer 42 side. When the ROM writer 42 is connected to the serial interface 47 of the electrical appliance 41, the heater ON, using the heat of the heater at the time of connection, by setting the thermoelectric pilot switch 55 in the short-circuit mode and connecting the writing control terminal CNVss44 to GND, the microcomputer of the electric appliance 41 is set in the writing mode. The effect at this time is the same as that described in Embodiment 12. the
实施方式18 Implementation Mode 18
在实施方式17中,利用热电先导开关55,如图23所示,是对 写入控制端子CNVss44进行控制,但也可以利用磁性先导开关56进行控制。在ROM写入器42一侧,设置永久磁铁或电磁铁57,在使ROM写入器42与电器41的串行接口47相连接时,利用永久磁铁57,通过成为短路模式,将电器41的微机设定为写入模式。 In Embodiment 17, the write control terminal CNVss44 is controlled using the thermoelectric pilot switch 55 as shown in FIG. On the side of the ROM writer 42, a permanent magnet or an electromagnet 57 is provided. When the ROM writer 42 is connected to the serial interface 47 of the electrical appliance 41, the permanent magnet 57 is used to make the electrical appliance 41 in a short-circuit mode. The microcomputer is set to write mode. the
另外,ROM写入器42一侧,在不是永久磁铁而是电磁铁的情况下,在使ROM写入器42与电器41的串行接口47相连接时,通过使线圈通电,产生磁力而使磁性先导开关短路。此时的效果与在实施方式12中说明的相同。 In addition, when the ROM writer 42 side is not a permanent magnet but an electromagnet, when the ROM writer 42 is connected to the serial interface 47 of the electrical appliance 41, the coil is energized to generate magnetic force and Magnetic pilot switch shorted. The effect at this time is the same as that described in Embodiment 12. the
实施方式19 Implementation Mode 19
在实施方式12~18中对直接短路的方法进行了说明,而在本实施方式中是对在从ROM写入器42向TXD端子发送的数据信号上叠加使写入控制端子CNVss44对GND电平短路的控制信号,在电器41内通过将此控制信号分离和提取而进行短路的方法进行说明。 In the twelfth to eighteenth embodiments, the direct short-circuit method was described, but in this embodiment, the write control terminal CNVss44 is superimposed on the data signal sent from the ROM writer 42 to the TXD terminal to make the GND level The short-circuit control signal will be described by separating and extracting the control signal in the electric device 41 to perform short-circuit. the
首先对本实施方式的ROM写入器42的构成和机能予以说明。 First, the configuration and function of the ROM writer 42 of this embodiment will be described. the
图24为用来说明ROM写入器42的信号生成的示图。 FIG. 24 is a diagram for explaining signal generation of the ROM writer 42 . the
在图中,基于比向TXD端子发送的数据的传输速度充分大的速度的时钟源从计数电路生成信号61(比如,与向TXD端子发送的数据的传输速度为1位/104μs相对,时钟源的速度为1位/1μs等)。于是,信号61和发送到TXD端子的数据信号输入到AND电路,生成两个信号的逻辑积(AND信号)。 In the figure, the signal 61 is generated from the counting circuit based on a clock source that is sufficiently faster than the transmission speed of the data sent to the TXD terminal (for example, the clock source The speed is 1 bit/1μs, etc.). Then, the signal 61 and the data signal sent to the TXD terminal are input to the AND circuit, and a logical product (AND signal) of the two signals is generated. the
下面对本实施方式的电器41的构成和机能予以说明。 Next, the configuration and functions of the electric appliance 41 of this embodiment will be described. the
图25为用来说明添加到电器41的构成要素及其机能(将从ROM写入器42发送来的信号分离为数据信号和控制信号,使写入控制端子CNVss44短路)的示图。 25 is a diagram for explaining components added to the electric appliance 41 and their functions (separation of the signal sent from the ROM writer 42 into a data signal and a control signal, and short-circuiting of the writing control terminal CNVss44). the
与图14相比,在电器41上新添加了低通滤波器(以下称其为“LPF”)和带有允许(ENA)的D触发器(以下称其为“DFF”)。 Compared with FIG. 14 , a low-pass filter (hereinafter referred to as "LPF") and a D flip-flop with enable (ENA) (hereinafter referred to as "DFF") are newly added to the electric device 41 . the
下面沿着信号流对动作予以说明。 The following describes the operation along the signal flow. the
如上所述,利用ROM写入器42生成的AND信号(信号58)分 为两个信号,一个输入到LPF。输入到LPF的信号58,在此处将作为高频分量的宽度小的脉冲等去掉。其结果,从LPF输出的信号,如信号59所示,恢复到输入AND电路之前的原来的信号,尽管在上升沿(脉冲前沿)和下降沿(脉冲后沿)稍微变圆。于是,此信号59输入到TXD端子。
As described above, the AND signal (signal 58) generated by the ROM writer 42 is divided into two signals, one of which is input to the LPF. In the
另一方面,在通过LPF的分支信号,再分支,分别输入到DFF的ENA(ENABLE之略)端子和数据输入端子(D端子)。并且,在通过LPF之前分支的信号,原封不动地输入到CLK端子。 On the other hand, the branch signal passing through the LPF is branched again, and input to the ENA (abbreviated as ENABLE) terminal and the data input terminal (D terminal) of the DFF respectively. Also, the signal branched before passing through the LPF is input to the CLK terminal as it is. the
此处,在DFF中,ENA端子的输入是在高电位电平“H”,捕捉从CLK端子输入的波形的第一个上升沿锁定D端子的输入。就是说,此时输入到D端子的高电位电平“H”原封不动地作为输出端子(Q端子:未图示)的输出而输出。所以,从反相输出端子(Qn端子)的输出,如信号60所示,使此高电位电平“H”反相变成为低电位电平“L”。这一点意味着捕捉到从CLK端子输入的波形的第一个上升沿后Qn端子的输出从高电位电平“H”切换为低电位电平“L”,而当写入控制端子CNVss44与Qn端子相连接时,可切换为写入模式。
Here, in the DFF, the input of the ENA terminal is at a high potential level "H", and the first rising edge of the waveform input from the CLK terminal is captured to lock the input of the D terminal. That is, the high potential level "H" input to the D terminal at this time is output as the output of the output terminal (Q terminal: not shown) as it is. Therefore, the output from the inverting output terminal (Qn terminal) is inverted from the high potential level "H" to the low potential level "L" as indicated by the
于是,一当发生变化,由于一直到复位为止,DFF的反相输出(从Qn端子的输出)一直为低电位电平“L”,在写入结束后,使DFF复位。 Then, when a change occurs, since the inverted output of the DFF (output from the Qn terminal) remains at a low potential level "L" until reset, the DFF is reset after writing is completed. the
这样一来,结构上也可以是利用触发器,使写入控制端子CNVss44短路成为接地电平(低电位电平“L”),将电器41的微机设定为写入模式。 In this way, structurally, a flip-flop may be used to short-circuit the write control terminal CNVss44 to ground level (low potential level "L"), and set the microcomputer of the electric device 41 to the write mode. the
另外,作为生成输入到图25的A端子的波形的另一个方法,如图26所示,在从ROM写入器42的写入起始时的开始,串行接口的传输速度设定为115Kbps,在“起始位+8位DATA”的UART(Universal Asynchronous Receiver/Transmitter之略)输出格式的构成中,全部DATA设定为“1”仅使第一次的起始位可检测到,生成第一次数据的一部分,在其以后,将程序写入用的数据,通过将串行接口的传输速度切换为9.6Kbps进行通信,也可以生成向如上所述的那样的电器41发送的来自ROM写入器42的数据。在这种情况下, 使用起始位的第一个上升沿来锁定D端子。另外,传输速度的比率(115Kbps∶9.6Kbps)可按照LPF的性能适当改变。 In addition, as another method of generating the waveform input to the A terminal of FIG. 25, as shown in FIG. 26, at the beginning of writing from the ROM writer 42, the transmission speed of the serial interface is set to 115Kbps , in the composition of the UART (Universal Asynchronous Receiver/Transmitter) output format of "start bit + 8-bit DATA", all DATA is set to "1" so that only the first start bit can be detected, generating A part of the data for the first time, after that, the data for program writing, by switching the transmission speed of the serial interface to 9.6Kbps for communication, it is also possible to generate the data from the ROM that is sent to the electrical appliance 41 as described above. Writer 42 data. In this case, use the first rising edge of the start bit to lock the D terminal. In addition, the ratio of transmission speed (115Kbps:9.6Kbps) can be appropriately changed according to the performance of the LPF. the
因为采用如上所述的构成,与实施方式12一样,是在从电器41得到用来将微机切换为写入模式的低电位电平“L”的同时,从ROM写入器42的数据信号分离提取使由触发器电路DFF构成的短路电路动作的控制信号,无须使ROM写入器42根据电器41的微机的规格而改变,可以提供通用性高的ROM写入器42和电器及使用这些装置的写入方法。 Because of the above-mentioned configuration, as in the twelfth embodiment, the data signal from the ROM writer 42 is separated from the electric device 41 while obtaining the low potential level "L" for switching the microcomputer to the write mode. By extracting the control signal for operating the short-circuit circuit constituted by the flip-flop circuit DFF, it is not necessary to change the ROM writer 42 according to the specifications of the microcomputer of the electric appliance 41, and it is possible to provide a highly versatile ROM writer 42 and electric appliances and to use these devices. the writing method. the
涉及本发明的通信适配器装置,由于机器通信管理设备具有对设置于机器中的机器对象的管理功能,可减轻由机器具有的微机等的控制设备实现的处理功能,可以通过不增加微机资源的负担通过附加通信适配器装置而得到可以从网络遥控操作的机器。另外,机器通信管理设备,由于与通信控制设备的连接设备是以规定的格式及手续规定的,比如,即使是在发生通信协议改变的场合,依照规定的接口,通过生成通信控制单元也可以获得易于得到可以改变协议的、通用性高的通信适配器装置的效果。此外,由于在通信适配器装置中设置有电源管理设备,削减与管理状态相应的内部功耗,比如,在传感器等必须由电池驱动的设备及由机器供电的场合等,可以在有电源限制的情况下在限制内确保运行,所以可以得到能够获得抑制机器的电源成本增加及延长电池寿命等的效果的通信适配器装置。 According to the communication adapter device of the present invention, since the machine communication management device has the management function of the machine object installed in the machine, the processing function realized by the control device such as a microcomputer possessed by the machine can be reduced, and the burden on the resources of the microcomputer can be reduced. A machine that can be remotely operated from the network is obtained by adding a communication adapter device. In addition, since the machine communication management device is connected with the communication control device in a prescribed format and procedure, for example, even if the communication protocol changes, it can be obtained by creating a communication control unit according to the prescribed interface. It is easy to obtain the effect of a highly versatile communication adapter device capable of changing protocols. In addition, since the power management device is installed in the communication adapter device, the internal power consumption corresponding to the management status is reduced. Since the operation is ensured within the limit, it is possible to obtain a communication adapter device that can obtain effects such as suppressing an increase in the power supply cost of the device and prolonging the battery life. the
另外,因为在通信适配器中,在通信适配器的输入输出接口和家电的输入输出接口相连接之际,通信适配器的CPU根据经由输入输出接口的特定端子来自家电供给的电源电压信息,设定控制存放于存储装置中的接口硬件的驱动软件,所以可以不使用条形码及条形码阅读器自动设定属性信息。 In addition, because in the communication adapter, when the input/output interface of the communication adapter is connected to the input/output interface of the home appliance, the CPU of the communication adapter sets and controls the storage according to the power supply voltage information supplied from the home appliance via the specific terminal of the input/output interface. The driver software of the interface hardware in the storage device, so the attribute information can be automatically set without using the barcode and the barcode reader. the
另外,在把写入控制端子的电压下拉到或上拉到规定电压时,内置数据可改写的非易失性存储器的电器和进行对此非易失性存储器的数据写入的方法中,因为结构上在电器具有生成规定电压的生成电路的同时,ROM写入器具有将生成电路产生的规定电压与写入控制 端子相连接的设备,无须使ROM写入器一侧根据电器的微机的规格而改变,可以提供通用性高的ROM写入器和电器及使用这些装置的写入方法。 In addition, when the voltage of the writing control terminal is pulled down or pulled up to a predetermined voltage, in an electric appliance with built-in data rewritable nonvolatile memory and a method of writing data to this nonvolatile memory, because Structurally, while the electric appliance has a generating circuit that generates a predetermined voltage, the ROM writer has a device that connects the predetermined voltage generated by the generating circuit to the write control terminal, and it is not necessary to make the ROM writer side conform to the specifications of the microcomputer of the electric appliance. However, it is possible to provide highly versatile ROM writers, electrical appliances, and writing methods using these devices. the
Claims (9)
Applications Claiming Priority (7)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002289469 | 2002-10-02 | ||
| JP289469/2002 | 2002-10-02 | ||
| JP2002290868 | 2002-10-03 | ||
| JP290868/2002 | 2002-10-03 | ||
| JP64423/2003 | 2003-03-11 | ||
| JP2003064423 | 2003-03-11 | ||
| PCT/JP2003/012600 WO2004032425A1 (en) | 2002-10-02 | 2003-10-01 | Communication adapter device, communication adapter, method for write in nonvolatile memory, electric apparatus used for the same, and rom writer |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2007101482891A Division CN101123560B (en) | 2002-10-02 | 2003-10-01 | communication adapter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1708953A CN1708953A (en) | 2005-12-14 |
| CN1708953B true CN1708953B (en) | 2012-05-23 |
Family
ID=35581906
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2007101482891A Expired - Fee Related CN101123560B (en) | 2002-10-02 | 2003-10-01 | communication adapter |
| CN2003801022493A Expired - Fee Related CN1708953B (en) | 2002-10-02 | 2003-10-01 | Communication adapter device |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2007101482891A Expired - Fee Related CN101123560B (en) | 2002-10-02 | 2003-10-01 | communication adapter |
Country Status (1)
| Country | Link |
|---|---|
| CN (2) | CN101123560B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5815041B2 (en) * | 2011-10-21 | 2015-11-17 | 三菱電機株式会社 | Home appliance and communication control method |
| JP7247793B2 (en) * | 2019-07-08 | 2023-03-29 | オムロン株式会社 | signal processor |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| MY126873A (en) * | 2000-01-07 | 2006-10-31 | Vasu Tech Ltd | Configurable electronic controller for appliances |
| CN1176535C (en) * | 2001-12-30 | 2004-11-17 | 北京长信嘉信息技术有限公司 | Digital household appliance network system |
-
2003
- 2003-10-01 CN CN2007101482891A patent/CN101123560B/en not_active Expired - Fee Related
- 2003-10-01 CN CN2003801022493A patent/CN1708953B/en not_active Expired - Fee Related
Non-Patent Citations (1)
| Title |
|---|
| JP特开平9-18974A 1997.01.17 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101123560B (en) | 2011-05-18 |
| CN101123560A (en) | 2008-02-13 |
| CN1708953A (en) | 2005-12-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8230083B2 (en) | Communication adapter apparatus, communication adapter, method of writing data in nonvolatile memory, and electric apparatus and ROM writer used for the method | |
| US20060050465A1 (en) | Uninterruptible power supply apparatus controllable by monitoring apparatus via network | |
| US8213297B2 (en) | Duplicate internet protocol address resolution in a fragmented switch stack environment | |
| US11372796B2 (en) | Bus subscriber and method for operating a bus subscriber | |
| CN100419699C (en) | Method and device remotely automatic recovering CMOS date with network | |
| CN1708953B (en) | Communication adapter device | |
| CN112526898B (en) | Serial port line plug detection circuit and embedded equipment | |
| CN102419625A (en) | Heat dissipation system and fan control device | |
| CN114590041B (en) | Chip, device and data transmission method | |
| CN112578890B (en) | Server device capable of remotely controlling node power supply | |
| HK1082350B (en) | Communication adapter device | |
| CN110059513A (en) | A kind of RFID reader system based on PROFINET network | |
| HK1114972B (en) | Communication adapter | |
| CN222380105U (en) | Electronic equipment and control system | |
| CN215300646U (en) | Bypass control device | |
| CN115277485B (en) | Control method and device for network data and electronic equipment | |
| JP2004094821A (en) | Recording device | |
| CN108984447A (en) | The control method and electronic equipment of a kind of electronic equipment | |
| CN116231835A (en) | Dual-power supply control device and method | |
| JPH1153058A (en) | Interface device between devices | |
| CN105739455A (en) | Data communication method between power device control system and calculating device | |
| CN108965314A (en) | Network communication device based on Feiteng processor | |
| CN107885687A (en) | A kind of interface for being used to for FRU modules to be connected to I2C buses | |
| JP2000069069A (en) | Connection processing system and connection processing method | |
| CN108108282A (en) | Information processing method and device and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1082350 Country of ref document: HK |
|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1082350 Country of ref document: HK |
|
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120523 Termination date: 20201001 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |