[go: up one dir, main page]

HK1245617B - Data transmission and control device in multi-node sensor network - Google Patents

Data transmission and control device in multi-node sensor network

Info

Publication number
HK1245617B
HK1245617B HK18105322.8A HK18105322A HK1245617B HK 1245617 B HK1245617 B HK 1245617B HK 18105322 A HK18105322 A HK 18105322A HK 1245617 B HK1245617 B HK 1245617B
Authority
HK
Hong Kong
Prior art keywords
controller
sensors
control module
type interfaces
interface
Prior art date
Application number
HK18105322.8A
Other languages
German (de)
French (fr)
Chinese (zh)
Other versions
HK1245617A1 (en
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
Priority claimed from CN201510078266.2A external-priority patent/CN104750068B/en
Application filed by 合肥锐世数字科技有限公司 filed Critical 合肥锐世数字科技有限公司
Publication of HK1245617A1 publication Critical patent/HK1245617A1/en
Publication of HK1245617B publication Critical patent/HK1245617B/en

Links

Description

FIELD
The present disclosure belongs to the field of communication technology and relates to a data processing device, method and system in the technology for multi-node data.
BACKGROUND
In the current multi-node sensor network, the provision and function of the detector is achieved by integrating the customized electronic circuit with embedded software system through hybrid design of the detector and the control module. The traditional sensor control module is often only provided with the function of data transmission or unchangeable data processing mode, in the sensors used in the PET field, for example, the control module is only allowed to send data or to screen the energy windows and time windows; and, in the energy dispersive spectrometer sensors, the control module is only allowed to perform multi-channel energy spectrum analysis. The configuration parameters of the traditional sensor controller, including the voltage, the gain, the threshold and the like, are all pre-pet and unchangeable.
However, with the continuous development of technology, the version of the software to be configured in a sensor network node is constantly updated, and there is thus usually a need to upgrade software of the sensor network node installed at the running spot. Meanwhile, due to the various applications or requirements, the expected data output is usually different, and there is thus also a need for the data processing mode of the control module and the peripheral parameters of the control module itself to be upgraded correspondingly.
US 2014/0282486 discloses a prior art system for distributing software in a security system that includes a control unit.
SUMMARY
The invention is defined by the appended claims.
BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a structural schematic view of a first embodiment of the data transmission and control device shown in the present disclosure.
  • FIG. 2 is a work flow diagram of the embodiment shown in FIG. 1.
  • FIG. 3 is a structural schematic view of a second embodiment of the data transmission and control device shown in the present disclosure.
  • FIG. 4 is a work flow diagram of the embodiment shown in FIG. 3.
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
The disclosure will now be further described with reference to the drawings.
In the first embodiment, a data transmission and control device in a multi-node sensor network is disclosed as shown in FIG. 1. The device includes a processing control module 110 used for data interaction, parameter configuration and upgrade. The processing control module 110 is an integrated processor with a high universality, which allows all the sensors 140 to access the external centralized control device 120 online, and to interact for data and control instructions in real time with the external control device 120. In this way, after parameter configuration for each sensor 140 according to the predetermined function, the multi-channel data acquisition fora plurality of sensors 140 can be realized. In addition, it can process data with greater flexibility including preprocessing, marking, screening and encapsulation for data. Furthermore, it can also configure parameter and update firmware of the sensors 140 and the processing control module 110 at the same time, change the function of a particular sensor 140, and acquire and transmit data as required, without changing the hardware equipment.
Particularly, the above-mentioned processing control module 110 comprises an instruction processing unit, a data processing unit, at least one group of first-type interfaces J101∼ J10n, at least one group of second-type interfaces J201∼ J20n, one group of fifth-type interfaces J500 and one group of sixth-type interfaces J600.
The fifth-type interfaces J500 are communicatively connected with an external control device 120 of the data transmission and control device so as to send control messages and data messages, and report feedback information; the external control device 120 sends control instructions and firmware update programs (including but not limited to upgrade instructions and programs of the sensor 140 and the processing control module 110, particular parameter information query of a particular sensor 140,and the like) to the instruction processing unit of the processing control module 110via J500, the instruction processing unit reports related control information to the external control device 120 via J500.The fifth-type interface J500 can be any one of an RS232 interface, an RS485, an Ethernet interface, a CAN interface, a fiber interface, an SPI, an I2C, a GPIO or an FSMC, and in the present embodiment, preferably, the fifth-type interfaceJ500 is a CAN interface or an IP interface.
The at least one group of first-type interfaces J101∼ J10n respectively are communicatively connected with the plurality of sensors 140, so as to corporate with the instruction processing unit and the external control device 120 to query, configure and upgrade a parameter of the sensor 140; the external control device 120 controls the sensor 1401 to sensor 140n respectively via the fifth-type interfaces J500, the instruction processing unit andJ101∼J10n. The control includes setting the thresholds of the sensor 140, performing normalized calibration for the sensor 140, dynamically setting related parameters of the sensor 140 according to changes in environment to make the sensor 140 running in its optimal status, and the like. The first-type interface J101∼ J10n can be any one of an RS232 interface, an RS485, an Ethernet interface, a CAN interface, a fiber interface, an SPI, an I2C, a GPIO or an FSMC. In the present embodiment, preferably, the J101∼ J10n are all RS232 interfaces, and the number thereof is provided to be corresponding to the number of sensors 140, so as to interact information between each of the sensors 140 and the processing control module.
The at least one group of second-type interfaces J201- J20n respectively are communicatively connected with the sensor 140so as to cooperate with the data processing unit to acquire data of a plurality of sensors 140, the sixth-type interfaces J600 are communicatively connected with an external service terminal 130 so as to transmit the data of the plurality of sensors 140 preliminarily processed by the data processing unit to the external service terminal 130 for subsequent processing. The FLASH of the processing control module 110 is embedded with a data processing program for data acquisition and transmission to form a data processing unit, so as to acquire and transmit data of a plurality of sensors 140. The data processing program further comprises a preprocessing step, which is performed between the acquisition and the transmission, the preprocessing step comprises one or more of the following data operations as screening, filtering, algorithm implementation, marking, encapsulation, packetization, caching and packet sending, and the data processing program can be updated according to the needs of users, and be embedded into the processing control module 110 via the external control device 120 or other devices so as to obtain expected data flows according to various circumstances.
After the power is on, the data processing program is loaded in the initialization process, and the data processing unit of the processing control module 110 begins to acquire raw data of the plurality of sensors 140 respectively via the second-type interfaces J201∼ J20n, and preliminarily process the raw data through the preprocessing step, the result of the preprocessing can be embedded into various data processing programs as needed. The preprocessing generally includes one or more of the following data operations including altering the multi-channel-output into single-channel-output, screening, filtering, algorithm implementation, marking, encapsulation, packetization, caching and packet sending, and the like. During regular operation, the processing control module 110 is embedded beforehand with a data processing program that has been determined in the preprocessing step, to increase the operational efficiency and save the costs. The processing control module 110 can also be updated after the initialization according to external control instructions, i.e., the processing control module 110 can firstly downloads the update program from external service devices via J500interfaces or J600 interfaces before the acquisition, processing and transmission of the data of the plurality of sensors 140.
The raw data of the n of the sensors 140 is input into the processing control module 110 respectively via J201 ∼ J20n, and the processing control module 110, after receiving the data of each of the sensors 140, preprocess the data of the sensors 140 through the preprocessing step in the data processing program, and then output the data via J600 interfaces. Each of the second-type interfaces J201- J20n and the sixth-type interfaces J600 can be any one of an RS232 interface, an RS485, an Ethernet interface, a CAN interface, a fiber interface, an SPI, an I2C, a GPIO or an FSMC, and in the present embodiment, in view of the large data transmission amount between each of the sensors 140 and the processing control module 110, the second-type interfaces J201- J20n and the sixth-type interfaces J600 are provided to be Gigabit Ethernet interfaces. In addition, the number of the second-type interfaces J201∼ J20n is provided to be corresponding to the number of the plurality of sensors 140.
In addition, in the present embodiment, at least one group of third-type interfaces in the processing control module 110 is reserved, the third-type interfaces are reserved control interfaces for connection with a running status monitoring module of the plurality of sensors 140 and the processing control module 110, and for the processing thereof, so as to monitor and promptly adjust the operation parameter of the sensors 140 and the processing control module 110, to make them running in an optimal running status. The running status monitoring module is any one or more of a running condition temperature monitoring module for the sensors 140 and/or the processing control module 110, a condition humidity monitoring module for the sensors 140 and/or the processing control module 110, a fan control module for the sensors 140 and/or the processing control module 110, a voltage control module for the sensors 140 and/or the processing control module 110, an ID information verification module for the sensors 140 and/or the processing control module 110. In the present embodiment, one group of third-type interfaces is provided for communication connections with the running status monitoring module of the sensors 140, to monitor the parameters of the sensors 140 in real time, thereby dynamically change the configuration parameters of the sensors 140 based on the performance and parameter model of the sensors 140, to make the sensors 140 running in an optimal running status all the time.
Meanwhile, in view of cost saving and easy manipulation, the external control device 120 and the external service terminal 130 are integrated as the server, the FLASH of which is stored with programs necessary for maintaining constant normal operation of all the sensors 140 and the processing control module 110, such as upgrade program of the sensors 140, upgrade program of the processing control module 110, data processing program, performance and parameter model of the sensors 140 and the like, so as to configure a particular program into a particular hardware equipment according to the needs of the users.
The control method of the data transmission and control device in the integrated structure shown in the first embodiment will be described below. The data transmission and control device in a multi-node sensor network includes a plurality of groups of first-type interfaces and second-type interfaces, the number of which corresponding to the number of the sensors 140. One group of third-type interfaces communicating with the running status monitoring module which monitors the sensors 140, fifth-type interfaces used to upgrade firmware and to configure and query the parameter data of the sensors 140, and sixth-type interfaces used to transmit data, as shown in FIG. 2.
  1. (1) Initialization. Firstly, in normal operation, the processing control module 110 is powered on, and the processing control module 110 performs the initialization, which includes configuring parameter for the clock, peripherals, i.e., each of the interfaces, and loading data processing program of the processing control module 110, and configuring the operation parameters of each of the sensors 140. The running status of the sensors 140 is collected beforehand, the optimal running status of each of the sensors 140 is then obtained through big data analytics, and each of the sensors 140 is then configured during the initialization according to the suggested optimal configuration file. The optimal configuration file of each of the sensors 140 is generally stored beforehand in the processing control module 110. After the initialization is performed, since the data processing program has been loaded, the processing control module 110 begins to acquire and preprocess data of the plurality of sensors 140 via J201∼J20n, the data is then sent to the external service terminal 130 via the sixth-type interfaces J600, such that the expected preliminary data of the sensors 140 is obtained.
  2. (2) In the traditional sensor controller, the configuration parameters, including the voltage, the gain, the threshold and the like, has all been pre-set and are unchangeable. However, in the data transmission and control device in a multi-node sensor network shown in the present disclosure, during the acquisition, processing and transmission for the data of the above-described sensors 140, the processing control module 110 further monitors and receives the control instruction sent by the external control device 120via the fifth-type interfaces, so as to promptly adjust the software and parameters of the sensors 140 or the processing control module 110 itself as required, to make the sensors 140 running in an optimal running status all the time.
    • (2-1) In the case when the control instruction is determined to be a query andconfiguration instruction for the parameters of a particular sensor 140, the processing control module 110 queries and configures the parameters of the sensor 140 via the first-type interfaces, and then sends feedback informational the fifth-type interfaces to the external control device 120 for processing. In the case when the instruction issued by the external control device 120 is determined by the processing control module 110 to be a query instruction for a particular operation parameter of a particular sensor 140, for example, the voltage value, the processing control module 110 sends the query instruction to the sensor 140 via the first-type interfaces which are communicatively connected with the sensor 140, the sensor 140 then queries the parameter information and sends feedback information to the processing control module 110 via the same first-type interfaces which are communicatively connected with it, and the processing control module 110 sends the parameter information to the external control device 120 for displaying via the fifth-type interfaces. In the case when the instruction issued by the external control device 120 is determined by the processing control module 110 to be a configuration instruction for the operation parameters of a particular sensor 140, the processing control module 110 downloads the parameter configuration information via the fifth-type interfaces, and configures it into the sensor 140 via the first-type interface J10n which is communicatively connected with the sensor 140, and then returns the information indicating the operation parameters are successfully configured to the external control device 120 through the same route, to inform the operator that the operation parameters are successfully configured.
    • (2-2) In the case when the control instruction issued by the external control device 120 is determined to be an upgrade instruction for a particular sensor 140, the processing control module 110 downloads the upgrade instruction for the sensor 140 via the fifth-type interfaces J500, and configures it into the sensor 140 via the first-type interface J10n which is communicatively connected with the sensor 140, to configure parameters for the sensor 140. In the case when the instruction issued by the external control device 120 is determined by the processing control module 110 to be an upgrade instruction for a particular sensor 140, similar to the parameter configuration process for the sensor 140, the processing control module 110 downloads the upgrade program for the sensor 140via the fifth-type interfaces, and configures it into the sensor 140 via the first-type interface J10n which is communicatively connected with the sensor 140, and then returns the information indicating the upgrade is successfully done to the external control device 120 through the same route, to inform the operator that the sensor 140 has been successfully upgraded.
    • (2-3) In the case when the control instruction is determined to be an upgrade instruction for the processing control module 110, the data transmission and control device downloads the upgrade program and configures it into the data transmission and control device itself via the fifth-type interfaces J500. In the case when additional interfaces are added to the processing control module 110, or a particular sensor 140 has been upgraded, it is also necessary for the processing control module 110 itself to be upgraded so as to ensure normal operation of each of the interfaces and the sensors 140 after the initialization. When the instruction issued by the external control device 120 is determined by the processing control module 110 to be an upgrade instruction for the processing control module 110 itself, the processing control module 110 downloads the upgrade program of the processing control module 110 via the fifth-type interfaces and gets it configured.
  3. (3) During the acquisition, processing and transmission for the sensors 140, the processing control module 110 further monitors and processes external parameters of the sensors 140 via the third-type interface J30n, so as to provide power configuration, power management, running status monitoring and reporting and the like for normal operation of the sensors 140, to achieve the comprehensive monitoring of the sensors 140.
The processing control module 110 receives the real-time parameter data transmitted by the running status monitoring module of the sensors 140 via the third-type interfaces, and uploads the real-time parameter data to the external control device 120 via the fifth-type interfaces, to inform the users of the real-time running state of each of the sensors 140. In addition, a performance and parameter model of the sensors is stored beforehand in the external control device 120 or the processing control module 110, the real-time parameters of the running status of a particular sensor 140 are substituted into the performance and parameter model of the sensors, and it can thus be determined that whether there is a need for reconfiguration of parameters of the sensor 140. If there is, the configuration parameters of the sensor 140 are then dynamically changed based on the performance and parameter model of the sensors, so as to make the sensors 140 running in an optimal running status all the time.
The performance and parameter model of the sensors is obtained from statistics in repeated simulation experiments. In view of the large data volume to be processed, the performance and parameter model of the sensors is generally provided in the external control device 120, when the external control device 120 determines that there is a need for reconfiguration of the operation parameters of a particular sensor 140, it issues the control instruction to the sensor 140 through the step (2), so as to reduce the task volume of the processing control module 110, and to improve the processing and reaction speed of the whole device.
With the data transmission and control device in a multi-node sensor network shown in the present disclosure, the acquisition, processing and transmission for the data of the plurality of sensors 140 can be realized effectively, and compared to the sensors in the prior art, which used to be passively configured, the sensors 140 are allowed to be controlled initiatively, and adaptive adjustment can be done to each of the sensors 140 and the software of the data transmission and control device itself, without changing the hardware, the versatility and compatibility is relatively high. In addition, each of the sensors 140 is provided as an independent online unit via smart modules. The user can perform various operations via the external control device 120, for example, the user can access to, control, and interact with each of the sensors 140; collect and acquire the status information of the sensors 140; collect and analyze the local data; and download and update the firmware to achieve the functions and the workflows of the sensors 140, so as to cope with different application scenarios.
In view of the high requirement for the processing control module, and, correspondingly, the high cost in researching and manufacturing the processing control module to achieving the control of the above-described processes at the same time, the present disclosure discloses another data transmission and control device in a multi-node sensor network in the second embodiment, the processing control module of which comprising, shown as FIG. 3, a first controller 218 used to configure and upgrade parameters, and a second controller 219 used to interact data. The first controller 218 includes one group of fifth-type interfaces, at least one group of first-type interfaces, and an instruction processing unit. The second controller 219 includes one group of sixth-type interfaces, at least one group of second-type interfaces, and a data processing unit. The third-type interfaces are provided on the first controller 218 or the second controller 219, the data processing programs can also be embedded into the FLASH of the first controller 218 or the second controller 219 beforehand.
Taking into account that the processes and data to be processed is too much, which may possibly lead to a lack in the processing capacity of the first controller 218 or the second controller 219, the first controller 218 and/or the second controller 219 is further provided with one group of seventh-type interfaces J700, the seventh-type interfaces J700are peripheral expansion interfaces for the connection with the peripheral control unit and are used for expansion of RAM and FLASH. In the case when the first controller 218 configures the peripheral FLASH via the seventh-type interface, the data processing programs is generally embedded into the peripheral FLASH, and the seventh-type interfaces include FSMC interfaces for the expansion of RAM, and SPI interfaces or I2C for the expansion of FLASH.
The first controller 218 is provided to be mirroring with the second controller 219, and the functions of the two can be interchanged in practical use to control data and instructions respectively.
The first controller 218 and the second controller 219 can be any one of an MCU, a DSP, a CPLD, and an FPGA. For balancing the cost and efficiency, in the processing control module shown in the present embodiment, the first controller 218 can be any one of an MCU, a DSP and a CPLD so as to achieve an optimal configuration and functions such as online managing, online firmware upgrade and maintenance of the sensors 240, and the second controller 219 is an FPGA for data interaction between the plurality of sensors.
In the case when the second controller 219 is an FPGA, since the data stored in the FPGA is lost each time when the power is off, the data processing program is stored beforehand in the first controller 218, and a plurality of fourth-type interfaces are provided between the first controller 218 and the second controller 219 to interact data and instructions. The fourth-type interface comprises a J401 interface and a J402 interface, wherein the J401 interface is used to transmit firmware configuration data (including data processing programs so as to achieve the function of acquisition and transmission for data of the plurality of sensors 240 of the FPGA) between the first controller 218 and the second controller 219, the J402 interface is used to transmit service data between the first controller 218 and the second controller 219, i.e., to transmit configuration data of the peripheral of the second controller 219, and to transmit none-upgrade data between the first controller 218 and the second controller 219. As a preferred embodiment, the J401 interface is a PS mode configuration interface, the J402 interface is a short-distance data transmission interface, wherein the short-distance data transmission interface is any one of an RS232 interface, an SPI, an I2C, a GPIO, and an FSMC.
The data transmission and control divicine multi-node sensor network shown in the second embodiment will be further described, wherein the first controller 218 is an MCU, the second controller 219 is an FPGA, such that a center, through which programming and algorithm customizing is allowed, is provided as a data processing platform.
The control method of the data transmission and control divicine multi-node sensor network will be described below with reference to the above-described separated configuration, wherein the first controller 218 is a MCU built by an ARM, and the second controller 219 is an FPGA.
  1. (1) Initialization. After the power is on, the clocks and peripherals of the first controller 218 and the second controller 219 is configured, the initial parameter of the sensors 240 is configured, and the data processing program is loaded. In the case when the data processing program has been embedded beforehand into the first controller 218, the first controller 218 transmits the data processing program via the J401 interface to the second controller 219, the second controller 219 then loads the data processing program, such that the FPGA can acquire data of the plurality of sensors 240, the acquired data is preliminarily processed through data processing program, and is then transmitted to the external service terminal 230; in the case when the data processing program has not been embedded beforehand into the first controller 218, after the initialization is completed, the first controller 218 downloads the data processing program from the external control device 220 via the fifth-type interfaces J500, and makes the data processing program loaded into the second controller 219 via the J401 interface, and the acquisition, processing and transmission for data of the plurality of sensors 240 is performed.
  2. (2) After the initialization, the processing control module acquires, processes and transmits data of the sensors 240; meanwhile, the first controller 218 further monitors, receives, analyzes, and processes the control instruction sent by the external controldevice 220 via the fifth-type interfaces, the specific steps are as follows:
    • (1-1) the first controller 218 initiatively configures the clock and the peripherals of the processing control module (including the first controller 218 and the second controller 219);
    • (1-2) the second controller 219 loads the data processing program;
    • (1-3) the first controller 218 configures and detects the running voltage of the sensor, so as to make the sensors 240 powered on, the first controller 218 configures the initial operation parameters of the sensors 240, such that the sensors start to operate and send data;
    • (1-4) the data of the plurality of the sensors 240 is collected and pre-processed through the data processing program, and is transmitted to the external service terminal 230 for subsequent processing via the sixth-type interfaces.
    In the case when the type and the amount of the data transmitted to the external service terminal 230 via the data transmission and control divicine multi-node sensor network shown in the present disclosure satisfies the needs of the user, the data transmission and control device shown in the present disclosure can normally acquire and transmit data right after the initialization is completed, without need for any other adjustment. However, in the case when the running condition of the sensor 240 or the requirement of the user is changed, the data transmission and control device shown in the present disclosure can monitor, receive, analyze and process in real time, based on the specific condition, the control instructions sent by the external control device 220 via the fifth-type interfaces, so as to initiatively make adjustments based on the feedback of specific running status, or to make adaptive adjustments based on the needs of users, and further to initiatively determine the operation mode, parameters and firmware of each of the sensor 240, and also the operation parameters of the first controller 218 and the second controller 219.
    • (2-1) In the case when the control instruction is determined by the first controller 218 to be a query and configuration instruction for a parameter of a particular sensor 240, the first controller 218 queries and/or configures the parameter of the sensor 240 via the first-type interfaces, and sends the feedback information of the query and/or configuration via the fifth-type interfaces J500 to the processing control module for processing.
    • (2-2) In the case when the control instruction issued by the external control device220 is determined by the first controller 218 to be an upgrade instruction for a particular sensor 240, the first controller 218 downloads the upgrade program for the sensor 240 via the fifth-type interfaces J500 based on the control instruction, and configures the upgrade program into the sensor 240 via the first-type interface J10n which is communicatively connected with the sensor240, thereby dynamically adjusts the function and the effect of the sensor 240 as needed. The external control device 220 transmits the configuration parameters of each of the sensors 240 to the first controller 218 (ARM control panel) via the fifth-type interfaces (in the present embodiment, through Ethernet communication), the first controller 218 (ARM control panel) stores all the configuration and firmware sent by the external processing device into the local file system, and then sends the operation mode, parameters and firmware of the sensors 240 to be upgraded via the first-type interface J10n cooperating with the sensors 240; after the sending is completed, the control unit of each of the sensors 240 upgrades itself, so as to complete the update of the firmware of the sensor 240 array, and to realize various detecting functions. (2-3) In the case when the first controller 218 determines the control instruction to be an upgrade instruction for the processing control module, the first controller 218 downloads the upgrade program and makes it configured into the processing control module via the first-type interfaces. (2-3-1) In the case when the first controller 218 determines the control instruction to be an upgrade instruction for the first controller 218 itself, the first controller 218 downloads the upgrade program of the first controller 218 from the external control device 220 via the fifth-type interfaces and gets it configured; the external control device 220transmits the firmware of the first controller 218 (ARM control panel) to the first controller 218 (ARM control panel) through Ethernet communication, and the first controller 218 (ARM control panel) stores all the configuration and firmware transmitted by the external control device 220 into the local file system, and upgrades itself; (2-3-2) in the case when the first controller 218 determines the control instruction to be an upgrade instruction for the second controller 219,the first controller 218downloadsthe upgrade program of the second controller 219 from the external control device 220 via the fifth-type interfaces, and makes it configured into the second controller 219 via the J401 interface. Application adaptive firmware can be embeddedinto the ARM platform online, and the ARM can thereby dynamically load the FPGA, to achieve a particular customized algorithm module and detector data processing flow. In addition, in the case when the second controller 219 is any one of a MCU, a DSP and a CPLD, the second controller 219 can also communicate with the external control device 220 directly via the sixth-type interfaces. In the case when the control instruction is determined to be an upgrade instruction for the second controller 219 itself, the external control device 220sends the firmware of the second controller 219 to the second controller 219 through Ethernet communication, and the second controller 219 then stores all the configuration and firmware sent by the external control device 220 into the local file system, and upgrades itself.
  3. (3) Dynamical configuration for parameters of the sensors 240. During the acquisition and transmission for the data of the plurality of sensors 240, the sensor 240 that was configured beforehand may not be running in an optimal running status all the time due to various factors such as running hours and external environment. In view of this, third-type interfaces are applied to the data transmission and control device to realize dynamical configuration for parameters of the sensor 240.
After the initialization, in the process when the data transmission and control device shown in the present disclosure performs routine acquisition and transmission for data, it can also monitor and regulate the running status of the sensors and itself via the third-type interfaces. In the case when the third-type interfaces are provided on the first controller 218, the first controller 218 receives the real-time parameter data transmitted by the running status monitoring module of the sensor 240 via the third-type interfaces so as to monitor the running status of the sensors 240 in real time, and dynamically change the configuration parameters of the sensors 240 based on the performance and parameter model of the sensor 240; in the case when the third-type interfaces are provided on the second controller 219, the second controller 219 receives the real-time parameter data transmitted by the running status monitoring module of the sensor 240 via the third-type interfaces, and, subsequently: the second controller 219 dynamically changes the configuration parameters of the sensors 240 based on the performance and parameter model of the sensor 240; alternatively, the second controller 219 transmits the real-time parameter data of each sensor 240 to the first processor unit via the J402 interface, and the first controller 218 dynamically changes the configuration parameters of the sensors 240 based on the performance and parameter model of the sensor 240. Generally, the running status monitoring module of the sensors 240 comprises the monitoring for voltage detection, current detection, power detection, temperature and humidity detection, and the like, and can monitor the status of the power supply and the environment of the sensors 240 in real time. Further, it can also calibrate the detector in real time based on the monitoring information obtained, to ensure optimal performance of the sensors 240.
In the third embodiment, a PET device is further disclosed. The data transmission and control device in a multi-node detector network shown in the present disclosure is applied as the control device of a front-end electronics system, and is configured to acquire and transmit the data sent by the plurality of detectors in the front-end electronics system. The processing control module respectively is communicatively connected with each of the detectors in the front-end electronics system via at least one group of first-type interfaces and at least one group of second-type interfaces, and is used to configure and query the parameters of the detectors, upgrade the firmware, and to report feedback information. More particularly, the PET device applying the data transmission and control device comprises a front-end electronics system, a data transmission and control device in a multi-node detector network described herein, and an external control system, wherein the external control system comprises an external control device used to store programs and to send instructions, and an external service terminal used to reconstruct images. The plurality of the first-type interfaces of the data transmission and control device respectively is communicatively connected with the plurality of detectors in the front-end electronics system. The fifth-type interfaces are communicatively connected with the external control device, and are configured to configure and upgrade firmware of the detectors and the data transmission and control device. The plurality of the second-type interfaces of the data transmission and control device respectively is communicatively connected with the plurality of detectors in the front-end electronics system, the sixth-type interfaces are communicatively connected with the external service terminal, and are configured to acquire, transmit and process data of the plurality of detectors.
The PET device shown in the present disclosure will be further described below. The PET device includes the data transmission and control device with a separated configuration shown in the second embodiment.
The front-end electronics system includes a plurality of detectors, an external control system comprising an external control system and an external service terminal provided integrally, which is preferred to be a server. The data transmission and control device includes a first controller and a second controller.
The first controller is based on the ARM+Linux platform, and the hardware architecture comprises a Cortex M4 kernel ARM with an external SRAM forming a minimal system configured to control a plurality of programmable voltage modules, and detectors for voltage, circuit, temperature and humidity. The transmission of the control information is performed via double-channel CAN bus. The software system is provided to be a Safe RTOS real-time operating system, which provides API interfaces for users and mainly conduct the following work: ①providing essential elements for the normal operation of the detectors: configuration for a plurality of power supply, configuration for detector parameters; ②providing support for effective operation of the detectors: real-time monitoring; ③ providing stable operation basis: optimal performance calibration for detectors with the use of monitoring information and known detector performance models.
The second controller is based on FPGA, and is able to achieve various data processing flows, various data processing mechanisms, and various data output format in FPGA according to the needs of users. With respect to the data input and output interfaces, both the second-type interfaces and the sixth-type interfaces are Gigabit network interface, to ensure adequate data channels. The second controller mainly comprises the following three parts as algorithm platform, data processing flow and data output structure. ①algorithm platform: providing algorithm packet in a particular mode and algorithm customizing functions according to the use of the users. The calculation for the position, time, and energy information, and also configuration for the energy window can be achieved in the PET field. ②data processing flow: providing particular data processing flow, such as energy calculation, energy window screening, packetization and sending in a particular size, and the like, according to the needs of users. ③data output structure: providing packaging, marking, and data outputting in a customized data format according to the needs of users. Packets in standard format such as standard TCP, UDP, CAN bus, and packets in various customized format can be obtained.
In addition, the first controller and the second controller cooperate with each other in dynamic maintenance for customized firmware. The dynamic maintenance for customized detector firmware is used for the online upgrade of the detectors, it initiatively changes the firmware according to various uses, to achieve various detecting means. The detecting means mainly comprises: ① CAN bus control for control information: all of the data transmission and control devices in a multi-node detector network are mounted onto the CAN bus as independent units, so as to facilitate the control for each of the detectors in the detector array, and for each of the detectors in the detector group. With the CAN bus, the control information can be two-way transmitted between the external control device and the data transmission and control device, and the firmware of the detectors can be read into the processing control module according to a particular protocol, so as to change the program of the ARM and the FPGA, and to achieve varieties of detector functions. ②networking access to the detector array: with the plurality of detectors formed as an array, all of the detectors can be accessed to and controlled atone position through the CAN bus and the CAN bus switch. ③automatic loading for firmware information (including the ARM and the FPGA): the application adaptive firmware can be embedded into the ARM platform online, and the ARM can thereby dynamically load the FPGA, to achieve a particular customized algorithm module and processing flow for the detector data, so as to complete the firmware updating for the whole detector assembly, and to change or customize the use of the detectors according to actual needs.
The foregoing description of the embodiments is intended to facilitate the understanding and use of the disclosure by those skilled in the art. It will be apparent to those skilled in the art that various modifications can be easily made to these embodiments and that the generic principles described herein will be applied to other embodiments without paying creative work. Accordingly, the present disclosure is not limited to the above-described embodiments, the improvements and modifications made by those skilled in the art without departing from the scope of the disclosure should be within the scope of the present disclosure.

Claims (12)

  1. A data transmission and control device in a multi-node sensor network, comprising a processing control module (110) configured for data interaction, parameter configuration and firmware upgrade, the processing control module (110) including an instruction processing unit, a data processing unit, at least one group of first-type interfaces (J101-J10n), at least one group of second-type interfaces (J201-J20n), at least one group of third-type interfaces (J30n), one group of fifth-type interfaces (J500), and one group of sixth-type interfaces (J600), the processing control module (110) being communicatively connected with a plurality of sensors (140, 240) via the at least one group of first-type interfaces (J101-J10n) and the at least one group of second-type interfaces (J201-J20n), each of the sensors (140, 240) being respectively communicatively connected with the first-type interface (J101-J10n) and the second-type interface (J201-J20n), the processing control module (110) being communicatively connected with an external control device (120, 220) via the fifth-type interfaces (J500), and being communicatively connected with an external service terminal (130, 230) via the sixth-type interfaces (J600), wherein:
    the fifth-type interfaces (J500) are configured to send control messages, data messages, and report feedback information; and the fifth-type interfaces (J500) and the at least one group of first-type interfaces (J101-J10n) are configured to cooperate with the instruction processing unit to configure and query parameters of the sensors (140, 240), and to upgrade firm ware and report feedback information of the sensors (140, 240) and the processing control module (110);
    the at least one group of second-type interfaces (J201-J20n) and the sixth-type interfaces (J600) are configured to cooperate with the data processing unit to acquire data of the plurality of sensors (140, 240), and to transmit the data to the external service terminal (130, 230) for processing,
    wherein the processing control module (110) comprises a first controller (218) configured for parameter configuration and firmware upgrade, and a second controller (219) configured for data interaction of the plurality of sensors (140, 240), the first controller (218) comprising the instruction processing unit, a group of fifth-type interfaces (J500), and at least one group of first-type interfaces (J101-J10n), the second controller (219) comprising the one group of sixth-type interfaces (J600), and at least one group of second-type interfaces (J201-J20n), the third-type interfaces (J30n) being provided on the first controller (218) or on the second controller (219).
  2. The data transmission and control device according to claim 1, wherein the data processing unit is configured to perform-a preprocessing step between the acquisition and the transmission, the preprocessing step comprising one or more of the following data operations including screening, filtering, algorithm implementation, marking, encapsulation, packetization, caching and packet sending.
  3. The data transmission and control device according to claim 1, wherein the third-type interfaces (J30n) are reserved control interfaces configured for cooperating with the instruction processing unit for the connection with the running status monitoring module of the plurality of sensors (140, 240) and the processing control module(110), and for the processing thereof; the running status monitoring module is any one or more of a running temperature monitoring module for the sensors (140, 240) and/or the processing control module (110), an environment humidity monitoring module for the sensors (140, 240) and/or the processing control module (110), a fan control module for the sensors (140, 240) and/or the processing control module (110), a voltage control module for the sensors (140, 240) and/or the processing control module (110), an ID information verification module for the sensors (140, 240) and/or the processing control module (110).
  4. The data transmission and control device according to claim 1, wherein the number of the first-type interfaces (J101-J10n) and the second-type interfaces (J201-J20n) of each group of the processing control module (110) is provided to be corresponding to the number of the sensors (140, 240) attached to the group of the processing control module (110), each sensor is communicatively connected with the processing control module (110) via a group of first-type interfaces (J101-J10n) and a group of second-type interfaces (J201-J20n).
  5. The data transmission and control device according to claim 1, wherein the first controller (218) and the second controller (219) is any one of an MCU, a DSP, a CPLD, and an FPGA.
  6. The data transmission and control device according to claim 1 or 5,wherein the second controller (219) is an FPGA, the data processing program in the FPGA, which is configured to acquire data of the plurality of sensors (140, 240) and to transmit the data to the external service terminal (230) for processing, is embedded beforehand into the first controller (218), a plurality of fourth-type interfaces (J401, J402) are correspondingly provided between the first controller (218) and the FPGA, the fourth-type interfaces (J401, J402) comprises a J401 interface and a J402 interface, the J401 interface is configured to transmit the firmware configuration data between the first controller (218) and the FPGA, the J402 interface is configured to transmit the service data between the first controller (218) and the FPGA; the J401 interface is a PS mode configuration interface, the J402 interface is a short-distance data transmission interface, the short-distance data transmission interface is any one of an RS232 interface, an SPI, an I2C, a GPIO, an FSMC, an EPI, and a LOCAL BUS; the first controller (218) is an MCU, and the second controller (219) is an FPGA; the third-type interfaces are provided on the first controller.
  7. The data transmission and control device according to claim 1 or 5, wherein the first controller (218) and/or the second controller (219) is provided with a seventh-type interface (J700), which is a peripheral expansion interface configured to connect with the peripheral control unit for expansion of RAM and FLASH; the seventh-type interface (J700) comprises FSMC interfaces for the expansion of RAM, and SPI interfaces or I2C interfaces for the expansion of FLASH.
  8. The data transmission and control device according to claim 1,wherein the first-type interface (J101-J10n), the second-type interface (J201-J20n), the third-type interface (J30n), the fifth-type interface (J500), and the sixth-type interface (J600) is any one of an RS232 interface, an RS485 interface, an Ethernet interface, a CAN interface, a fiber interface, an SPI, an I2C, a GPIO or an FSMC; the external control device (120, 220) is integrated with the external service terminal (130, 230).
  9. A PET device having a front-end electronics system, comprising: the data transmission and control device according to claims 1 to 8, a plurality of detectors and an external control system the external control system comprises the external control device (120, 220) configured for program storage and instruction sending, and the external service terminal (130, 230) configured for image reconstruction, the processing control module (110) is communicatively connected with each of the detectors in the front-end electronics system respectively via the at least one group of first-type interfaces (J101-J10n) and the at least one group of second-type interfaces (J201-J20n), and is communicatively connected with the external control device (120, 220) via the fifth-type interfaces (J500) to configure and query the parameter, upgrade firmware, and report feedback information of the sensors (140, 240), and is communicatively connected with the external service terminal (130, 230) to reconstruct image.
  10. A control method of the data transmission and control device in a multi-node sensor network according to any one of claims 1 to 8, comprising the following steps:
    (1) initialization: after the processing control module (110) is powered on, the clocks and peripherals of the processing control module (110) are configured, the data processing program are loaded, and the initial parameter of the sensors (140, 240) are configured, the data of the plurality of sensors is preliminarily processed by the data processing program, and is then transmitted to the external service terminal (130, 230);
    (2) the processing control module (110) monitors, receives, analyzes and processes the control instructions sent by the external control device (120, 220):
    (2-1) in the case when the control instruction is determined to be a query and/or configuration instruction for the parameters of a particular sensor, the parameter information of the sensor is queried and/or configured via a first-type interface (J101-J10n) which is communicatively connected with the sensor, and is returned to the external control device (120, 220) for processing via the fifth-type interfaces (J500);
    (2-2) when the control instruction is determined to be a firmware upgrade instruction for a particular sensor, the processing control module downloads an upgrade program for the particular sensor via the fifth-type interfaces (J500), and the particular sensor then downloads the upgrade program from the processing control module (110) via the first-type interface (J500) which is communicatively connected with particular sensor and gets configured;
    (2-3) when the control instruction is determined to be an upgrade instruction for the processing control module (110), the processing control module (110) downloads the upgrade program, and gets it configured into the processing control module (110).
  11. The control method according to claim 10, wherein in the step (2-3), the first controller (218) determines whether the upgrade is to be performed to the processing control module (110) itself via the fifth-type interfaces (J500):
    (2-3-1) in the case when the first controller (218) determines the upgrade is to be performed to the processing control module (110) itself, the first controller (218) downloads the upgrade program of the first controller (218) from the external control device (220) via the fifth-type interfaces (J500) and gets it configured;
    (2-3-2) in the case when the first controller (218) determines the upgrade is to be performed to the second controller (219), the first controller (218) downloads the upgrade program of the second controller (219) from the external control device (220)via the fifth-type interfaces (J500) and gets it configured into the second controller (218) via the J401 interface; alternatively, in the step (2-3), the first controller (218) determines via the fifth-type interfaces (J500) and the second controller (219) determines via the sixth-type interfaces (J600) that whether the upgrade is to be performed to the processing control module (110) itself:
    (2-3-1') in the case when the first controller (218) determines the upgrade is to be performed to the first controller (218) itself, the first controller (218) downloads the upgrade program of the first controller (218) from the external control device (220) via the fifth-type interfaces (J500) and gets it configured;
    (2-3-2') in the case when the second controller (219) determines the upgrade is to be performed to the second controller (219) itself, the second controller (219) downloads the upgrade program of the second controller (219) from the external control device (220) via the sixth-type interfaces (J600) and gets it configured.
  12. The control method according to claim 10, wherein further comprises a step (3), the monitoring and processing step for the running status of the sensors (140, 240): the processing control module (110) receives in real time the real-time parameter data of the sensor running status transmitted by the sensor running status monitoring module via one of the third-type interfaces (J30n) and reports to the external control device (220), the external control device (220) or the processing control module (110) dynamically changes the configuration parameters of the sensors (140, 240) based on the performance and parameter model of the sensors (140, 240), so as to make the sensors (140, 240) running in an optimal running status; the performance and parameter model of the sensors (140, 240) is pre-stored in the external control device (220), which dynamically changes the configuration parameters of a particular sensor based on the performance and parameter model of the sensors (140, 240), and transmits the configuration parameters to the particular sensor through the step (2), so as to make the sensor running in an optimal running status.
HK18105322.8A 2015-02-13 2016-01-23 Data transmission and control device in multi-node sensor network HK1245617B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201510078266 2015-02-13
CN201510078266.2A CN104750068B (en) 2015-02-13 2015-02-13 A kind of data transmission and control device of multinode sensor network
PCT/CN2016/071803 WO2016127778A1 (en) 2015-02-13 2016-01-23 Data transmission and control device in multi-node sensor network

Publications (2)

Publication Number Publication Date
HK1245617A1 HK1245617A1 (en) 2018-08-31
HK1245617B true HK1245617B (en) 2021-11-05

Family

ID=

Similar Documents

Publication Publication Date Title
EP3257443B1 (en) Data transmission and control device in multi-node sensor network
CN108646816B (en) PET equipment
EP2661014B1 (en) Polling sub-system and polling method for communication network system and communication apparatus
US11720074B2 (en) Method and system for managing virtual controllers in a building management system
CN105135615B (en) debugging method and device of air conditioner
US9692828B2 (en) Monitoring system for an avionics platform with three-tier architecture
US20130262665A1 (en) Remote server and method for managing running status of remote server
US10203964B2 (en) Mobile device external controller module
BR112014027473B1 (en) METHOD, APPLIANCE AND TANGIBLE ARTICLE OF MANUFACTURING WHICH STORAGE MACHINE-LEABLE INSTRUCTIONS
CN204790543U (en) Be applied to distributed IO topological structure of highway tunnel control
US7636796B2 (en) Smart interconnect for modular multi-component embedded devices
US10353854B2 (en) Cloud programming sensor interface architecture
HK1245617B (en) Data transmission and control device in multi-node sensor network
CN102073344A (en) Blade server management module with wireless module and blade server system
CN205248372U (en) Fuel cell stand -by power supply operation controlling means and system
CN110795480B (en) Traffic operation data processing method and device
CN206023334U (en) A kind of battery charger, the mobile terminal of accumulator Charge Management, the accumulator charging management system based on cloud platform
CN203941437U (en) A kind of modularization LANs-monitoring System that is applied to 3D printing device
KR20130110442A (en) Method and system for managing centralized programable logic controller using simple network management protocol
CN203982155U (en) A kind of modularization ZIGBEE supervisory system that is applied to 3D printing device
CN215186071U (en) Power supply device and power supply system
US20200412809A1 (en) Monitoring system with low power data acquisition
CN121097813A (en) A method and device for centralized data acquisition and control of distributed photovoltaic power stations
CN120238841A (en) An intelligent terminal system for oil wells
CN105467889A (en) Signal processing device and integrated control system