WO2020192304A1 - 支持工作参数nfc传输的时间继电器及对应*** - Google Patents

支持工作参数nfc传输的时间继电器及对应*** Download PDF

Info

Publication number
WO2020192304A1
WO2020192304A1 PCT/CN2020/075506 CN2020075506W WO2020192304A1 WO 2020192304 A1 WO2020192304 A1 WO 2020192304A1 CN 2020075506 W CN2020075506 W CN 2020075506W WO 2020192304 A1 WO2020192304 A1 WO 2020192304A1
Authority
WO
WIPO (PCT)
Prior art keywords
relay
read
interface
near field
field communication
Prior art date
Application number
PCT/CN2020/075506
Other languages
English (en)
French (fr)
Inventor
吴英剑
朱丽霞
刘肖峰
吴小莉
Original Assignee
菲尼克斯亚太电气(南京)有限公司
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 菲尼克斯亚太电气(南京)有限公司 filed Critical 菲尼克斯亚太电气(南京)有限公司
Publication of WO2020192304A1 publication Critical patent/WO2020192304A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors

Definitions

  • the present invention belongs to the technical field of industrial control. Specifically, the present invention relates to a time relay and a corresponding system supporting NFC transmission of operating parameters.
  • Time relays are widely used in industrial control systems to realize the timing optimization configuration of industrial control systems.
  • electronic time relays using integrated circuit technology have become mainstream products. Not only can a variety of working modes be set, but also time parameters can be set more accurately.
  • the parameter setting methods of electronic time relays can be divided into two categories:
  • the first category is composed of a wheel dial (or a set of dial switches) with numbers, letters or graphics.
  • the disadvantage of this type of product is The time setting accuracy is relatively poor, and the functions that can be set are limited;
  • the second type is composed of a button module and a display module, which can provide a larger number of different types of function mode selection and higher time setting accuracy.
  • the second type of product has provided certain human-computer interaction measures, the input and output methods of the time relay are not rich enough due to the space limitations and cost constraints of the product, so people need to spend more time to complete the process of setting parameters.
  • the present invention proposes a time relay and corresponding system that supports NFC transmission of working parameters, so that mobile devices equipped with NFC function and time relays equipped with NFC function can perform Transmission of working parameters.
  • a relay including: a relay control circuit for realizing a switching function based on the working parameters of the relay; and a near field communication module, which is coupled with the relay control circuit and can communicate with an external NFC Read-write device communication, wherein the near-field communication module further includes a parameter storage unit, the parameter storage unit is used to store relay operating parameters, and the stored relay operating parameters can be read and written to and accessed by the external NFC read-write device, And can be read and written by the relay control circuit, wherein the relay control circuit and the external NFC read-write device analysis based on adopting the same or compatible data packaging structure, exchange with the near field communication module includes Message packet of relay working parameters.
  • the near field communication module can write the message packet into the parameter storage unit in response to receiving a message packet from the external NFC read-write device.
  • the relay further includes an HMI panel having a key module and a display module, and the relay control circuit can write the relay operating parameters set through the HMI panel into the parameter storage unit.
  • the relay control circuit can write the relay operating parameters set through the HMI panel into the parameter storage unit in the following manner: calculate the verification code as part of the relay operating parameters; The relay operating parameters of the code are encapsulated into a message packet; the message packet is written into the parameter memory; the relay operating parameters are read and analyzed from the parameter memory; based on the verification code, the read relay operating parameters are verified is it right or not.
  • the near field communication module includes a first interface for wireless communication with the external NFC read-write device, and includes a second interface for communication with the relay control circuit, and the second interface
  • the communication protocol of the interface is different from the first interface.
  • the first interface is an RF interface
  • the second interface is an I 2 C interface
  • the parameter storage unit of the near field communication module can be read and written by an external NFC device when the relay is off.
  • the relay control circuit is based on a microcontroller or a general-purpose CPU.
  • the parameter storage unit in the near field communication module is an EEPROM.
  • the near field communication module includes an NFC chip, and the parameter storage unit is located in the NFC chip.
  • the relay operating parameters stored in the parameter storage unit are encapsulated as an NDEF message
  • the NDEF message encapsulation structure includes: a protected data area that cannot be rewritten by the NFC read-write device, and a protected data area that can pass through the Modifiable data area rewritten by NFC read-write device.
  • the protected data area cannot be modified through the HMI panel of the relay, and the modifiable data area can be modified through the human-machine interface interface HMI panel of the relay.
  • the relay control circuit accesses the parameter storage unit and loads the relay operating parameters obtained during the startup phase of the relay.
  • the above-mentioned relay may be a time relay, and the above-mentioned relay control circuit may be a time relay control circuit.
  • a relay parameter transmission system including: the above-mentioned relay; an external NFC reading and writing device, an external NFC reading and writing device, which can exchange with the near field communication module of the relay including the relay Message packet of working parameters.
  • the relay can be read and written to and accessed by the external NFC read-write device in the shutdown state.
  • the present invention incorporates an NFC-based operating parameter update and access mechanism in the time relay, and enables the NFC-based operating parameter transmission and the traditional HMI interface-based operating parameter setting to be compatible and interact with each other in the data packaging format, enriching
  • the working parameter access and update mechanism of the time relay facilitates the user's operation of the time relay.
  • Fig. 1A is a schematic diagram of a time relay that can adopt the technical scheme of the present invention.
  • Fig. 1B is an exploded view of the time relay shown in Fig. 1A.
  • Fig. 2 shows a time relay parameter transmission system according to an embodiment of the present invention.
  • Fig. 3 shows a specific implementation example of the time relay parameter transmission system of Fig. 2.
  • FIG. 4 shows an example flow of reading parameters from the near field communication module by the NFC reader device according to an embodiment of the present invention.
  • FIG. 5 shows an example flow of writing parameters to the near field communication module by the NFC reader/writer device according to an embodiment of the present invention.
  • Fig. 6 shows an example flow of the time relay control circuit reading parameters through the I 2 C interface according to an embodiment of the present invention.
  • Fig. 7 shows an example flow of the time relay control circuit writing parameters through the I 2 C interface according to an embodiment of the present invention.
  • Fig. 8 shows an example of the EEPROM package structure.
  • FIG. 1A is a schematic diagram of a time relay 10 that can adopt the technical solution of the present invention.
  • FIG. 1B is an exploded view of the time relay 10 shown in FIG. 1A.
  • this time relay 10 includes a left housing 2 and a right housing 3, a circuit board 4 placed in the housing, and a guide rail for mounting the housing on a guide rail (for example, a DIN rail) Component 5.
  • this time relay 10 may also include an HMI (Human Machine Interface) panel assembly 1, and the HMI panel assembly 1 may include a button module and a display module.
  • HMI Human Machine Interface
  • Fig. 2 shows a time relay parameter transmission system according to an embodiment of the present invention. Similar to traditional time relay products, the system in Figure 2 includes a time relay control circuit, for example, a microcontroller-based time relay control circuit 230; as an alternative, a general-purpose processor-based time relay control circuit can also be used .
  • the system of FIG. 2 also includes an NFC reader 210 and a near field communication module 220.
  • the NFC reader 210 and the near field communication module 220 can communicate with each other through an interface (for example, an RF interface), and the near field communication module 220 and the microcontroller 230 can communicate through another interface (for example, I 2 C interface) to achieve communication.
  • an interface for example, an RF interface
  • I 2 C interface for example, I 2 C interface
  • the near field communication module 220 can be arranged in the HMI panel assembly 1 of the time relay shown in FIG. 1B, and the microcontroller 230 is arranged in the circuit board 4.
  • Figure 3 shows a specific implementation example of this typical implementation.
  • the NFC reading and writing device 210 may be a mobile device or an NFC connected device.
  • the near field communication module 220 in the HMI panel assembly may include an NFC chip required to realize the NFC function.
  • the NFC chip may further include an interface circuit and a control circuit.
  • the NFC chip may include a parameter storage unit, or be coupled with a parameter storage unit in the near field communication module 220 in a suitable manner.
  • Figure 3 further shows the antenna structure (RF induction coil) required to implement the NFC function.
  • Both the RF interface and the I 2 C interface can read and write the parameter storage unit in the near field communication module 220 inside the time relay (for example , EEPROM);
  • the NFC read-write device 210 and the microcontroller 230 can agree on a common storage area in the parameter storage unit and follow the same parameter storage specifications, thereby realizing parameter transmission in the near field communication mode the whole process.
  • the data in the data block will be persistently stored in the EEPROM.
  • the data block can be loaded and parsed during the startup phase of the time relay to obtain the operation of the time relay The required parameters.
  • the NFC reading and writing device 210 can usually be a mobile device with NFC function or an NFC card reader with a communication interface such as USB or RS232. Its function is to transfer working energy and data to the near field communication module 220 in the time relay 10 .
  • the working process of the NFC reading and writing device 210 is to place the RF transmitting coil of the NFC reading and writing device close to the RF induction coil of the near field communication module 220 in the time relay 10, and the NFC reading and writing device 210 will feed the time relay 10 in the form of an electromagnetic field.
  • the near field communication module 220 transmits power energy and performs data communication.
  • An exemplary implementation of the RF induction coil may be: a spiral coil with a certain number of turns is drawn on an FPC (flexible circuit board) with a certain trace width, and both ends of the spiral coil are connected to the antenna pins of the NFC chip. Its function is to obtain the working energy and data of the NFC chip through the electromagnetic field generated by the NFC reading and writing device 210.
  • a certain capacity of non-volatile storage space can be set in the NFC chip of the near field communication module 220 as a parameter storage unit. Its function is to store various parameters required for the operation of the time relay, and communicate between the RF interface and the I 2 C interface. Play a role as a bridge.
  • the content of the parameter storage unit can be read and written by both the NFC reading and writing device 210 and the microcontroller 230. When the time relay is turned on, the content will be read and analyzed by the microcontroller 230.
  • the message format of the near field communication can follow the NDEF specification, and the information structure is shown in FIG. 8.
  • the parameter storage unit in the near field communication module 220 can be placed outside the NFC chip.
  • the microcontroller 230 can realize the functions of trigger signal collection and relay control.
  • the microcontroller 230 can be connected to the NFC chip through the I 2 C bus, and can read and write data in the memory according to the read and write protocol defined by the NFC chip.
  • the method for parameter transmission using near field communication may include two parts: 1) parameter transmission of the RF interface; 2) parameter transmission of the I 2 C interface.
  • 1.1NFC read-write device reads parameters from RF interface
  • the NFC reader device 210 when the NFC reader device 210 is close to the RF coil, the NFC reader device 210 first initiates a communication request, and then the near field communication module 220 in the time relay 10 will switch the IDLE state to the ACTIVE state, and then the NFC read and write The device 210 initiates a READ operation, and then the NFC read-write device 210 will get the NDEF message packet. By parsing the NDEF message packet, the NFC reading and writing device 210 can obtain various parameters of the time relay.
  • the EEPROM information in the near field communication module 220 can be arranged according to the NDEF format, and the NDEF message packet encapsulates the parameters of the time relay 10, this method can realize the transmission of the parameters from the time relay 10 to the NFC read-write device 210 process.
  • 1.2NFC read-write device writes parameters to the RF interface
  • the NFC reader device 210 when the NFC reader device 210 is close to the RF coil, the NFC reader device 210 first initiates a communication request, and then the near field communication module 220 in the time relay 10 will switch from the IDLE state to the ACTIVE state, and then the NFC read
  • the writing device 210 initiates a WRITE operation, and then the NFC reading and writing device 210 encapsulates various parameters of the time relay 10 into NDEF format messages and writes them into the near field communication module 220.
  • a data verification process is required.
  • the NFC read-write device 210 needs to read the parameters in the time relay again and verify it with the previously written data. The verification result is correct and it is completed. The process of writing parameters to the RF interface, otherwise it is necessary to restart a round of writing parameters.
  • the time relay control circuit reads parameters from the I 2 C interface
  • the time relay 10 if the time relay 10 wants to obtain the parameters written from the RF interface, it needs to perform data communication through the I 2 C interface.
  • the microcontroller When the time relay 10 is turned on, the microcontroller will read the data from the EEPROM to the memory variable, and then perform a complete data verification. If the parameters are correct, load it into the running program of the time relay, otherwise it will prompt the user whether to restore the default settings. Thereby, the parameters of the time relay 10 are restored to the preset settings.
  • various parameters can be set from the HMI panel of the time relay.
  • the internal program of the micro-control will calculate the check code as part of the parameters, and encapsulate it into an NDEF message, and then write it The EEPROM memory of the field communication module.
  • the microcontroller After writing, the microcontroller will read the parameters again to verify whether the data is correct. If the verification is correct, the parameter writing process is completed, and then the NFC read and write device can be used to obtain the modified Parameters, otherwise, the parameter writing process will be executed again.
  • NFC read-write devices and microcontrollers need to comply with a common data packaging structure in order to transmit parameters to each other.
  • Several NDEF messages are defined in EEPROM, and each NDEF message contains an NDEF message header and a data payload area.
  • Fig. 8 shows an example of the EEPROM package structure.
  • the parameters of the time relay 10 can be divided into two types: a protected data area and a modifiable data area.
  • the protected data area stores information related to time relay products, such as manufacturer information VENDOR_ID, product family identification number FAMILY_ID, configuration version CFG_VERSION, software/hardware version HW/SW_VERSION, product serial number SERIAL_NUMBER, product description DEVICE_NAME and other information, usually This information is written by the manufacturing process and will not be rewritten during the use of the time relay.
  • the modifiable data area is used to store information such as the type FUNC, time unit UNIT, time value VALUE, and password PASSWORD of the time relay 10. Generally, these information can be modified by the NFC read-write device or the HMI panel of the time relay. Modifiable data area is a bridge for the transmission of time relay parameters.
  • the parameter transmission scheme based on the near field communication of the time relay is given in an exemplary manner above.
  • the user can modify the parameters of the time relay in a flexible manner and obtain the operating state of the time relay.
  • the user's direct operation is the operation of the NFC reading and writing device, without the need to operate the relay as in the traditional way, which makes the industrial control solution based on this time relay more convenient and easy to use, and has sufficient customization.
  • the advantage of using near field communication technology on the time relay also includes the ability to transfer and update parameters normally even when the time relay has no power input.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种支持工作参数的NFC传输的时间继电器(10)及对应***。继电器(10)包括:继电控制电路(230),用于基于继电器(10)工作参数实现开关功能;以及近场通讯模块(220),其与继电控制电路(230)耦合,并能够和外部NFC读写设备(210)通信;近场通讯模块(220)还包括参数存储单元,用于存储继电器(10)工作参数,所存储的继电器(10)工作参数能够由外部NFC读写设备(210)读写访问,并且能够由继电控制电路(230)读写访问;继电控制电路(230)和外部NFC读写设备(210)解析能够基于相同或相兼容的数据封装结构,同近场通讯模块(220)交换包含继电器(10)工作参数的消息包。继电器(10)可以是时间继电器(10)。

Description

支持工作参数NFC传输的时间继电器及对应*** 技术领域
本发明属于工业控制技术领域,具体来说,本发明涉及一种支持工作参数NFC传输的时间继电器及对应***。
背景技术
时间继电器在工业控制***中被广泛应用,用于实现工业控制***的时序优化配置。目前采用集成电路技术的电子式时间继电器已成为主流产品,不但可以设定多种工作模式,而且可比较精确地设定时间参数。
通常电子式时间继电器的参数设定方式可以分为两类:第一类是由带有数字、字母或者图形的滚轮拨盘(或者一组拨码开关)构成,此类产品的不足之处在于时间设定精度比较差,可设定的功能有限;第二类由按键模块和显示模块构成,可以提供较多数量不同类型的功能模式选择和较高的时间设定精度。虽然第二类产品已经提供了一定的人机交互措施,但由于产品的空间限制和成本约束使得时间继电器的输入输出手段不够丰富,因此人们需要花费较多的时间才能完成设定参数的过程。
需要一种更加有效的时间继电器参数传输***及实现方法,用以解决目前时间继电器设定精度较差、设定功能有限和人机交互方式不够丰富等问题。
发明内容
为了克服目前时间继电器设定参数过程中存在的问题,本发明提出一种支持工作参数的NFC传输的时间继电器及对应***,使得配有NFC功能的移动设备和配有NFC功能的时间继电器能够进行工作参数传输。
根据本发明,上述目的将通过以下技术方案得以实现:
根据本发明的一个方面,提出一种继电器,包括:继电控制电路,用于基于继电器工作参数实现开关功能;以及近场通讯模块,其与所述继电控制电路耦合,并能够和外部NFC读写设备通信,其中,所述近场通讯模块还包括参数 存储单元,所述参数存储单元用于存储继电器工作参数,所存储的继电器工作参数能够由所述外部NFC读写设备读写访问,并且能够由所述继电控制电路读写访问,其中,所述继电控制电路和所述外部NFC读写设备解析基于采取相同或相兼容的数据封装结构,同所述近场通讯模块交换包含继电器工作参数的消息包。
上述的继电器中,所述近场通讯模块能够响应于接收到来自所述外部NFC读写设备的消息包,将所述消息包写入所述参数存储单元。
上述的继电器中,所述继电器还包括具有按键模块和显示模块的HMI面板,所述继电控制电路能够将通过所述HMI面板设定的继电器工作参数写入所述参数存储单元。
上述的继电器中,所述继电控制电路能够通过以下方式将通过所述HMI面板设定的继电器工作参数写入所述参数存储单元:计算校验码作为继电器工作参数的一部分;将包含校验码的继电器工作参数封装为消息包;将所述消息包写入所述参数存储器;从所述参数存储器读取并解析继电器工作参数;基于所述校验码,校验读出的继电器工作参数是否正确。
上述的继电器中,所述近场通讯模块包括用于和所述外部NFC读写设备无线通信的第一接口,并且包括用于和所述继电控制电路通信的第二接口,所述第二接口的通信协议不同于所述第一接口。
上述的继电器中,所述第一接口是RF接口,所述第二接口是I 2C接口。
上述的继电器中,所述近场通信模块的参数存储单元能够在继电器关机状态被外部NFC设备读写访问。
上述的继电器中,所述继电控制电路是基于微控制器,或基于通用CPU的。
上述的继电器中,所述近场通信模块中的所述参数存储单元是EEPROM。
上述的继电器中,所述近场通讯模块包括NFC芯片,所述参数存储单元位于所述NFC芯片内。
上述的继电器中,存储在所述参数存储单元中的继电器工作参数封装为NDEF消息,所述NDEF消息封装结构包括:不可通过所述NFC读写设备改写的受保护数据区域,和能够通过所述NFC读写设备改写的可修改数据区域。
上述的继电器中,所述受保护数据区域不可通过所述继电器的HMI面板来修改,所述可修改数据区域能够通过所述继电器的人机界面接口HMI面板来修改。
上述的继电器中,所述继电控制电路在继电器开机启动阶段访问所述参数存储单元并加载访问得到的继电器工作参数。
上述的继电器可以是时间继电器,上述的继电控制电路可以是时间继电控制电路。
根据本发明的另一个方面,提出一种继电器参数传输***,包括:上述的继电器;外部NFC读写设备,外部NFC读写设备,其能够同所述继电器的所述近场通讯模块交换包含继电器工作参数的消息包。
上述的继电器参数传输***中,所述继电器能够在关机状态被所述外部NFC读写设备读写访问。
本发明通过在时间继电器中纳入基于NFC的工作参数更新和访问机制,并使得基于NFC的工作参数传输和基于传统HMI界面的工作参数设定二者在数据封装格式上兼容并彼此交互,丰富了时间继电器的工作参数访问和更新机制,便利于用户对时间继电器的操作。
附图说明
包括附图是为提供对本发明的进一步理解,它们被收录并构成本申请的一部分,附图示出了本发明的实施例,并与本说明书一起起到解释本发明原理的作用。附图中:
图1A是一种可采用本发明技术方案的时间继电器的示意图。
图1B是图1A所示的时间继电器的***图。
图2示出根据本发明实施例的时间继电器参数传输***。
图3示出图2的时间继电器参数传输***的一个具体实现示例。
图4示出根据本发明的实施例的NFC读写设备从近场通讯模块读取参数的示例流程。
图5示出根据本发明的实施例的NFC读写设备向近场通讯模块写入参数的示例流程。
图6示出根据本发明的实施例的时间继电控制电路通过I 2C接口读取参数的示例流程。
图7示出根据本发明的实施例的时间继电控制电路通过I 2C接口写入参数的示例流程。
图8示出EEPROM封装结构的示例。
具体实施方式
本申请中使用的技术术语的定义如下:
Figure PCTCN2020075506-appb-000001
在以下的描述中,参考各实施例对本发明进行描述。然而,本领域的技术人员将认识到可在没有一个或多个特定细节的情况下或者与其它替换和/或附加方法、材料或组件一起实施各实施例。在其它情形中,未示出或未详细描述公知的结构、材料或操作以免使本发明的各实施例的诸方面晦涩。类似地,为了解释的目的,阐述了特定数量、材料和配置,以便提供对本发明的实施例的全面理解。然而,本发明可在没有特定细节的情况下实施。此外,应理解附图中示出的各实施例是说明性表示且不一定按比例绘制。
一、***拓扑结构
图1A是一种可采用本发明技术方案的时间继电器10的示意图。图1B是图1A所示的时间继电器10的***图。如图1B所示,这种时间继电器10包括左壳体2和右壳体3,置于壳体中的电路板4,和用于将壳体安装在导轨(例如,DIN导轨)上的导轨组件5。进一步如图1B所示,这种时间继电器10还可包括HMI(人机接口)面板组件1,在HMI面板组件1中可包括按键模块和显示模块。
图2示出根据本发明实施例的时间继电器参数传输***。和传统时间继电器产品类似,图2的***包括时间继电控制电路,例如,一种基于微控制器的时间继电控制电路230;作为替代,也可以使用基于通用处理器的时间继电控制电路。此外,图2的***还包括NFC读写设备210和近场通讯模块220。NFC读写设备210和近场通讯模块220之间可通过一种接口(例如,RF接口)来实现通讯,而近场通讯模块220和微控制器230之间可通过另一种接口(例如,I 2C接口)来实现通讯。
典型的,但非限制的,近场通讯模块220可设置在图1B所示的时间继电器的HMI面板组件1中,微控制器230设置在电路板4中。图3示出这种典型实现方式的一个具体实现示例。如图3所示,NFC读写设备210可以是移动设备或者NFC连接设备,相应地,HMI面板组件中的近场通讯模块220可包括实现NFC功能所需的NFC芯片。根据需要,该NFC芯片可进一步包括接口电路和控制电路。该NFC芯片可包括参数存储单元,或以合适方式与近场通讯模块220内的参数存储单元耦合。图3中进一步示出了实现NFC功能所需的天线结构(RF感应线圈)。
以图2的时间继电器近场通讯参数传输***为例,本发明的工作原理如下:通过RF接口和I 2C接口都能够读写时间继电器内部的近场通讯模块220中的参数存储单元(例如,EEPROM);在此基础上,NFC读写设备210和微控制器230可协定参数存储单元中的一块共同的存储区域并遵循相同的参数存储规范,藉此实现以近场通讯方式进行参数传输的整个过程。通过RF接口或I 2C接口更新完EEPROM中的数据后,该数据块中的数据会被持久保存在EEPROM中,该数据块可在时间继电器开机启动阶段被加载并解析,以得到时间继电器运行所需要的参数。
以下进一步描述实施例中各组成部件的技术细节。这些技术细节应理解为是 说明性的,而非限制性的。
1.NFC读写设备
NFC读写设备210通常可以是带有NFC功能的移动设备或者带有USB或RS232等通讯接口的NFC读卡器,其作用是,为时间继电器10中的近场通讯模块220传递工作能量和数据。
NFC读写设备210的工作过程是,将NFC读写设备的RF发射线圈靠近时间继电器10中的近场通讯模块220的RF感应线圈,NFC读写设备210会以电磁场的形式给时间继电器10中的近场通讯模块220传递电源能量和进行数据通讯。
2.RF感应线圈
RF感应线圈的示例性实现方式可以是:在FPC(柔性电路板)上以一定的走线宽度绘制一定匝数的螺旋形线圈,螺旋形线圈的两端连接至NFC芯片的天线引脚。其作用是,通过NFC读写设备210产生的电磁场获得NFC芯片的工作能量和数据。
3.EEPROM存储
在近场通讯模块220的NFC芯片内可设置有一定容量的非易失存储空间作为参数存储单元,其作用是,存储时间继电器工作所需要的各种参数,在RF接口和I 2C接口通讯中起到桥梁作用。参数存储单元的内容可以被NFC读写设备210和微控制器230二者读写,当时间继电器开机启动后,其内容会被微控制器230读取并解析。近场通讯的消息格式可遵循NDEF规范,其信息架构如附图8所示。
作为一种可能的变化,近场通讯模块220内的参数存储单元可置于NFC芯片外。
4.微控制器
根据本发明的时间继电器10内部的电路板4上,可以由微控制器230实现触发信号采集和继电器控制的功能。在本申请的实施例中,微控制器230可通过I 2C总线连接NFC芯片,并可根据NFC芯片定义的读写协议对存储器中的数据进行读写操作。
二、参数传输方法
根据本发明的实施例,利用近场通讯进行参数传输的方法可包括两部分:1)RF接口的参数传输;2)I 2C接口的参数传输。
1.RF接口参数传输的示例性实现方法
1.1NFC读写设备从RF接口读取参数
如图4所示,当NFC读写设备210靠近RF线圈时,NFC读写设备210首先发起通讯请求,然后时间继电器10中的近场通讯模块220会切换IDLE状态至ACTIVE状态,然后NFC读写设备210发起READ操作,之后NFC读写设备210会得到NDEF消息包。解析NDEF消息包,NFC读写设备210可以获得时间继电器的各种参数。
由于近场通讯模块220内部EEPROM的信息可以是按照NDEF格式排布的,NDEF消息包封装了时间继电器10的参数,因而通过这种方法可以实现参数从时间继电器10到NFC读写设备210的传输过程。
1.2NFC读写设备向RF接口写入参数
如图5所示,当NFC读写设备210靠近RF线圈时,NFC读写设备210首先发起通讯请求,然后时间继电器10中的近场通讯模块220会从IDLE状态切换至ACTIVE状态,然后NFC读写设备210发起WRITE操作,之后NFC读写设备210将时间继电器10的各种参数封装成NDEF格式的消息写入近场通讯模块220。为了确保写入数据是有效的,有时需要有数据校验的过程,NFC读写设备210需要将时间继电器中的参数再次读出,并与之前写入数据进行校验,校验结果正确则完成RF接口写入参数的过程,否则需要重新开始一轮写入参数的操作。
2.I 2C接口参数传输的实现方法
2.1时间继电控制电路从I 2C接口读取参数
如图6所示,时间继电器10若要获得从RF接口写入的参数,就需要通过I 2C接口进行数据通讯。在时间继电器10开机时,微控制器会从EEPROM读取数据到内存变量中,然后进行数据完整校验,如果参数正确则加载到时间继电器的运行程序中,否则将提示用户是否恢复默认设置,从而将时间继电器10的参数恢复成预置的设置。
2.2时间继电控制电路向I 2C接口写入参数
如图7所示,从时间继电器的HMI面板可以设定各种参数,一旦用户选择保存了参数,微控制内部程序会计算校验码作为参数的一部分,并封装成NDEF消息,然后写入近场通讯模块的EEPROM存储器,写入之后微控制器会再次读取参 数,用于校验数据是否正确,若校验正确,则完成参数写入过程,之后用NFC读写设备可以获得修改之后的参数,否者将重新执行参数的写入过程。
三、EEPROM数据封装结构
NFC读写设备和微控制器需要遵从共同的数据封装结构,才能互相传输参数。在EEPROM中定义了若干NDEF消息,每个NDEF消息含有NDEF消息头和数据载荷区。
图8示出EEPROM封装结构的示例。根据本发明的实施例,可将时间继电器10的参数分为2种:受保护数据区域和可修改数据区域。其中,受保护数据区域存放和时间继电器产品相关的信息,如厂家信息VENDOR_ID、产品家族识别号FAMILY_ID、配置版本CFG_VERSION、软/硬件版本HW/SW_VERSION、产品序列号SERIAL_NUMBER和产品描述DEVICE_NAME等信息,通常这些信息由生产制造过程写入,在时间继电器使用过程中不会进行改写。
可修改数据区域用于存放时间继电器10的类型FUNC、时间单位UNIT、时间值VALUE和密码PASSWORD等信息,通常这些信息可以被NFC读写设备或时间继电器的HMI面板修改。可修改数据区域区域是时间继电器参数传输的桥梁。
以上以示例性方式给出时间继电器的基于近场通讯的参数传输方案。基于本申请的方案,用户可以以灵活的方式修改时间继电器的参数,并获取时间继电器运行状态。根据本发明,用户的直接操作是对NFC读写设备的操作,而无需像传统方式那样去操作继电器,这使得基于此款时间继电器的工控方案更为简便易用,并具有充分的可定制性。在时间继电器上利用近场通讯技术的优点还包括,可以在时间继电器无电源输入时也能正常地进行参数的传输和更新。
还应指出,尽管以上实施例是以时间继电器为示例来描述,但本领域技术人员可以理解的是,本发明所提出的技术不限于时间继电器,而是适用于各种类型的依继电参数来提供继电功能的继电器,相应的,所传输的继电参数也不限于延时参数。
上文已对基本概念做了描述,显然,对于本领域技术人员来说,上述披露仅仅作为示例,而并不构成对本申请的限定。虽然此处并没有明确说明,本领域技术人员可能会对本申请进行各种修改、改进和修正。该类修改、改进和修正在本申请中被建议,所以该类修改、改进、修正仍属于本申请实施例的精神和范围。

Claims (16)

  1. 一种继电器,其特征在于,包括:
    继电控制电路,用于基于继电器工作参数实现开关功能;以及
    近场通讯模块,其与所述继电控制电路耦合,并能够和外部NFC读写设备通信,
    其中,所述近场通讯模块还包括参数存储单元,所述参数存储单元用于存储继电器工作参数,所存储的继电器工作参数能够由所述外部NFC读写设备读写访问,并且能够由所述继电控制电路读写访问,
    其中,所述继电控制电路和所述外部NFC读写设备解析能够基于相同或相兼容的数据封装结构,同所述近场通讯模块交换包含继电器工作参数的消息包。
  2. 如权利要求1所述的继电器,其特征在于,所述近场通讯模块能够响应于接收到来自所述外部NFC读写设备的消息包,将所述消息包写入所述参数存储单元。
  3. 如权利要求1所述的继电器,其特征在于,所述继电器还包括具有按键模块和显示模块的HMI面板,所述继电控制电路能够将通过所述HMI面板设定的继电器工作参数写入所述参数存储单元。
  4. 如权利要求3所述的继电器,其特征在于,所述继电控制电路能够通过以下方式将通过所述HMI面板设定的继电器工作参数写入所述参数存储单元:
    计算校验码作为继电器工作参数的一部分;
    将包含校验码的继电器工作参数封装为消息包;
    将所述消息包写入所述参数存储器;
    从所述参数存储器读取并解析继电器工作参数;
    基于所述校验码,校验读出的继电器工作参数是否正确。
  5. 如权利要求1所述的继电器,其特征在于,所述近场通讯模块包括用于 和所述外部NFC读写设备无线通信的第一接口,并且包括用于和所述继电控制电路通信的第二接口,所述第二接口的通信协议不同于所述第一接口。
  6. 如权利要求5所述的继电器,其特征在于,所述第一接口是RF接口,所述第二接口是I 2C接口。
  7. 如权利要求1所述的继电器,其特征在于,所述近场通信模块的参数存储单元能够在继电器关机状态被外部NFC设备读写访问。
  8. 如权利要求1所述的继电器,其特征在于,所述继电控制电路是基于微控制器,或基于通用CPU的。
  9. 如权利要求1所述的继电器,其特征在于,所述近场通信模块中的所述参数存储单元是EEPROM。
  10. 如权利要求1所述的继电器,其特征在于,所述近场通讯模块包括NFC芯片,所述参数存储单元位于所述NFC芯片内。
  11. 如权利要求1所述的继电器,其特征在于,存储在所述参数存储单元中的继电器工作参数封装为NDEF消息,所述NDEF消息封装结构包括:不可通过所述NFC读写设备改写的受保护数据区域,和能够通过所述NFC读写设备改写的可修改数据区域。
  12. 如权利要求11所述的继电器,其特征在于,所述受保护数据区域不可通过所述继电器的HMI面板来修改,所述可修改数据区域能够通过所述继电器的人机界面接口HMI面板来修改。
  13. 如权利要求11所述的继电器,其特征在于,其特征在于,所述继电控制电路在继电器开机启动阶段访问所述参数存储单元并加载访问得到的继电 器工作参数。
  14. 如权利要求1-13中任一项所示的继电器,其特征在于,所述继电器为时间继电器。
  15. 一种继电器参数传输***,包括:
    如权利要求1-14中任一项所述的继电器,
    外部NFC读写设备,其能够同所述继电器的所述近场通讯模块交换包含继电器工作参数的消息包。
  16. 如权利要求15所述的一种继电器***,其特征在于,所述继电器能够在关机状态被所述外部NFC读写设备读写访问。
PCT/CN2020/075506 2019-03-25 2020-02-17 支持工作参数nfc传输的时间继电器及对应*** WO2020192304A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910227046.XA CN109870961A (zh) 2019-03-25 2019-03-25 支持工作参数nfc传输的时间继电器及对应***
CN201910227046.X 2019-03-25

Publications (1)

Publication Number Publication Date
WO2020192304A1 true WO2020192304A1 (zh) 2020-10-01

Family

ID=66921156

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/075506 WO2020192304A1 (zh) 2019-03-25 2020-02-17 支持工作参数nfc传输的时间继电器及对应***

Country Status (2)

Country Link
CN (1) CN109870961A (zh)
WO (1) WO2020192304A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109870961A (zh) * 2019-03-25 2019-06-11 菲尼克斯亚太电气(南京)有限公司 支持工作参数nfc传输的时间继电器及对应***
CN114826336B (zh) * 2022-05-09 2023-10-31 青岛海信日立空调***有限公司 空调室外机及空调器

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101404272B1 (ko) * 2014-02-03 2014-06-05 주식회사 세종아이씨티 Cctv 감시장치 지능형 관제시스템 제어방법
CN104516291A (zh) * 2013-10-03 2015-04-15 施耐德电器工业公司 开关设备以及控制它的方法
CN204794356U (zh) * 2015-06-09 2015-11-18 国网山东即墨市供电公司 一种电力设备控制***
CN107634529A (zh) * 2017-10-18 2018-01-26 国网天津市电力公司 一种充电桩错峰调参控制***及方法
CN207704227U (zh) * 2017-12-15 2018-08-07 菲尼克斯亚太电气(南京)有限公司 含nfc设定及oled显示的工业4.0多功能时间继电器
CN108594731A (zh) * 2018-07-12 2018-09-28 上海上晟电子科技有限公司 一种基于nfc的智能电器设备控制方法
CN109870961A (zh) * 2019-03-25 2019-06-11 菲尼克斯亚太电气(南京)有限公司 支持工作参数nfc传输的时间继电器及对应***

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8170722B1 (en) * 2010-12-09 2012-05-01 Elbex Video Ltd. Method and apparatus for coding and linking electrical appliances for control and status report
CN102983633B (zh) * 2012-12-25 2015-01-21 北京四方继保自动化股份有限公司 一种基于rfid的继电保护装置状态监测设备和监测方法
CN204945663U (zh) * 2015-05-14 2016-01-06 上海和擎信息科技有限公司 一种无线固态继电器
JP2018142864A (ja) * 2017-02-28 2018-09-13 沖電気工業株式会社 ゲートウェイ装置
CN207098583U (zh) * 2017-04-11 2018-03-13 深圳供电局有限公司 一种继电保护定值自动校核装置
CN106933168A (zh) * 2017-05-16 2017-07-07 徐坚 继电器控制模块、其控制方法以及继电器控制***

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516291A (zh) * 2013-10-03 2015-04-15 施耐德电器工业公司 开关设备以及控制它的方法
KR101404272B1 (ko) * 2014-02-03 2014-06-05 주식회사 세종아이씨티 Cctv 감시장치 지능형 관제시스템 제어방법
CN204794356U (zh) * 2015-06-09 2015-11-18 国网山东即墨市供电公司 一种电力设备控制***
CN107634529A (zh) * 2017-10-18 2018-01-26 国网天津市电力公司 一种充电桩错峰调参控制***及方法
CN207704227U (zh) * 2017-12-15 2018-08-07 菲尼克斯亚太电气(南京)有限公司 含nfc设定及oled显示的工业4.0多功能时间继电器
CN108594731A (zh) * 2018-07-12 2018-09-28 上海上晟电子科技有限公司 一种基于nfc的智能电器设备控制方法
CN109870961A (zh) * 2019-03-25 2019-06-11 菲尼克斯亚太电气(南京)有限公司 支持工作参数nfc传输的时间继电器及对应***

Also Published As

Publication number Publication date
CN109870961A (zh) 2019-06-11

Similar Documents

Publication Publication Date Title
WO2020192304A1 (zh) 支持工作参数nfc传输的时间继电器及对应***
KR101266757B1 (ko) 단말기의 통신 인터페이스에서 액션을 트리거링하기 위한방법 및 이 방법을 수행하기 위해 단말기에 접속된 칩 카드
US20100223403A1 (en) Integrated circuit card interface device with multiple modes of operation
US20190235858A1 (en) Apparatus and method for configuring or updating programmable logic device
JP2012518851A (ja) エンハンスメント型近距離無線通信をサポートする端末及びその処理方法
KR20190106641A (ko) 근거리 무선 통신 기능 및 근거리 무선 통신 제어 시스템을 갖춘 웨어러블 장치
CN110119282B (zh) 一种基于通用嵌入式计算机的物联网终端及***
US7823133B2 (en) Smart card device and method for debug and software development
JP5293231B2 (ja) Icチップ及びicカード及び発行装置及び発行方法及び発行システム
US7942325B2 (en) Optimized smart card driver performance
JP2008519320A (ja) 接点を有しおよびまたは接点のないチップカードをプログラミングするための電子モジュール
CN105426796B (zh) 一种向智能卡中下载应用的方法
WO2021031503A1 (zh) 基于区块链的虚拟币便携式操作终端
CN204681378U (zh) 具有近场通信功能的电路及包含该电路的人机接口设备
JPH05233844A (ja) マイクロコンピュータ
JP3718564B2 (ja) Icカード
KR100426304B1 (ko) 스마트 카드 에뮬레이터 및 그 에뮬레이션 방법
JP4492987B2 (ja) 自己表示機能付きicカード
KR100256522B1 (ko) I/o 메모리 카드형 무선 선택 페이징 수신기 및 동작 방법
JP6828246B2 (ja) 電子情報記憶媒体、情報処理方法、及び情報処理プログラム
JP7424536B1 (ja) 電子情報記憶媒体、icチップ、icカード、通信パラメータ送信方法、及びプログラム
CN113286357B (zh) 一种智能卡间的通信方法、装置及存储介质
JP2791101B2 (ja) 携帯可能電子装置
JP3667364B2 (ja) Icカード
JP2020205120A (ja) 電子情報記憶媒体、情報処理方法、及び情報処理プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20779615

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20779615

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20779615

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 09.06.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20779615

Country of ref document: EP

Kind code of ref document: A1