SENSOR HUB, SENSOR SYSTEM, METHOD FOR TRANSMITTING SENSOR SIGNALS AND COMPUTER-READABLE STORAGE MEDIUM
20220247596 · 2022-08-04
Inventors
- Elmar MANGOLD (Zöbingen, Unterschneidheim, DE)
- Peter WITSCH (Schwäbisch Hall, DE)
- Nedzad HAMSIC (Waldenburg, DE)
Cpc classification
H04L12/4625
ELECTRICITY
International classification
Abstract
A sensor hub may be used to address complex cabling issues. Such sensor hub may include at least one sensor communication device designed to receive sensor signals from at least two sensors and/or to output signals to the at least two sensors; a computer device communicatively connected to the at least one sensor communication device and designed to generate sensor data using the sensor signals; and a transmitting device designed to transmit the sensor data to a user device via a single communications medium. The sensor data indicate addresses which are each assigned to one of the at least two sensors.
Claims
1. A sensor hub, comprising: at least one sensor communication device adapted to receive sensor signals from at least two sensors; a computer device which is communicatively connected to the at least one sensor communication device, and which is designed to generate sensor data using the sensor signals; a transmitting device adapted to transmit the sensor data to a user device via a single communications medium, wherein the sensor data indicate addresses which are each assigned to one of the at least two sensors.
2. The sensor hub according to claim 1, wherein the sensor signals indicate sensor readings.
3. The sensor hub according to claim 1, wherein the sensor signals indicate a temperature, a humidity, a fine dust indication, a vibration indication, a gas indication and/or further physical or chemical measurands.
4. The sensor hub according to claim 1, wherein the at least one sensor communication device is designed to be connected to at least one fieldbus system for communication with the at least two sensors.
5. The sensor hub according to claim 1, wherein the transmitting device is designed to transmit the sensor data periodically.
6. The sensor hub according to claim 5, wherein the sensor data within a transmission period comprise a data packet, wherein the data packet indicates a transmission channel, a sensor status, a sensor type and/or at least one sensor reading.
7. The sensor hub according to claim 5, wherein the sensor data within a transmission period comprises a data packet, wherein the data packet indicates at least two sensor types, a sensor status, and/or at least one sensor reading for one of the at least two sensor types.
8. The sensor hub according to claim 1, wherein the computer device is adapted to transmit a sensor address to a sensor using the at least one sensor communication device.
9. The sensor hub according to claim 8, wherein the computer device is adapted to process a response message from a sensor received via the at least one sensor communication device response to a/the transmitted sensor address and to determine the type of the sensor using the response message.
10. The sensor hub according to claim 8, wherein the computer device is adapted to determine that no sensor is connected to the at least one sensor communication device when no response message is received in response to a/the transmitted sensor address.
11. A sensor system, comprising: the sensor hub according to claim 1; at least one sensor which is designed to be communicatively connectable to the sensor hub; and a user device which is designed to be communicatively connected to the sensor hub via the single communications medium.
12. The sensor system according to claim 11, wherein the at least one sensor is designed as a temperature sensor, a humidity sensor, a gas sensor and/or as a particle sensor.
13. A method for transmitting sensor data, comprising the steps of: receiving sensor signals from at least two sensors; generating sensor data using the sensor signals, wherein the sensor data indicates addresses each assigned to one of the at least two sensors; and transmitting the sensor data to a user device.
14. The method according to claim 13, further comprising: transmitting a sensor address assigned to a sensor type to a first sensor of the at least two sensors; receiving a response message from the first sensor; and assigning the sensor address to the first sensor.
15. The method according to claim 13, further comprising: transmitting a sensor address assigned to a sensor type to a first sensor of the at least two sensors; and determining that no sensor is connected to the sensor address when no response message is received in response to the transmission.
16. A computer-readable storage medium containing instructions that cause at least one processor to implement the method according to claim 13, when the instructions are executed by the at least one processor.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The foregoing summary, as well as the following detailed description of the preferred invention, will be better understood when read in conjunction with the appended drawings:
[0056]
[0057]
[0058]
[0059]
[0060]
DETAILED DESCRIPTION OF THE INVENTION
[0061]
[0062] Four sensors 11, 12, 13, 14 are arranged in the production plant 10, i.e. a gas sensor 11, a fine dust sensor 12, a first temperature sensor 13 and a second temperature sensor 14. In addition, further components not shown are arranged in or at the production plant 10, such as a control programmable unit (PLC). Of course, in a further exemplary embodiment it is conceivable that only sensors of one type are used, for example only humidity sensors.
[0063] The sensors 11, 12, 13, 14 are each connected to the sensor hub 20 via fieldbus connections 2, for example an I.sup.2C bus connection. One way of communication, which is also used by the I.sup.2C bus, is characterized in that a four-wire connection is used, wherein one wire is used for the transmission of a clock signal and the second wire is used as a data line (¾ for the operating voltage of the sensor). Both wires are connected to a supply voltage via pull-up resistors. The fieldbus 2 is designed as a master-slave fieldbus. This means that a communication in the shown exemplary embodiment is initiated by the master. In the exemplary embodiment, the sensor hub 20 is designed as a master and the sensors 11, 12, 13, 14 are each designed as a slave.
[0064] The sensors 11, 12, 13, 14 connected via the fieldbus 2 can be addressed via addresses by the sensor hub 20. This means that the master transmits an address to the sensors 11, 12, 13, 14 via the field bus 2 and the sensor 11, 12, 13, 14 to which the address is to be assigned responds with sensor signals indicating the measured values.
[0065] The sensors 11, 12, 13, 14 are designed to transmit their measured values as sensor signals to the sensor hub 20. The sensor hub 20 is described in detail in connection with
[0066] A point-to-point connection is preferably used between the sensor hub 20 and the user device 5, for example an IO-Link connection 3.
[0067] A point-to-point connection is characterized in that no other devices are connected between two connected devices. Thus, with a point-to-point connection, only one other device can be connected to a port of a device.
[0068] With the invention described, it is now made possible to receive the sensor signals of a plurality of sensors 11, 12, 13, 14 via a connection on the user device 5. Furthermore, it is now possible to determine from which sensor which sensor data originates. Thus, in the exemplary embodiment of
[0069]
[0070] In the context of this application, the connections 21, 22, 23, 24 are also referred to as sensor communication devices.
[0071] The sensors 11, 12, 13, 14 transmit respective sensor signals 27, 27′, 27″, 27′″ to the computer device 25 via the connections 21, 22, 23, 24. The computer device 25 is configured to receive and process the sensor signals 27, 27′, 27″, 27′″. For example, the computer device 25 is adapted to calculate a temperature from voltage values 27 transmitted by a temperature sensor 13. In this respect, the computer device 25 may be appropriately preconfigured so that it is possible to assign a corresponding temperature to a digital data packet.
[0072] However, it is also conceivable that the computer device 25 performs more advanced calculations, such as determining an average value over a certain time interval, for example 24 hours.
[0073] Finally, in some exemplary embodiments, the computer device is adapted to form a virtual sensor. This means that the computer device 25 is adapted to process the values from at least one sensor 11, 12, 13, 14 and to transmit them as sensor data to the user device 5. For example, it is possible to create a virtual sensor which always indicates the temperature average of the last 24 hours.
[0074] The computer device 25 may further comprise a memory device in which, for example, the sensor data is temporarily stored. The addresses of the sensors 11, 12, 13, 14 may also be stored there.
[0075] The processed sensor signals 27, 27′, 27″, 27′″ are additionally aggregated by the computer device 5 as sensor data 28. This means that the sensor signals 27, 27′, 27″, 27′″ can be transmitted further together. For this purpose, the sensor data 28 are sent to a transceiver 26 which transmits the sensor data 28 to the user device 5.
[0076] The transceiver 26 may also be referred to as the transmitting device.
[0077]
[0078] In the initialization step 301, the sensor hub 20 is switched on and thus supplied with power. Furthermore, it is checked whether all sensors 11, 12, 13, 14 known to the sensor hub 20 have already been initialized. For this purpose, the sensor hub 20 has a memory device in which a plurality of sensor addresses are stored. Each address is assigned a sensor type and an indication as to whether the associated sensor 11, 12, 13, 14 is already initialized.
[0079] In the test step 302, the computer device 25 of the sensor hub 20 checks whether at least one address has not yet been initialized. If this is the case, the method continues with the transmission step 305. If all sensors 11, 12, 13, 14 have already been initialized, the method ends with the end step 308.
[0080] In the transmission step 305, a sensor address 304 which is not yet initialized is read out from the memory device 303. The address 304 is transmitted in the transmission step 305 via a sensor communication device 21, 22, 23, 24.
[0081] If a response to the transmitted address 304 is received in the receiving step 306, an assignment from the address 304 to the sensor communication device 21, 22, 23, 24 used is stored in the storing step 307. Thus, from this point on, it is known which sensor 11, 12, 13, 14 can be reached via which sensor communication device 21, 22, 23, 24.
[0082] If no response is received to the sending of address 304 at step 306, the method proceeds to step 301.
[0083]
[0084]
[0085] The sensor data 7 may also include the data for all channels, i.e. sensor communication devices or connections 21, 22, 23, 24. Thus, with reference to FIG. 1, the sensor data 7 comprises the data of
[0086] The described exemplary embodiment has the advantage that little process data must be transmitted, since the data necessary for a sensor can always be precisely transmitted in a compact manner at all times. A disadvantage is that the status S1 must be evaluated in order to determine what data is being transmitted.
[0087] This disadvantage is addressed by the exemplary embodiment of
[0088] The definition of the sensor types T1-T4 in the sensor data 8 is thereby fixed, so that it can be recognized from the use of the data fields D1-D4 which type of data is involved. For example, if T1 is specified as a temperature sensor, it can be recognized from the use of the data field D1 with a value that the data in the data field D1 is temperature data of a connected temperature sensor 13. Thus, no status needs to be read out and interpreted.
[0089] It will be appreciated by those skilled in the art that changes could be made to the embodiments described above without departing from the broad inventive concept thereof. It is understood, therefore, that this invention is not limited to the particular embodiments disclosed, but it is intended to cover modifications within the spirit and scope of the present invention as defined by the appended claims.
LIST OF REFERENCE SIGNS
[0090] 1 Sensor system [0091] 2 Fieldbus connection [0092] 3 IO-Link cable [0093] 5 User device [0094] 10 Production plant [0095] 11 Gas sensor [0096] 12 Fine dust sensor [0097] 13 First temperature sensor [0098] 14 Second temperature sensor [0099] 20 Sensor hub [0100] 21, 22, 23, 24 Port/terminal [0101] 25 Microcontroller [0102] 26 Transceiver [0103] 7, 8 27, 27′, 27″, 27′″ Sensor signals [0104] 28 Sensor data [0105] 300 Initialization procedure [0106] 301 Initialization step [0107] 302 Test step [0108] 303 Storage device [0109] 304 Address [0110] 305 Transmission step [0111] 306 Receive step [0112] 307 Storage step [0113] 308 End step [0114] S1 Status [0115] T1-T4 Sensor type [0116] D1-D4 Datum