This application claims the priority benefit of Taiwan application serial no. 108105301, filed on Feb. 18, 2019. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The disclosure relates to a coordination method and a warning device. More particularly, the disclosure relates to a coordination method applicable to a plurality of warning devices and a warning device applying the coordination method.
Warning devices coordinated by external electronic device are well known in the art. Thus, the coordinating of warning devices without the external electronic devices is a project aimed at improving by the warning industry.
A method for coordinating a plurality of warning devices of the disclosure includes: providing a first warning device and at least one second warning device, wherein the first warning device has a first controller, each second warning device has a second controller, and the first controller and each second controller mutually transmit signals via a telecommunication channel; generating a first result according to an operation, and generating a second result according to the operation; operating the first controller in a first mode or a second mode according to the first result and the second result; and generating a driving signal by the first controller if the first controller is in the first mode, wherein the first driving signal configures to produce a warning light or a warning sound on the first warning device.
A warning device for coordinating at least one other warning device of the disclosure includes a first controller and a peripheral circuit. Each of the at least one other warning device has a second controller. The warning device comprises a first controller and a peripheral circuit. The first controller is configured to be operated in a first mode or a second mode. The first controller generates a first result according to an operation, wherein the second controller generates a second result according to an operation. The peripheral circuit is coupled to the first controller and a telecommunication channel. The first controller and the second controller transmit signals via the telecommunication channel. The first controller is operated in the first mode or the second mode according to the first result and the second result. The first controller generates a driving signal via the peripheral circuit to drive the warning device to produce a warning light or a warning sound if the first controller is operated in the first mode.
Based on the above, the method of the invention is used to coordinate warning effects of the first warning device and the second warning device. The method is used to operate the first controller in the first mode or the second mode according to the first result and the second result, so as to coordinate the warning effects of the plurality of warning devices.
Referring to
First, a first warning device 100_1 and at least one second warning device 100_2 to 100_n are provided (step S110).
The first warning device 100_1 has a first controller 120_1. The second warning devices 100_2 to 100_n respectively have second controllers 120_2 to 120_n. The first controller 120_1 and each of the second controllers 120_2 to 120_n mutually transmit signals via a telecommunication channel CL. A manner of the transmission via the telecommunication channel CL may be wired or wireless.
The first controller 120_1 and the second controllers 120_2 to 120_n may be peripheral interface controllers (PICs), central processing units (CPUs), microprocessors (μPs), digital signal processors (DSPs), application specific integrated circuits (ASICs), micro control units (MCUs), microprocessor units (MPUs) or programmable logic devices (PLDs) or combinations thereof.
In addition, the first warning device 100_1 includes a peripheral circuit 140_1. Each of the second warning devices includes a peripheral circuit. For example, the second warning device 100_2 includes a peripheral circuit 140_2. The peripheral circuits 140_1 to 140_n of the warning devices 100_1 to 100_n are respectively coupled to the controllers 120_1 to 120_n and the telecommunication channel CL. The first controller 120_1 provides a driving signal SD1. The second controllers 120_2 to 120_n provide driving signals SD2 to SDn. The first controller 120_1 and the second controllers 120_2 to 120_n transmit synchronization signals S1 to Sn via the telecommunication channel CL and the peripheral circuits 140_1 to 140_n. The first controller 120_1 receives the synchronization signals S2 to Sn provided by the second controllers 120_2 to 120_n via the telecommunication channel CL.
The first warning device 100_1 may include at least one first warning light (not shown) or at least one first warning speaker (not shown). Each of the at least one first warning light produces a warning light according to the driving signal SD1 provided by the first controller 120_1. Each of the at least one first warning speaker produces a warning sound according to the driving signal SD1 provided by the first controller 120_1. Circuits and functions of the second warning devices 100_2 to 100_n are the same as those of the first warning device 100_1 and thus, will not be repeatedly described. Each of the second warning devices 100_2 to 100_n may include at least one second warning light (not shown) or at least one second warning speaker (not shown).
The first controller 120_1 generates an first result according to an operation. Each of the second controllers 120_2 to 120_n also generates a second result according to an operation (step S120).
In actual implementation, the first controller 120_1 may provide a first parameter P1 and a first target value M1. The second controllers 120_2 to 120_n may respectively provide second parameter P2-Pn and second target values M2-Mn. The first controller 120_1 performs an operation on the first parameter P1 (for example, increasingly or decreasingly), such that the first parameter gets close to the first target value (P1-→M1). The first parameter P1 after being operated by the first controller 120_1 for a first time T1 is equal to the first target value M1. The first controller 120_1 sets the first time T1 as the first result. Each of the second controllers 120_2 to 120_n performs the same operation on the second parameter, such that the second parameter get close to the second target values (P2→M2, P3→3 . . . Pn→Mn). The second parameter after being respectively operated by the second controllers 120_2 to 120_n for the second times T2-Tn is equal to the second target values. The second controllers 120_2 to 120_n set the second times T2-Tn as the first result.
The first controller 120_1 is operated in a first mode or a second mode according to the first result and the second result (step S130). Each of the second controllers 120_2 to 120_n is also operated in the first mode or the second mode according to the result. If the first time T1 is less than the second times T2-Tn, the first controller 120_1 is operated in the first mode, and the second controllers 120_2 to 120_n are operated in the second mode. If the second time T2 at which one of the second controllers, e.g., the second controller 120_2, operates is less than the first time T1 and the second times T3-Tn at which the other second controllers 120_3 to 120_n operate, the second controller 120_2 is operated in the first mode, and the first controller 120_1 and the other second controllers 120_3 to 120_n are operated in the second mode. The parameter P1-Pn and the target values M1-Mn may be random values generated by a random number table or a random number generator, or may be default values built in each of the controllers 120_1 to 120_n.
If the first controller 120_1 is operated in the first mode, the first controller 120_1 generates a driving signal to drive the first warning device 100_1 to produce the warning light or the warning sound (step S140). If the first controller 120_1 is operated in the second mode, the first controller 120_1 stops generating the driving signal to stop driving the first warning device 100_1 from producing the warning light or the warning sound. Thus, according to the synchronization signals S2 to Sn and the telecommunication channel CL, each of the warning devices 100_1 to 100_n synchronously produces the warning light or the warning sound, thereby coordinating warning effects of the plurality of warning devices 100_1 to 100_n.
If the first controller 120_1 is operated in the first mode, and the second controllers 120_2 to 120_n are operated in the second mode, the first controller 120_1 generates the synchronization signal S1 to each of the second controllers 120_2 to 120_n. Each of the second controllers 120_2 to 120_n drives the second warning devices 100_2 to 100_n according to the synchronization signal S1. If the second controller 120_2 is operated in the first mode and the first controller 120_1 and the other second controllers 120_3 to 120_n are operated in the second mode, the first controller 120_1 and the other second controllers 120_3 to 120_n receive the synchronization signal S2 generated by the second controller 120_2 to drive the first warning device 100_1 and the second warning devices 100_3-100_n corresponding to the other second controllers 120_3 to 120_n.
The first warning device 100_1 and the second warning devices 100_2 to 100_n may sequentially produce the warning light or the warning sound by operating the driving signals SD1 to SDn having multiple phases or by delaying the driving signals SD1 to SDn. Referring to
Referring to
In view of the foregoing, the method of the invention is used to coordinate the warning effects of the plurality of warning devices. The method is used to operate the first controller in the first mode or the second mode according to the first result and the second result, such that the first controller is operated in the first mode or the second mode, thereby coordinating the warning effects of the plurality of warning devices.
Number | Date | Country | Kind |
---|---|---|---|
108105301 | Feb 2019 | TW | national |