CN114173219A - Event type data collector through NFC interaction - Google Patents

Event type data collector through NFC interaction Download PDF

Info

Publication number
CN114173219A
CN114173219A CN202111431327.0A CN202111431327A CN114173219A CN 114173219 A CN114173219 A CN 114173219A CN 202111431327 A CN202111431327 A CN 202111431327A CN 114173219 A CN114173219 A CN 114173219A
Authority
CN
China
Prior art keywords
event
unit
signal
capturing
nfc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111431327.0A
Other languages
Chinese (zh)
Inventor
董玉君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Junmou Technology Co ltd
Original Assignee
Hangzhou Junmou Technology Co ltd
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 Hangzhou Junmou Technology Co ltd filed Critical Hangzhou Junmou Technology Co ltd
Priority to CN202111431327.0A priority Critical patent/CN114173219A/en
Publication of CN114173219A publication Critical patent/CN114173219A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/40Arrangements in telecontrol or telemetry systems using a wireless architecture
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Near-Field Transmission Systems (AREA)

Abstract

The invention discloses an event type data collector interacting through NFC, and relates to the technical field of communication. The system comprises an NFC interaction unit, a counting event capturing unit, a code scanning event capturing unit, a power failure data holding unit, an event output unit, an uplink communication unit and a master controller, wherein the NFC interaction unit, the counting event capturing unit, the code scanning event capturing unit, the power failure data holding unit, the event output unit and the uplink communication unit are respectively in communication connection with the master controller. The invention provides the data acquisition unit which is convenient for data transmission, interaction and setting, and the timeliness and convenience of system implementation are improved.

Description

Event type data collector through NFC interaction
Technical Field
The invention relates to the technical field of communication, in particular to an event type data acquisition unit interacting through NFC.
Background
In the industrial information system, each factory device is connected into the system through a data acquisition device, a large number of data acquisition devices exist in the system, the current data acquisition devices generally only acquire the electrical state of the device, more functions are required to be transmitted to a host through a network and then processed by the host, so that the load of the host is large and the host is too dependent on a communication bus, even if a small number of data acquisition devices with event processing are provided, the event triggering conditions are often fixed and single, and the applicable scenes are few. The initial communication parameters are set and the power is needed to be connected in parallel during field debugging, so that the method is sometimes limited by the installation position and space of a data collector, the operation is very inconvenient, and the efficiency is low.
Therefore, in order to solve the above technical problems, a new technical solution needs to be provided. In particular to an event type data collector interacting through NFC.
Disclosure of Invention
The invention provides an event type data acquisition unit interacting through NFC, aiming at solving the technical problems in the background technology.
The following technical scheme is provided for achieving the purpose: an event type data acquisition unit interacting through NFC comprises an NFC interaction unit, a counting event capturing unit, a code scanning event capturing unit, a power failure data retaining unit, an event output unit, an uplink communication unit and a master controller, wherein the NFC interaction unit, the counting event capturing unit, the code scanning event capturing unit, the power failure data retaining unit, the event output unit and the uplink communication unit are respectively in communication connection with the master controller.
The NFC interaction unit is used for setting parameters and reading running dynamic data in a passive and non-contact mode through NFC (near Field communication).
The counting event capturing unit is used for capturing and processing the counting event according to the set triggering condition.
The code scanning event capturing unit is used for accessing a code scanning gun of the asynchronous communication interface and capturing a code scanning event according to a set frame format.
The power-down data holding unit is used for holding 24-hour running data after power failure.
The event output unit is used for executing and outputting an event.
And the uplink communication unit is used for interaction after being connected with the host end through a 485 or LAN network.
Preferably, the NFC interaction unit antenna adopts a PCB planar coil, an inductance LA, a resistance RA, and a capacitance of C1 of the coil form an LRC resonant circuit, the resonant frequency is 13.56MHZ, and the resonant point conforms to the IEC14443 standard.
U20 is an NFC front-end transponder, as shown in FIG. 3, U20 includes 1K EEPROM and 64 bytes of SRAM 2 data area inside, can access the data area through NFC field communication and I2C communication 2 ways, external NFC equipment reads and writes the data area through non-contact field communication, the master controller reads and writes the data area through I2C communication, and the external NFC equipment and the master controller perform data interaction through U20 data area.
The communication parameters and event parameters of the present invention are stored in the EEPROM area of U20.
The operation data of the invention is dynamically stored in the SRAM area of U20.
The external NFC devices may be very readily available NFC enabled cell phones and PADs. U20 model NT3H 2111.
Preferably, the counting event capturing unit is composed of a signal voltage adapting part, a signal isolation conversion part, a signal edge capturing part and a signal effective time capturing part.
Preferably, the signal voltage adapting part is connected with external signals of various voltage rails (5V system, 24V system and 48V system) to generate the same current.
The light MOS tube U15, U17 and the resistor R14, R15, R17 form a resistor network,
the resistance value of the resistor network is equal to the resistance value of R17 when both U15 and U17 are not conducted;
when the U15 is switched on and the U17 is switched off, the resistance value of the resistor network is equal to the parallel resistance value of R15 and R17;
when the U15 is disconnected, the resistance value of the resistor network is equal to the parallel resistance value of R14 and R17 when the U17 is connected;
according to the setting of signal voltage amplitude parameters, the main controller controls the on-off of U15 and U17, and the purpose that external signals with different amplitudes generate rated driving current through a resistance network is achieved.
F1 is a self-restoring fuse, which can perform overcurrent protection when the set value is inconsistent with the external access signal.
U15 and U17 are TLP170D, and F1 is 1206L005/60 WR.
Preferably, the signal isolation and conversion part adopts a bidirectional optical coupler U19, a primary side driving current of the optical coupler is generated through an external signal, and a secondary side of the optical coupler isolates and converts the signal into a 3.3V system. And R19 connected in parallel at the primary side 2 end of the optical coupler has an anti-interference effect. The U19 model is PC 354.
Preferably, the signal edge capturing section may capture rising edge and falling edge transitions. After the Rising edge signal passes through the D-latch U12, the latch output is connected to pin B of the or gate U13, and the setting pin Rising _ EN of the master is also connected to pin a of U13, when the Rising _ EN pin is high: the output of U13 is high whether the U12 output is high or low. When the Falling _ EN pin is low: the output of U13 depends on the output of U12.
The Falling edge signal is coupled through inverter U18 to D latch U11, the latch output is coupled to pin B of OR gate U16, and the setting pin Falling _ EN of the master controller is also coupled to pin A of U16, when Falling _ EN pin is high: the output of U16 is high whether the U11 output is high or low. When the Falling _ EN pin is low: the output of U16 depends on the output of U11.
The U13 and U12 outputs are connected to pins A and B of AND gate U14, respectively, and the output of U14 is equal to the output of U13 output logic AND U12. The output of U12 is the edge capture pin and is active low.
When the Rising _ EN pin is high and the Falling _ EN pin is low, the Falling edge signal is effective;
when the Rising _ EN pin is low and the Falling _ EN pin is high, the Rising edge signal is effective;
when the Rising _ EN pin is low, the Falling _ EN is low, and both the Falling edge and the Rising edge are active.
U11 and U12 are 74LVC1G74, U13 and U16 are 74LVC1G32, U14 is 74LVC1G08, and U18 is 74LVC1G 04.
Preferably, the signal valid time capturing part is realized by a firmware program of the master. The effective time capture ranges from 1ms to 1 s.
As shown in FIG. 5, the counting event logic executed by the main controller comprises three parts of triggering condition, counting value conversion and event output. And an electrical count value is added after the external signal meets the trigger condition, the electrical original count value is converted into a physical count value through the count value, and the event is triggered to be output when the physical count value is greater than a threshold value.
The triggering conditions comprise three conditions of signal jump, signal effective duration and signal voltage amplitude, the three conditions jointly meet a post-triggering event, and the three conditions can be set.
The count value conversion is a count value relationship that maps the count value of the actual physical object and the electrical signal. The mapping relationship may be set.
And the event output is processed and output by the network host without processing when the physical count value reaches a threshold value. The drive channel number of the output and the type of output level may be set.
The invention has the beneficial effects that:
1. the data collector can be subjected to parameter setting under passive and non-contact conditions by using a mobile terminal (a mobile phone, a PAD and the like) with an NFC function, so that convenience is brought to field debugging and debugging, and the timeliness and convenience of system implementation are greatly increased;
2. the event type mechanism is adopted, so that the burden of a system host is reduced, the dependence on a network is reduced, the capacity of the system is increased, and the reliability of the system is improved;
3. and the event trigger conditions are set in multiple dimensions, so that the flexibility is greatly improved, and the use scenes are widened.
Drawings
FIG. 1 is a diagram of the collector framework of the present invention.
Fig. 2 is a schematic diagram of an NFC interaction unit of the present invention.
Fig. 3 is a diagram of the NFC front-end framework of the present invention.
FIG. 4 is a schematic diagram of a counting event capture unit of the present invention.
FIG. 5 is a logical diagram of the count event mechanism of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the orientations or positional relationships indicated as the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., appear based on the orientations or positional relationships shown in the drawings only for the convenience of describing the present invention and simplifying the description, but not for indicating or implying that the referred devices or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" as appearing herein are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly stated or limited, the terms "mounted," "connected," and "connected" should be interpreted broadly, e.g., as being fixed or detachable or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
As shown in fig. 1 to 5, an event type data collector interacting through NFC includes an NFC interaction unit, a counting event capture unit, a code scanning event capture unit, a power down data holding unit, an event output unit, an uplink communication unit, and a host controller, where the NFC interaction unit, the counting event capture unit, the code scanning event capture unit, the power down data holding unit, the event output unit, and the uplink communication unit are respectively in communication connection with the host controller.
The NFC interaction unit is used for setting parameters and reading running dynamic data in a passive and non-contact mode through NFC (near Field communication).
The counting event capturing unit is used for capturing and processing the counting event according to the set triggering condition.
The code scanning event capturing unit is used for accessing a code scanning gun of the asynchronous communication interface and capturing a code scanning event according to a set frame format.
The power-down data holding unit is used for holding 24-hour running data after power-off.
The event output unit is used for executing and outputting events.
The uplink communication unit is used for interaction after being connected with the host end through a 485 or LAN network.
The NFC interaction unit antenna adopts a PCB planar coil, an inductance LA, a resistance RA and a C1 capacitor of the coil form an LRC resonant circuit, the resonant frequency is 13.56MHZ, and the resonant point accords with the IEC14443 standard.
U20 is an NFC front-end transponder, as shown in FIG. 3, U20 includes 1K EEPROM and 64 bytes of SRAM 2 data area inside, can access the data area through NFC field communication and I2C communication 2 ways, external NFC equipment reads and writes the data area through non-contact field communication, the master controller reads and writes the data area through I2C communication, and the external NFC equipment and the master controller perform data interaction through U20 data area.
The communication parameters and event parameters of the present invention are stored in the EEPROM area of U20.
The operation data of the invention is dynamically stored in the SRAM area of U20.
The external NFC devices may be very readily available NFC enabled cell phones and PADs. U20 model NT3H2111, as shown in FIG. 2.
The counting event capturing unit consists of a signal voltage adapting part, a signal isolation and conversion part, a signal edge capturing part and a signal effective time capturing part.
Wherein, the signal voltage adapting part is connected with external signals of various voltage rails (5V system, 24V system, 48V system) to generate the same current, as shown in fig. 4.
The light MOS tube U15, U17 and the resistor R14, R15, R17 form a resistor network,
the resistance value of the resistor network is equal to the resistance value of R17 when both U15 and U17 are not conducted;
when the U15 is switched on and the U17 is switched off, the resistance value of the resistor network is equal to the parallel resistance value of R15 and R17;
when the U15 is disconnected, the resistance value of the resistor network is equal to the parallel resistance value of R14 and R17 when the U17 is connected;
according to the setting of signal voltage amplitude parameters, the main controller controls the on-off of U15 and U17, and the purpose that external signals with different amplitudes generate rated driving current through a resistance network is achieved.
F1 is a self-restoring fuse, which can perform overcurrent protection when the set value is inconsistent with the external access signal.
U15 and U17 are TLP170D, and F1 is 1206L005/60 WR.
The signal isolation and conversion part adopts a bidirectional optical coupler U19, primary side driving current of the optical coupler is generated through an external signal, and a secondary side of the optical coupler isolates and converts the signal into a 3.3V system. And R19 connected in parallel at the primary side 2 end of the optical coupler has an anti-interference effect. The U19 model is PC 354.
The signal edge capturing part can capture rising edge and falling edge transition. After the Rising edge signal passes through the D-latch U12, the latch output is connected to pin B of the or gate U13, and the setting pin Rising _ EN of the master is also connected to pin a of U13, when the Rising _ EN pin is high: the output of U13 is high whether the U12 output is high or low. When the Falling _ EN pin is low: the output of U13 depends on the output of U12.
The Falling edge signal is coupled through inverter U18 to D latch U11, the latch output is coupled to pin B of OR gate U16, and the setting pin Falling _ EN of the master controller is also coupled to pin A of U16, when Falling _ EN pin is high: the output of U16 is high whether the U11 output is high or low. When the Falling _ EN pin is low: the output of U16 depends on the output of U11.
The U13 and U12 outputs are connected to pins A and B of AND gate U14, respectively, and the output of U14 is equal to the output of U13 output logic AND U12. The output of U12 is the edge capture pin and is active low.
When the Rising _ EN pin is high and the Falling _ EN pin is low, the Falling edge signal is effective;
when the Rising _ EN pin is low and the Falling _ EN pin is high, the Rising edge signal is effective;
when the Rising _ EN pin is low, the Falling _ EN is low, and both the Falling edge and the Rising edge are active.
U11 and U12 are 74LVC1G74, U13 and U16 are 74LVC1G32, U14 is 74LVC1G08, and U18 is 74LVC1G 04.
The signal effective time capturing part is realized by adopting a firmware program of a master controller. The effective time capture ranges from 1ms to 1 s.
As shown in FIG. 5, the counting event logic executed by the main controller comprises three parts of triggering condition, counting value conversion and event output. And an electrical count value is added after the external signal meets the trigger condition, the electrical original count value is converted into a physical count value through the count value, and the event is triggered to be output when the physical count value is greater than a threshold value.
The triggering conditions comprise three conditions of signal jump, signal effective duration and signal voltage amplitude, the three conditions jointly meet a post-triggering event, and the three conditions can be set.
The count value conversion is a count value relationship mapping the actual physical object and the electrical signal. The mapping relationship may be set.
And the event output is that the event output is processed and executed by the network host without the processing of the network host after the physical count value reaches the threshold value. The drive channel number of the output and the type of output level may be set.
The above embodiments are only for illustrating the invention and are not to be construed as limiting the invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention, therefore, all equivalent technical solutions also belong to the scope of the invention, and the scope of the invention is defined by the claims.

Claims (8)

1. An event type data acquisition unit interacting through NFC comprises an NFC interaction unit, a counting event capturing unit, a code scanning event capturing unit, a power failure data retaining unit, an event output unit, an uplink communication unit and a master controller, wherein the NFC interaction unit, the counting event capturing unit, the code scanning event capturing unit, the power failure data retaining unit, the event output unit and the uplink communication unit are respectively in communication connection with the master controller.
2. The event-based data collector interacting via NFC according to claim 1, wherein: the NFC interaction unit antenna adopts a PCB planar coil, an inductance LA, a resistance RA and a C1 capacitor of the coil form an LRC resonant circuit, and the resonant frequency is 13.56 MHZ.
3. The event-based data collector interacting via NFC according to claim 2, wherein: the counting event capturing unit consists of a signal voltage adapting part, a signal isolation and conversion part, a signal edge capturing part and a signal effective time capturing part.
4. The event-based data collector interacting via NFC according to claim 3, wherein: the signal voltage adapting part is connected with external signals of various voltage rails to generate the same current.
5. The event-based data collector interacting via NFC according to claim 4, wherein: the plurality of voltage rails includes a 5V system, a 24V system, or a 48V system.
6. The event-based data collector interacting via NFC according to claim 3, wherein: the signal isolation and conversion part adopts a bidirectional optocoupler U19, generates primary side driving current of the optocoupler through an external signal, and isolates and converts the signal into a 3.3V system by a secondary side of the optocoupler.
7. The event-based data collector interacting via NFC according to claim 3, wherein: the signal edge capturing section may capture rising edge and falling edge transitions.
8. The event-based data collector interacting via NFC according to claim 3, wherein: the signal effective time capturing part is realized by adopting a firmware program of a main controller, and the effective time capturing range is 1ms-1 s.
CN202111431327.0A 2021-11-29 2021-11-29 Event type data collector through NFC interaction Pending CN114173219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111431327.0A CN114173219A (en) 2021-11-29 2021-11-29 Event type data collector through NFC interaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111431327.0A CN114173219A (en) 2021-11-29 2021-11-29 Event type data collector through NFC interaction

Publications (1)

Publication Number Publication Date
CN114173219A true CN114173219A (en) 2022-03-11

Family

ID=80481328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111431327.0A Pending CN114173219A (en) 2021-11-29 2021-11-29 Event type data collector through NFC interaction

Country Status (1)

Country Link
CN (1) CN114173219A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101476903A (en) * 2009-02-17 2009-07-08 北京市农林科学院 General-purpose interface collection system of sensor
US20130165041A1 (en) * 2011-12-21 2013-06-27 Peter Bukovjan Near field communication data conversion with an event-field
US20180023990A1 (en) * 2016-07-20 2018-01-25 Sensus USA, Inc. Method and Apparatus for Collecting and Providing Sensor Data
CN207164988U (en) * 2017-08-31 2018-03-30 重庆市通信建设有限公司 A kind of Multi-functional data collector
US20180261051A1 (en) * 2017-03-07 2018-09-13 Verifone, Inc. Detecting rf transmission from an implanted device in a pos terminal
US20200379622A1 (en) * 2019-06-03 2020-12-03 Nxp B.V. Interactive poster

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101476903A (en) * 2009-02-17 2009-07-08 北京市农林科学院 General-purpose interface collection system of sensor
US20130165041A1 (en) * 2011-12-21 2013-06-27 Peter Bukovjan Near field communication data conversion with an event-field
US20180023990A1 (en) * 2016-07-20 2018-01-25 Sensus USA, Inc. Method and Apparatus for Collecting and Providing Sensor Data
US20180261051A1 (en) * 2017-03-07 2018-09-13 Verifone, Inc. Detecting rf transmission from an implanted device in a pos terminal
CN207164988U (en) * 2017-08-31 2018-03-30 重庆市通信建设有限公司 A kind of Multi-functional data collector
US20200379622A1 (en) * 2019-06-03 2020-12-03 Nxp B.V. Interactive poster

Similar Documents

Publication Publication Date Title
CN107645167B (en) Reactive compensation control method for power distribution network
CN114173219A (en) Event type data collector through NFC interaction
CN106019170B (en) A kind of power supply adaptor detection device
CN218648898U (en) Dual-mode communication system
CN116938286A (en) Power line carrier transmission method and device based on double-core fusion
CN203102583U (en) Intelligent electric energy information monitoring terminal and intelligent electric energy information monitoring system
CN211606084U (en) Relay control circuit and smart electric meter
CN204392247U (en) A kind of repeater
CN108880878A (en) NB-IOT network switching device
CN210954286U (en) Wireless lighting monitoring and electric measuring device
CN209746596U (en) General GPRS (general packet radio service) intelligent counter
CN216216886U (en) Dual-mode power line carrier communication device based on Bluetooth
CN207743988U (en) Intelligent gateway and intelligent care system
CN110673059A (en) Wireless lighting monitoring and electric measuring device
CN201845048U (en) Remote monitoring device for transformers
CN204993884U (en) Novel wireless network communication device
CN212367292U (en) Portable network probe
CN220934882U (en) Energy storage battery management control circuit and battery pack
CN221352075U (en) Circuit structure of multifunctional UPS communication card and multifunctional UPS communication card
CN221952581U (en) Extension unit of welding machine control module
CN220730660U (en) Energy consumption monitoring device
CN221202582U (en) Novel CAN communication module
CN216313093U (en) Mobile communication switching circuit and fixed telephone
CN215833655U (en) Optical module and optical communication system
CN212086081U (en) Control circuit of non-isolated POE module

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination