CN1047579A - The control method of dualistic coding in the warning system - Google Patents

The control method of dualistic coding in the warning system Download PDF

Info

Publication number
CN1047579A
CN1047579A CN 90104155 CN90104155A CN1047579A CN 1047579 A CN1047579 A CN 1047579A CN 90104155 CN90104155 CN 90104155 CN 90104155 A CN90104155 A CN 90104155A CN 1047579 A CN1047579 A CN 1047579A
Authority
CN
China
Prior art keywords
code
demoder
alarm
control
module
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.)
Pending
Application number
CN 90104155
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 90104155 priority Critical patent/CN1047579A/en
Publication of CN1047579A publication Critical patent/CN1047579A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Alarm Systems (AREA)

Abstract

The present invention relates to the control method of dualistic coding in the warning system, belong to the warning device class.In micro-processor controlled warning system, each alarm is joined a code sender, and each ten of alarm and code senders are one group, module of every assembly and a demoder.After alarm equipment alarm, triggering this pack module sends first address code and makes code sender send control code, the corresponding decoder decode of this yard quilt touches corresponding module again and sends second address code, and these two address codes are synthetic in main frame just can to draw the warning position.This method can make warning system reduce by 90% coding module, and the main frame consumption of control module also can reduce 80%, makes system cost cheap, and promotional value is arranged.

Description

The control method of dualistic coding in the warning system
The present invention relates to the control method of dualistic coding in the warning system, belong to the warning device system class.
In the existing security alerting system, alarm all is with the geocoding module, and the mode of installation then adopts bus system (two lines), and address code is to pass to main frame with the serial code form, or passes on main frame through extension set, and warning system is Control System of Microcomputer fully.For a big system, for example, there are 10,000 of alarms in a system, module of each alarm band, and that just needs 10,000 block coding modules.In addition, main frame has certain capacity to the control of address code, if its max cap. is 2000 address codes, controlling 10,000 address codes will 4~5 main frame.Below as can be seen concerning a big system,, can make involving great expense of system with a large amount of modules and main frame.
The objective of the invention is to avoid the above-mentioned weak point of prior art, and a kind of control method of dualistic coding is provided, make the present invention reduce the quantity of module widely.Along with the minimizing of module, the consumption of main frame has also reduced naturally, thereby reaches the purpose that reduces cost.
Principle letter of the present invention is chatted as follows:
Fig. 2 is that the control system of a dualistic coding is the block diagram of backup system BH.This control system is assisted microsystem work.It is that intrasystem each alarm is mixed control device, i.e. a code sender.And whole alarms are one group and organize into groups (can enlarge every group quantity as needs by ten.But require the number of contacts of some structure such as relay and the bar number of control bus etc. to adjust accordingly), only join a module and a demoder for every group.Code of demoder (scale-of-two) and module numbering (decimal system) should meet, and the code (scale-of-two) of code sender that alarm is joined and the numbering (decimal system) of alarm itself should meet.Here the alarm of saying comprises fire-alarm and burglar alarm, but both alerting signals of output are similar.Only be that example describes below with the fire-alarm.See Fig. 2.
There is not under the situation of reporting to the police module by signal line X 1Y 1On electric current depend mainly on terminal resistance R f, as alarm F 11After the warning, start code sender N simultaneously 11With the FN of topworks 11(as relay) moves, and makes the signal wire X of module 1Y 1With a resistance R 6(as 330 Ω) form path, promptly with terminal resistance R F1In parallel.Cause X 1Y 1On electric current increase, the testing circuit in the module (as voltage comparator etc.) is measured this variation, sends address code just touch module, module M 1Send address code (M 1), it is a serial code.Meanwhile, code sender also sends a control code (string, parallel sign indicating number, voltage code or hybrid code etc.), passes to each demoder by control bus.But have only the code of demoder and the corresponding demoder of this control code that signal output is just arranged.This signal triggers FE(of topworks in this demoder such as relay etc. again) action, thus cause the module M that this demoder joins 2Also can send address code (M 2), Here it is so-called dualistic coding.Successively twice signaling just formed generated code (M 1M 2), and the sign indicating number that successively sends for twice is all by computer communication bus, passes to main frame (or by extension set pass on main frame) respectively and handles there.
For ease of management, generally big system is all adopted burst partition way, constitute the Multistage Control system.As total system being divided into 100 each front ends of alarm front end H(can be house, a building or a courtyard), the several front ends of each district's administration.Also distribute 100 alarms as each front end,, synthesize by ten modules: (M by top said dualistic coding method 1M 1) (M 1M 2) ... (M 10M 1) (M 10M 2) ... (M 10M 10) just can obtain 100 new sign indicating numbers.Therefore can both code of dispensing to 100 alarms.The marshalling at first representation alarm place of generated code (to join module No. identical with alarm) can be described as row, and second representation alarm can be described as row in * number (identical with the numbering of alarm itself) of this group.
The control mode of dualistic coding is divided the dualistic coding of parallel sign indicating number control, the dualistic coding of hybrid code control, the dualistic coding of serial code control again.
The present invention implements with following method:
The micro-processor controlled warning system of a kind of usefulness (as shown in Figure 1), it is made up of alarm, master control system and supplementary controlled system BH.Master control system comprises host A, extension set B, geocoding module M and connects their computer communication bus C 1D 1And C 2D 2Supplementary controlled system BH is arranged on each alarm front end, and it adopts the method for dualistic coding control to assist master control system work.The block diagram of supplementary controlled system BH is seen Fig. 2.It comprises the FN of topworks of code sender N, demoder E, alarm, the FE of topworks, the control bus AB of demoder, module by signal line X, Y.Each geocoding module M one end and computer communication bus C 2D 2Connect, the other end is drawn signal wire XY, terminal resistance R in parallel on it f, the FN(of topworks such as relay contact etc.) and the FE(of topworks of demoder starting such as relay contact etc.).Each alarm is all put a code sender N, and alarm and code sender are organized into groups, and each ten is one group, and control bus AB connects with each code sender and each demoder again, sees Fig. 2.A module is being administered a group alarm device and a demoder (can expand 15 to from ten for a group as needs), and the code of demoder conforms to the module numbering, and the code of code sender then conforms to the numbering of alarm.When alarm sends alerting signal, make the FN of topworks action, send first address code thereby touched institute's gang mould piece.Simultaneously, the signaling mechanism of code sender sends control code, and this control code is passed to each demoder by control bus.But the demoder that has only the demoder code to conform to control code just has signal output.This signal starts the FE of topworks action again, and the module that this demoder is connected is triggered, and this module is just sent second address code.Supplementary controlled system is finished dualistic coding by this method, the generated code of dualistic coding is divided successively and twice this two part code to be passed to main frame by computer communication bus, synthesize there, retrieve according to generated code, take out from internal memory then that relevant data data (as the alarm position, its title, numbering etc.) shows and printing etc.
Produce error code for fear of two alarms overlapping warnings occurring and in the code sender circuit and in decoder circuit, increased control tube BG 3And BG 13) see Fig. 3,4,5,6,8,9) control.Its principle of work is identical, and the dualistic coding example with parallel sign indicating number control describes below.Fig. 3 repeat circuit contact J 1-1Normally closed contact by relay excitation coil L device F taking alarm, contact J 1-2Normally closed point meet BG 3Collector load resistor R 4, BG 3Collector and complex pipe BG 1,2Base stage between meet a diode D 3, BG 3Base stage and control bus between connect the series arm of diode and resistance, BG 3Grounded emitter, relay J 1One termination complex pipe BG 1,2Collector, another termination power.R 1, R 2Be BG 1Biasing resistor, when having the control code of another code sender on the control bus, BG 3Base stage is in noble potential, BG 3Will conducting, so by diode D 3Make BG again 1Base stage be in electronegative potential and end, make relay J 1Can not adhesive.So BG is arranged 3Effect just guaranteed can not occur two alarms and overlap and report to the police and error code, but this inhibiting effect does not make a back alarm signal engulf again, because alarm has auto-lock function, as long as relay J 1Not adhesive, alarm reset with regard to not cutting off the power supply, in case after the alarm of reporting to the police finished to report to the police earlier, a back alerting signal is trigger relay J at once 1Adhesive, though alarm outage this moment, dry-reed relay J AAlso disconnect, make power supply+V CDiscord R 1Be communicated with, but because capacitor C 1Energy storage still can keep relay J 1Adhesive.In addition, relay J 1Give BG after the adhesive again 3The electricity that broken is therefore at J 1The control code of sending during adhesive, i.e. the noble potential of control bus appearance can not cause BG yet 3Conducting.Obviously, the control code that this code sender sends does not play inhibiting effect to oneself, and other alarm is suppressed.
Do not allow the trigger pip of demoder output to relay J in order to ensure code sender in the signaling time 2Trigger and cause error code, so in decoder circuit, be provided with triode BG 13, relay contact J 2-1Normally closed contact meet BG 13Collector resistance R 12BG 13Collector and complex pipe BG 14, 15Base stage between meet a diode D 10, BG 13Base stage and the series arm of indirect diode of control bus and resistance, BG 13Grounded emitter.Relay J 2One termination complex pipe BG 14,15Collector, another termination power, the BG among circuit theory and Fig. 3 3Identical, do not repeat here.
When making that trigger module is sent out address code behind the decoder decode, equally also to prevent other module signalings (being that the alerting signal sent of alarm is temporarily inoperative), in relay J 2-3, J 2-4To control bus indirect resistance 2XR 16, work as relay J 2Utilize contact J during adhesive 2-3, J 2-4Send to noble potential for control bus Cd, quite export 1100 yards.This sign indicating number is corresponding with the decimal system 12, because of this yard is not provided with in the demoder of native system, therefore utilize this sign indicating number both to suppress all code senders, can not disturb all demoders again, thereby guaranteed to trigger the sign indicating number that can not trigger other during second sign indicating number of dualistic coding simultaneously.
Be description of drawings below.
Fig. 1, the warning system schematic overview
A. main frame, B. extension set, H. alarm front end, BH 3-3Be the backup system of extension set 3 the 3rd front end, F/BH supplementary controlled system and alarm, M. geocoding module, C 1D 1And C 2D 2Be computer communication bus.
Fig. 2, the block diagram of a supplementary controlled system
M. geocoding module F. alarm N. code sender
E. the topworks of the terminal resistance FN. of demoder Rf. alarm
FE. the AB. of the topworks control bus of demoder
C 2D 2. computer communication bus X, Y. module by signal line
Fig. 3, parallel sign indicating number code sender
Fa6.a organizes alarm L. field coil J No. 6 1Relay
J A. dry-reed relay K e. code switch a, b, c, d. control
Bus X a, Y a. module a signal wire
Fig. 4, parallel sign indicating number demoder
I cE6. the 6th group of decoding device PQ. common port J 2. relay
X 6, Y 6. signal wire a, the b of module 6, c, d. control bus
1NH. forbid end
Fig. 5, the hybrid code code sender
F Ab. a organizes b alarm X a, Y a. signal bus
J 1. relay a, b control bus K 1-6. code switch
Fig. 6, the hybrid code demoder
I cE b. b group decoding device PQ. common port 1NH. forbids end
X a, Y a. module a signal wire J 2. relay K I. switch
A, b. control bus
Fig. 7, ZH89012 is as the coupling method of transmission with receive mode
T. sending device R. receiving device P. output terminal
Fig. 8, the serial code code sender
F Ab. a organizes b alarm I cN b. b group signaling device
TR. serial code bus C. control line X aY a. signal bus
J 1. relay
Fig. 9, the serial code demoder
I cE b. b group decoding device J 2. relay
TR. serial code bus C. control line
The dualistic coding of embodiment 1. parallel sign indicating number controls
Fig. 3 is parallel sign indicating number code sender.Below with module M aB the alarm F that is administered AbFor example describes.Alarm F AbAn end ground connection.The other end is by dry-reed relay J AField coil L and relay contact J 1-1Normally closed point join relay J 1Four contacts again with module M aSignal wire X aJoin code switch K eE, f, g, h end join with control bus a, b, c, d respectively, m, n, s, t end pass through resistance R respectively 3With relay contact J 1-1, J 1-2, J 1-3, J 1-4Normal battle link to each other J 1-4Normal battle by diode D 5, resistance R 6330 Ω and module by signal line Y aJoin, work as F a6 report to the police, because the working current of alarm after warning can increase (greater than 20 milliamperes), promptly flow through dry-reed relay J AField coil L on electric current increase, therefore, the magnetic field in the coil also increases, and makes two reeds magnetization of the tongue tube back adhesives in the coil.This moment biasing resistor R 1, R 2And power supply+V cConnect, make complex pipe BG 1,2Obtain bias voltage and conducting, relay J 1Adhesive thereupon.
As can be seen from Figure 3, contact J 1-4Can be after the adhesive by diode D 5And R 6Resistance (330 Ω) makes signal wire X a, Y aForm path, at this moment X a, Y aOn electric current can increase.At M aIn the ohmically voltage of 400 Ω have significant change M like this aIn voltage comparator can detect just trigger module M of this variation aSend address code (M a), first sign indicating number of Here it is dualistic coding.Meanwhile, four contacts are given code switch K again eSend to voltage.By and J 1The code switch K that joins of contact eCarry out set, just can work out out the parallel sign indicating number identical with the alarm numbering.Parallel sign indicating number passes to the interface circuit of each demoder, triode BG promptly shown in Figure 4 by control bus a, b, c, d 1,3,5,7, but the demoder that has only code to conform to could be decoded to it.Fig. 4 is parallel sign indicating number demoder.Decoding device I cE 6Input end A, B, C, D meet triode BG respectively 2, BG 4, BG 6, BG 8Collector.BG 1, BG 3, BG 5, BG 7Ground level meet a, b, c, the d of control bus respectively.What can determine from the code switch position of Fig. 3 that code sender sends is 0110 yard, passes to the interface circuit of demoder by control bus.Pass through triode BG again 1~BG 8Conversion, also make 0110 yard of A, B, C, the corresponding appearance of D four ends, this decoding device is selected for use is 16 to select 1 analog switching ic, knows just that according to this decoding Devices Characteristics the 6th passage and common port connect.(because binary code 0110 of metric 6 correspondences) be power supply+V as can be seen from Figure 4 cCan deliver to resistance R 14On, pass through R again 15Supply with complex pipe BG 14,15Bias voltage makes its conducting.Therefore be connected to the relay J on the complex pipe collector 2Adhesive.Contact J 2-2Make module M 6Signal wire X 6, Y 6Form path with 330 Ω resistance.At this moment, X 6Y 6Top electric current must increase.Module M 6In voltage comparator detect this variation and just trigger M 6Send address code (M 6) second sign indicating number of generated code that Here it is.Thereby finish the overall process of dualistic coding.
Report to the police simultaneously and cause error code for fear of two alarms, in the code sender circuit, increased a control tube BG 3, relay contact J 1-1Normally closed point by relay excitation coil L device F taking alarm A6, contact J 1-4Normally closed point meet BG 3Collector resistance R 4, BG 3Grounded emitter.Its base stage has eight isolating diodes and four resistance R 5Four series arms forming, and join with a parallel sign indicating number control bus a, b, c, d respectively.BG 3Collector and BG 1Base stage between met diode D 3
Do not allow the trigger pip of demoder output to relay J in order to ensure code sender in the signaling time 2Trigger and cause error code, in decoder circuit, be provided with triode BG 13BG 13Collector and complex pipe BG 14,15Base stage between meet a diode D 10BG 13Base stage and control bus a, b, c, d between connect 8 diodes and four series arms that resistance is formed respectively, BG 13Grounded emitter.Relay J 2One termination complex pipe BG 14,15Collector, another termination power.The normally closed contact J of relay 2-1One termination power X 6, another termination pull-up resistor R 12
When making that trigger module is sent out address code behind the decoder decode, also to prevent other module signalings (being that the alerting signal that alarm sends wouldn't work) simultaneously, for this reason in relay J 2-3, J 2-4And connect a resistance R respectively between parallel sign indicating number control bus c, d 16
The dualistic coding of embodiment 2. hybrid codes control
Hybrid code control is exactly to utilize two-lines to transmit " leading to " and " breaking " (i.e. " 1 " and " 0 ") signal of four kinds of varying levels.Therefore, from encoding characteristics, it is the combination of voltage code and binary code.Four kinds of varying levels respectively have 01,10 and 11 3 state again, so integrate totally 12 kinds of states.The state of these yards is issued demoder with parallel mode again.Thereby it can be called parallel sign indicating number again.It has the advantage of easy decoding.With the identical place of parallel sign indicating number control, just do not repeat.Here mainly introduce the generation circuit of hybrid code and the production method of hybrid code.Fig. 5 is the hybrid code code sender.Relay J 1-3, J 1-2Meet code switch K respectively 1-6K 1, K 2, pass through resistance R then 8, R 9Join with hybrid code control bus a, b.Code switch K 3, K 4, K 5, K 6; Voltage stabilizing diode D 6, D 7, D 8Constitute level converter with lead MJ-DJ.Its DJ relay termination contact J 1-3, J 1-2, its KV termination module M aSignal wire X aBecause D 6Select two 2CW for use 57Serial connection forms, voltage breakdown V Z=18V, D 7Select 2CW for use 60, V Z=12V, D 8Select 2CW for use 53, V Z=4.5V is so pass through K 3, K 4, K 5, K 6Coding set has just obtained the voltage code signal of these four varying levels of 6V, 12V, 19.5V and 24V.Pass through code switch K again 1And K 2Establishment and contact J 1-3And J 1-2The time adhesive, so four kinds of level respectively have three states: 01,10,11.Have the parallel sign indicating number of 12 kinds of states at last, as table 1.
Figure 901041556_IMG1
Table 1
As alarm F a6 report to the police, and have triggered the control circuit BG of relay 1,2, make relay J 1Adhesive, at this moment, contact J 1-1Normally closed point disconnect, make F a6 power-off restorations, the normal connection of making war makes module M again aSignal wire X a, Y aConnect with the resistance of 330 Ω, cause X a, Y aElectric current on the line increases, thereby has caused module M aSend first address code (M a), meanwhile again by top said hybrid code signaling device, the parallel sign indicating number of 12 kinds of states is passed to each hybrid code demoder to hybrid code control bus a, b.Fig. 6 is the hybrid code demoder.It comprises that hybrid code conversion equipment and 16 selects 1 analog switching ic.The conversion equipment of this yard is in the input port of demoder, by stabilivolt D 1, D 1', D 2, diode D 2, D 2', D 4; Triode BG 1~BG 8Form stabilivolt D 1With diode D 2Be in series and be connected on R 1And R 7Between; Stabilivolt D 1' and diode D 2' being in series is connected on R 4And R 7Between; Stabilivolt D 3With diode D 4Be in series and be connected on R 7And R 10Between.R 1Be connected to BG 1Between base stage and the control line a; R 4Be connected to BG 3Between base stage and the control line b.R 7Be connected to BG 5Base stage and stabilivolt D 3Negative pole between; R 10Be connected to BG 7Base stage and D 4Negative pole between.BG 1And BG 2Form the break-make change-over circuit, at ordinary times BG 1End BG 2Saturated, so A end is 0 current potential, when being noble potential on a line, BG 1Become saturated, BG 2End, so the A end is " 1 " for noble potential.BG 3And BG 4; BG 5And BG 6; BG 7And BG 8; BG 9And BG 10; Be the break-make change-over circuit.Parallel sign indicating number decoding device I cE bInput end A, B, C, D meet BG respectively 2,4,6,8Collector.PQ is common port and power supply+V cConnect.
BG 1~BG 11Collector load resistor R 2, R 3, R 5, R 6, R 8, R 9, R 11, R 12, R 14, R 15, R 17With power supply+V cJoin.I cThe decoding output channel of E (being the passage that the passage decimal code conforms to the parallel sign indicating number of the scale-of-two of input) meets R 21R 21And R 22Series connection.C 1Be connected to R 21, R 22Between.R 22Another termination BG 14Base stage.Module M b, alarm execution constitute FN and R f, BG 13, D 10, D 8, D 9Connection and principle of work and above code sender identical, do not repeat here.Forbid " 1 " contact of end switch KI, " 2 " contact is connected to BG respectively 10And BG 11Collector.Stabilivolt D 5Be connected to R 13And D 6, D 7Negative pole between the E point.R 16Be connected to BG 11Base stage and D 5Anodal F point between.
The hybrid code decoding is that code sender becomes the parallel sign indicating number of four same level to the parallel code conversion of two varying levels by the hybrid code control bus, and gives 16 and select 1 analog switching ic to decode for the decoding device.The module that output signal is touched this demoder again and connected after the decoding that code conforms to is sent second address code, thereby finishes the dualistic coding of hybrid code control.If D 1And D 1' be 2CW 55(voltage breakdown V Z=6.2~7.5V), D 3Be 2CW 57(V Z=8.5~9.5V), control bus a goes up and is the noble potential of 6V, and b is an electronegative potential, and the result makes BG 1,4,6,8Conducting, BG 2,3,5,7End, the level that end product is received as can be seen is that 01 yard of 6V is transformed into demoder input end A, B, C, D and has just become 0001 four bit parallel sign indicating numbers, so the hybrid code of 12 kinds of states in the table 1 all can become four bit parallel sign indicating numbers after being transformed into A, B, C, D, transfer principle is with top identical, undoubtedly after the different conditions decoding, can connect corresponding passage and common port, now these characteristics are incorporated into table 2.
Figure 901041556_IMG2
Table 2
To equal state, the parallel sign indicating number of varying level is decoded, and is provided with one and forbids holding the gauge tap KI of 1NH and disposed voltage stabilizing diode D 5(2CW 60And 2CW 57Series connection, V Z=20V).When the level of hybrid code is lower than 20V, D 5Can be not breakdown, BG 9, BG 11End, and BG 10Conducting; When if the hybrid code level is higher than 20V, D 5Breakdown, BG 9, BG 11Conducting, BG 10Can end.From device property as can be known, under the condition of forbidding holding, just may according to the parallel sign indicating number of importing corresponding passage and common port be connected respectively into electronegative potential.Be in noble potential if forbid end, its whole passages are all isolated with common port.So be in " 1 " position as KI, the decoding device can be decoded to the hybrid code of the low 20V of level, and KI is in other decoding devices of " 2 " position and can decodes greater than the hybrid code of 20V to level.So state 7 and 10 on the table 2; 8 and 11; 9 is identical with 12 parallel sign indicating number, but because the level difference just can utilize the position difference of KI to distinguish them.The dualistic coding of hybrid code control equally also must guarantee not have two code senders signaling simultaneously, so be provided with triode BG in Fig. 5 3, BG is set in Fig. 6 13, its principle of work respectively with the BG of Fig. 3 3BG with Fig. 4 13Principle of work identical.This external Fig. 6 has also utilized contact J 2-2Sent to the noble potential of 24V for hybrid code control bus b, this just is equivalent to 11 states in the table 2.Decoding device in the dualistic coding system of hybrid code control is not provided with the decoding output channel of this state, so can not give rise to trouble.
The dualistic coding of embodiment 3. serial code control
If what the code sender among Fig. 2 sent is serial code, demoder also is to decode at serial code, just constituted the dualistic coding technology of serial code control like this.Now adopt the ZH8901 integrated circuit.(its duty not only can be changed to send mode but also can be changed to receive mode) constitutes serial code signaling device and decoding device device.ZH8901 has 12 input ends, and each input end has " 0 " or " 1 " this two states.Dualistic coding only needs 10 states, so adopt four code switchs to encode.All resets of input end of signaling device and decoding device 5~12, i.e. ground connection.When the code switch of signaling device is identical with the code switch set of decoding device, could link up between them.Be that the serial code that the signaling device sends has only corresponding decoding device to decode, when the code sender signaling, the T/R end output low-potential signal of decoding device.The T/R of corresponding demoder automatically resets after the signaling device stops signaling, the output high potential signal.The coupling method that ZH8901 is operated in send mode and is operated in receive mode as shown in Figure 7.Fig. 8 is the serial code code sender, signaling device 17 termination control line TR.18 ends and 15 ends join, and pass through D 4And R 5Be connected to control line C.Alarm F wherein Ab, dry-reed relay J A, complex pipe BG 1,2, relay J 1, control tube BG 3Connection and their principle of work all identical with these parts shown in Figure 5, having any different slightly is J 1-1And J 1-2Control method.Here be as alarm F AbAfter sending warning, make relay J 1Adhesive, contact J 1-1Adhesive makes module M aSignal wire X a, Y aWith R 6330 Ω resistance form the loop.Thereby touch M aSend first address code (M a), while contact J 1-2Give signaling device I after the adhesive cN bPower supply, code sender are sent serial code and are passed to each decoding device I by serial code bus TR cE, but have only corresponding demoder I cE bJust can decode, trigger the module that this demoder connects and send second address code, thereby finish the dualistic coding of serial code control.
During making signaling, suppress to have simultaneously two code weights repeatedly, J 1-2Also pass through D 4And B 5Noble potential is delivered on the control line C, and control principle is identical with Fig. 5 circuit.Fig. 9 is the serial code demoder.Relay contact J 2-2Pass through D 4, R 7Meet control line C.BG 13Base stage pass through resistance R 5With two isolated tube D 3Access Control line C.Decoding device REC termination is gone into control line TR.As decoding device I cE bWhen identical with the two the code switch set of signaling device, I cN bThe serial code of sending is passed through I cE bMake T/R end output electronegative potential after the decoding, work as I cN bAfter stopping paying out sign indicating number, the T/R end automatically resets and is noble potential.As can be seen from Figure 9, when T/R is noble potential, BG 12Conducting, its current collection is electronegative potential very, complex pipe BG 14,15Base stage can not get bias voltage and end, so relay J 2Not adhesive.When T/R is electronegative potential, BG 12End, its current collection is noble potential very, complex pipe BG 14,15Conducting, relay J 2So adhesive is contact J 2-1Make M bSignal wire X aY bForm path with 330 Ω resistance, thereby cause X bY bOn electric current increase, trigger M bSend address code (M b), second sign indicating number of generated code that Here it is.
In order to prevent at M bThere is other sign indicating number to disturb during the signaling, also is provided with control triode BG 13, its principle of work is identical with the front.
By above analysis as can be known, for one 10,000 warning systems are arranged, originally needed 10,000 of modules, as being that the main frame of 2000 address codes is just controlled and needed 5 with capacity, after utilizing method of the present invention, mix a cheap code sender for every alarm, module just only needs 1000 again.That is to say that the module amount ratio saved 90% originally.Main frame has also needed only one, has saved 80% main frame.Reduced the cost of warning system so widely, error code can not take place in native system simultaneously, and the reliability of warning system is secure.Therefore, present technique will have promotion prospect.

Claims (4)

1, a kind ofly use micro-processor controlled warning system, it is made up of alarm, master control system and supplementary controlled system, and master control system comprises host A, extension set B, geocoding module M and connects their computer communication bus C 1D 1And C 2D 2, it comprises the FN of topworks of code sender N, demoder E, alarm, the FE of topworks, control bus AB and module by signal line X, the Y of demoder, each geocoding module M one end and computer communication bus C supplementary controlled system BH 2D 2Connect, the other end is drawn signal wire X, Y, terminal resistance R in parallel on it f, the FN of topworks, FE, each alarm is all put 1 demoder N, control bus AB links to each other with demoder with each code sender again, the control method that it is characterized in that the supplementary controlled system employing dualistic coding of warning system: each alarm is joined a code sender, then alarm and code sender are organized into groups, each ten is one group (can expand 15 to as needs), joins a module and a demoder again for every group.The code of demoder conforms to the module numbering, and the code of code sender then conforms to the alarm numbering, starts FN of topworks and code sender N after alarm equipment alarm simultaneously, and the FN action just touches the module that is connected and sends first address code; Code sender N then sends control code, and this sign indicating number is passed to each demoder by control bus, but the demoder that has only the demoder code to conform to control code just has signal output, this signal starts the FE of topworks action again, the module that this demoder is connected is triggered, this module is just sent second address code, supplementary controlled system is finished dualistic coding by this method, the generated code of dualistic coding is divided successively and twice this two part code to be passed to main frame by computer communication bus, synthesize there, retrieve according to generated code, from internal memory, take out the relevant data data then, show and printing etc.;
B, overlap to report to the police and produce error code, in the signaling circuit, increased a control tube BG for avoiding occurring two alarms 3, relay contact J 1-1Normally closed point, by relay excitation coil L device F taking alarm, contact J 1-4Normally closed point meet BG 3Collector load resistor R 4, BG 3Collector and complex pipe BG 1,2Base stage between meet a diode D 3, BG 3Base stage and control bus between connect the series arm of diode and resistance, BG 3Grounded emitter, relay J 1One termination complex pipe BG 1,2Collector, a termination power, R 1, R 2Be BG 1Biasing resistor, when having the control code of another code sender on the control bus, BG 3Base stage is in noble potential and conducting, so by diode D 3Make BG again 1Base stage be in electronegative potential and end, make relay J 1Can not adhesive, second the alarm signal of having avoided sending out external;
C, for guaranteeing not allow during the code sender signaling trigger pip of demoder output to relay J 2Trigger and cause error code, in decoder circuit, be provided with triode BG 13, its grounded emitter, collector and complex pipe BG 14,15Base stage between meet a diode D 10, BG 13Indirect diode of base stage and control bus and resistance series arm, BG 13The normally closed node J of collector load resistor by relay 2-1Receive power lead, relay J 2One termination complex pipe BG 14,15Collector.
2,, it is characterized in that supplementary controlled system is the method that adopts the dualistic coding of parallel sign indicating number control according to the described warning system of claim 1: when alarm sends warning, relay J 1Adhesive is sent address code thereby touch module, simultaneously, and relay J 1Four contacts give code switch K eSend to voltage, to K eCarry out can compiling out the parallel sign indicating number that conforms to the alarm numbering after the set, and pass to each demoder by control bus a, b, c, d, the demoder that has only code to conform to could be decoded to it, by triode BG 1~BG 8Conversion, make select for use 16 select 1 analog switching ic I CThe A of E, B, C, D four bring out now corresponding sign indicating number, touch the module that is connected and send second address code, thereby finish yard dualistic coding of control that walks abreast.
3, according to claim 1,2 described warning systems, it is characterized in that supplementary controlled system adopts the dualistic coding method of hybrid code control: it is to utilize two lines to transmit four kinds of varying levels " to lead to " and " breaking " signal, totally 12 kinds of states are to issue demoder in the mode of parallel sign indicating number.When alarm gives the alarm, relay J 1Adhesive is sent first address code thereby touch module.While relay contact J 1-3, J 1-2Meet code switch K respectively 1-6K 1, K 2, pass through resistance R 8, R 9Join code switch K with hybrid code control bus a, b 3, K 4, K 5, K 6With voltage stabilizing diode D 6, D 7, D 8, lead MJ-DJ constitutes level converter, passes through K 3, K 4, K 5, K 6The voltage code signal that set obtains four varying levels passes through relay J again 1-3, J 1-2Adhesive and K switch 1, K 2Coding.By control line a, b the parallel sign indicating number of 12 kinds of states is issued demoder, a conversion equipment is arranged in the input port of demoder, it is by stabilivolt D 1, D 1', D 3, diode D 2, D 2', D 4, triode BG 1~BG 8Institute's composition conversion equipment becomes the parallel sign indicating number of four same level to the parallel code conversion of two varying levels, and gives 16 and select 1 analog switching ic I CThe E demoder is decoded, and the module that output signal is touched this demoder again and connected behind the decoder decode that code conforms to is sent second address code, thereby finishes the dualistic coding of hybrid code control.
4, according to the described warning system of claim 1, it is characterized in that supplementary controlled system adopts the dualistic coding of serial code control, it adopts the ZH8901 integrated circuit to constitute serial code signaling device and decoding device, the 5-12 of signaling device and decoding device holds ground connection, the signaling device adopts four code switchs to encode, all resets of input end of signaling device and decoding device 5~12, after alarm sends alerting signal, relay J 1Adhesive, thereby touch module and send first address code, simultaneously, code sender sends serial code and passes to each decoding device by control bus TR, the serial code that code sender sends has only corresponding demoder to decode, trigger the module that this demoder connects and send second address code, finished the dualistic coding of serial code control.
CN 90104155 1990-06-01 1990-06-01 The control method of dualistic coding in the warning system Pending CN1047579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 90104155 CN1047579A (en) 1990-06-01 1990-06-01 The control method of dualistic coding in the warning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 90104155 CN1047579A (en) 1990-06-01 1990-06-01 The control method of dualistic coding in the warning system

Publications (1)

Publication Number Publication Date
CN1047579A true CN1047579A (en) 1990-12-05

Family

ID=4878418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 90104155 Pending CN1047579A (en) 1990-06-01 1990-06-01 The control method of dualistic coding in the warning system

Country Status (1)

Country Link
CN (1) CN1047579A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101949723A (en) * 2010-08-12 2011-01-19 杜鸿钧 Novel wireless remote measuring and controlling water level instrument
CN106057512A (en) * 2016-07-18 2016-10-26 中国电子信息产业集团有限公司第六研究所 Electric control automatic dip switch
CN109377700A (en) * 2018-04-08 2019-02-22 九江精密测试技术研究所 A kind of software automatic addressing method and its system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101949723A (en) * 2010-08-12 2011-01-19 杜鸿钧 Novel wireless remote measuring and controlling water level instrument
CN101949723B (en) * 2010-08-12 2015-07-29 杜鸿钧 Wireless telemetering remote control water level instrument
CN106057512A (en) * 2016-07-18 2016-10-26 中国电子信息产业集团有限公司第六研究所 Electric control automatic dip switch
CN106057512B (en) * 2016-07-18 2018-12-21 中国电子信息产业集团有限公司第六研究所 A kind of automatically controlled automation toggle switch
CN109377700A (en) * 2018-04-08 2019-02-22 九江精密测试技术研究所 A kind of software automatic addressing method and its system

Similar Documents

Publication Publication Date Title
CN201464618U (en) Switching quantity detection circuit
JPS6190549A (en) Data transmitter with data communication network classification having tree constitution
CN204578817U (en) The electronic switch of the compatible dual control of energy or the wiring of multi-control mechanical switch
CN2826445Y (en) Intelligent line-checking machine
CN2842887Y (en) Multi plexing communication interface circuit
CN1047579A (en) The control method of dualistic coding in the warning system
CN202383491U (en) Slave power supply and valve control circuit of M-BUS
CN201812029U (en) Key detection and display driving integrated circuit
CN105743336B (en) A kind of cascaded high-voltage frequency converter and its master control system
CN100527306C (en) Control circuit of relay
CN202424663U (en) IGBT (insulated gate bipolar transistor) driving protection circuit and IGBT driving protection system
CN110685808B (en) Double-signal output induction circuit of accelerator pedal sensor and signal output control method thereof
CN1643995A (en) Interface for digital communication
CN209358569U (en) Differential signaling bus circuit
CN201927018U (en) Automatic wire holder for 2<8N>/2 paths of household appliances capable of realizing output data management through interconnecting lines of serial port
CN208608744U (en) Equalization charging circuit and Type B ultrasonic device
CN2206010Y (en) Digital multi-address controller for electrical switch
CN104852716A (en) Thermal power plant digital input terminal board and method
CN217085559U (en) Signal identification circuit
CN218729023U (en) UART communication circuit and communication system
CN205648142U (en) Electricity -saving appliance with power line carrier module
CN201167282Y (en) Power converter for reluctance motor of single terminal drive switch
CN106856320A (en) A kind of oil well terminal voltage protection circuit
CN100553138C (en) A kind of compound level signal comparing latch unit
CN215101300U (en) Serial communication key device

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
AD01 Patent right deemed abandoned
C20 Patent right or utility model deemed to be abandoned or is abandoned