The present invention relates to a sensor terminal and a sensor system.
It is expected that a plurality of sensor terminals are arranged in a facility of a factory or the like, and data obtained from the sensor terminals is analyzed so that failure prediction and an optimum operation method are obtained. With mass information gathered from such sensor terminals, although the state of the facility is classified and detected by using a machine learning method or the like, at the initial stage of installation, it is often not clear what kind of information obtained from the sensor terminals plays a fatal role in the detection.
In such a case, the sensor terminal is required to have excessive performance with respect to inherently necessary performance, and the operation cost increases due to an increase in data rate and an increase in power consumption. Even if redesigned sensor terminals are rearranged at the stage where the optimum performance is found out, cost for rearranging a large number of sensor terminals is required.
Therefore, use of a sensor terminal capable of changing characteristics of performance even after installation of sensor terminals has been proposed. For example, JP 2015-103062 A provides a means for switching a gain or the like of a circuit in a sensor terminal on the basis of information of a setting table stored in advance in a storage device included in a data collection device (control unit).
By using the means provided in JP 2015-103062 A, characteristics can be changed after installation of the sensor terminal. However, in a case where many types of sensor terminals are installed in a mixed manner, it requires complicated work such as associating the information with information that can be set, while checking the type of the device, for collectively managing information of characteristics that vary depending on the types of sensor terminals before installation, by a device that sets information.
The present invention provides a means for sharing information that can be set to a sensor terminal, between the sensor terminal and the outside of the center terminal so that information can be set to the sensor terminal even when the sensor terminal has already been installed.
A typical sensor terminal according to the present invention is a sensor terminal including a sensor element, the sensor terminal including: an ADC that converts an analog signal output from a sensor element into a digital signal; a storage device in which a plurality of first storage setting numbers being information for controlling the ADC and a plurality of Pieces of first characteristic information including description of operation of the ADC are stored in association with each other; and a communication device that receives a first reception setting number from the outside of the sensor terminal and transmits the first characteristic information corresponding to the first storage setting number that coincides with the first reception setting number to the outside of the sensor terminal.
According to the present invention, it is possible to provide a means for sharing information that can be set to a sensor terminal, between the sensor terminal and the outside of the center terminal so that information can be set to the sensor terminal even when the sensor terminal has already been installed.
Preferred embodiments of the present invention will be described below as examples with reference to the drawings.
A sensor element 120 is an element that converts a physical signal (physical phenomenon) into an electric signal, and a type of the physical signal that is to be converted by the sensor element 120 is not limited. However, it is preferable that the sensor element 120 is an element that converts a physical signal into an electric signal having a bandwidth. Also, it is preferable that the converted electric signal is an analog signal.
An amplifier 111 is a circuit that amplifies the electric signal from the sensor element 120, and may amplify the electric signal to a value necessary for an ADC 113 in the subsequent stage, for example. A bandwidth filter 112 is a circuit that limits a frequency bandwidth of the electric signal amplified by the amplifier 111, and may be, for example, a low pass filter, a band pass filter, or a high pass filter.
An analog-to-digital converter (ADC) 113 is a circuit that converts an analog electric signal into a digital electric signal. The ADC 113 will be further described later with reference to
The sensor element 120 may acquire a physical signal or output an analog electric signal in accordance with a clock from the transmitter 114. The ADC 113 may acquire an analog electric signal or output a digital electric signal in accordance with a clock from the transmitter 114.
Due to such operation based on the clock, the output of the sensor element 120 and the input of the ADC 113 may be synchronized with each other. It should noted that the sensor element 120 may continuously acquire a physical signal and continuously output an analog electric signal without an input of a clock.
The operation and control device 117 is a circuit that controls each circuit in the sensor terminal 100. The operation and control device 117 outputs a signal to an encoder 115 on the basis of characteristic data read from the storage device 116, transmits a digital electric signal from the ADC 113 to the outside via a communication device 130, and writes data externally received via the communication device 130 into the storage device.
The storage device 116 is a circuit that stores tabulated variable characteristics (characteristic table) as data. The tabulated variable characteristic will be further described later with reference to
The amplifier 111, the bandwidth filter 112, the ADC 113, the transmitter 114, the encoder 115, the storage device 116, and the operation and control device 117 compose the control circuit 110 for the sensor element 120.
The communication device 130 is a circuit that communicates with the outside of the sensor terminal 100. The sensor element 120, the control circuit 110, and the communication device 130 described above compose the sensor terminal 100.
With respect to the sensor terminal 100 described above, the external control device 140 includes a communication device 141 that communicates with the sensor terminal 100, an operation circuit 142 that operates on the basis of a communication result transmitted from the sensor terminal 100, and determines communication contents, and a storage device 143 that stores the characteristic table of the sensor transmitted by the sensor terminal 100.
The external control device 140 receives, in addition to the signal converted by the ADC 113 from the sensor terminal 100, the characteristic table stored in the storage device 116 of the sensor terminal 100, and stores the received characteristic table to the storage device 143 of the external control device 140, so that the characteristic table stored in the sensor terminal 100 can be shared with the external control device 140.
Although
“(11)” of the item number 211 in the example of
A dependent item 214 is a number for identifying an item that is a dependency destination, and corresponds to the number of the item number 211. For example, the dependent item 214 of the item whose item number 211 is “(11)” and the item name 212 is “bandwidth” is “(12)”, and this represents that the item number 211 is “(12)” and the item name 212 depends on the item of “resolution”.
The dependent item 214 may be information that there is no dependency destination item, and in the example of
It should be noted that an example in the case where the dependent item 214 is “independent”, “change”, and “constraint” will be described with reference to each of
Therefore, although it is unnecessary for the contents itself of the characteristic table shown in
The setting number 221 is a number (information) set in the encoder 115. “(21)” of the setting number 221 and the like are also numbers for explanation, parentheses are added so that the numbers are easily distinguished from reference numerals, and the different number from the item number 211 is added. However, it is not limited to such numbers, as long as it is information that can identify setting numbers for items.
The resolution 222 is a characteristic to be expressed in the control circuit 110 with respect to the number of the setting number 221. For example, when “(21)” of the setting number 221 is set in the encoder 115, the resolution with respect to a signal is “8 bits” in the control circuit 110 or in some circuits in the control circuit 110.
The number of setting numbers 216 for the example of the characteristic table shown in
Therefore, although it is unnecessary for the contents itself of the characteristic table shown in
The bandwidth 232 is a characteristic to be expressed in the control circuit 110 with respect to the number of the bandwidth setting number 233. For example, when “(31)” of the setting number 233 is set in the encoder 115, the bandwidth with respect to a signal is “100 KHz” or the like in the control circuit 110 or in some circuits in the control circuit 110.
In the example of
As shown in
Therefore, even if the bandwidth setting number 233 is fixed to “(31)”, if the resolution setting number 231 is “(21)”, the bandwidth in the control circuit 110 is “100 KHz”, while, if the resolution setting number 231 is “(22)”, the bandwidth in the control circuit 110 is “50 KHz”.
A response 234 is waiting time for a response from when the number of the bandwidth setting number 233 or the resolution setting number 231 is changed by the encoder 115 until the characteristic to be expressed in the control circuit 110 chances.
Therefore, although it is unnecessary for the contents itself of the characteristic table shown in
The sampling rate 242 is constraint on the sampling rate setting number. However, as shown in
Therefore, the sampling rate setting number 243 set in the encoder 115 is the number from “(41)” to “(49)”. However, if the resolution setting number 241 is “(22)”, the settable minimum value of the sampling rate setting number is “(41)” and the settable maximum value is “(48)”.
If the resolution setting number 241 is “(23)”, the settable minimum value of the sampling rate setting number is “(42)” and the maximum value is “(46)”. It should be noted that the constraint is not limited to the minimum value and the maximum value, and settable numbers may be listed, or numbers that are not settable may be listed.
The number of setting numbers 216 for the example of the characteristic table shown in
In the example shown in
“(21)” and the like that are the numbers of the resolution setting number 251 are numbers of the setting number 221 shown in
In the example of
Among the characteristic tables shown in
In addition, in the explanation of
For example, they may be the same or different as long as “(21)”, “(22)” and “(23)” of the setting number 221 have values of different numbers. The value itself of the number such as the setting number 221 may be a value based on information stored in the circuit of the encoder 115 that defines the input of the encoder 115 or the encoder 115.
Upon receiving the telegram shown in
The external control device 140 reads the information of the characteristic table shown in
When the dependent type 215 of the item to be read is “independent”, as shown in
When the dependent type 215 of the item to be read is “change”, as shown in
Here, the item number B335 is the item on which the item number A333 depends and is the item number of the dependent item 214. When the number of dependency destination items is two or more, the telegram may further include an item number and a setting number.
As an explanation, in order to determine a position to which an item number and a setting number belong, the item number and the setting number stored in the storage device 116 or the storage device 143 may be referred to as a storage item number and a storage setting number, respectively, the transmitted item number and the setting number may be referred to as a transmission item number and a transmission setting number, respectively, and the received item number and setting number may be referred to as a reception item number and a reception setting number, respectively.
A sample-hold variable stage DAC 403 sample-holds the analog signal amplified by the buffer 401, outputs the result to a comparator 404, converts the digital value from a shift register 402 into an analog signal, and outputs the analog signal to the comparator 404. Here, the number of bits of the digital value from the shift register 402, that is, the number of bits converted into an analog signal is set as the number of stages.
The comparator 404 compares the magnitudes of the voltages of the two analog signals and outputs the comparison result. Since the analog signal includes a noise component, the value of the noise is set so that the margin of the noise component is provided and the voltages are compared.
An initial value is set to each bit of the shift register 402, and the shift register 402 sequentially updates bit by bit from a most significant bit (MSB) to a least significant bit (LSB) with the comparison result of the comparator 404.
The shift register 402 outputs, as digital values, the bits from the MSB to the LSB updated by 1 bit with the comparison result to the sample-hold variable stage DAC 403, and when updating is performed with the comparison result to the LSB, outputs a digital value of hits from the MSB to the LSB to the outside of the ADC 113 as digital signals.
The ADC 113 includes a register 405 for holding values output to each of the buffer 401, the shift register 402, the sample-hold variable stage DAC 403, and the comparator 404. The value held in the register 405 is received from the encoder 115.
The encoder 115 receives the setting number from the operation and control device 117 and encodes the received setting number into the set value of the register 405. The bandwidth setting number 411 is the number of the setting number 233 of the bandwidth shown in
When the operation and control device 117 outputs the resolution setting number 412 to the encoder 115, the encoder 115 outputs the number of stages set value 422 and the shift register set value 423 to the register 405 such that the ADC 113 is the characteristic of the resolution corresponding to the setting number. Here, the encoder 115 may output a noise set value 424 corresponding to the resolution.
When the operation and control device 117 outputs the bandwidth setting number 411 to the encoder 115, since the bandwidth also depends on the resolution, the encoder 115 outputs the current set value 421 to the register 405 such that the ADC 113 is the characteristic of the bandwidth corresponding to the setting number of the bandwidth and the resolution.
Although the ADC 113 is shown as the output destination of the encoder 115 with respect to the bandwidth setting number 411 in
That is, when changing is performed to the setting B502 at the time 521 in a case where the data 511 corresponding to the setting A501 is output, after unstable data 512 is output, data 513 corresponding to the setting B502 is output, and time 522 at which the unstable data 512 is output is the response waiting time.
The external control device 140 includes the response waiting time in the characteristic table and shares with the sensor terminal 100, thereby capable of specifying time-valid data and invalid data along with change of the sensor terminal 100.
In these settings, for example, when a predetermined physical signal is input to the sensor terminal 100, a graph in which the signal value and the frequency are spectrally displayed as shown in
Here, in the case where information on the signal peaks 601a, 602a is enough for specifying a predetermined physical signal, the signal peak 603a becomes unnecessary information, and as a graph, there is room for lowering the upper limit of the bandwidth of the sensor terminal 100.
The external control device 140 refers to the characteristic table shared with the sensor terminal 100, acquires a bandwidth 622 whose upper limit bandwidth is lower than that of the bandwidth 621, and instructs the sensor terminal 100 to set “(32)” as the bandwidth setting number. As a result, the upper limit 611 of the graph becomes the upper limit 612, and for the signal peaks 601a, 602a, the signals of the sensor terminal 100 remaining as the signal peaks 601b and 602b can be obtained.
By setting the bandwidth setting number to “(32)”, that is, lowering the upper limit of the bandwidth from the upper limit 611 to the upper limit 612, it is possible to reduce the power consumption of the control circuit 110 as shown in
In order to instruct the setting of the setting number from the external control device 140 to the sensor terminal 100, the external control device 140 transmits a command code for setting (setting command) that is different from the command code shown in
Next, an example of changing the characteristic of the resolution of the sensor terminal 100 will be described with reference to
Here, when information on the signal peaks 641a, 642a is enough for specifying a predetermined physical signal, there is room for lowering the resolution. The external control device 140 refers to the characteristic table shared with the sensor terminal 100, acquires resolution 652 lower than the resolution 651, and instructs the sensor terminal 100 to set “(21)” as the resolution setting number.
As a result, when, for the signal peaks 641a, 642a, the signals of the sensor terminal 100 remaining as the signal peaks 641b, 642b can be obtained, the resolution 652 thereof is maintained. By setting the resolution setting number to “(21)”, it is possible to reduce the power consumption of the control circuit 110 as shown in
It should be noted that “(22)” may be set by transmission of the external control device 140 or may be set as the initial value of the sensor terminal 100. In the case where “(22)” is set by the transmission of the external control device 140, before the transmission, in order to share the characteristic table with the sensor terminal 100, the external control device 140 may transmit in advance the telegram that has been described with reference to
As described above, the external control device 140 can acquire the characteristic table stored in the storage device 116 of the sensor terminal 100 and store the characteristic table in the storage device 143 of the external control device 140. As a result, even if the characteristic table is not set in advance in the external control device 140, the characteristic table can be shared between the sensor terminal 100 and the external control device 140 after the installation of the sensor terminal 100.
The external control device 140 transmits a setting number corresponding to the contents of the characteristic table, and the sensor terminal 100 changes the characteristic to a characteristic based on the received setting number, so that the performance can be suppressed and the operation power can be reduced.
In the first embodiment, an example of simply referring to the characteristic table has been described. In a second embodiment, an example of calibrating the content of a specific table will be described.
The sensor terminal 700 is different from the sensor terminal 100 in a sensor element 720 and a control circuit 710. Like the sensor element 120, the sensor element 720 includes an element for converting a physical signal (physical phenomenon) into an electric signal, and includes, in addition to this element, an element for converting an electric signal into a physical signal. As a result, the electric signal can be fed back via the element included in the sensor element 720.
A digital-to-analog converter (DAC) 714 of the control circuit 710 is a circuit that converts a digital electric signal into an analog electric signal. The DAC 714 converts the digital value set by the operation and control device 117 into an analog electric signal and outputs the converted signal to a modulator 713.
The modulator 713 modulates the electrical signal output from the DAC 714 with the signal of the transmitter 114, and outputs the modulated signal to a driver 712. The driver 712 amplifies the modulated signal and outputs the amplified signal to an element of the sensor element 720 that converts the electrical signal into a physical signal. In this way, a physical signal detected by the sensor element 720 is generated in a pseudo manner.
In the sensor element 720, the converted physical signal is converted into an electric signal and output to the amplifier 111. A demodulator 711 of the control circuit 710 is a circuit that demodulates the modulated signal corresponding to the modulator 713.
On the basis of the control of the operation and control device 117, the DAC 714 and the modulator 713 sweep the frequency of the pseudo signal which is an electric signal for generating the physical signal in a pseudo manner, and the signal output from the ADC 113 and the pseudo signal (a signal for generating the pseudo signal) are compared, so that the frequency characteristic and the sensitivity information of the sensor terminal at each point of the sweep are specified.
Then, the operation and control device 117 compares the information specified by the sweep of the pseudo signal with the information already stored in the storage device 116, and when determining that the information is different on the basis of a preset threshold, rewrites the characteristic table corresponding to the information already stored in the storage device 116, stores the information specified by the sweep of the pseudo signal, and calibrates into the latest state.
When the element of the sensor element 720 converting the physical signal into an electric signal is a microphone or vibration sensor, the element of the sensor element 720 converting the electric signal into a physical signal may be a speaker or a vibration generating element. In this case, the modulator 713 may determine the intensity of sound or vibration on the basis of the output of the DAC 714 and perform modulation for determining the frequency of sound or vibration on the basis of the output of the transmitter 114.
As described above, according to the present embodiment, even if the circuit in the sensor terminal 700 changes with time, the sensor terminal 700 is calibrated and the characteristic table stored in the storage device 116 can be kept to the latest state.
Number | Date | Country | Kind |
---|---|---|---|
2017-249146 | Dec 2017 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20030076250 | Enochson | Apr 2003 | A1 |
Number | Date | Country |
---|---|---|
2015-103062 | Nov 2013 | JP |
Number | Date | Country | |
---|---|---|---|
20190199366 A1 | Jun 2019 | US |