CN106023501B - Warehouse environment information gathering warning system - Google Patents

Warehouse environment information gathering warning system Download PDF

Info

Publication number
CN106023501B
CN106023501B CN201610451046.4A CN201610451046A CN106023501B CN 106023501 B CN106023501 B CN 106023501B CN 201610451046 A CN201610451046 A CN 201610451046A CN 106023501 B CN106023501 B CN 106023501B
Authority
CN
China
Prior art keywords
cycle
time
voltage
signal
true
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.)
Active
Application number
CN201610451046.4A
Other languages
Chinese (zh)
Other versions
CN106023501A (en
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.)
HEFEI HONEN MECHANICAL & ELECTRONIC TECHNOLOGY Co.,Ltd.
Original Assignee
Fuzhou Taijiang Chaoren Electronic 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 Fuzhou Taijiang Chaoren Electronic Co Ltd filed Critical Fuzhou Taijiang Chaoren Electronic Co Ltd
Priority to CN201610451046.4A priority Critical patent/CN106023501B/en
Publication of CN106023501A publication Critical patent/CN106023501A/en
Application granted granted Critical
Publication of CN106023501B publication Critical patent/CN106023501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • AHUMAN NECESSITIES
    • A62LIFE-SAVING; FIRE-FIGHTING
    • A62CFIRE-FIGHTING
    • A62C37/00Control of fire-fighting equipment
    • A62C37/36Control of fire-fighting equipment an actuating signal being generated by a sensor separate from an outlet device
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/08Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using communication transmission lines

Abstract

The present invention relates to warehouse environment information gathering warning system, it includes multiple humiture collectors, multiple smoke detectors, Fire extinguisher and a main controller, temperature-humidity signal for recording synchronism time and its collection sends main controller processing to, if detecting data over run, alarmed by GSM nets with short message mode to owner and relevant department.

Description

Warehouse environment information gathering warning system
(1) technical field:
The present invention relates to warehouse environment information gathering warning system, and it includes multiple humiture collectors, multiple sense cigarettes are visited Survey device, Fire extinguisher and a main controller, the temperature-humidity signal for recording synchronism time and its collection and send main controller to Processing, if detecting data over run, alarmed by GSM nets with short message mode to owner and relevant department.
(2) background technology:
The control system of power supply is provided by power network, its each electronic equipment or intermodule are communicated by special circuit, To correct the timing time of each electronic equipment or electronic module, reach synchronous operation purpose.Due to being made using special circuit communication Wiring complicates and increases cost, if timing time is not corrected by line traffic, due to traditional timing error, runs number After hour, it, which accumulates timing error, can make system control action inconsistent, may cause system crash, and at some, often change is set Meter, its products application of the big occasion of wiring installation amount are restricted.
(3) content of the invention:
The present invention relates to warehouse environment information gathering warning system, and it includes multiple humiture collectors, multiple sense cigarettes are visited Device, Fire extinguisher and a main controller are surveyed, each position sets a humiture collector in warehouse, and on warehouse room top Multiple smoke detectors (according to environmental characteristic or using photosensitive or heat detector) are installed in portion, and each humiture collector includes One or several Temperature Humidity Sensors, humiture collector and smoke detector all configure toggle switch, all set unique number, Usually, the temperature-humidity signal of recording synchronism time and its collection sends main controller processing to, if smoke detector detects cigarette Mistiness degree transfinites, and according to fire alarm intensity, the classification of time, is alarmed to main controller, main controller or selection are opened Fire extinguisher and risen Move fire-extinguishing apparatus and send alarm, and alarmed by GSM nets with short message mode to owner and relevant department.Fire extinguisher is defeated Go out through Phototube Coupling, bidirectional triode thyristor control, or contact relay circuit control, fire-extinguishing apparatus is connected on the civil power outside system.
Each humiture collector, each smoke detector and main controller are connected on same electric power netting twine and set master switch, Diode is installed after master switch, and in main controller, Fire extinguisher and each humiture collector, each smoke detector Each installation cycle discriminator circuit, keep system to keep strokes for producing lock in time, while respectively installed in its telecommunication circuit One communications electronics switch, switch drive module.During communication, half wave communication through power line, communications electronics switch is connected;Instead It, master controller first sends sign off instruction, shut-off communications electronics switch to each electric quantity monitoring instrument.
Communication is to be controlled by lock in time to keep communication operation consistent, and main controller, Fire extinguisher and each humiture are adopted It is to be depressured from electric power netting twine through resistance, just connecing two poles to collect the switch drive module that communications electronics switch in instrument, each smoke detector Pipe further after the negative half-wave of isolation cycle, is connected to comparator input terminal, and its reference voltage is 100Mv to 200Mv, using two poles Tube voltage drop is obtained through electric resistance partial pressure, therefore the output end of comparator is square-wave signal, and it is produced after the diode rectification just connect Corresponding power network cycle bears the positive square-wave signal of half-wave, the I/O mouths of single-chip microcomputer is connected to, when positive square-wave signal is arrived in single-chip microcomputer scanning Traffic operation is performed, the positive square-wave signal is additionally operable to drive communications electronics switch, therefore communications electronics switch is in cycle positive half-wave When turn off, cycle bear half-wave when connect.Communications electronics switch is connected to single-chip microcomputer corresponding port according to used communication mode, and carries out Signal condition, during sign off under main controller control, make drive circuit shut-off communications electronics switch.
SMS R-T unit is installed in system, using GSM network, communicated with receiving and dispatching short message mode, at present GSM SMS messaging service is still that a kind of short message service GSM SMS of domestic popularity rate highest possesses data transmission work(in itself Can, the transmission of a message, which just constitutes, once to communicate, and the transmission of message is by the SMS service center outside GSM (SMSC) relayed, it does not have to dialing and can establish connection by GSM SMS service SMS, and user adds the information to be sent out Stay of two nights data are sent to short message service center, and the final stay of two nights is then forwarded to after short message service center completes storage.So When GSM terminals are not started shooting, information will not lose.
The present invention utilizes the positive half cycle ascent stage of power network cycle, takes three to screen point and realizes that the identification to cycle signal is sentenced It is fixed, recycle the cycle time to establish lock in time, realize main controller in system, Fire extinguisher and each humiture collector, each The synchronous operation of smoke detector.
The cycle discriminator circuit structural representation of main controller, Fire extinguisher and each humiture collector, each smoke detector Figure includes filtered electrical as shown in Fig. 2 be made up of three voltage comparators using hysteresis loop comparators in each voltage comparator Road, the reference voltage of its voltage comparator are provided by mu balanced circuit.System sets clock timer and synchrotimer.If inspection It is true to measure two adjacent cycle signals, then takes out the clock timer meter between this two adjacent cycle signal zero passages When the time, sequentially be stored in cycle time memory cell in, the cycle time memory cell can deposit 100 cycle times, be filled with When be often stored in a cycle time, first remove the cycle time being stored at first, and calculate the flat of the cycle time of deposit Average Tz is simultaneously preserved, and differentiates cycle signal to be identified using Tz values, to reduce the influence of power network frequency fluctuation, while using three Individual point of screening reduces erroneous judgement possibility.
Three comparators are respectively used to three examination points, that is, screen point 0, screen point 1, screen point 2, as shown in Figure 1.In week At the cycle zero passage of ripple positive half cycle ascent stage, that is, screen point 0 and voltage zero-crossing comparator is set, due to power network cycle negative half period quilt Commutation diode is isolated, in order to improve accuracy of detection, in the signal input part series diode isolation again of voltage zero-crossing comparator Negative half period, its reference voltage brings up to 10mv to 100mv from zero, and depending on the offset voltage of comparator, the reference voltage can profit Obtained with diode drop through electric resistance partial pressure.Remaining two comparator is separately positioned on cycle positive half cycle ascent stage, crest voltage 35% to 50% place examination point 1 and 50% to 70% place examination point 2.
Cycle signal determining:After setting time opens interruption, clock timer resets and starts timing single-chip microcomputer, works as cycle During voltage zero-cross, the output voltage upset for the voltage Zero-cross comparator Qi ﹙ V0 ﹚ for screening point 0 is arranged on, is produced in its voltage trailing edge Interrupt, record its zero crossing break period Th0 and the Central Shanxi Plain is broken;Hereafter, electricity pressure comparator ﹙ V1 ﹚ at point 1 are screened in single-chip microcomputer scanning Output voltage, when all wave voltages are reached to ﹙ V1 ﹚ threshold voltage, output voltage is overturn from high to low, when scanning records its upset Between Th1;Same scanning record screens electricity pressure comparator ﹙ V2 ﹚ output voltage flip-flop transition Th2 at point 2, by Th0 and voltage zero-cross Bi compare Qi ﹙ V0 ﹚ output voltage flip-flop transition setting value Ts0 makes comparisons;Th1 and electricity pressure comparator ﹙ V1 ﹚ output voltage are overturn Time setting value Ts1 and Th2 makes comparisons respectively with electricity pressure comparator ﹙ V2 ﹚ output voltage flip-flop transition setting value Ts2, such as For fruit in the range of allowable error, then the discriminator signal detected is true, is otherwise false.When above-mentioned judgement discriminator signal is true, Calculate the clock timer meter between cycle signal zero passage when this cycle signal zero passage and an adjacent preceding discriminator signal are true When time Tzu, it is made comparisons with the average value Tz of cycle time, the cycle if no more than setting cycle time error Tzv Signal is true, at this moment preserves Tzu and takes 20ms to be added with synchrotimer timing time, the value deposit synchrotimer that will add up In.
When clock timer starts timing with cycle voltage zero-cross, then timing to 16ms opens the break period between 18.5ms Open interruption during setting value Tk, clock timer timing to 25ms to Central Shanxi Plain during pass break period setting value Tn between 27ms is broken.
After system boot, clock timer starts timing, when detecting first cycle voltage zero-cross, is arranged on examination The voltage Zero-cross comparator Qi ﹙ V0 ﹚ of point 0 output voltage upset, interrupts so as to produce, takes out the time T0 of cycle voltage over zero Preserve, clock timer is reset and starts timing, at this moment cycle time voltage crosses zero Th0 is 0, while single-chip microcomputer presses above-mentioned side Method scans and judges discriminator signal.What it is due to detection is first cycle, and clock timer is started in cycle voltage zero-cross Timing, its Th0, Th1 and Th2 value must add the difference that cycle time 20ms subtracts out break period setting value Tk, if Three discriminator signals are true, and the time T0 of the cycle voltage over zero of taking-up is stored in synchrotimer as initial time, under Once i.e. opening the break period for the first time takes Tk.Otherwise be fictitious time, now the clock timer time must add T0, continue to detect.
When detecting first and second adjacent cycle voltage zero-cross, due to not preserving the cycle time of detection, Therefore the clock timer timing time twice between cycle signal zero passage is made comparisons with cycle time 20ms, judges cycle signal Then it is to take 20ms to subtract Th0 difference to be added with synchrotimer timing time when being true, i.e., preserves the standard cycle time for the first time 20ms, its Th0 value need to be deducted, because when hereafter to detect cycle signal every time be true, by clock meter when opening interruption When device reset after restart timing, and be that the standard cycle time is included in synchrotimer when opening interruption, open interruption Afterwards clock timer reset, otherwise judge cycle signal be fictitious time, now the clock timer time must add T1=T0+Tk, after It is continuous to detect first cycle again as stated above.After it is very to detect first cycle signal, recover above-described cycle Signal determining.
If as shown in figure 1, detecting that cycle signal is false, the break period is opened next time and opens the break period at this Afterwards, open interruptions during average value Tz through the cycle time that is delayed, and open interrupt after be delayed Tns when the Central Shanxi Plain break, when setting the Central Shanxi Plain to break Between be when cycle signal screen point 0 when do not producing interruption, at this moment must be in the setting time point more than Ts0 allowable error scopes Start to scan, and when scanning examination point 1 and examination point 2, voltage comparator output voltage does not produce upset, all in the Central Shanxi Plain breaks The Central Shanxi Plain was broken and stopped scanning time Tns, and Tns is:
Tns=Tn-Tk
If it is true to detect cycle signal, next cycle opens break period Tks and is:
Tks=Tk+Th0
I.e. from opening for the first time after the break period takes Tk, clock timer is that timing opens interruption to Tks, and weight after resetting New to start timing, timing is broken to Central Shanxi Plain during Tns, so that the synchrotimer time is corrected by cycle time voltage crosses zero.
Repeat said process.If the upper cycle signal detected is true, when this cycle judges, discriminator signal is Vacation, or the cycle time detected exceed setting cycle time error Tzv, or clock meter compared with the average value Tz of cycle time When device timing to close break period setting value Tns when, voltage Zero-cross comparator device ﹙ V0 ﹚ output voltages are not overturn, in not producing Disconnected, then when clock timer timing is to Tns, the Central Shanxi Plain is broken, and at this moment remembers that not counting cycle N is 1 and stores, when opening interruption next time Between be to open the break period in last time to open interruption after Tz, hereafter every time judge the cycle signal true and false, if false or this detection Though discriminator signal is true but last time is false, then N is taken, will restore after N+1 and do not reset after interruption is opened in memory, clock timer Continue timing, at this moment, next cycle of setting opens the break period and temporarily uses out break period interim setting value Tkz instead:
Tkz=(N+1) × Tz
Meanwhile next cycle closes break period temporary transient use instead and closes the break period interim setting value Tnz:
Tnz=Tkz+Tns
When clock timer to after Tkz, the time that point is screened in scanning can be obtained by simple computation.If at this moment examine It is true to measure cycle signal, then takes out N in memory and preserve, and by N zero setting in memory, make clock timer clocking value Ts For:(Ts-Tkz) → Ts, at this moment take (N+1) × 20ms value to be added in synchrotimer, and recover using setting value Tks with Tns, recovered clock timer are reset after interruption is opened.
The system synchronization time be synchrotimer time, along with currently just timing clock timer time.
When judging to screen the point signal true and false, Th0, Th1, Th2 are by being set with voltage comparator output voltage flip-flop transition Definite value Ts0, Ts1, Ts2 make comparisons see it is whether overproof, come judge screen point a signal true and false, can select:Th0, Th1, Th2 are The cycle discriminator signal is true when true, or Th0 is true, while when one of Th1, Th2 are true, or when Th1, Th2 are true, should Cycle discriminator signal is true, depending on to judging the different requirements of the cycle signal true and false.
If system fault, when N is more than a setting value between 25 to 70, due to main controller, fire extinguishing control in system Device processed and each humiture collector, each smoke detector, its Tz value detected may be different with N values, and at this moment, power network frequency is tired out Product error, may cause the synchrotimer time to be corrected when can not be by detecting true cycle signal, when detecting week When ripple signal is true, directly it is added on using clocking value of the clock timer at Tkz in synchrotimer, to reduce system not Lock in time, N is much smaller than 25 in the case of power network normal operation.
The cycle time error Tzv of permission and the flip-flop transition setting value of voltage comparator output voltage, by test assessment Its average value is taken to obtain.
(4) illustrate:
Fig. 1 is that cycle screens data relationship schematic diagram;
Fig. 2 is cycle discriminator circuit structural representation;
Fig. 3 is the circuit structure block diagram of warehouse environment information gathering warning system.
(5) embodiment:
Fig. 3 is that warehouse environment information gathering alarm system circuit block diagram includes:The ﹚ of Zhu Kong Qi ﹙ 10, communications electronics are opened Close the ﹚ of ﹙ 11, switch drives the ﹚ of dynamic model block ﹙ 12, SMS receives the wet degree of the ﹚ of 13 ﹚, SIM card ﹙ of transmitting apparatus ﹙ 14, temperature and passes the ﹚ of sense device ﹙ 15, cycle Screen the electric ﹚ of road ﹙ 16, the ﹚ of humiture collection instrument ﹙ 17, sense cigarette and visit the ﹚ of survey device ﹙ 18, the ﹚ of cigarette biography sense device ﹙ 19, the fiery ﹚ of controller ﹙ 20 that go out, fire extinguishing Qu moves the ﹚ of 21 ﹚, Mie fire She Bei ﹙ of electricity Lu ﹙ 22.The wherein ﹚ of communications electronics Kai Guan ﹙ 11, the ﹚ of switch Qu dynamic model Kuai ﹙ 12, cycle screen electricity Lu ﹙ Dan Pian Ji ﹙ U0 ﹚ in 16 ﹚ and Fig. 2, respectively included in the ﹚ of humiture collection Yi ﹙ 17, the ﹚ of 18 ﹚ and Zhu Kong Qi ﹙ of Gan Yan Tan Ce Qi ﹙ 10 In, the ﹚ of communications electronics Kai Guan ﹙ 11 use bidirectional triode thyristor as switch.
Fig. 2 is the structural representation that cycle screens the ﹚ of electricity Lu ﹙ 16, by:Shu enters electricity Lu ﹙ S0 ﹚, voltage zero-cross Jian and surveys Mo Kuai ﹙ V0 ﹚, electricity pressure comparator ﹙ V1 ﹚ and electricity pressure comparator ﹙ V2 ﹚ are formed.Dan Pian Ji ﹙ U0 ﹚ refer to that the ﹚ of humiture collection Yi ﹙ 17, sense cigarette are visited Single-chip microcomputer in the ﹚ of the Ce Qi ﹙ 18 and ﹚ of Zhu Kong Qi ﹙ 10.Shu enters electricity Lu ﹙ S0 ﹚ and is used to mains AC voltage passing through resistance and two poles The partial pressure of pipe, be converted to the suitably stable input voltage of voltage comparator.Dan Pian Ji ﹙ U0 ﹚ use 89C55WD, voltage zero-cross Inspection surveys mould block ﹙ V0 ﹚, electricity pressure comparator ﹙ V1 ﹚, electricity pressure comparator ﹙ V2 ﹚ and uses special voltage comparator LM339, its benchmark Voltage is come the threshold voltage of burning voltage comparator using the mu balanced circuit of voltage-stabiliser tube.
When mains AC voltage cycle signal zero passage, voltage zero-cross Jian surveys Mo Kuai ﹙ V0 ﹚ output voltage saltus step, single Pian Ji ﹙ U0 ﹚ produce interruption, record the break period, while Dan Pian Ji ﹙ U0 ﹚ are additionally operable to scanning voltage Bi compare Qi ﹙ V1 ﹚ and voltage ratio Compare Qi ﹙ V2 ﹚ output voltage, bound-time is recorded when output voltage saltus step, for judging power network cycle signal so as to producing Raw lock in time.
Single chip computer89C51 realizes serial communication by I2C buses and master controller in SMS R-T unit, the monolithic Machine 89C51 is connected also by serial line interface integrated circuit MAX232 with gsm module TC35i carries out data exchange, gsm module chip TC35i is RS232 data ports, supports AT Command Set, wherein contain the control to SMS, single chip computer89C51 is by GSM moulds Block sends a series of AT instructions, completes the initialization to gsm module and receiving short message.SMS transmitting-receiving uses TEXT patterns, TEXT patterns are a kind of tactic patterns based on ASCII character.

Claims (2)

1. warehouse environment information gathering warning system, it is characterized in that, in main controller, Fire extinguisher and each humiture collection Cycle discriminator circuit is respectively installed in instrument, each smoke detector, keeps system to keep strokes for producing lock in time, while at it Each installation one communications electronics switch, switch drive module in telecommunication circuit, communication was controlled by lock in time, switch drive mould Comparator input terminal in block, its reference voltage are 100Mv to 200Mv, are obtained using diode drop through electric resistance partial pressure, comparator Output end be square-wave signal, it after making the diode rectification of positive connection that cycle positive half-wave turns on through generating corresponding electric power Net week ripple bears the positive square-wave signal of half-wave, is connected to the I/O mouths of single-chip microcomputer, and single-chip microcomputer scanning performs communication behaviour when arriving positive square-wave signal Make, the positive square-wave signal is additionally operable to drive communications electronics switch, therefore communications electronics switch turns off in cycle positive half-wave, cycle Connected during negative half-wave;
SMS R-T unit is installed in system, using GSM network, communicated with receiving and dispatching short message mode;
Cycle discriminator circuit is the positive half cycle ascent stage using power network cycle, takes three to screen knowledge of the point realization to cycle signal Do not judge, recycle the cycle time to establish lock in time, system sets clock timer and synchrotimer, if detecting phase Two adjacent cycle signals are true, then take out the clock timer timing time between this two adjacent cycle signal zero passages That is the cycle time, sequentially it is stored in cycle time memory cell, a cycle time is often stored in when being filled with 100 cycle time, The cycle time being stored at first is first removed, and calculates the average value Tz of the cycle time of deposit and preserves, utilizes Tz values Differentiate cycle signal to be identified;
Three comparators are respectively used to three examination points, that is, screen point 0, screen point 1, screen point 2, in the cycle positive half cycle ascent stage Cycle zero passage at, that is, screen point 0 set a voltage zero-crossing comparator, concatenate two again in the signal input part of voltage zero-crossing comparator Pole pipe isolates negative half period, and its reference voltage is 10mv to 100mv, and depending on the offset voltage of comparator, the reference voltage can profit Obtained with diode drop through electric resistance partial pressure, remaining two comparator is separately positioned on cycle positive half cycle ascent stage, crest voltage 35% to 50% place examination point 1 and 50% to 70% place examination point 2;
Cycle signal determining process:After setting time opens interruption, clock timer resets and starts timing single-chip microcomputer, works as cycle During voltage zero-cross, the output voltage upset for the voltage zero-crossing comparator for screening point 0 is arranged on, in the generation of its voltage trailing edge It is disconnected, record its zero crossing break period Th0 and the Central Shanxi Plain is broken;Hereafter, first voltage Bi compare Qi ﹙ V1 ﹚ at point 1 are screened in single-chip microcomputer scanning Output voltage, when all wave voltages reach first voltage than threshold voltage compared with device ﹙ V1 ﹚, output voltage is overturn from high to low, Scanning records its flip-flop transition Th1;When same scanning record screens the upset of second voltage Bi compare Qi ﹙ V2 ﹚ output voltages at point 2 Between Th2, if the discriminator signal that the flip-flop transition Th1 and Th2 in the range of allowable error, is detected is true, otherwise for Vacation, when above-mentioned judgement discriminator signal is true, calculate week when this cycle signal zero passage and an adjacent preceding discriminator signal are true Clock timer timing time Tzu between ripple signal zero passage, it is made comparisons with the average value Tz of cycle time, if be no more than Setting cycle time error Tzv, then cycle signal to be true, at this moment preserve Tzu and takes 20ms and synchrotimer timing time phase Add, in the value deposit synchrotimer that will add up;
When clock timer starts timing with cycle voltage zero-cross, then timing to 16ms opens break period setting between 18.5ms Open interruption during value Tk, clock timer timing to 25ms to Central Shanxi Plain during pass break period setting value Tn between 27ms is broken;
When detecting first cycle voltage zero-cross, the output voltage upset for the voltage zero-crossing comparator for screening point 0 is arranged on, Interrupted so as to produce, the time T0 for taking out cycle voltage over zero is preserved, and clock timer is reset and starts timing, at this moment all Wave voltage zero-crossing timing Th0 is 0, and single-chip microcomputer scans and judges discriminator signal, and its Th0, Th1 and Th2 value must add cycle Time 20ms subtracts out break period setting value Tk difference, if three discriminator signals are true, the cycle voltage zero-cross of taking-up The time T0 of point is stored in synchrotimer as initial time, and the break period of opening for detecting cycle voltage over zero next time takes Tk, be otherwise fictitious time, now the clock timer time must add T0, continue to detect;
Then it is to take 20ms to subtract when it is true to detect first and second adjacent cycle voltage zero-cross judgement cycle signal Th0 difference is added with synchrotimer timing time, i.e., preserves standard cycle time 20ms for the first time, need to deduct its Th0 value, Because when hereafter to detect cycle signal every time be true, restart to count after clock timer is reset when opening interruption When, and be that the standard cycle time is included in synchrotimer when opening interruption, clock timer is reset after opening interruption, otherwise Judge cycle signal be fictitious time, now the clock timer time must add T1, T1=T0+Tk, again detection first cycle, when Detection first cycle signal be very after, recover above-described cycle signal determining;
If it is false to detect cycle signal, open the break period next time after this opens the break period, through be delayed cycle when Between average value Tz when open interruption, and open interrupt after be delayed Tns when the Central Shanxi Plain break, it is when cycle signal is discriminated to set and close the break period Not Wei fictitious time, the break period Tns Central Shanxi Plain is disconnected and stop scanning, and Tns is closing:
Tns=Tn-Tk
If it is true to detect cycle signal, next cycle opens break period Tks and is:
Tks=Tk+Th0
I.e. from opening for the first time after the break period takes Tk, clock timer is that timing opens interruption to Tks, and is opened again after resetting Beginning timing, timing are broken to Central Shanxi Plain during Tns, repeat above-mentioned cycle signal determining process, if the upper cycle letter detected Number it is true, when this cycle judges, discriminator signal is false, then when clock timer timing is to Tns, the Central Shanxi Plain is broken, and at this moment remembers cycle N is 1 and stored that it is to open the break period in last time to open interruption after Tz to open the break period next time, hereafter judges cycle every time The signal true and false, though if false or this detection discriminator signal be false true last time, then take out stored N, and will be returned after N+1 It is stored in storage N memory, clock timer does not reset continuation timing after interruption is opened, and at this moment, next cycle of setting is opened Break period temporarily uses out break period interim setting value Tkz instead:
Tkz=(N+1) × Tz
Meanwhile next cycle closes break period temporary transient use instead and closes the break period interim setting value Tnz:
Tnz=Tkz+Tns
When clock timer to after Tkz, if at this moment detecting that cycle signal is true, take out N in memory and preserve, and By N zero setting in memory, the clock timer clocking value Ts is set to be:Ts-Tkz with the value for calculating results modification Ts, at this moment takes (N again + 1) × 20ms value is added in synchrotimer, and recovers to use setting value Tks and Tns, and recovered clock timer is opening interruption After reset;
The system synchronization time be synchrotimer time, along with currently just timing clock timer time;
And select:Cycle discriminator signal is true when Th0, Th1, Th2 are true, or Th0 is true, while one of Th1, Th2 are When true, or when Th1, Th2 are true, cycle discriminator signal is true, if N is more than a setting value between 25 to 70, is used Clocking value of the clock timer at Tkz is directly added in synchrotimer.
2. warehouse environment information gathering warning system according to claim 1, it is characterised in that including:
The main ﹚ of control device ﹙ 10, communications electronics, which are opened, closes the ﹚ of ﹙ 11, the ﹚ of switch drive dynamic model block ﹙ 12, SMS receipts transmitting apparatus ﹙ 13 ﹚, SIM card ﹙ 14 ﹚, the ﹚ of Wen Shi degree Chuan Gan Qi ﹙ 15, cycle screen the ﹚ of electricity Lu ﹙ 16, the ﹚ of humiture collection Yi ﹙ 17, the ﹚ of Gan Yan Tan Ce Qi ﹙ 18, cigarette sensing The ﹚ of device ﹙ 19, the fiery ﹚ of controller ﹙ 20 that go out, the ﹚ of fire extinguishing Qu Dong electricity road ﹙ 21, the fire that goes out set the standby ﹚ of ﹙ 22, wherein single piece machine ﹙ U0 ﹚ and communications electronics The ﹚ of Kai Guan ﹙ 11, the ﹚ of switch Qu dynamic model Kuai ﹙ 12, cycle screen the ﹚ of electricity Lu ﹙ 16 and are respectively included in the ﹚ of humiture collection Yi ﹙ 17, sense cigarette spy In the ﹚ of the Ce Qi ﹙ 18 and ﹚ of Zhu Kong Qi ﹙ 10;
Cycle screen the ﹚ of electricity Lu ﹙ 16 by:Shu enter electricity Lu ﹙ S0 ﹚, voltage Zero-cross comparator Qi ﹙ V0 ﹚, screen point 1 at first voltage compare Qi ﹙ V1 ﹚ are formed with second voltage Bi compare Qi ﹙ V2 ﹚ at point 2 are screened;Shu enters electricity Lu ﹙ S0 ﹚ and is used to mains AC electricity passing through electricity Resistance and the partial pressure of diode, be converted to the input voltage of voltage comparator;Dan Pian Ji ﹙ U0 ﹚ use 89C55WD, voltage zero-cross ratio Compare Qi ﹙ V0 ﹚, screen first voltage Bi compare Qi ﹙ V1 ﹚ at point 1, screen at point 2 second voltage Bi compare Qi ﹙ V2 ﹚ using special Voltage comparator LM339, its reference voltage are come the threshold voltage of burning voltage comparator using the mu balanced circuit of voltage-stabiliser tube;
Single chip computer89C51 realizes serial communication by I2C buses and main controller in SMS R-T unit, the single-chip microcomputer 89C51 is connected also by serial port MAX232 with gsm module TC35i carries out data exchange.
CN201610451046.4A 2016-06-20 2016-06-20 Warehouse environment information gathering warning system Active CN106023501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610451046.4A CN106023501B (en) 2016-06-20 2016-06-20 Warehouse environment information gathering warning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610451046.4A CN106023501B (en) 2016-06-20 2016-06-20 Warehouse environment information gathering warning system

Publications (2)

Publication Number Publication Date
CN106023501A CN106023501A (en) 2016-10-12
CN106023501B true CN106023501B (en) 2018-01-02

Family

ID=57085648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610451046.4A Active CN106023501B (en) 2016-06-20 2016-06-20 Warehouse environment information gathering warning system

Country Status (1)

Country Link
CN (1) CN106023501B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111145472A (en) * 2020-02-24 2020-05-12 上海御渡半导体科技有限公司 Smoke early warning protection device for integrated circuit

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100584813B1 (en) * 2003-07-21 2006-05-30 주식회사 정원씨앤에스 Fire alarm system comprising display mode switching function
BRPI0515159A (en) * 2004-09-10 2008-07-08 Cooper Technologies Co system and method for circuit protector monitoring and management
JP4095631B2 (en) * 2005-08-19 2008-06-04 能美防災株式会社 Fire alarm system
CN101976492A (en) * 2010-09-21 2011-02-16 深圳市华力特电气股份有限公司 Alarming method and device for electrical fire prevention system
CN102867079B (en) * 2012-08-22 2015-06-10 广东电网公司东莞供电局 Simple method and system for structuring and filing real-time running way of power grid
CN103337133B (en) * 2013-06-14 2015-08-05 广东电网公司中山供电局 Based on the electrical network Thunderstorm early warning system and the method that identify forecasting technique
CN103872782B (en) * 2014-03-31 2016-04-20 国家电网公司 A kind of power quality data integrated service system

Also Published As

Publication number Publication date
CN106023501A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN106094620B (en) Remote analog amount acquires alarm system
CN105931414B (en) A kind of Warehouse Fire alarm control system
CN101256141B (en) Method for on-line regulating-correcting firedamp sensor for mining safety monitoring system
CN208538286U (en) A kind of high-speed rail fire detecting and alarm device based on ZigBee
CN106023501B (en) Warehouse environment information gathering warning system
CN106228730B (en) A kind of fire alarm control system
CN106411483B (en) A kind of method and system detecting the accuracy of instrument communication baud rate
CN105894789B (en) The Automatic meter reading system of tap water supply pipe network
CN106054986B (en) Crop greenhouse atmosphere control system
CN106092152B (en) A kind of warehouse humiture information acquisition system
CN106023570A (en) Automatic meter reading system for tap water supply pipe network
CN106153036B (en) Market shopping guides system
CN106100782B (en) A kind of signal synchronous collection system
CN106097683B (en) Distribution electric quantity parameter acquisition system
CN106123985B (en) A kind of flow signal synchronous
CN105867160B (en) A kind of home furnishings intelligent networked control systems
CN105955370B (en) Grain depot temperature and humidity control system
CN106101237B (en) A kind of green house of vegetables temperature and humidity control system
CN106089782B (en) Parlor fan natural wind control system
CN204667494U (en) A kind of supervisory system based on face recognition and password confirming
CN106097017A (en) Museum exhibition client guides system
CN105929748B (en) Traditional Chinese medicine decocting room intelligence control system
CN104236692B (en) The anti-cheating device and detection method of weighing system based on digital sensor
CN106054710B (en) eating house intelligent control system
CN105955369A (en) Agricultural greenhouse climate control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191021

Address after: 230000 A fourth 410-412, No. 2221 Changjiang Road, Hefei high tech Zone, Anhui

Patentee after: Anhui Hong En Intelligent Technology Co., Ltd.

Address before: 350004 No. 180 Jiangbian Road, Taijiang District, Fuzhou City, Fujian Province

Patentee before: Fuzhou Taijiang Chaoren Electronic Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200814

Address after: 230000 Anhui Hefei Luyang Industrial Zone Tianshui road and Taihe Road intersection Zhongke great entrepreneur innovation park 9 building.

Patentee after: HEFEI HONEN MECHANICAL & ELECTRONIC TECHNOLOGY Co.,Ltd.

Address before: 230000 A fourth 410-412, No. 2221 Changjiang Road, Hefei high tech Zone, Anhui

Patentee before: ANHUI HONGEN INTELLIGENT TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right