The anti-of a kind of multichannel article anti-loss finder lost and the method for seeking article
Technical field
The present invention relates to prevent losing the searching technology, relate in particular to the anti-of a kind of multichannel article anti-loss finder and lose and the method for seeking article.
Background technology
In busy daily life or travelling way, objects carried by people regular meeting is because of losing because of carelessness or stolen, and particularly article have been lost in the place more than the stream of people, retrieve and look for a needle in a haystack especially; Some old men or forgetful personage, regular meeting forget where article have been put, so anxious must looking about but always can not find; And waiting the personage who cannot see thing for the blind person, eager especially looking forward to has a article seeker that has vocal function can help them to seek article.
Article anti-loss device and two kinds of products of article finder that simple function is arranged on the market, and main frame is to slave just one to one.The article anti-loss device adopts single pass wireless transmission and reception technique; form by slave (transmitter) and main frame (receiver) two parts; frequency of utilization is at 422MHZ; receive sensitivity--100dbm; slave (transmitter) is placed on desire in case lose on thing (people) product of (stealing); again main frame (receiver) is opened switch; hang between oneself waist or be placed in the pocket; (people) lost (stealing) when protected object; leave owner certain apart from the time; the main frame of carrying (receiver) will send warning automatically, so that owner seeks, avoids unnecessary loss.The article finder adopts sound control technique, when the person of looking for something claps hands, waits that the last entrained receiver of the product of looking for something sends sound and light alarm, so that seek.
Application number is that the Chinese invention patent application of 200510021267.X discloses a kind of bi-directional annunciator for preventing loss, form by machine tool and handset two parts, machine tool and handset all by radio signal launch, reception and alarm signal send three parts and form, respectively to the other side's transmitted radio signal; When machine tool separate with handset surpass to set apart from the time, do not receive the other side's radio signal or the radio signal that receives when not reaching the intensity of setting a little less than excessively, send alarm signal respectively.
The above-mentioned anti-finder of losing has only the single channel function.Generally all can carry a plurality of article during trip, such as wallet, mobile phone, what have also has valuables such as notebook computer and carries active active children, as will all monitoring and guard, realize anti-losing and the article anti-loss finder of seeking but press for a kind of multichannel to above-mentioned various article or children.
Summary of the invention
The purpose of this invention is to provide a kind of multichannel article anti-loss finder and anti-losing and the method for seeking article thereof, simultaneously a plurality of article are prevented losing or seeking with realization.
For reaching above-mentioned purpose, multichannel article anti-loss finder of the present invention is by main frame and at least two slave machines;
Main frame comprises central processing module and the wireless transmitter module that is connected with central processing module respectively, wireless receiving module, button and warning circuit;
Arbitrary slave comprises wireless receiving module and the delay circuit that is connected with wireless receiving module respectively, warning circuit and the wireless transmitter module that is connected with delay circuit;
The wireless transmitter module of main frame is connected with the wireless receiving module signal of each slave respectively, and the wireless transmitter module of each slave is connected with the wireless receiving module signal of main frame respectively.
As preferred version, described central processing module is single-chip microcomputer 89C2051; Described wireless transmitter module is single-chip microcomputer PT2262 or SC2262; Described wireless receiving module is single-chip microcomputer PT2272 or SC2272.
As another preferred version, the warning circuit of described slave and main frame comprises sounding alarm circuit and luminous warning circuit two parts.
The quantity of described slave is advisable with 3~16.
This multichannel article anti-loss finder realizes preventing that the method for losing with seeking article is as follows:
A, on pressing main frame during arbitrary searching button, main frame is write the searching sign indicating number automatically by central processing module and is outwards launched as the numeric data code of main frame wireless transmitter module, after corresponding slave wireless receiving module received this numeric data code wireless signal and decodes, its warning circuit sent alarm signal;
B, arbitrary anti-when losing button on pressing main frame, main frame is write the anti-sign indicating number of losing by central processing module and is outwards launched as the numeric data code of main frame wireless transmitter module, after corresponding slave wireless receiving module receives this numeric data code wireless signal and decodes, postback through the delay circuit time-delay, the wireless receiving module of main frame receives this and postbacks signal, judges that this slave is within monitoring range; If main frame does not receive and postbacks signal, judge that this slave loses, the main frame warning circuit sends corresponding alarm signal.
When a plurality of anti-on the described main frame lost button and all be pressed, main frame was anti-ly lost method and successively each slave is prevented losing monitoring according to step B is described.Specifically: main frame is write the anti-sign indicating number of losing by central processing module and is outwards launched as the numeric data code of main frame wireless transmitter module, after corresponding slave wireless receiving module receives behind this numeric data code wireless signal and decodes, postback through the delay circuit time-delay, the wireless receiving module of main frame receives this and postbacks signal, judge that this slave is within monitoring range, successively other anti-slave of losing the key correspondence is carried out poll then, go round and begin again; If main frame does not receive the signal that postbacks of slave, judge that then slave loses, the main frame warning circuit sends the warning corresponding signal, successively other anti-slave of losing the key correspondence is carried out poll then, goes round and begins again.
Control receiving range by the wireless receiving module change in voltage of adjusting principal and subordinate's machine, thereby realize the anti-control of losing distance of slave.
As a kind of improvement, when arbitrary slave is determined when losing, the main frame wireless transmitter module is sought a sign indicating number wireless signal to this slave emission, and main frame is lost state and automatically switched to the searching state by anti-.Also promptly: the main frame wireless transmitter module is to this slave emission numeric data code wireless signal, and after corresponding slave wireless receiving module received this numeric data code wireless signal and decodes, its warning circuit sent alarm signal.
During use, slave is lost or article to be sought are put together with anti-, and main frame is worn with oneself.When needs are sought certain article, press on the main frame the corresponding key of seeking, then corresponding slave just can sound and light alarm, seeks with convenient; When needs are taked to prevent losing monitoring to article, press and prevent accordingly losing key, when the article that carry slave left the main frame certain distance, main frame just can acoustic luminously be reported to the police, and reminded user's article to lose.
Article anti-loss finder of the present invention has article searching and the anti-dual-use function of losing, and realizes multichannel searching article, and a main frame can be monitored a plurality of slaves simultaneously.When article had left safe range, slave automaticallyed switch the anti-state of losing to the searching state, and the prompting user seeks immediately.
Accidental loss when multichannel article anti-loss finder of the present invention can help people to reduce to go out to carry multiple article is traced stolen article, allows people in time find the article that will look for, and application promise in clinical practice is arranged.
Description of drawings
Below in conjunction with accompanying drawing the present invention is further described in detail.
Fig. 1 is that the circuit that has the multichannel article anti-loss finder of three slaves connects block diagram.
Fig. 2 is the program flow chart of multichannel article anti-loss finder.
Fig. 3 is the host panel schematic diagram.
Fig. 4 is a slave panel schematic diagram.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is further described.
As shown in Figure 1, this is a multichannel article anti-loss finder that has three slaves.Main frame is formed by connecting by central processing module 89C2051, wireless transmitter module PT2262, wireless receiving module SC2272, button and warning circuit.Arbitrary slave is formed by connecting by wireless receiving module PT2272, delay circuit, wireless transmitter module SC2262 and warning circuit.
In order to realize multichannel control, we have selected PT2262/PT2272 coding and decoding chip for use.
PT2262/PT2272 is the general coding-decoding circuit of a kind of low-power consumption low price, can there be 12 (A0-A11) three-state address end pins (unsettled at most, connect high level, connect low level), combination in any can provide 531441 address codes, PT2262 can have 6 (D0-D5) data terminal pins at most, and the address code of setting and numeric data code are exported from 17 pin serials, can be used for the wireless remote control radiating circuit.
The code signal that coding chip PT2262 sends by: address code, numeric data code, synchronous code are formed a complete code word, after decoding chip PT2272 receives signal, after its address code is relatively checked through twice, the VT pin is just exported high level, meanwhile corresponding data pin is also exported high level, if transmitting terminal presses ﹠ hold always, coding chip also can be launched continuously.When transmitter does not have button to press, PT2262 disconnects power supply, its 17 pin is a low level, so the high frequency transmission circuit of 315MHz is not worked, when button is pressed, PT2262 gets electric work, its the 17th pin is exported modulated serial data signal, when 17 pin are the high frequency transmission circuit starting of oscillation of 315MHz between high period and launch the constant amplitude high-frequency signal, the high frequency transmission circuit failure of oscillations of 315MHz during 17 pin are for low putting down, so high frequency transmission circuit is received the digital signal of controlling in the output of 17 pin of PT2262 fully, to be equivalent to modulation degree be 100% amplitude modulation thereby high-frequency circuit is finished amplitude keying (ASK modulation).
The anti-height of losing the finder product quality of electronics mainly shows volume, power consumption and the reliability aspect of product.Need carry during use, thus require its volume very small and exquisite, and will work long hours, so require power consumption economic, thereby adopt common digital circuit not reach above-mentioned requirement.In order to realize the whole control of circuit and realize low energy consumption and small size that we have selected the master control chip of AT89C2051 single-chip microcomputer as circuit for use.
AT89C2051 is a kind of low-voltage, high performance 8 CMOS microcomputers.The flash memory and the EPROM (Erasable Programmable Read Only Memory) (EPROM) of band 2K byte.AT89C2051 is a powerful single-chip microcomputer, but it has only 20 pins, 15 two-way I/O (I/O) port, wherein P1 is 8 complete two-way I/O mouths, two outer middle fractures, two 16 programmable Timer counters, two full bidirectional serial communication mouths, a simulation comparison amplifier.
The clock frequency of AT89C2051 can be zero simultaneously, promptly possesses the sleep electricity-saving function that available software is provided with, and the mode of waking up of system has RAM, Timer, serial port and outer middle fracture, promptly enters the state of working on behind the system wake-up.In the battery saving mode, ram in slice is frozen, the clock failure of oscillations, and all functions quit work, and can be continued operation until system by hardware reset.
Compare and can find with 8051 internal structures, AT89C2051 has reduced two to external port (being P0, P2 mouth), make it reduce external pin most possibly, thereby chip size reduces to some extent.
Can control receiving range by the change in voltage of regulating the slave wireless receiving module, thereby realize anti-control of losing distance; Use central processing module that each slave is provided with different codings and avoid interference between signals.
The system works flow process figure of multichannel article anti-loss finder of the present invention as shown in Figure 2.
When 1, seeking, press corresponding searching key, start and seek function, main frame is write automatically by central processing module and is sought the numeric data code of sign indicating number as wireless transmitter module.Wireless transmitter module sends the wireless receiving module of request signal to corresponding slave, and slave receives the searching signal and responds the searching signal later on, sounding and its position of luminous demonstration.The searching key unclamps aft engine and automatically restores to the anti-state of losing.During seeking, response slave is not monitored, so can not seek simultaneously and prevent losing.
2, press and corresponding anti-lose key, can start the anti-function of losing.During anti-losing, main frame is write an anti-numeric data code of losing sign indicating number as wireless transmitter module by central processing module, and wireless transmitter module sends the wireless receiving module of request signal to slave, and slave receives to delay time behind the signal and postbacks.If main frame receives and postbacks signal, judge that by single-chip microcomputer slave A exists, successively slave B, C are carried out poll then, go round and begin again.If what main frame did not receive slave A within a certain period of time postbacks signal (being the monitoring range that slave exceeds setting), then single-chip microcomputer judges that slave A loses, and drives the warning circuit sound and light alarm.And then successively slave B, C are inquired, if other slaves are also lost, then drive corresponding warning circuit once more and report to the police, go round and begin again.
Host panel as shown in Figure 3, the slave panel is as shown in Figure 4.The use step is as follows:
1, with the power supply opening of slave, its power supply indicator is bright.
2, host power supply is opened, its indicator light is bright, and the anti-slave of losing of needs is pressed anti-the losing on the key of correspondence, and at this moment the slave registration process of registering on main frame is determined this slave operate as normal.
Can not press it if 3 certain slave temporarily do not need to use and prevent losing key,, then can cancel the monitoring of main frame by the anti-key of losing of its correspondence to it if do not need to re-use certain slave after perhaps having used a period of time.
4, going out or wanting to seek the article that have slave at home, can directly press the searching key of main frame, if by the article sought in efficient working range, slave will flash and sound is reminded its position, the convenient searching.
5, seek article and finish after, seek key by cancellation again, the function of slave can return to the anti-state of losing.
When 6, shutting down, earlier with the Host Shutdown power supply, all indicator lights go out, and quit work.With the power-off of each slave, then a whole set of multichannel article seeker has then stopped work again.
If 7 wish that slave has the function of being sought, also can a Shutdown Hosts and do not close slave.