The Internet of things (IoT) is a concept of interconnection among physical devices, vehicles, buildings, and other items. IoT is expected to offer advanced connectivity of devices, systems, and services that goes beyond machine-to-machine (M2M) communications and covers a variety of protocols, domains, and applications. The interconnection of these devices is expected to in nearly all fields, while also enabling advanced applications like a smart grid, and expanding to areas such as smart cities. The technology of Mesh Network is wildly used in IOT application. However, this technology has drawbacks of limited node number, communication range, and data rate.
Aspects of the present disclosure are best understood from the following detailed description when read with the accompanying figures. It is noted that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.
The following disclosure provides many different embodiments, or examples, for implementing different features of the provided subject matter. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. For example, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features may be formed between the first and second features, such that the first and second features may not be in direct contact. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
Embodiments of the present disclosure are discussed in detail below. It should be appreciated, however, that the present disclosure provides many applicable inventive concepts that can be embodied in a wide variety of specific contexts. The specific embodiments discussed are merely illustrative and do not limit the scope of the disclosure.
Further, spatially relative terms, such as “beneath,” “below.” “lower,” “above,” “upper”, “lower”, “left”, “right” and the like, may be used herein for ease of description to describe one element or feature's relationship to another element(s) or feature(s) as illustrated in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The apparatus may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein may likewise be interpreted accordingly. It will be understood that when an element is referred to as being “connected to” or “coupled to” another element, it may be directly connected to or coupled to the other element, or intervening elements may be present.
Notwithstanding that the numerical ranges and parameters setting forth the broad scope of the disclosure are approximations, the numerical values set forth in the specific examples are reported as precisely as possible. Any numerical value, however, inherently contains certain errors necessarily resulting from the standard deviation found in the respective testing measurements. Also, as used herein, the term “about” generally means within 10%, 5%, 1%, or 0.5% of a given value or range. Alternatively, the term “about” means within an acceptable standard error of the mean when considered by one of ordinary skill in the art. Other than in the operating/working examples, or unless otherwise expressly specified, all of the numerical ranges, amounts, values and percentages such as those for quantities of materials, durations of times, temperatures, operating conditions, ratios of amounts, and the likes thereof disclosed herein should be understood as modified in all instances by the term “about.” Accordingly, unless indicated to the contrary, the numerical parameters set forth in the present disclosure and attached claims are approximations that can vary as desired. At the very least, each numerical parameter should at least be construed in light of the number of reported significant digits and by applying ordinary rounding techniques. Ranges can be expressed herein as from one endpoint to another endpoint or between two endpoints. All ranges disclosed herein are inclusive of the endpoints, unless specified otherwise.
Furthermore, each of the operational devices 102a˜102p is further arranged to relay data or instruction for the network. Therefore, all the operational devices 102a˜102p are arranged to corporately distribute data in the network. Ideally, the operational devices 102p are all directly or indirectly connected with each other. For example, when one of the operation devices 102a˜102p receives an instruction from the Gateway, and when the operation device is functional work, the operation device may pass the instruction to the next operation device(s). The next operation device may pass the instruction to the another operation device(s) when the next operation device is functional work. Accordingly, the instruction may be distributed to all of the operational devices 102a˜102p. According to some embodiments, the connection between two operational devices may be established by using any existing wireless communication technique, e.g. Zigbee.
However, in practice, some of the operational devices 102a˜102p may fail to perform their predetermined functions due to, for example, their limited lifetime. In the large-scale field, the failed operational devices may not easily be founded manually among the huge number of operational devices. Accordingly, in the present embodiment, a plurality of monitoring devices, e.g. the monitoring devices 102, 104, 106, and 108, are developed to automatically monitor the operational devices 102a˜102p respectively. According to the present embodiment, the mesh network system 100 may be applied to monitor a lighting system of a large-scale field, such as a lighting system in a shopping mall or a multi-story building.
According to some embodiments, the monitoring device 102 is arranged to monitor the operation of the operational devices 102a˜102d. The monitoring device 104 is arranged to monitor the operation of the operational devices 102e˜102h. The monitoring device 106 is arranged to monitor the operation of the operational devices 102i˜102l. The monitoring device 108 is arranged to monitor the operation of the operational devices 102m˜102p. It is noted that the number of monitoring devices and the number of operational devices monitored by each monitoring device are just examples, which are not the limitation of the present invention. According to the present embodiments, at least two monitoring devices are used to monitor a plurality monitoring devices in a field. A monitoring device may be capable of monitoring a predetermined or limited number of operational devices. The number of the monitoring devices may be adjusted depending on the number of the operational devices.
The monitoring devices 102, 104, 106, and 108 are further arranged to wirelessly transmit the monitored results corresponding to the operational devices 102a˜102p to an external or remote processing system 110. The remote processing system 110 may be a cloud computing system or a cloud server. The remote processing system 110 at least comprises a processing device for analyzing or processing the monitored results received from the monitoring devices 102, 104, 106, and 108. It is noted that cloud computing is a type of Internet-based computing that provides shared computer processing resources and data to computers and other devices on demand. It is a model for enabling ubiquitous, on-demand access to a shared pool of configurable computing resources (e.g., computer networks, servers, storage, applications and services), which can be rapidly provisioned and released with minimal management effort.
According to some embodiments, the connection between a monitoring device (e.g. the monitoring device 102) and the corresponding operational devices (e.g. the operational devices 102a˜102d) is implemented by a connecting device for conveying the corresponding acknowledgement signals respectively. The connecting device may comprise a plurality of connecting wires or lines connected between the monitoring device and the corresponding operational devices respectively. For example, in
According to some embodiments, the connecting device may be implemented by an Universal Asynchronous Receiver/Transmitter (UART). The UART may be a microchip with programming that controls the interface of a monitoring device (e.g. the monitoring device 102) to its attached operational devices (e.g. the operational devices 102a˜102d).
According to some embodiments, the connecting device may be implemented by an Inter-Integrated Circuit (I2C). The I2C is used for attaching the operational devices (e.g. the operational devices 102a˜102d) to the corresponding monitoring device (e.g. the monitoring device 102) in short-distance, intra-board communication. The I2C may be a multi-master, multi-slave, packet switched, single-ended, serial computer bus.
According to some embodiments, the connecting device may be implemented by a Serial Peripheral Interface bus (SPI). The SPI is a synchronous serial communication interface specification used for short distance communication, primarily in embedded systems. An SPI device communicate in full duplex mode using a master-slave architecture with a single master (e.g. the monitoring device 102) and multiple slave devices (e.g. the operational devices 102a˜102d). Multiple slave devices are supported through selection with individual slave select (SS) lines.
In addition, the monitoring devices 102, 104, 106, and 108 are capable of communicating with each other by using any existing wireless communication technique. Specifically, the operating clock signals of the monitoring devices 102, 104, 106, and 108 are time synchronized with each other by using the technique of Reference Broadcast Synchronization (RBS).
It is noted that, by using the technique of RBS, the time synchronization between the monitoring devices 102 and 104 is based on the offset between the beacon receiving time, and the time synchronization between the monitoring devices 102 and 104 is not based on the sending time of the beacon sent from the remote processing system 110. Therefore, the technique of RBS removes the uncertainty of the sender by removing the sender, i.e. the remote processing system 110, from the critical path. By removing the sender, the only uncertainty is the propagation and receiving times of the monitoring devices 102 and 104. Therefore, the monitoring devices 102 and 104 may obtain relatively precise clock synchronization.
At time t1, when the predetermined function of the operational device 102a works, the instruction signal Si is transmitted by the operational device 102a to the operational device 102b, and the monitoring device 102 records the transmitting time t1. At time t2, the instruction signal Si is received by the operational device 102b, and the monitoring device 102 records the receiving time t2. At time t3, when the predetermined function of the operational device 102b works, the instruction signal Si is transmitted by the operational device 102b to the operational device 102c, and the monitoring device 102 records the transmitting time t3. When the instruction signal Si is transmitted to the operational device 102c from the operational device 102b, the monitoring device 102 transmits a first detecting event or packet Sd1 including the information of times t1, t2, and t3 to the remote processing system 110.
At time t4, the instruction signal Si is received by the operational device 102c, and the monitoring device 104 records the receiving time t4. At time t5, when the predetermined function of the operational device 102c works, the instruction signal Si is transmitted by the operational device 102c to the operational device 102g, and the monitoring device 104 records the transmitting time t5. At time t6, the instruction signal Si is received by the operational device 102g, and the monitoring device 104 records the receiving time t6. At time t7, when the predetermined function of the operational device 102g works, the instruction signal Si is transmitted by the operational device 102g to the operational device 102k, and the monitoring device 104 records the transmitting time t7. When the instruction signal Si is transmitted to the operational device 102k from the operational device 102g, the monitoring device 104 transmits a second detecting event Sd2 including the information of times t4, t5, t6, and t7 to the remote processing system 110.
At time t8, the instruction signal Si is received by the operational device 102k, and the monitoring device 106 records the receiving time t8. At time t9, when the predetermined function of the operational device 102k works, the instruction signal Si is transmitted by the operational device 102k to the operational device 102o, and the monitoring device 106 records the transmitting time t9. At time t10, the instruction signal Si is received by the operational device 102o, and the monitoring device 106 records the receiving time t10. At time t11, when the predetermined function of the operational device 102o works, the instruction signal Si is transmitted by the operational device 102o to the operational device 102n, and the monitoring device 106 records the transmitting time t11. When the instruction signal Si is transmitted to the operational device 102n from the operational device 102o, the monitoring device 106 transmits a third detecting event Sd3 including the information of times t8, t9, t10, and t11 to the remote processing system 110.
At time t12, the instruction signal Si is received by the operational device 102n, and the monitoring device 108 records the receiving time t12. When the instruction signal Si is received by the operational device 102n and the predetermined function of the operational device 108a works, the monitoring device 108 transmits a fourth detecting event Sd4 including the information of time t12 to the remote processing system 110.
According to some embodiment, when the remote processing system 110 receives the first detecting event Sd1, the remote processing system 110 is arranged to process or analyze the first detecting event Sd1 in order to determine if the predetermined functions of the operational device 102a and the operational device 102b work. When the remote processing system 110 founds that the first detecting event Sd1 includes the information of times t1, t2, and t3, it means that the instruction signal Si is successfully transmitted to the operational device 102c by an order of the operational device 102a, the operational device 102b, and the operational device 102c. Then, the remote processing system 110 determines that the operational device 102a and the operational device 102b are functional-work. However, when the remote processing system 110 founds that the detecting event merely includes the information of times t1 and t2, it means that the instruction signal Si is just transmitted to the operational device 102b from the operational device 102a, and the instruction signal Si is not transmitted to the operational device 102c from the operational device 102b. Then, the remote processing system 110 determines that the operational device 102a is functional-work and the operational device 102b is functional-fail. In other words, when the operational device 102b is functional-fail, the operational device 102b merely receives the instruction signal Si at time t2, and the operational device 102b does not transmit the instruction signal Si to the operational device 102c at time t3. When operational device 102b does not transmit the instruction signal Si to the operational device 102c at time t3, the first detecting event Sd1 may not has the information of time t3. It is noted that the remote processing system 110 uses the similar method to determine the functional of the following operational devices 102c, 102g, 102k, 102o, and 102n based on the received detecting events Sd2, Sd3, and Sd4. Thus, the detailed description is omitted for brevity.
Accordingly, the operation of the operational devices 102a˜102p in the large-scale field may be effectively monitored by the monitoring devices 102, 104, 106, and 108 respectively.
According to some embodiments, if the operational device 102b is functional-fail, the instruction signal Si may re-transmit to the operational device 102f from the operational device 102a as shown in
At time t1′, when the predetermined function of the operational device 102a works, the instruction signal Si′ is transmitted by the operational device 102a to the operational device 102b, and the monitoring device 102 records the transmitting time t1′. However, the operational device 102b does not receive the instruction signal Si′ because the operational device 102b is functional-fail. Then, at time t2′, the operational device 102a re-transmits the instruction signal Si′ to another operational device (i.e. 102f), which is also monitored by the monitoring device 102, and the monitoring device 102 records the transmitting time t2′. At time t3′, the instruction signal Si′ is received by the operational device 102f, and the monitoring device 102 records the receiving time t3′. At time t4′, when the predetermined function of the operational device 102f works, the instruction signal Si′ is transmitted by the operational device 102f to the operational device 102c, and the monitoring device 102 records the transmitting time t4′. When the instruction signal Si′ is transmitted to the operational device 102c from the operational device 102f, the monitoring device 102 transmits a first detecting event or packet Sd1′ including the information of times t1′, t2′, t3′, t4′ to the remote processing system 110.
When the remote processing system 110 receives the first detecting event Sd1′, the remote processing system 110 is arranged to process or analyze the first detecting event Sd1′ in order to determine the operation of the operational device 102a, the operational device 102b, and the operational device 102f. When the remote processing system 110 founds that the first detecting event Sd1′ includes the information of times t1′, t2′, t3′, and t4′, it means that the instruction signal Si′ is successfully transmitted to the operational device 102c by an order of the operational device 102a, the operational device 102b, the operational device 102a, the operational device 102f, and the operational device 102c. Accordingly, the remote processing system 110 determines that the operational device 102a and the operational device 102f are functional-work, and the operational device 102b is functional-fail.
The instruction signal Si is then transmitted to the operational device 102n from the operational device 102c by an order of the operational device 102c, the operational device 102g, the operational device 102k, the operational device 102o, and the operational device 102n. The monitoring devices 104, 106, and 108 transmit the corresponding second detecting event Sd2′, third detecting event Sd3′, and fourth detecting event Sd4′ to the remote processing system 110. The remote processing system 110 is arranged to determine the operation of the operational devices 102c, 102g, 102k, 102o, and 102n based on the second detecting event Sd2′, third detecting event Sd3′, and fourth detecting event Sd4′ respectively. As the operation is similar to the operation of
According to some embodiments, the monitoring devices 102, 104, 106, and 108 are configured to have a similar configuration.
For the purpose of description, the operational device 102b is also shown in
For the monitoring device 102, the power supply unit 502 is arranged to supply power to the operational device 102b, the networking unit 504, the time synchronization unit 506, and the signal measuring and analyzing unit 508. According to some embodiments, the power supply unit 502 may comprises a converter for converting AC (Alternative Current) or DC (Direct Current) signal into the voltage levels required by the operational device 102b, the networking unit 504, the time synchronization unit 506, and the signal measuring and analyzing unit 508 respectively. For example, the voltage level may be 5V or 3.3V.
The time synchronization unit 506 is arranged to generate a clock signal Sck1. The clock signal Sck1 is synchronized with the clock signals of other monitoring devices (not shown in
For example, the clock signal Sck1 of the time synchronization unit 506 is set to be the reference clock or reference time. Then, the other clock signals of the other monitoring devices synchronize with the clock signal Sck1 by using the technique of RBS.
According to some embodiments, the time synchronization unit 506 may synchronize with the time synchronization units of other monitoring devices via the technique of GPS. For example, when the mesh network system 100 is applied in a wide environment, the time synchronization unit 506 performs synchronization with the other time synchronization units through GPS.
Furthermore, the time synchronization unit 506 may transmit an impulse signal Sip to the signal measuring and analyzing unit 508. For example, the time synchronization unit 506 may transmit the impulse signal Sip to the signal measuring and analyzing unit 508 in every 10 ms. The signal measuring and analyzing unit 508 is arranged to reset or start a counting time upon the receiving of the impulse signal Sip. According to some embodiments, the time synchronization unit 506 and the signal measuring and analyzing unit 508 are arranged to have a crystal oscillator (or a counter) respectively. The signal measuring and analyzing unit 508 is arranged to use its crystal oscillator or the counter to count the time difference between two contiguous impulse signals Sip received from the time synchronization unit 506. As mentioned above, the time difference between two contiguous impulse signals Sip received from the time synchronization unit 506 is 10 ms, thus the signal measuring and analyzing unit 508 can use the time space of 10 ms to modify or correct the counting time. By using the time difference of two impulse signals Sip to be the reference time, the error of the counting time of the signal measuring and analyzing unit 508 can be less than 1 us.
The connecting device 510 is coupled between the signal measuring and analyzing unit 508 and the operational device 102b. The connecting device 510 may be a Serial Peripheral Interface (SPI) bus, an Universal Asynchronous Receiver/Transmitter (UART), or an Inter-Integrated Circuit (I2C) coupled to the GPIO pin 102b_1 of the operational device 102b. The signal measuring and analyzing unit 508 is arranged for analyzing an acknowledgement signal Sk1 on the connecting device 510 received from the operational device 102b to obtain the time at which the operational device 102b transmitting the instruction signal Si. Every time the operational device 102b performs an operation of wireless communicating, the operational device 102b transmits a copy (i.e. the acknowledgement signal Sk1) of received packet or transmitted packet to the signal measuring and analyzing unit 508 via the connecting device 510. When the state of the operational device 102b is changed, e.g., from the normal operation mode to the sleep mode, the operational device 102b also transmits the state (i.e. the acknowledgement signal Sk1) to the signal measuring and analyzing unit 508 via the connecting device 510.
Every time the operational device 102b receives packet and the state of GPIO pin 102b_1 is changed, the signal measuring and analyzing unit 508 records the packet and the state. The signal measuring and analyzing unit 508 also records the corresponding occur time of the packet and the state. According to some embodiments, when the state of the GPIO pin 102b_1 is changed from a first level to a second level different from the first level, the operational device 102b may record the instant timestamp and the instant level for generating an event, i.e. the acknowledgement signal Sk1. The acknowledgement signal Sk1 is transmitted to the networking unit 504 via the connecting device 510. The networking unit 504 buffers the acknowledgement signal Sk1 and transmits the acknowledgement signal Sk1 to the signal measuring and analyzing unit 518.
For example, when the operational device 102b receives a packet, the operational device 102b changes the state of the GPIO pin 102b_11 to a high voltage level from a low voltage level, and records the instant timestamp of receiving the packet. Then, the operational device 102b generates an event packet including the information of the instant timestamp and the high voltage level, and transmits the event packet to the networking unit 504 via the connecting device 510. When the operational device 102b transmits the event packet to the networking unit 504, the state of the GPIO pin 102b_1 remains the high voltage level. When transmission of the event packet is end, the operational device 102b changes the state of the GPIO pin 102b_1 to the low voltage level from the high voltage level. Accordingly, the signal measuring and analyzing unit 508 may obtain the receiving time and the transmission time (or packet length) of the packet received by the operational device 102b according to the changing state of the GPIO pin 102b_1.
Furthermore, the signal measuring and analyzing unit 508 may use to update the firmware of the operational device 102b. The signal measuring and analyzing unit 508 may also use to reset or turn-off the operational device 102b. According to some embodiments, the signal measuring and analyzing unit 508 may receive an instruction from Internet via the networking unit 504 to update the firmware of the operational device 102b. The signal measuring and analyzing unit 508 may update the firmware of the operational device 102b by using the bootstrap loader (BLS) function of the operational device 102b.
The networking unit 504 may receive the packet event, and transmit the packet event (i.e. Sd1) to a predetermined server. The predetermined server is arranged to save or record or analysis the packet event. Moreover, the predetermined server may transmit an instruction to the networking unit 504 for controlling the signal measuring and analyzing unit 508 update the firmware of the operational device 102b. The signal measuring and analyzing unit 508 may reset or to turn-off the operational device 102b according to the instruction received from the predetermined server.
The networking unit 504 is arranged to wirelessly transmit the first detecting event Sd1 to a processing device, i.e. the remote processing system 110.
In addition, the networking unit 504 further receives data from the signal measuring and analyzing unit 508 via the SPI and the UART, wherein the SPI is arranged to receive the instant data (e.g. the state transmitted from the signal measuring and analyzing unit 508 in every 10 ms), and the UART is arranged to receive the detecting data in relatively high speed and large volume. The data received by the networking unit 504 is stored in a memory (not shown) of the networking unit 504. Then, the networking unit 504 transmits the received data to the cloud system, i.e. the remote processing system 110. According to some embodiments, the remote processing system 110 is arranged to update the firmware of the signal measuring and analyzing unit 508 and the operational device 102b through the networking unit 504. Moreover, the remote processing system 110 is also arranged to update the firmware of the networking unit 504.
According to some embodiments, the remote processing system 110 wirelessly couples to all operational devices. The remote processing system 110 updates the firmware of the monitoring device 102 and the operational device 102b for testing the monitoring device 102 and the operational device 102b under different conditions. According to some embodiments, the remote processing system 110 uses the bootloader designed inside the networking unit 504 to update the firmware of the signal measuring and analyzing unit 508 and the operational device 102b. The remote processing system 110 may simulate the operation of the mesh network system 100 according to different number of operational devices and monitoring devices and/or different version of firmware.
The remote processing system 110 may be a cloud management platform for managing the operational devices 102a˜102p and the monitoring devices 102, 104, 106, and 108. For example, the remote processing system 110 is arranged to manage the registration, setting, firmware updating, information acquiring (e.g. address, id, setting of operational devices), resetting the operational devices, and setting of the pins connected to the operational devices.
According to some embodiments, the remote processing system 110 is arranged to acquire the occurrence time of the events and the contents of the transmitted and received packets, and to analysis the transmission paths of the packets in the mesh network system 100.
In addition, the remote processing system 110 is arranged to evaluate the maximum loading of the mesh network system 100, the maximum tolerable number of the operational devices, and the frequency of defection of an operational device. The remote processing system 110 is also arranged to determine the message storm or the abnormal operation (e.g. insufficient of memory, packet loss, or reboot unexpectedly) in the operational devices, the average processing time of a packet in an operational device, and the packet size.
The power supply unit 512 is arranged to supply power to the operational device 102c, the networking unit 514, the time synchronization unit 516, and the signal measuring and analyzing unit 518. The networking unit 514 is arranged to wirelessly transmit the second detecting event Sd2 to the remote processing system 110. The time synchronization unit 516 is arranged to generate the clock signal Sck2. The signal measuring and analyzing unit 518 is coupled to the operational device 102c for analyzing an acknowledgement signal Sk2 received from the operational device 102c to obtain the time t4 at which the operational device 102c receiving the instruction signal Si. The connecting device 520 is coupled between the signal measuring and analyzing unit 518 and the operational device 102c. The signal measuring and analyzing unit 518 further uses the second clock signal Sck2 to lock or phase-lock the acknowledgement signal Sk2 in order to receive the acknowledgement signal Sk2. As the operation of the monitoring device 104 is similar to the monitoring device 104, the detailed description is omitted here for brevity.
Please refer to
Please refer to
At time t4, when the instruction signal Si is received by the operational device 102c, the acknowledgement signal Sk2 is transmitted to the signal measuring and analyzing unit 518 via the connecting device 520. The signal measuring and analyzing unit 518 is arranged to analyze the acknowledgement signal Sk2 to obtain the time t4 at which the operational device 102c receiving the instruction signal Si occurs. In addition, the networking unit 514 of the monitoring device 104 is further arranged to transmit the second detecting event Sd2 including the information of times t4, t5, t6, and t7 to the remote processing system 110.
Accordingly, the clock signal Sck1 may synchronize with the clock signal Sck2 based on the offset between the beacon receiving time of the monitoring device 102 and the beacon receiving time of the monitoring device 104. The monitoring device 102 and the monitoring device 104 may effectively monitor the operation of the operational device 102b and the operational device 102c respectively.
Briefly, the method of monitoring the operation of the operational device 102b and 102c may be summarized into the steps in
According to the description of the above embodiments, the number of the operational devices may be expanded to a relatively huge number in a large-scale field because the operation of the operational devices may be automatically monitored by a plurality of monitoring devices, wherein the monitoring devices are time-synchronized with each other. When the monitoring devices are time-synchronized with each other, the monitoring devices may precisely track the instruction signal transmitted in the operational devices, and accordingly determine the operation of the operational devices.
Please refer to
According to one embodiment of the present invention, the controller C13 may include a core control assembly of the coordinate sensing device C1; for example, it may include at least one central processing unit (CPU, e.g., a microprocessor) and a memory, or include other control hardware(s), software(s), or firmware(s). Accordingly, it is feasible to use the controller C13 to compute the three-dimensional coordinate or position between the object CT in a horizontal plane CP and the transmitter C11.
Please refer to
The transmitter C11 of the coordinate sensing device C1 is disposed above the horizontal plane CP; that is, a horizontal level of the transmitter C11 is higher than the horizontal level of the horizontal plane CP. For example, the transmitter C11 can be installed on a ceiling, lighting fixture, smoke detector, air conditioner outlet, or other apparatuses in the locale.
According to one embodiment of the present invention, when the object CT and the receiver C12 can move freely at any height Ch between a horizontal plane CP of the locale and the transmitter C11, the controller C13 can compute the three-dimensional coordinate of the object CT in the locale.
According to one embodiment of the present invention, by the configuration of the transmitter C11 and the receiver C12, the coordinate sensing device C1 can compute the coordinate of the object CT at any height Ch between the horizontal plane CP and the transmitter C11. In other words, the coordinate is the three-dimensional coordinate in the locale.
According to one embodiment of the present invention, as illustrated in
According to the embodiment shown in
Moreover, in the present embodiment, a bottom surface C112 of the transmitter C11 has a first transmitting terminal CO1 and a second transmitting terminal CO2, wherein the first transmitting terminal CO1 is configured to output the first light signal CS1 and the third light signal CS3, the second transmitting terminal CO2 is configured to output the second light signal CS2, and the distance between the first transmitting terminal CO1 and the second transmitting terminal CO2 is a predetermined distance. In the present embodiment, the bottom surface C112 faces the horizontal plane CP, and the bottom surface C112 is parallel to the horizontal plane CP.
It should be noted that in another embodiment of the present invention, the first light signal CS1 and the third light signal CS3 also may have the same projection direction. For example, the first light signal CS1 is substantially parallel to the third light signal CS3 as shown in
Please refer to
When the first straight ray pattern CL1, the second straight ray pattern CL2 and the third straight ray pattern CL3 rotate about the rotation center CO, the first laser wall CS11, the second laser wall CS22 and the third laser wall CS33 scan over the receiver C12 on the object CT at different time points. When the first laser wall CS11 scan over the object CT, the receiver C12 on the object CT senses the light from the first laser wall CS11, and accordingly, the receiver C12 outputs a first signal at a first time point. When the second laser wall CS22 scan over the object CT, the receiver C12 on the object CT senses the light from the second laser wall CS22, and accordingly, the receiver C12 outputs a second signal at a second time point. When the third laser wall CS33 scan over the object CT, the receiver C12 on the object CT senses the light from the third laser wall CS22, and accordingly, the receiver C12 outputs a third signal at a third time point. According to one embodiment of the present invention, the first signal, the second signal and the third signal are a first pulse signal, a second pulse signal and a third pulse signal, respectively.
ω=2π/CTP (1)
Accordingly, the angular velocity ω at which the first straight ray pattern CL1 and the third straight ray pattern CL3 rotate on the horizontal plane CP is a predetermined angular velocity. It should be noted that the angular velocity of the first laser wall CS11 and the third laser wall CS33 at the height Ch is the same as the angular velocity ω of the first straight ray pattern CL1 and the third straight ray pattern CL3 on the horizontal plane CP.
It should be noted that in order to avoid the issue that the noise light in the ambient environment might affect the accuracy of the receiver C12, in some embodiments, the coordinate sensing device C1, 1a can further comprise a filter (not shown in the drawings) disposed on the receiver C12, and the filter is configured to allow only the passage of the first light signal CS1, the second light signal CS2 and the third light signal CS3. By using the filter, it is possible to filter out the light other than the first light signal CS1, the second light signal CS2 and the third light signal CS3, thereby improving the detection accuracy of the receiver C12.
Please refer to
Moreover, in the present embodiment, when the first laser wall CS11, the second laser wall CS22 and the third laser wall CS33 scan over the object CT, the transmitter C11 first uses the wireless transmission module C111 depicted in
Moreover, there is a time interval (or time difference) CTd1 between the first time Ct1 and the second time Ct2, and the time interval CTd1 is the time difference between the central time points of the pulse signals CSp1, CSp2; that is. CTd1=Ct2−Ct1. There is a time interval (or time difference) CTd2 between the second time Ct2 and the third time Ct3, and the time interval CTd2 is the time difference between the central time points of the pulse signals CSp2, CSp3; that is, CTd2=Ct3−Ct2.
It should be noted that, when implementing this embodiment, a microprocessor within the controller C13 can record the time points of the rising and falling edges of three consecutive pulse signals (CS1, CS2 and CS3) so that it can further compute the central time points of the two pulse signals, thereby obtaining a more accurate time difference.
Moreover, a mean value of the first time Ct1 and the third time Ct3 can be calculated; the mean value is (Ct1+Ct3)/2. A time difference between the mean value and the reference time Ct0 is (Ct1+Ct3)/2−Ct0; i.e. the time required for the first laser wall CS11 or the third laser wall CS33 to rotate from the reference angle to the receiver C12 of the object CT. Furthermore, a rotation angle ψ can be calculated by multiplying the time difference between the mean value (i.e., (Ct1+Ct3)/2) and the reference time Ct0 by the angular velocity ω, referring to the following formula (2):
Ψ=ω*((Ct1+Ct3)/2−Ct0) (2)
Generally, the rotation angle ψ is the angle of the first laser wall CS11 or the third laser wall CS33 rotating from a reference point to the object CT. According to one embodiment of the present invention, the controller C13 uses the above-mentioned rotation angle ψ to compute the three-dimensional coordinate of the object CT at the height Ch.
Additionally, on the horizontal line C301 of the height Ch, the first laser light wall CS11 intersects the horizontal line C301 at the point Ca, the second laser wall CS22 intersects the horizontal line C301 at the point Cb, the third laser wall CS33 intersects the horizontal line C301 at the point Cc, and the normal line CN intersects the horizontal line C301 at the point Cd. On the horizontal line C301, the straight line distance between the point Cd and the point Cc is Cda, the straight line distance between the point Cb and the point Cd is Cdb, and the straight line distance between the point Ca and the point Cd is Cdc. It should be noted that these straight line distances Cda, Cdb, Cdc will change along with the variation of the height Ch of the object CT.
Please refer to
Cα=ω*(CTd1+CTd2)/2 (3)
In addition, at the height Ch, there is a distance CS between the first laser wall CS11 and the third laser wall CS33 (the distance CS changes along with the variation of the height Ch in the present embodiment).
As illustrated in
Cd
c
=Cd
a=(CHt−Ch)*tan(Cθ/2) (4)
The second straight line distance Cdb satisfies the following formula (5):
Cd
b=(CHt−Ch)*cot(Cφ)−CRd (5)
Further, the following formulas (6), (7), (8), (9) and (10) can be derived from
sin Cα=CS/2Cr=Cdc/Cr (6)
Sin Cβ=Cdb/Cr (7)
Cγ=Cα−Cβ (8)
CT
d1=(Cα+Cβ)/ω (9)
CT
d2=(Cα−Cβ)/ω (10)
According to the above formulas, the controller C13 can compute the values of the straight line distance Cr and the height Ch in light of the following formulas (11) and (12):
The angular velocity ω, the first time interval CTd1 and the second time interval CTd2 can be obtained from measurement and computation. The height CHt (i.e., the distance between the transmitter C11 and the horizontal plane CP), the included angle Cθ, the included angle Cφ and the predetermined distance CRd are known parameters. Therefore the height Ch of the object CT and the distance Cr can be computed by the controller C13 according to the above formulas (11) and (12), and are combined with the rotation angle Ψ obtained from the above formula (2), thereby obtaining the three-dimensional coordinate (x,y,z) of the object CT in the locale, illustrated in the following formula:
x=Cr*cos(ψ),y=Cr*sin(ψ),z=Ch (13)
x represents an x-coordinate distance of the object CT at the height Ch, y represents a y-coordinate distance of the object CT at the height Ch, z represents a height of the object CT spaced from the horizontal plane CP, and Ψ represents the rotation angle.
Based on the above illustrations, the three-dimensional coordinate (x,y,z) of the object CT in the locale can be computed by the microprocessor in the controller C13 according to the angular velocity ω at which the first light signal CS1, the second light signal CS2 and the third light signal CS3 rotate (or the angular velocity ω at which the first laser wall CS11, the second laser wall CS22 and the third laser wall CS33 rotate), the distance between the transmitter C11 and the horizontal plane CP (i.e., CHt), the first time interval CTd1, the second time interval CTd2 and the reference time Ct0. Accordingly, the exact position of an object CT in a specific locale can be accurately obtained by the embodiment of the present invention.
Referring to
According to one embodiment of the present invention, the controller B13 may comprise a core control assembly of the coordinate sensing device B1; for example, it may comprise at least one central processing unit (CPU, e.g., a microprocessor) and a memory, or comprises other control hardware(s), software(s), or firmware(s). Accordingly, it is feasible to use the controller B13 to compute the two-dimensional or three-dimensional position of the object BT in a horizontal plane BP.
Referring to
According to one embodiment of the present invention, the object BT and the receiver B12 can move freely in a horizontal plane BP of the locale; for example, the horizontal plane BP can be the ground of the locale. For simplicity and brevity, the object BT and the receiver B12 locate at a horizontal level that is substantially the same as the horizontal level of the horizontal plane BP. In other words, the object BT and the receiver B12 is in contact with a surface of the horizontal plane BP. However, the present invention is not limited thereto. In practical applications, the object BT and the receiver B12 are higher than the horizontal plane BP; nonetheless, this would not affect the operation of the present coordinate sensing device B1, and the present coordinate sensing device B1 can still output the coordinate of the object BT in the horizontal plane BP.
Moreover, the transmitter B11 of the coordinate sensing device B1 is disposed above the horizontal plane BP; that is, a horizontal level of the transmitter B11 is higher than the horizontal level of the horizontal plane BP. For example, the transmitter B11 can be installed on a ceiling, lighting fixture, smoke detector, air conditioner outlet, or other apparatuses in the locale.
According to one embodiment of the present invention, by disposing the transmitter B11 in combination with the receiver B12, the coordinate sensing device B1 can output any coordinate of the object BT in the horizontal plane BP in relative to the transmitter B11. In other words, the coordinate can be a two-dimensional coordinate or three-dimensional coordinate in the locale. However, for the sake of simplicity and brevity, the present embodiment is primarily directed to the operation of a coordinate sensing device B1 that outputs the two-dimensional coordinate of the object BT in the horizontal plane BP; that is, the respective distances in the x-axis and y-axis of the horizontal plane BP.
According to one embodiment of the present invention, as illustrated in
It should be noted that in another embodiment of the present invention, the first light signal BS1 and the second light signal BS2 may have different projection directions; for example, the respective projection directions of the first light signal BS1 and the second light signal BS2 form a pre-determined included angle, as illustrated in
When the first straight ray pattern BL1 and the second straight ray pattern BL2 rotate about the rotation center BO, the first straight ray pattern BL1, and the second straight ray pattern BL2 scan over the receiver B12 on the object BT at different time points. When the first straight ray pattern BL1 scan over the object BT, the receiver B12 on the object BT senses the light from the first straight ray pattern BL1, and accordingly, the receiver B12 outputs a first signal at a first time point. When the second straight ray pattern BL2 scan over the object BT, the receiver B12 on the object BT senses the light from the second straight ray pattern BL2, and accordingly, the receiver B12 outputs a second signal at a second time point. According to one embodiment of the present invention, the first signal and the second signal are respectively a first pulse signal and a second pulse signal.
ω=2π/BTP (1)
Accordingly, the angular velocity co at which the first straight ray pattern BL1 and the second straight ray pattern BL2 rotate in the horizontal plane BP is a pre-determined angular velocity.
It should be noted that in order to avoid the issue that the noise light in the ambient environment might affect the accuracy of the receiver B12, in some embodiments, the coordinate sensing device B1, B1a can further comprise a filter (not shown in the drawings) disposed on the receiver B12, the filter is configured to allow only the passage of the first straight ray pattern BL1 and the second straight ray pattern BL2. By using the filter, it is possible to filter out the light other than the first straight ray pattern BL1 and the second straight ray pattern BL2, thereby improving the detection accuracy of the receiver B12.
Moreover, in the present embodiment, when the first straight ray pattern BL1 and the second straight ray pattern BL2 scan over the object BT, the transmitter B11 first uses the wireless transmission module B111 depicted in
Moreover, there is a time interval (or time difference) Bt between the first time Bt1 and the second time Bt2, and the time difference is the time difference between the central time points of the pulse signal BSp1, BSp2; that is, Bt=Bt2−Bt1.
It should be noted that, when implementing this embodiment, the microprocessor within the controller B13 can record the time point of the rising or falling edge of two consecutive pulse signals BS1, BS2, so that it can further compute the central time points of the pulse signals BS1, BS2, thereby obtaining a more accurate time difference.
Moreover, a mean value of the first time Bt1 and the second time Bt2 can be calculated; the mean value is (Bt1+Bt2)/2. A time difference between the mean value and the reference time Bt0 is (Bt1+Bt2)/2−Bt0; this is the time required for the first straight ray pattern BL1 or second straight ray pattern BL2 to rotate from the reference angle to the receiver B12 of the object BT. Furthermore, a rotation angle ψ can be calculated by multiplying the time difference between the mean value (i.e., (Bt1+Bt2)/2) and the reference time Bt0 by the angular velocity co, see the following equation (2):
ψ=ω*((Bt1+Bt2)/2−Bt0) (2)
According to one embodiment of the present invention, the controller B13 uses the above-mentioned rotation angle ψ to compute the two-dimensional coordinate.
Bθ=ω*Bt (3)
Moreover, there is a pre-determined spacing BS between the first straight ray pattern BL1 and the second straight ray pattern BL2 (in this embodiment, the spacing BS has a fixed value), and as illustrated in
Br=BS/(2*sin(ω*Bt/2)) (4)
Using the above-mentioned equation (2) and equation (4), the controller B13 may compute the angle ψ and the distance BS between the rotation center BO and the receiver B12 (i.e., the object BT). Next, the controller B13 may obtain the coordinate (x,y) representing the position of the object BT in the two-dimensional plane of the locale according to following equation (5):
x=Br*cos(ψ),y=Br*sin(ψ) (5)
where x is an x-coordinate distance of the object BT (or receiver B12) in the horizontal plane BP, and y is a y-coordinate distance of the object BT in the horizontal plane BP.
In view of the foregoing, the microprocessor of the controller B13 may compute two sets of coordinate position (x,y) of the object BT in the horizontal plane BP according to the angular velocity ω at which the first straight ray pattern BL1 and the second straight ray pattern BL2 rotate, the spacing BS between the first straight ray pattern BL1 and the second straight ray pattern BL2, the time difference Bt between the first time Bt1 and the second time Bt2, and the reference time Bt0. Therefore, the present invention embodiment may accurately determine the precise location of the object BT in a specific locale.
According to some embodiments, a monitoring apparatus includes: a first operational device arranged to perform a first predetermined function and accordingly transmit a first instruction signal; a second operational device arranged to receive a second instruction signal and accordingly perform a second predetermined function; a first monitoring device coupled to the first operational device for generating a first detecting event according to an operation of the first operational device; and a second monitoring device coupled to the second operational device for generating a second detecting event according to the operation of the second operational device. The first monitoring device is wirelessly coupled to the second monitoring device, and the first detecting event and the second detecting event are used to determine if the first operational device and the second operational device perform the first predetermined function and the second predetermined function respectively.
According to some embodiments, a monitoring method includes: arranging a first operational device to perform a first predetermined function and accordingly transmitting a first instruction signal; arranging a second operational device to receive a second instruction signal and accordingly performing a second predetermined function; generating a first detecting event according to an operation of the first operational device; generating a second detecting event according to the operation of the second operational device; and using the first detecting event and the second detecting event to determine if the first operational device and the second operational device perform the first predetermined function and the second predetermined function respectively.
The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
105125695 | Aug 2016 | TW | national |
105125696 | Aug 2016 | TW | national |
106102010 | Jan 2017 | TW | national |
106114265 | Apr 2017 | TW | national |
Number | Date | Country | |
---|---|---|---|
62512834 | May 2017 | US |