CN106803299A - Environment self-adaption control of bluetooth access control device and method - Google Patents

Environment self-adaption control of bluetooth access control device and method Download PDF

Info

Publication number
CN106803299A
CN106803299A CN201710150182.4A CN201710150182A CN106803299A CN 106803299 A CN106803299 A CN 106803299A CN 201710150182 A CN201710150182 A CN 201710150182A CN 106803299 A CN106803299 A CN 106803299A
Authority
CN
China
Prior art keywords
resistance
circuit
cpu
access control
control device
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
CN201710150182.4A
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.)
Guangzhou Chuangxiang Science & Technology Co Ltd
Original Assignee
Guangzhou Chuangxiang Science & Technology 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 Guangzhou Chuangxiang Science & Technology Co Ltd filed Critical Guangzhou Chuangxiang Science & Technology Co Ltd
Priority to CN201710150182.4A priority Critical patent/CN106803299A/en
Publication of CN106803299A publication Critical patent/CN106803299A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/38Individual registration on entry or exit not involving the use of a pass with central registration

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Resistance Heating (AREA)

Abstract

The invention discloses a kind of environment self-adaption control of bluetooth access control device and method, device includes CPU, power circuit, low-dropout linear voltage-regulating circuit, two-way bridge-type temperature detection control circuit, on-off circuit, heating module, communication interface circuit, input/output interface circuit and RTC clock circuit, RTC clock circuit is connected with CPU, for providing real-time clock and recording the basis of time of enabling data, alarm record, password and mandate, CPU embedded with bluetooth communication module and memory module;Two-way bridge-type temperature detection control circuit includes the 55th resistance, the 56th resistance, the 57th resistance, the 58th resistance, the 59th resistance, NTC resistance, the 12nd voltage comparator, the 13rd voltage comparator and the first power supply.Implement environment self-adaption control of bluetooth access control device and method of the invention, have the advantages that:The whole machine material cost of equipment can be saved to can guarantee that the stability of equipment again, reduce maintenance work.

Description

Environment self-adaption control of bluetooth access control device and method
Technical field
The present invention relates to access control field, more particularly to a kind of environment self-adaption control of bluetooth access control device and method.
Background technology
With the development of technology, Bluetooth technology with reaching its maturity, increasingly popularized using the scene of Bluetooth technology.Pin To the security maintenance problem of management of outdoor communication base station (steel tower etc), often there is computer room key such as in practical service environment Match somebody with somebody steathily, attendant borrows key inconvenient, O&M company is badly in need of solving problems.And traditional gate inhibition installs extremely complex, Wall is needed brokenly to install, engineering input is larger.The position of communication base station is very extensive, different places or areas, the first-class unattended field of high mountain Close, it is necessary to equipment at low ambient temperatures also can normal work, can self-adaptive temperature environment, could so make in most of base station With.
Traditional method is, from low form CPU processor and peripheral components (as -40 DEG C can work type CPU), but to face The difficult problem of the high expensive of whole machine, type selecting.Used in communication base station, computer room (hereinafter referred to as communication base station or base station), face Face the pressure of cost.And it is actually used in, equipment works always, and CPU, integrated circuit can be in itself heating, can be with Maintain more than 0 degree.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, there is provided one kind can save equipment Whole machine material cost can guarantee that the stability of equipment, the environment self-adaption control of bluetooth access control device of reduction maintenance work and side again Method.
The technical solution adopted for the present invention to solve the technical problems is:Construct a kind of environment self-adaption control of bluetooth access control Device, including CPU, power circuit, low-dropout linear voltage-regulating circuit, two-way bridge-type temperature detection control circuit, on-off circuit, plus Thermal modules, communication interface circuit, input/output interface circuit and RTC clock circuit, the power circuit respectively with the low pressure Difference linear voltage-stabilizing circuit, two-way bridge-type temperature sensing circuit and on-off circuit connection, for providing working power, the two-way bridge Formula temperature sensing circuit is also connected with the low-dropout linear voltage-regulating circuit and on-off circuit respectively, the heating module with it is described On-off circuit is connected, and the communication interface circuit and input/output interface circuit are connected with the CPU, the RTC clock electricity Road is connected with the CPU, for providing real-time clock and recording the basis of time of enabling data, alarm record, password and mandate, Built-in bluetooth communications for being communicated with mobile terminal of the CPU and for storing enabling data, alarm record, close The memory module of code, the basis of time for authorizing and running parameter;
The two-way bridge-type temperature detection control circuit includes the 55th resistance, the 56th resistance, the 57th electricity Resistance, the 58th resistance, the 59th resistance, NTC resistance, the 12nd voltage comparator, the 13rd voltage comparator and first Power supply, the inverting input of the 12nd voltage transformer input in the same direction respectively with the 13rd voltage comparator, One end connection of one end and NTC resistance of the 59th resistance, other end connection first electricity of the 59th resistance Source, the other end ground connection of the NTC resistance, the input in the same direction of the 12nd voltage comparator is respectively with the described 55th One end connection of one end of resistance and the 58th resistance, the other end ground connection of the 55th resistance, the described 58th The other end of resistance connects first power supply, output end and the low pressure difference linearity voltage stabilizing of the 12nd voltage comparator Circuit is connected, the inverting input of the 13rd voltage comparator respectively with one end and the 50th of the 56th resistance Seven resistance one end connection, the 56th resistance the other end ground connection, the other end of the 57th resistance with it is described First power supply is connected, and the output end of the 13rd voltage comparator is connected with the on-off circuit.
In environment self-adaption control of bluetooth access control device of the present invention, the on-off circuit includes the 24th Pole pipe, the 60th resistance, the 16th triode, the 61st resistance and the 17th metal-oxide-semiconductor, the sun of the 24th diode Pole is connected with the output end of the 13rd voltage comparator, and the negative electrode of the 24th diode is by the described 60th electricity Resistance is connected with the base stage of the 16th triode, the grounded emitter of the 16th triode, the 16th triode Colelctor electrode be connected with one end of the 61st resistance and the grid of the 17th metal-oxide-semiconductor respectively, the 61st resistance Source electrode of the other end respectively with first power supply and the 17th metal-oxide-semiconductor be connected, the drain electrode of the 17th metal-oxide-semiconductor with it is described Heating module is connected.
In environment self-adaption control of bluetooth access control device of the present invention, the heating module includes the 62nd electricity Resistance, the 63rd resistance, the 64th resistance, the 65th resistance, the 66th resistance, the 67th resistance, the 68th Resistance and the 69th resistance, one end, one end of the 62nd resistance, the one of the 64th resistance of the 63rd resistance Drain electrode of the one end of end and the 65th resistance with the 17th metal-oxide-semiconductor is connected, the other end of the 63rd resistance By the 66th resistance eutral grounding, the other end of the 62nd resistance is by the 67th resistance eutral grounding, institute The other end of the 64th resistance is stated by the 68th resistance eutral grounding, the other end of the 65th resistance passes through institute State the 69th resistance eutral grounding.
In environment self-adaption control of bluetooth access control device of the present invention, the low-dropout linear voltage-regulating circuit includes 13rd electric capacity, the 14th electric capacity, the 15th electric capacity, voltage stabilizing chip, second source and the 3rd power supply, the of the voltage stabilizing chip One pin is connected with one end of the 13rd electric capacity and second source respectively, and the other end of the 13rd electric capacity is steady with described The second pin connection of chip is pressed, the other end of the 13rd electric capacity is also grounded, the 3rd pin of the voltage stabilizing chip and institute State the output end connection of the 12nd voltage comparator, the 5th pin of the voltage stabilizing chip is respectively with the one of the 15th electric capacity One end of end and the 14th electric capacity connects, and one end of the 14th electric capacity is also connected with the 3rd power supply, and the described 15th The other end of the other end of electric capacity and the 14th electric capacity is grounded.
In environment self-adaption control of bluetooth access control device of the present invention, the voltage that first power supply is provided is 12V, the voltage that the second source is provided is 5V, and the voltage that the 3rd power supply is provided is 3.3V.
In environment self-adaption control of bluetooth access control device of the present invention, the RTC clock circuit includes clock core Piece, the 5th pin of the clock chip is connected with the 9th pin of the CPU, the 6th pin of the clock chip with it is described The 8th pin connection of CPU.
In environment self-adaption control of bluetooth access control device of the present invention, the communication interface circuit includes RS485 Communication interface chip, RS232 communication interface chips and with door, the 3rd pin of the RS485 communication interface chips respectively with institute State the tenth pin of RS232 communication interface chips and be connected with the 3rd pin of door, the first of the RS485 communication interface chips Pin is connected with described with the tenth pin of door.
The invention further relates to a kind of method for carrying out access control using above-mentioned environment self-adaption control of bluetooth access control device, Comprise the following steps:
A) the peripheral temperature of two-way bridge-type temperature detection control circuit monitoring of environmental self adaptation control of bluetooth access control device, and Judge that whether peripheral temperature value, less than the first design temperature, in this way, opens heating module, perform step B);Otherwise, close described Heating module, performs step B);
B) judge that whether the peripheral temperature value, more than the second design temperature, in this way, opens environment self-adaption control of bluetooth access The working power of control device, and make electricity on its CPU and peripheral circuit, perform step C);Otherwise, the environment self-adaption is closed The working power of control of bluetooth access control device, and its CPU and peripheral circuit are powered off, return to step A);
C) CPU monitors the peripheral temperature of the environment self-adaption control of bluetooth access control device, and judges the periphery Whether temperature is less than the 3rd design temperature, in this way, by for calculating counting of the temperature less than the number of times of the 3rd design temperature Device performs step D from Jia 1);Otherwise, by the counter O reset, step E is performed);
D whether the value of the counter) is judged more than set point number, and in this way, the CPU is only monitored the work of temperature Make, return to step C);Otherwise, step E is performed);
E) the CPU normal works and return to step C).
In the method for carrying out access control using above-mentioned environment self-adaption control of bluetooth access control device of the present invention, institute It is 5 degree to state the first design temperature, and second design temperature is -5 degree, and the 3rd design temperature is 0 degree, the set point number It is 10~250 times.
Implement environment self-adaption control of bluetooth access control device and method of the invention, have the advantages that:Due to setting Have CPU, power circuit, low-dropout linear voltage-regulating circuit, two-way bridge-type temperature detection control circuit, on-off circuit, heating module, Communication interface circuit, input/output interface circuit and RTC clock circuit, when equipment peripheral temperature is too low, heating module heating, Peripheral temperature is raised, when temperature meets the environment of CPU work, CPU normal works, once CPU normal works, the temperature of itself Degree can be raised, and when below the first design temperature, heating module can also continue to heat temperature raising, and the present invention is integrated using what is commonly used Circuit and peripheral components, the time period before device power-up are combined by by software and hardware, can save the whole machine material of equipment Cost can guarantee that the stability of equipment, reduces maintenance work again.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also Other accompanying drawings are obtained with according to these accompanying drawings.
Fig. 1 is the structural representation of device in environment self-adaption control of bluetooth access control device and method one embodiment of the present invention Figure;
Fig. 2 is two-way bridge-type temperature detection control circuit, on-off circuit, heating module and low voltage difference line in the embodiment The circuit theory diagrams of property mu balanced circuit;
Fig. 3 is the circuit theory diagrams of CPU and RTC clock circuit in the embodiment;
Fig. 4 is the circuit theory diagrams of communication interface circuit in the embodiment;
Fig. 5 is the circuit theory diagrams of input/output interface circuit in the embodiment;
Fig. 6 is the circuit theory diagrams of power circuit in the embodiment;
Fig. 7 is the flow chart of method in the embodiment.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In environment self-adaption control of bluetooth access control device and method embodiment of the present invention, its environment self-adaption control of bluetooth access The structural representation of control device is as shown in Figure 1.In Fig. 1, the environment self-adaption control of bluetooth access control device includes CPU U4, electricity It is source circuit 2, low-dropout linear voltage-regulating circuit 3, two-way bridge-type temperature detection control circuit 4, on-off circuit 5, heating module 6, logical Letter interface circuit 7, input/output interface circuit 8 and RTC clock circuit 9, wherein, power circuit 2 is steady with low pressure difference linearity respectively Volt circuit 3, two-way bridge-type temperature sensing circuit 4 and on-off circuit 5 connect, for providing working power, the inspection of two-way bridge-type temperature Slowdown monitoring circuit 4 is also connected with low-dropout linear voltage-regulating circuit 3 and on-off circuit 5 respectively, and heating module 6 is connected with on-off circuit 5, leads to Letter interface circuit 7 and input/output interface circuit 8 are connected with CPU U4, and RTC clock circuit 9 is connected with CPU U4, for carrying For real-time clock and record the basis of time of enabling data, alarm record, password and mandate, that is to say, that RTC clock circuit 9 Clock signal for providing the environment self-adaption control of bluetooth access control device, power-off can the holding time.Communication interface circuit 7 can Communicated with using RS232 interfaces or RS485 interfaces.
CPU U4 control unlocking signal, receive door sensor signal, dead bolt signal or enabling signal etc., and CPU U4 embedded with bluetooth leads to Letter module 11 and memory module 12;Bluetooth communication 11 is used to be communicated with mobile terminal, and memory module 12 is used to store Enabling data, alarm record, password, the basis of time and running parameter of mandate.Using the BLE of bluetooth communication 11 (Bluetooth Low Energy, low-power consumption bluetooth standard) communication function, realizes the APP with mobile terminal (for gate inhibition's control The APP of system) short-range communication, can realize for control information being issued to CPU U4 by bluetooth communication 11, perform corresponding Operation, and feed back APP of the device state to mobile terminal in itself.
Fig. 2 is two-way bridge-type temperature detection control circuit, on-off circuit, heating module and low pressure difference linearity in the present embodiment The circuit theory diagrams of mu balanced circuit.In Fig. 2, two-way bridge-type temperature detection control circuit 4 includes the 55th resistance R55, the 5th 16 resistance R56, the 57th resistance R57, the 58th resistance R58, the 59th resistance R59, NTC resistance NTC1, the tenth Two voltage comparator U12A, the 13rd voltage comparator U12B and the first power supply (in the present embodiment, the voltage that the first power supply is provided Be 12V), the inverting input of the 12nd voltage transformer U12A respectively with the input in the same direction of the 13rd voltage comparator U12B End, one end connection of one end of the 59th resistance R59 and NTC resistance NTC1, the other end connection of the 59th resistance R59 the One power supply, the other end ground connection of NTC resistance NTC1, the input in the same direction of the 12nd voltage comparator U12A is respectively with the 55th One end connection of one end of resistance R55 and the 58th resistance R58, the other end ground connection of the 55th resistance R55, the 58th The other end of resistance R58 connects the first power supply, output end and the low-dropout linear voltage-regulating circuit 3 of the 12nd voltage comparator U12A Connection, the inverting input of the 13rd voltage comparator U12B is electric with one end of the 56th resistance R56 and the 57th respectively Hinder one end connection of R57, the other end ground connection of the 56th resistance R56, the other end and the first power supply of the 57th resistance R57 Connection, the output end of the 13rd voltage comparator U12B is connected with on-off circuit 5.
The environment self-adaption control of bluetooth access control device utilizes built-in bluetooth BLE wireless transfer channels, host computer/monitoring Cloud platform is controlled to certain access controller, controls corresponding electric lock of base station.It is noted that in the present embodiment, Bluetooth BLE has the robustness feature of low cost, short distance and interoperable, is operated in and exempts from the 2.4GHz ISM radio frequencies permitted frequently Section.Using the radio function of bluetooth BLE, masonry wall is penetrated, then control of bluetooth access controller can be arranged on inside of base station, kept away Destroyed possibility is exempted from, while reducing operating expenses.
When the peripheral temperature of the environment self-adaption control of bluetooth access control device is too low, heating module 6 is heated, by periphery temperature Degree is raised, when temperature meets the environment of CPU U4 work, CPU U4 normal works, once CPU U4 normal works, itself Temperature can be raised, and when below the first design temperature, heating module 6 can also continue to heat temperature raising.The present invention uses conventional Integrated circuit and peripheral components, the time period before device power-up are combined by by software and hardware, can save the whole machine of equipment Material cost can guarantee that the stability of equipment, reduces maintenance work again.In the present embodiment, the first design temperature is 5 degree.It is worth one It is mentioned that, the peripheral temperature of the environment self-adaption control of bluetooth access control device is the temperature on NTC resistance NTC1 and equipment periphery.
In the present embodiment, on-off circuit 5 includes the 24th diode D24, the 60th resistance R60, the 16th triode Q16, the 61st resistance R61 and the 17th metal-oxide-semiconductor Q17, the anode and the 13rd voltage comparator of the 24th diode D24 The output end connection of U12B, the negative electrode of the 24th diode D24 is by the 60th resistance R60's and the 16th triode Q16 Base stage is connected, the grounded emitter of the 16th triode Q16, and the colelctor electrode of the 16th triode Q16 is electric with the 61st respectively Hinder the grid connection of one end and the 17th metal-oxide-semiconductor Q17 of R61, the other end of the 61st resistance R61 respectively with the first power supply and The source electrode connection of the 17th metal-oxide-semiconductor Q17, the drain electrode of the 17th metal-oxide-semiconductor Q17 is connected with heating module 6.
In the present embodiment, heating module 6 includes the 62nd resistance R62, the 63rd resistance R63, the 64th resistance R64, the 65th resistance R65, the 66th resistance R66, the 67th resistance R67, the 68th resistance R68 and the 69th Resistance R69, one end of the 63rd resistance R63, one end of the 62nd resistance R62, one end of the 64th resistance R64 and Drain electrode of the one end of 65 resistance R65 with the 17th metal-oxide-semiconductor Q17 is connected, and the other end of the 63rd resistance R63 is by the 66 resistance R66 are grounded, and the other end of the 62nd resistance R62 is grounded by the 67th resistance R67, the 64th resistance The other end of R64 is grounded by the 68th resistance R68, and the other end of the 65th resistance R65 passes through the 69th resistance R69 Ground connection.
In the present embodiment, low-dropout linear voltage-regulating circuit 3 includes the 13rd electric capacity C13, the 14th electric capacity C14, the 15th Electric capacity C15, voltage stabilizing chip U7, second source and the 3rd power supply, first pin of voltage stabilizing chip U7 respectively with the 13rd electric capacity C13 One end and second source connection, the other end of the 13rd electric capacity C13 is connected with the second pin of voltage stabilizing chip U7, and the 13rd is electric The other end for holding C13 is also grounded, and the 3rd pin of voltage stabilizing chip U7 is connected with the output end of the 12nd voltage comparator U12A, surely 5th pin of pressure chip U7 is connected with one end of the 15th electric capacity C15 and one end of the 14th electric capacity C14 respectively, the 14th electricity The one end for holding C14 is also connected with the 3rd power supply, and the other end of the 15th electric capacity C15 and the other end of the 14th electric capacity C14 connect Ground.In the present embodiment, the voltage that second source is provided is 5V, and the voltage that the 3rd power supply is provided is voltage stabilizing chip U7 outputs, is 3.3V。
Wherein the 59th resistance R59 and NTC resistance NTC1 is the environment self-adaption control of bluetooth access control device periphery temperature A pair of electric bridge bridge arms of degree, this is common circuit to bridge arm.It is divided into two-way using voltage comparator, the He of heating module 6 is given respectively Cpu power control section.Heating module 6 ensure the environment self-adaption control of bluetooth access control device out of doors ultralow temperature when can be steady Fixed work;Temperature in the environment self-adaption control of bluetooth access control device is detected by NTC resistance NTC1, temperature is less than voltage ratio During the threshold value set compared with device (5 degree~10 degree are traditionally arranged to be, below with 5 degree threshold value descriptions opened for heating) startup the 17 metal-oxide-semiconductor Q17;(0 degree is typically provided to, the present embodiment is with 0 degree when the threshold value that temperature drop to voltage comparator sets To be described as a example by the threshold value of CPU U4 work), the firmware of CPU U4 only realizes temperature monitoring and the function of waiting, it is ensured that should Environment self-adaption control of bluetooth access control device will not be damaged;Only peripheral temperature just realizes complete control work(higher than after 0 degree Can, such as Fig. 7 descriptions.The present invention uses two-way bridge-type temperature detection control circuit, reduces the voltage stabilizing requirement to operating voltage, no longer Accurate integrated regulator is needed, while exporting two-way, heating module 6 is directly controlled all the way, another road is to low pressure difference linearity Mu balanced circuit 3, when temperature conditionss (more than the threshold value of setting) is met, just opens low-dropout linear voltage-regulating circuit 3.
In the present embodiment, the specific control of automatic heating is:In the case where peripheral temperature is low, the 13rd voltage comparator The output end output heating starting signal of U12B, by the 24th diode D24 and the 60th resistance R60, control the 16th Metal-oxide-semiconductor Q16 is opened, and after the 16th metal-oxide-semiconductor Q16 is opened, pressure difference, i.e. the 17th MOS is produced at the two ends of the 61st resistance R61 Pressure difference is produced between the source electrode of pipe Q17 and drain electrode, the 17th metal-oxide-semiconductor Q17 is turned on, powered to heating module 6, so that the environment The temperature on self adaptation control of bluetooth access control device periphery rises.When the environment self-adaption control of bluetooth access control device peripheral temperature is super When crossing 5 degree, the output of the 13rd voltage comparator U12B brings out shutdown signal, and the 16th metal-oxide-semiconductor Q16 is closed, the 17th metal-oxide-semiconductor Q17 is closed, and heating module 6 is no longer heat up without electricity.
The power supply of CPU U4 is:In the case where peripheral temperature is more than 0 degree, the 12nd voltage comparator U12A's is defeated Go out end output enabling signal, to the 3rd pin (control end) of voltage stabilizing chip U7, voltage stabilizing chip U7 work exports 3.3V power supplys, Powered to CPU U4 and peripheral circuit.And when peripheral temperature is less than 0 degree, the output end output of the 12nd voltage comparator U12A Shutdown signal, makes voltage stabilizing chip U7 be operated in shutdown mode, stops the supply of 3.3V power supplys, and CPU U4 and peripheral circuit stop work Make.
Fig. 3 is the circuit theory diagrams of CPU and RTC clock circuit in the present embodiment, in Fig. 3, when RTC clock circuit 9 includes 5th pin of clock chip U2, clock chip U2 is connected with the 9th pin of CPU U4, the 6th pin and CPU of clock chip U2 The 8th pin connection of U4.Wherein BAT1 is the reserve battery of clock chip U2, even if the environment self-adaption control of bluetooth access is controlled Device is powered off, and also can guarantee that the normal operation of clock chip U2.U3 is storage chip.
Fig. 4 is the circuit theory diagrams of communication interface circuit in the present embodiment, and the communication interface circuit 7 communicates including RS485 Interface chip U5, RS232 communication interface chip U10 and with door U6, the 3rd pin of RS485 communication interface chips U5 respectively with Tenth pin of RS232 communication interface chips U10 and it is connected with the 3rd pin of door U6, the of RS485 communication interface chips U5 One pin is connected with the tenth pin with door U6.Communication interface circuit 7 be the environment self-adaption control of bluetooth access control device and its The communication interface of his control device or computer.
Fig. 5 is the circuit theory diagrams of input/output interface circuit in the present embodiment;Input/output interface circuit 8 is by door sensor Signal is divided into two, and CPU U4 are given all the way, and another road is directly output to other linkage controllers, is more favorable for control of bluetooth access In the actual base station monitoring-controlling system of system embedment.
Fig. 6 is the circuit theory diagrams of power circuit in the present embodiment, and 12V direct currents are converted into 5V by power circuit 2, to steady Pressure chip U7 powers, and more than -40 degree and less than 80 degree environment can be with normal work.
The invention further relates to a kind of method for carrying out access control using above-mentioned environment self-adaption control of bluetooth access control device, Its flow chart is as shown in Figure 7.In Fig. 7, the method comprises the following steps:
The periphery temperature of step S01 two-way bridge-type temperature detection control circuit monitoring of environmental self adaptation control of bluetooth access control devices Degree, and judge peripheral temperature value whether less than the first design temperature:In this step, the monitoring of two-way bridge-type temperature detection control circuit The peripheral temperature of environment self-adaption control of bluetooth access control device, and judge whether peripheral temperature value is less than the first design temperature, such as The result that fruit judges is yes, then perform step S02;Otherwise, step S03 is performed.In the present embodiment, the first design temperature is 5 degree.
Step S02 opens heating module:If the judged result of above-mentioned steps S01 is yes, this step is performed.This step In, open heating module.This step has been performed, step S04 has been performed.
Step S03 closes heating module:If the judged result of above-mentioned steps S01 is no, this step is performed.This step In, close heating module.This step has been performed, step S04 has been performed.
Whether step S04 judges peripheral temperature value more than the second design temperature:In this step, whether peripheral temperature value is judged More than the second design temperature, if it is determined that result be yes, then perform step S06;Otherwise, step S05 is performed.The present embodiment In, the second design temperature is -5 degree.
Step S05 closes the working power of environment self-adaption control of bluetooth access control device, and makes its CPU and peripheral circuit disconnected Electricity:If the judged result of above-mentioned steps S04 is no, this step is performed.In this step, environment self-adaption control of bluetooth access is closed The working power of control device, and power off its CPU and peripheral circuit.This step, return to step S01 are performed.
Step S06 opens the working power of environment self-adaption control of bluetooth access control device, and makes on its CPU and peripheral circuit Electricity:If the judged result of above-mentioned steps S04 is yes, this step is performed.In this step, environment self-adaption control of bluetooth access is opened The working power of control device, and make electricity on its CPU and peripheral circuit.This step has been performed, step S07 has been performed.
The peripheral temperature of step S07CPU monitoring of environmental self adaptation control of bluetooth access control devices, and whether judge peripheral temperature Less than the 3rd design temperature:In this step, the peripheral temperature of CPU monitoring of environmental self adaptation control of bluetooth access control devices, and judge Whether peripheral temperature is less than the 3rd design temperature, if it is determined that result be yes, then execution step S09;Otherwise, step is performed S08.In the present embodiment, the 3rd design temperature is 0 degree.
Step S08 is by counter O reset:If the judged result of above-mentioned steps S07 is no, this step is performed.This step In, by counter O reset, this step is performed, perform step S12.
Step S09 will Jia 1 certainly for calculating temperature less than the counter of the number of times of the 3rd design temperature:If above-mentioned steps The judged result of S07 is yes, then perform this step.In this step, by for calculating number of times of the temperature less than the 3rd design temperature Counter from Jia 1, performed this step, execution step S10.
Whether step S10 judges the value of counter more than set point number:In this step, judge whether the value of counter is more than Set point number, if it is determined that result be yes, then perform step S11;Otherwise, step S12 is performed.In the present embodiment, setting time Number is 10~250 times, preferably 30 times.
Step S11CPU is only monitored the work of temperature:If the judged result of above-mentioned steps S10 is yes, sheet is performed Step.In this step, CPU is only monitored the work of temperature, other functions module break-off.This step is performed, has been returned Step S07.
Step S12CPU normal works:In this step, CPU normal works have performed this step, return to step S07.
Coordinated logic comprising hardware and CPU software in Fig. 7, i.e., in addition to hardware control logic, CPU is also needed to The temperature of monitoring of environmental self adaptation control of bluetooth access control device surrounding enviroment (inside CPU), in the environment of less than 0 degree, CPU is only Temperature detection (using the I/O port collecting temperature of CPU) is done, continuous monitoring is treated repeatedly, after peripheral temperature is all higher than 0 degree, CPU is just just Often work, the flow in such as Fig. 7.
When environment temperature is between 0~5 degree, CPU is normal work, and heating module is also normal work, there is one Fixed allowance, while with cumulative number is used for less than the counter of the number of times of the 3rd design temperature for calculating temperature, it is unlikely In bounce of the environment self-adaption control of bluetooth access control device peripheral temperature at 0 degree or so, it is ensured that CPU's stably works.The meter The cumulative number of number device is voluntarily adjusted according to the operation of CPU, and scope is 10~250 times.
In a word, the present invention uses the bluetooth BLE communication technologys, can control to open by the APP of mobile terminal or system platform Lock, hardware can detect door sensor, dead bolt, long-range enabling signal, it is also possible to compatible other rotating ring systems;Equipped with heating module 6 With two-way bridge-type temperature detection control circuit 4, even if the air-conditioning in base station does not work, environment self-adaption bluetooth door is also ensured that Prohibit control device energy steady operation.The present invention can not need physical key, and accommodation is wider, and can effectively improve equipment can By property and stability.While hardware cost is reduced, moreover it is possible to reduce the maintenance cost of communication base station.Meanwhile, the present invention is not Limitation is used with rotating ring system support, constitutes more efficient, more intuitive monitoring system.The present invention can automatically adjust the temperature on periphery Degree, it is ensured that the working temperature environment of itself, reduces the maintenance work in low temperature environment use.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention Within god and principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (9)

1. a kind of environment self-adaption control of bluetooth access control device, it is characterised in that steady including CPU, power circuit, low pressure difference linearity Volt circuit, two-way bridge-type temperature detection control circuit, on-off circuit, heating module, communication interface circuit, input/output interface electricity Road and RTC clock circuit, the power circuit respectively with the low-dropout linear voltage-regulating circuit, two-way bridge-type temperature sensing circuit With on-off circuit connection, for providing working power, the two-way bridge-type temperature sensing circuit also respectively with the low voltage difference line Property mu balanced circuit and on-off circuit connection, the heating module is connected with the on-off circuit, the communication interface circuit and defeated Enter output interface circuit to be connected with the CPU, the RTC clock circuit is connected with the CPU, for providing real-time clock simultaneously The basis of time of record enabling data, alarm record, password and mandate, the CPU is built-in for being communicated with mobile terminal Bluetooth communication and for store enabling data, alarm record, password, mandate basis of time and running parameter storage Module;
The two-way bridge-type temperature detection control circuit includes the 55th resistance, the 56th resistance, the 57th resistance, the 58 resistance, the 59th resistance, NTC resistance, the 12nd voltage comparator, the 13rd voltage comparator and the first power supply, The inverting input of the 12nd voltage transformer respectively with input in the same direction, the 50th of the 13rd voltage comparator One end connection of one end and NTC resistance of nine resistance, the other end of the 59th resistance connects first power supply, described The other end ground connection of NTC resistance, the input in the same direction of the 12nd voltage comparator respectively with the 55th resistance One end connection of one end and the 58th resistance, the other end ground connection of the 55th resistance, the 58th resistance The other end connects first power supply, and the output end of the 12nd voltage comparator connects with the low-dropout linear voltage-regulating circuit Connect, the inverting input of the 13rd voltage comparator one end respectively with the 56th resistance and the 57th resistance One end connection, the 56th resistance the other end ground connection, the other end of the 57th resistance and described first electricity Source connects, and the output end of the 13rd voltage comparator is connected with the on-off circuit.
2. environment self-adaption control of bluetooth access control device according to claim 1, it is characterised in that the on-off circuit bag Include the 24th diode, the 60th resistance, the 16th triode, the 61st resistance and the 17th metal-oxide-semiconductor, the described 20th The anode of four diodes is connected with the output end of the 13rd voltage comparator, and the negative electrode of the 24th diode passes through 60th resistance is connected with the base stage of the 16th triode, the grounded emitter of the 16th triode, described The colelctor electrode of the 16th triode is connected with one end of the 61st resistance and the grid of the 17th metal-oxide-semiconductor respectively, described Source electrode of the other end of the 61st resistance respectively with first power supply and the 17th metal-oxide-semiconductor is connected, the 17th metal-oxide-semiconductor Drain electrode be connected with the heating module.
3. environment self-adaption control of bluetooth access control device according to claim 2, it is characterised in that the heating module bag Include the 62nd resistance, the 63rd resistance, the 64th resistance, the 65th resistance, the 66th resistance, the 67th electricity Resistance, the 68th resistance and the 69th resistance, one end, one end, the 6th of the 62nd resistance of the 63rd resistance Drain electrode of the one end of one end of 14 resistance and the 65th resistance with the 17th metal-oxide-semiconductor is connected, and the described 63rd The other end of resistance passes through the described 67th by the 66th resistance eutral grounding, the other end of the 62nd resistance Resistance eutral grounding, the other end of the 64th resistance passes through the 68th resistance eutral grounding, the 65th resistance The other end passes through the 69th resistance eutral grounding.
4. the environment self-adaption control of bluetooth access control device according to Claims 2 or 3, it is characterised in that the low voltage difference Linear voltage-stabilizing circuit includes the 13rd electric capacity, the 14th electric capacity, the 15th electric capacity, voltage stabilizing chip, second source and the 3rd power supply, First pin of the voltage stabilizing chip is connected with one end of the 13rd electric capacity and second source respectively, the 13rd electric capacity The other end be connected with the second pin of the voltage stabilizing chip, the other end of the 13rd electric capacity is also grounded, the voltage stabilizing core 3rd pin of piece is connected with the output end of the 12nd voltage comparator, the 5th pin of the voltage stabilizing chip respectively with institute State one end connection of one end and the 14th electric capacity of the 15th electric capacity, one end of the 14th electric capacity also with the 3rd power supply Connection, the other end of the 15th electric capacity and the other end of the 14th electric capacity are grounded.
5. environment self-adaption control of bluetooth access control device according to claim 4, it is characterised in that first power supply is carried The voltage of confession is 12V, and the voltage that the second source is provided is 5V, and the voltage that the 3rd power supply is provided is 3.3V.
6. the environment self-adaption control of bluetooth access control device according to claims 1 to 3 any one, it is characterised in that institute Stating RTC clock circuit includes clock chip, and the 5th pin of the clock chip is connected with the 9th pin of the CPU, described 6th pin of clock chip is connected with the 8th pin of the CPU.
7. the environment self-adaption control of bluetooth access control device according to claims 1 to 3 any one, it is characterised in that institute State communication interface circuit including RS485 communication interface chips, RS232 communication interface chips and with door, the RS485 communication interfaces 3rd pin of chip is connected with the tenth pin of the RS232 communication interface chips and with the 3rd pin of door respectively, described First pin of RS485 communication interface chips is connected with described with the tenth pin of door.
8. a kind of method for carrying out access control using environment self-adaption control of bluetooth access control device as claimed in claim 1, It is characterised in that it includes following steps:
A) the peripheral temperature of two-way bridge-type temperature detection control circuit monitoring of environmental self adaptation control of bluetooth access control device, and judge Whether peripheral temperature value is less than the first design temperature, in this way, opens heating module, performs step B);Otherwise, the heating is closed Module, performs step B);
B) judge that whether the peripheral temperature value, more than the second design temperature, in this way, opens the control of environment self-adaption control of bluetooth access The working power of device, and make electricity on its CPU and peripheral circuit, perform step C);Otherwise, the environment self-adaption bluetooth is closed The working power of access control device, and its CPU and peripheral circuit are powered off, return to step A);
C) CPU monitors the peripheral temperature of the environment self-adaption control of bluetooth access control device, and judges the peripheral temperature Whether be less than the 3rd design temperature, in this way, will be used for calculate temperature less than the 3rd design temperature number of times counter from Plus 1, perform step D);Otherwise, by the counter O reset, step E is performed);
D whether the value of the counter) is judged more than set point number, and in this way, the CPU is only monitored the work of temperature, returns Return step C);Otherwise, step E is performed);
E) the CPU normal works and return to step C).
9. it is according to claim 8 to be carried out using environment self-adaption control of bluetooth access control device as claimed in claim 1 The method of access control, it is characterised in that first design temperature is 5 degree, second design temperature is -5 to spend, described the Three design temperatures are 0 degree, and the set point number is 10~250 times.
CN201710150182.4A 2017-03-14 2017-03-14 Environment self-adaption control of bluetooth access control device and method Pending CN106803299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710150182.4A CN106803299A (en) 2017-03-14 2017-03-14 Environment self-adaption control of bluetooth access control device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710150182.4A CN106803299A (en) 2017-03-14 2017-03-14 Environment self-adaption control of bluetooth access control device and method

Publications (1)

Publication Number Publication Date
CN106803299A true CN106803299A (en) 2017-06-06

Family

ID=58988040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710150182.4A Pending CN106803299A (en) 2017-03-14 2017-03-14 Environment self-adaption control of bluetooth access control device and method

Country Status (1)

Country Link
CN (1) CN106803299A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788424A (en) * 2017-11-15 2019-05-21 深圳市冠旭电子股份有限公司 Ear muff configuration control device and earphone

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103682519A (en) * 2013-12-23 2014-03-26 惠州市亿能电子有限公司 Method for heating low-temperature environment of electric vehicle
CN103985179A (en) * 2014-05-30 2014-08-13 深圳市智慧物联网络科技有限公司 Railway access control equipment and method for railway access control application and management through railway access control equipment
CN204665690U (en) * 2015-04-29 2015-09-23 广东芬尼克兹节能设备有限公司 A kind of source pump stoppage protection system
CN204706168U (en) * 2015-06-17 2015-10-14 成都万江港利科技有限公司 A kind of telemetry terminal system Bluetooth control system
CN105302186A (en) * 2014-06-23 2016-02-03 艾默生网络能源有限公司 Power supply control device for equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103682519A (en) * 2013-12-23 2014-03-26 惠州市亿能电子有限公司 Method for heating low-temperature environment of electric vehicle
CN103985179A (en) * 2014-05-30 2014-08-13 深圳市智慧物联网络科技有限公司 Railway access control equipment and method for railway access control application and management through railway access control equipment
CN105302186A (en) * 2014-06-23 2016-02-03 艾默生网络能源有限公司 Power supply control device for equipment
CN204665690U (en) * 2015-04-29 2015-09-23 广东芬尼克兹节能设备有限公司 A kind of source pump stoppage protection system
CN204706168U (en) * 2015-06-17 2015-10-14 成都万江港利科技有限公司 A kind of telemetry terminal system Bluetooth control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788424A (en) * 2017-11-15 2019-05-21 深圳市冠旭电子股份有限公司 Ear muff configuration control device and earphone
CN109788424B (en) * 2017-11-15 2023-12-15 深圳市冠旭电子股份有限公司 Ear muff shaping control device and earphone

Similar Documents

Publication Publication Date Title
CN101483008B (en) Terminal device for vehicle scheduling monitoring and working process thereof
CN106855630A (en) A kind of low-power consumption container positioner and method based on electronic map
CN106652407A (en) Wireless transmission based data acquisition system and acquisition method with ultra-low power consumption
CN203522340U (en) Power consumption load monitoring system
CN204496592U (en) A kind of smart lock with power saving management function
CN105827596A (en) Communication management system
CN202631283U (en) Online intelligent monitoring system for thermal performance of cooling tower
CN106803299A (en) Environment self-adaption control of bluetooth access control device and method
CN206322308U (en) A kind of super low-power consumption is based on the data collecting system being wirelessly transferred
CN203658776U (en) Intelligent data-collecting processor
CN105279855B (en) NFC radio frequency CPU card intelligent gas meters
CN203014862U (en) Vehicle managing system
CN103217199A (en) Electricity-saving method for field underground water level monitoring system
CN108427350A (en) A kind of electri forklift supervisory systems based on LoRa technologies
CN101368778A (en) Centralized controlling system for macrotype ammonia refrigerating device in construction site
CN211773905U (en) Low-power consumption simple and easy general type cable well lid monitoring devices
CN109714401A (en) A kind of environment and security monitor hardware implementation method based on UAV Intelligent hangar
CN205121238U (en) Environment monitoring device with sleet and noise monitoring function
CN201345117Y (en) Offline patrol management device
CN205608838U (en) Intelligent management system of parking lot
CN208900017U (en) A kind of intelligent type household garage door controller
CN112345016A (en) Global positioning intelligent water meter convenient for remote monitoring
CN106102139A (en) A kind of method for realizing low power consumption of NFC pre-payment instrument
CN107102615A (en) A kind of irrigated area intelligence control system based on intelligent integral plate lock
CN213209167U (en) Global positioning intelligent water meter convenient for remote monitoring

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170606

RJ01 Rejection of invention patent application after publication