CN201247487Y - Input device for multipath Weggen signal - Google Patents

Input device for multipath Weggen signal Download PDF

Info

Publication number
CN201247487Y
CN201247487Y CNU2008201466600U CN200820146660U CN201247487Y CN 201247487 Y CN201247487 Y CN 201247487Y CN U2008201466600 U CNU2008201466600 U CN U2008201466600U CN 200820146660 U CN200820146660 U CN 200820146660U CN 201247487 Y CN201247487 Y CN 201247487Y
Authority
CN
China
Prior art keywords
wiegand
signal
multichannel
wiegand signal
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CNU2008201466600U
Other languages
Chinese (zh)
Inventor
程朋胜
郭海兵
汪广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Das Intellitech Co Ltd
Original Assignee
Shenzhen Das Intellitech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Das Intellitech Co Ltd filed Critical Shenzhen Das Intellitech Co Ltd
Priority to CNU2008201466600U priority Critical patent/CN201247487Y/en
Application granted granted Critical
Publication of CN201247487Y publication Critical patent/CN201247487Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Traffic Control Systems (AREA)

Abstract

The utility model relates to a multi-path wiegand signal input device which comprises a central processor used for receiving multi-path wiegand signals. An interrupt input interface of the central processor is used for receiving the input of the multi-path wiegand signals from a plurality of wiegand devices; each signal input end of the central processor is respectively used for receiving the input of each wiegand signal; and the central processor further comprises an effective signal identification module used for judging whether the input of the multi-path wiegand signals is effective input and storing the effective wiegand signals and a receiving and judging module used for judging whether the receipt is successful according to the type of the wiegand protocol required to be received after the input of the multi-path wiegand signals triggers interruption. The method for executing the multi-path wiegand signal input device and the device have the advantages of simple structure, less interrupt interfaces required and low cost.

Description

A kind of multichannel Wiegand signal input media
Technical field
The utility model relates to the signal input, more particularly, relates to a kind of multichannel Wiegand signal input media.
Background technology
In the safe burglar-proof gate inhibition system, because Wei root (Wiegand) agreement has unified in the world standard, and its communication interface is simple and easy to usefulness, makes the compatibility of versatility, inductor and controller of inductor obtain bigger raising and is used widely.As shown in Figure 1, Wiegand signal transmits by D0 and two lines of D1, and it generally includes one group of low level pulse, and each low level pulse is represented the one digit number certificate.D0 and D1 are high level Voh during no signal.Data are " 0 " when a low level Vol pulse is arranged on the D0 line, and data were " 1 " when the D1 line had a low level Vo1 pulse.Because its signal is a Millisecond, so need in actual applications to receive by the mode of interrupting.Common practices is respectively received the input port of an interruption with D0 and D1 as shown in Figure 2, and every then response is once interrupted just discerning reception for significance bit of corresponding data line mark.When the input of handling a plurality of Wei root devices simultaneously, just needing increases corresponding many interruption input ports, as selects the microprocessor (as Fig. 3) of a plurality of interruption input interfaces for use or adopt multi-processor structure (as Fig. 4).That is to say in the prior art, the microprocessor of a plurality of interruption input interfaces is arranged or adopt multi-processor structure such as Fig. 4 no matter select for use as Fig. 3.All corresponding one of the incoming line of each Wei root device interrupts input.Just handle N equipment and need 2*N interruption.And it is also high more in general to interrupt input port its price of many more microprocessors.Thereby the multi-path Wiegand signal input method of employing prior art, not only required interrupt interface is too much, cost is too high, and the hardware design complexity.
Therefore the input media that needs less, the lower-cost multichannel Wiegand signal of simple, the required interrupt interface of a kind of hardware design.
The utility model content
The technical problems to be solved in the utility model is, not only required interrupt interface at prior art is too much, cost is too high, and the defective of hardware design complexity, the input media of less, the lower-cost multichannel Wiegand signal of simple, the required interrupt interface of a kind of hardware design is provided.
The another technical scheme that its technical matters that solves the utility model adopts is, construct a kind of multichannel Wiegand signal input media, comprise the central processing unit that is used to receive the input of multichannel Wiegand signal, a multichannel Wiegand signal input of interrupting the input interface reception from a plurality of Wei root devices of described central processing unit, each signal input part of described central processing unit receives each road Wiegand signal input respectively, described central processing unit also is included in the input of described multichannel Wiegand signal and has no progeny in triggering, and is used to judge that whether successful whether each signal input part receives described Wiegand signal input is effectively to import and preserve the useful signal identification module of effective Wiegand signal and be used for judging according to the kind of the Wei root agreement that will receive and receive reception determination module.
In multichannel Wiegand signal input media described in the utility model, described multichannel Wiegand signal input media also comprises multichannel and door, the signal input part of described a plurality of Wei root devices is connected to the input end of multichannel and door, and the output terminal of described multichannel and door is connected to the interruption input interface of described central processing unit.
In multichannel Wiegand signal input media described in the utility model, described useful signal identification module further comprises and is used to respond the signal acquiring unit of interrupting and reading the Wiegand signal of described each signal input part; The timer that is used for the tracer signal acquisition time and preserves; Being used for the storage unit of storage standards time interval scope and counting at last once timer is 0 o'clock, judge that directly described Wiegand signal is effective, preserve described Wiegand signal and preserve when time timer counting and be used for comparing next time, the time interval of described adjacent twice timer counting is positioned at the standard time interval, judge that described Wiegand signal is effective, preserve described Wiegand signal and preserve described timer counting and be used for comparing next time, lower limit in time interval of described adjacent twice timer counting less than the standard time interval, judge and give up this Wiegand signal, in the upper limit interval greater than the standard time interval of described adjacent twice timer counting, judge that cancellation receives and give up the identifying unit of all Wiegand signals that this road receives.
In multichannel Wiegand signal input media described in the utility model, last timer counting is 0 o'clock, described identifying unit directly judge described Wiegand signal effectively, preserve described Wiegand signal, and preserve when time timer counting and be used for comparing next time.
In multichannel Wiegand signal input media described in the utility model, the following 1100 μ s that are limited to of described standard time interval, on be limited to 1500 μ s.
In multichannel Wiegand signal input media described in the utility model, the reception determination module adds 1 counter after being included in and preserving effective Wiegand signal automatically; The counting that is used for judging described counter compares with storage Wiegand signal figure place wherein, and when this counting equals described Wiegand signal figure place, judges to receive successfully, and with the zero clearing unit of counter and timer zero clearing.
Implement multichannel Wiegand signal device of the present utility model, have following beneficial effect: simple, the required interrupt interface of hardware design less (only need an interrupt interface), cost are lower.
Description of drawings
The utility model is described in further detail below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is a Wiegand signal transmission synoptic diagram;
Fig. 2 is that the single channel Wiegand signal of prior art receives synoptic diagram;
Fig. 3 is the synoptic diagram of an embodiment receiving of the multichannel Wiegand signal of prior art;
Fig. 4 is the synoptic diagram of another embodiment of receiving of the multichannel Wiegand signal of prior art;
Fig. 5 is the synoptic diagram of first embodiment of the utility model multichannel Wiegand signal input media;
Fig. 6 is the synoptic diagram of second embodiment of the utility model multichannel Wiegand signal input media;
Fig. 7 is a plurality of Wei root devices of the utility model multichannel Wiegand signal input media and the connection diagram of central processing unit;
Fig. 8 is the decision flowchart of the useful signal identification module of multichannel Wiegand signal input media of the present utility model.
Embodiment
Fig. 5 is the synoptic diagram of first embodiment of the utility model multichannel Wiegand signal input media.Multichannel Wiegand signal input media of the present utility model comprises the central processing unit 100 that is used to receive described multichannel Wiegand signal, a multichannel Wiegand signal input of interrupting input interface 200 receptions from a plurality of Wei root devices of described central processing unit, each signal input part 300 of described central processing unit receives each road Wiegand signal input respectively, described central processing unit also is included in the input of described multichannel Wiegand signal and has no progeny in triggering, and is used to judge that whether successful whether described Wiegand signal input be effectively to import and preserve the useful signal identification module 400 of effective Wiegand signal and be used for judging according to the kind of the Wei root agreement that will receive and receive reception determination module 500.
In another preferred embodiment of the present utility model, as shown in Figure 6, described useful signal identification module 400 further comprises and is used to respond the signal acquiring unit 401 of interrupting and reading the Wiegand signal of described each signal input part; The timer 402 that is used for the tracer signal acquisition time and preserves; The storage unit 404 and the identifying unit 403 that are used for storage standards time interval scope, described identifying unit 403 is positioned at the standard time in the time interval of described adjacent twice timer counting and judges that described Wiegand signal is effective during interval, and preserve described timer counting and be used for comparing next time, the time interval at described adjacent twice timer counting is given up this Wiegand signal less than the following judgement in limited time of standard time interval, in the upper limit interval greater than the standard time interval of described adjacent twice timer counting, judge the cancellation reception and give up the Wiegand signal that all receive.When last timer counting is 0, described identifying unit 403 directly judge described Wiegand signal effectively, preserve described Wiegand signal, and preserve when time timer counting and be used for comparing next time.The following 1100 μ s that are limited to of described standard time interval, on be limited to 1500 μ s.
Reception determination module 500 adds 1 counter 501 after being included in and preserving effective Wiegand signal automatically; The counting that is used for judging described counter 501 compares with storage Wiegand signal figure place wherein, and when this counting equals described Wiegand signal figure place, judges to receive successfully, and with the zero clearing unit 502 of counter 501 and timer 402 zero clearings.
In a preferred embodiment of the present utility model, as shown in Figure 7, described multichannel Wiegand signal input media also comprises multichannel and door 600, the signal input part of described a plurality of Wei root devices is connected to the input end of multichannel and door 600, and the output terminal of described multichannel and door 600 is connected to the interruption input interface 300 of described central processing unit.
Fig. 8 is the decision flowchart of the useful signal identification module of multichannel Wiegand signal input media of the present utility model.In step 401, at first obtain a timer value.In step S402, judge whether a last timer value is 0.When this value was 0, execution in step S406 preserved each road Wiegand signal and timer value.When this value is not 0, execution in step S403, whether the time interval of judging adjacent twice timer value is in the standard time interval.In a preferred embodiment of the present utility model, the following 1100 μ s that are limited to of this standard time interval, on be limited to 1500 μ s.In other embodiment of the present utility model, can be selected from as required and select the different standard time at interval.When time interval of adjacent twice timer value in the standard time interval, execution in step S406 preserves each road Wiegand signal and timer value.Otherwise execution in step S404 judges whether the time interval of adjacent twice timer value is higher than the standard time upper limit at interval.Be higher than going up in limited time of standard time interval when the time interval of adjacent twice timer value, execution in step S407 judges that the Wiegand signal that receives is invalid reception, removes all Wiegand signals that this road receives.Otherwise execution in step S405 judges whether the time interval of adjacent twice timer value is lower than standard time lower limit at interval, and when judgement was lower than, execution in step S408 judged that the Wiegand signal that receives is a repeats bits, removes this Wiegand signal.Whether the figure place that can then judge the Wiegand signal that receives then equals the Wiegand signal figure place that limits in the Wei root protocol type.Adopting such design, is owing to regulation Tpi in the Wei root communication specification〉100 μ s, Tpw〉1ms, in conjunction with actual test case, be limited to 1500 μ s on the effective time interval scope of data that the utility model adopts, be limited to 1100 μ s down.If between two data bit promptly receiving interval greater than 1500 μ s, lost the valid data position in the middle of then showing, it is invalid that this receives data, if the time interval between two data bit is less than 1100 μ s, then show in this bit data position valid period to be that Tpw is in the time, cause the duplicate detection of interrupting and causing by other road inputs, this bit data position will be rejected.So just guaranteed to import the accuracy of a shared Data Receiving when interrupting in multichannel.Those skilled in the art know that this determination flow is not to carry out in order, as long as carry out above-mentioned steps respectively.
Implement multi-path Wiegand signal input method of the present utility model and device, simple, the required interrupt interface of its hardware design less (only need an interrupt interface), cost are lower.
Though the utility model describes by specific embodiment, it will be appreciated by those skilled in the art that, under the situation that does not break away from the utility model scope, can also carry out various conversion and be equal to alternative the utility model.Therefore, the utility model is not limited to disclosed specific embodiment, and should comprise the whole embodiments that fall in the utility model claim scope.

Claims (5)

1, a kind of multichannel Wiegand signal input media, comprise the central processing unit (100) that is used to receive the input of multichannel Wiegand signal, it is characterized in that, a multichannel Wiegand signal input of interrupting input interface (200) reception from a plurality of Wei root devices of described central processing unit, each signal input part (300) of described central processing unit receives each road Wiegand signal input respectively, described central processing unit also is included in the input of described multichannel Wiegand signal and has no progeny in triggering, and is used to judge that whether each signal input part receives described Wiegand signal input is effectively to import and preserve the useful signal identification module (400) of effective Wiegand signal and be used for judging the reception determination module (500) that reception is whether successful according to the kind of the Wei root agreement that will receive.
2, according to the described multichannel Wiegand signal of claim 1 input media, it is characterized in that, described multichannel Wiegand signal input media also comprises multichannel and door (600), the signal input part of described a plurality of Wei root devices is connected to the input end of multichannel and door (600), and the output terminal of described multichannel and door (600) is connected to the interruption input interface (300) of described central processing unit.
According to the described multichannel Wiegand signal of claim 1 input media, it is characterized in that 3, described useful signal identification module (400) further comprises and is used to respond the signal acquiring unit (401) of interrupting and reading the Wiegand signal of described each signal input part; The timer (402) that is used for the tracer signal acquisition time and preserves; Being used for the storage unit (404) of storage standards time interval scope and counting at last once timer is 0 o'clock, judge that directly described Wiegand signal is effective, preserve described Wiegand signal and preserve when time timer counting and be used for comparing next time, the time interval of described adjacent twice timer counting is positioned at the standard time interval, judge that described Wiegand signal is effective, preserve described Wiegand signal and preserve described timer counting and be used for comparing next time, lower limit in time interval of described adjacent twice timer counting less than the standard time interval, judge and give up this Wiegand signal, in the upper limit interval greater than the standard time interval of described adjacent twice timer counting, judge that cancellation receives and give up the identifying unit (403) of all Wiegand signals that this road receives.
4, according to the described multichannel Wiegand signal of claim 3 input media, it is characterized in that, the following 1100 μ s that are limited to of described standard time interval, on be limited to 1500 μ s.
According to the described multichannel Wiegand signal of claim 3 input media, it is characterized in that 5, reception determination module (500) adds 1 counter (501) after being included in and preserving effective Wiegand signal automatically; Be used for judging that the counting of described counter (501) and storage Wiegand signal figure place wherein compare, and when this counting equals described Wiegand signal figure place, judge to receive successfully, and with the zero clearing unit (502) of counter (501) and timer (402) zero clearing.
CNU2008201466600U 2008-08-19 2008-08-19 Input device for multipath Weggen signal Expired - Lifetime CN201247487Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2008201466600U CN201247487Y (en) 2008-08-19 2008-08-19 Input device for multipath Weggen signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2008201466600U CN201247487Y (en) 2008-08-19 2008-08-19 Input device for multipath Weggen signal

Publications (1)

Publication Number Publication Date
CN201247487Y true CN201247487Y (en) 2009-05-27

Family

ID=40731311

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2008201466600U Expired - Lifetime CN201247487Y (en) 2008-08-19 2008-08-19 Input device for multipath Weggen signal

Country Status (1)

Country Link
CN (1) CN201247487Y (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655994B (en) * 2008-08-19 2012-02-15 深圳达实智能股份有限公司 Multi-path Wiegand signal input method and device
CN102890667A (en) * 2012-09-17 2013-01-23 广州英码信息科技有限公司 Device and method for processing wiegand data
CN102999961A (en) * 2012-10-22 2013-03-27 绵阳市维博电子有限责任公司 Method for acquiring Wiegand code data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655994B (en) * 2008-08-19 2012-02-15 深圳达实智能股份有限公司 Multi-path Wiegand signal input method and device
CN102890667A (en) * 2012-09-17 2013-01-23 广州英码信息科技有限公司 Device and method for processing wiegand data
CN102999961A (en) * 2012-10-22 2013-03-27 绵阳市维博电子有限责任公司 Method for acquiring Wiegand code data

Similar Documents

Publication Publication Date Title
CN105277081B (en) I/O testing monitoring device and method for automatic missile testing
CN204304613U (en) II type electric energy efficiency office terminal and system
CN107592250B (en) Multi-rate self-adaptive test equipment based on aviation FC bus
CN101655994B (en) Multi-path Wiegand signal input method and device
CN201181323Y (en) Logic analyzer
CN201247487Y (en) Input device for multipath Weggen signal
CN100480923C (en) Controller soft realizing method from I2C bus
CN103823785B (en) Multi-way ARINC429 data transmit-receive circuit structure based on development of DSP and CPLD
CN203933666U (en) A kind of CAN bus repeater
CN107291647A (en) The method that DSP reads receiving channel data in extended serial port
CN105446837A (en) Method, device and system for detecting whether IIC (inter-integrated circuit) interface device is connected
CN100372195C (en) Universal pressure monitoring system for terminal press
CN201215974Y (en) Communication interface without polarity
CN203811289U (en) Temperature on-line monitoring device for low-voltage power supply surge protector
CN102156618B (en) Memory device with multiple connectors and method for transmitting data
CN201607724U (en) USB HUB supporting multi-threaded operation
CN105553628A (en) Method and device for detecting serial communication baud rate
CN104239255A (en) Universal data converter and method for Wiegand bus
CN102323914A (en) Controller interface capable of automatically detecting WGIN input and control method
CN201293793Y (en) Digital wind measurement sensor
CN110231513A (en) A kind of method and device of multiple way electric acquisition and processing
US8139696B2 (en) Baud rate detection
CN108509365B (en) DBI data transmission method and system
CN202974475U (en) Storage battery temperature measuring equipment
CN105300199A (en) RS-422/485 communication test monitoring device and method for guided missile automatic testing

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
AV01 Patent right actively abandoned

Granted publication date: 20090527

Effective date of abandoning: 20080819