CN108378594A - A kind of intelligence arms locker main control unit method and device - Google Patents

A kind of intelligence arms locker main control unit method and device Download PDF

Info

Publication number
CN108378594A
CN108378594A CN201810377940.0A CN201810377940A CN108378594A CN 108378594 A CN108378594 A CN 108378594A CN 201810377940 A CN201810377940 A CN 201810377940A CN 108378594 A CN108378594 A CN 108378594A
Authority
CN
China
Prior art keywords
networks
module
terminal
circuit
main control
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
CN201810377940.0A
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.)
Hongda Photoelectric and Bio-Statistic Recognition Technology Co Ltd Changchu
Original Assignee
Hongda Photoelectric and Bio-Statistic Recognition Technology Co Ltd Changchu
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 Hongda Photoelectric and Bio-Statistic Recognition Technology Co Ltd Changchu filed Critical Hongda Photoelectric and Bio-Statistic Recognition Technology Co Ltd Changchu
Priority to CN201810377940.0A priority Critical patent/CN108378594A/en
Publication of CN108378594A publication Critical patent/CN108378594A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47BTABLES; DESKS; OFFICE FURNITURE; CABINETS; DRAWERS; GENERAL DETAILS OF FURNITURE
    • A47B81/00Cabinets or racks specially adapted for other particular purposes, e.g. for storing guns or skis
    • A47B81/005Devices for storing or displaying rifles, guns, pistols or elongated objects such as fishing rods storing fishing rods
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47BTABLES; DESKS; OFFICE FURNITURE; CABINETS; DRAWERS; GENERAL DETAILS OF FURNITURE
    • A47B97/00Furniture or accessories for furniture, not provided for in other groups of this subclass
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention discloses a kind of intelligent arms locker main control unit method, while additionally providing the device for realizing this method, and arms locker main control module locks terminal called by I2C buses and multichannel rifle, and management rifle locks terminal closure or openness, and monitors the rifle lock SOT state of termination;Arms locker main control module is communicated by I2C buses and alarm module, control alarm module work;Arms locker main control module supports 485 bus communications simultaneously, is used for third party's secondary development;Arms locker main control module carries out data interaction by router-module and outer net/Intranet terminal server, realizes outer net/Intranet compatibility;By carrying out arms locker operational administrative on outer net/Intranet terminal server interface, it is transmitted on arms locker main control module using router-module, arms locker Intranet/external network server compatibility, carry out data interaction, control efficiency is improved by bus, the communication of arms locker multibus is realized, user networking, the intelligentized design of secondary development and management are facilitated;Solves the Communication that arms locker main control unit locks terminal module to rifle.

Description

A kind of intelligence arms locker main control unit method and device
Technical field
The present invention discloses a kind of intelligent arms locker main control unit method, while additionally providing the device for realizing this method, is related to To firearm management, computer communication technology, belong to rifle lock management technical field.
Background technology
Traditional arms locker managing device depends on the mode manually registered to be managed more, in violation of rules and regulations with rifle, time-out with robbing, surreptitiously The event of robbing happens occasionally and cumbersome, time-consuming and laborious, and firearm management effect is bad, is unfavorable for police service rifle standardization, modern Change.
Currently, the intelligent arms locker that China uses, arms locker is unreliable to rifle lock terminal module communication, complicated for operation;Arms locker Do not have open interface generally, is unfavorable for product up-gradation and secondary development uses;Arms locker can only work under single network state, It is unfavorable for networking operation, the requirement of arms locker intelligentized design and management cannot be met.
Invention content
The object of the present invention is to provide a kind of arms locker intelligence main control unit devices, it is intended to solve arms locker main control unit and be locked to rifle The Communication of terminal module;The communication interface for solving existing arms locker technology is single, is unfavorable for networking problems;Solution Intranet/outer Network server compatibling problem;Realize intelligentized design and the management of arms locker.
A kind of intelligent arms locker main control unit control method of the present invention, technical solution are as follows:
Arms locker main control module locks terminal called by I2C buses and multichannel rifle, and management rifle locks terminal closure or openness, and monitors rifle Lock the SOT state of termination;Arms locker main control module is communicated by I2C buses and alarm module, control alarm module work;Arms locker master control mould Block supports 485 bus communications simultaneously, is used for third party's secondary development;Arms locker main control module by router-module and outer net/ Intranet terminal server carries out data interaction, realizes outer net/Intranet compatibility;
The arms locker main control module is by power circuit, single chip circuit, I2C interface circuit, network interface driving circuit, 485 Interface circuit forms;Wherein,
The power circuit is electrically connected with single chip circuit, I2C interface circuit, network interface driving circuit, 485 interface circuits It connects, power supply power supply is provided;
The ends I2C of the single chip circuit are connected with I2C interface circuit, transmit I2C data-signals;
0 end of serial ports of the single chip circuit is connected with network interface driving circuit, transmits serial data signal;
1 end of serial ports of the single chip circuit is connected with 485 interface circuits, transmits 1 signal of serial data.
The present invention also provides a kind of intelligent arms locker main control unit devices, it is characterised in that:By power-supply battery management module, Arms locker main control module, router-module and peripheral unit composition;Wherein,
The power-supply battery management module is electrically connected with arms locker main control module, router-module;
The network port of the arms locker main control module is connected to router-module by cable, then passes through the outer of router-module Net/Intranet port is connected with outer net/Intranet terminal server respectively, transportation protocol and instruction, carries out data communication, interaction;
The arms locker main control module is equipped with I2C buses and 485 bus interface, the ports I2C and the alarm mould of arms locker main control module Block, rifle lock terminal module are connected, transmit warning message, information of unlocking/shut, control alarm module and rifle lock by I2C buses Terminal module works, and the working condition of terminal module is locked by the ports I2C real-time reception rifle, then the information received is passed through Router-module is transmitted to outer net/Intranet terminal server;
The peripheral unit is alarm module, rifle lock terminal module and Intranet/external network server.
The arms locker main control module drives electricity by power circuit, single chip circuit, I2C interface circuit, network interface Road, 485 interface circuits composition;
The power circuit is electrically connected with single chip circuit, I2C interface circuit, network interface driving circuit, 485 interface circuits It connects, power supply power supply is provided;
The ends I2C of the single chip circuit are connected with I2C interface circuit, transmit I2C data-signals;
0 end of serial ports of the single chip circuit is connected with network interface driving circuit, transmits 0 signal of serial data data;Institute 1 end of serial ports for the single chip circuit stated is connected with 485 interface circuits, transmits 1 signal of serial data;
The power-supply battery management module by voltage module A1, battery charging module A2, voltage chips A3, diode D1, D2, D3, battery BAT1, capacitance E1, E2 composition;When external power supply is connected, 220v L of voltage module A3, N-terminal are all the way through A2, D1 It charges to battery BAT1, another way is powered through A1, D3 output voltage to 12V networks to late-class circuit;When external power supply falls When electric, battery BAT1 powers through D2 output voltages to 12V networks to rear class equipment;The L of 220v, N-terminal respectively with the input terminal of A2 It is electrically connected, supplies power for;The output end of A2 exports DC voltage, is connected on BAT1 anodes through diode D1, and transmission battery fills Electric signal;BAT1 anodes are connected to through D2 on 12V networks, and when external power supply powers off, 12V voltages are provided to rear class electricity by battery Road;L, the N-terminal of 220v is electrically connected with the input terminal of A1 respectively, supplies power for;The output end of A1 exports DC voltage, through diode D3 is connected to the anode of 12V networks, E1, powers to late-class circuit, is also connected to the input terminal of A3, and electrical connection is provided to A3;A3 Output end be connected with the anode of E2, output voltage to 9V networks, give late-class circuit power supply;The ground terminal of A1, the ground terminal of A2, The ground terminal of A2, one end of BAT1, the cathode of E1, E2 cathode link together and be connected with GND networks, be electrically connected;
The router-module is made of router-module U9;Wherein, 9v networks are electrically connected with the power end of U9, give its confession Electricity;GND networks are electrically connected with the ground terminal of U9, and ground signalling is provided to it;The ports P1 of U9 are connected to arms locker main control module net On mouth, data interaction is carried out, transmits director data;The ports P2 of U9 are connected in intranet server, carry out director data interaction; The ports P3 of U9 are connected in intranet server, carry out director data interaction;
The single chip circuit is made of singlechip chip U2, reset chip U4, crystal Y2, capacitance C21, C22;Wherein, Y2, C21, C22 provide oscillator signal for U2;U4 provides reset signal for U2;VCC networks respectively with the power end of U2, the power end of U4 Electrical connection, provides power supply signal;The one end of GND networks respectively with U2 ground terminals, the ground terminal of U4, one end of C21, C22 is electrically connected It connects, ground signalling is provided;Concussion port x T2, XT1 of U2 is connected respectively on the both ends of Y2, Y2 two be terminated with capacitance C21, C22;The reset terminal of U2 and the reset terminal of U4 connect, and receive reset signal;The ports I2CSCL of U2 are connected with BUS_SCL networks, The ports CSDA of U2 are connected with BUS_SDA networks, transmit I2C data;The ports RX0 of U2 are connected with RXD0 networks, the ends TX0 of U2 Mouth is connected with TXD0 networks, passes through network interface driving circuit and carries out serial data communication;The ports RX1 of U2 and RXD1 network phases Even, the ports TX1 of U2 are connected with TXD1 networks, and serial data communication is carried out by 485 interface circuits;
The network interface circuit is by network-driven chip U5, interface J3, crystal Y3, resistance R57, R58, R59, R60, capacitance C27 is formed;Wherein, 0 end of serial ports of single chip circuit carries out data interaction by U5, J3 and access router circuit;VCC nets Network is electrically connected with the power port of the power end of U3, the power end of J3, Y3 respectively, provides power supply signal;GND networks respectively with U5 The ground terminal electrical connection of ground terminal, the ground terminal of J3, Y3, provides ground signalling;The Serial data receiving end of U5 is connected to RXD0 Network receives the data-signal of single chip circuit transmitted;The serial data transmitting terminal of U5 is connected to TXD0 networks, transmission data Signal is to single chip circuit;The network sending port of U5 is connect with the ends TD+ of J3, the ends TD- respectively, and network data is transmitted to J3;The network receiving terminal mouth of U5 is connect with the ends RD+ of J3, the ends RD- respectively, receives the network data signals that J3 is transmitted;The crystalline substance of U5 Body end is connected with the signal end of Y3, and oscillator signal is provided to U5;The indicator light port of U5 is connected on J3, and transmission indicator light is glittering Signal;The reseting port of U5 is connected on RESET networks;
The I2C circuits are made of I2C chips U13, resistance R81, R82, R83, connector J7;Wherein, single chip circuit The ends I2C are interacted by U13, J7 and bus data, transmit information;VCC networks are electrically connected with the power end of U13;U13's connects Ground terminal is electrically connected with GND networks;The clock end of U13 is connected on BUS_SCL networks, and the data terminal of U13 is connected to BUS_SDA nets It on network, is interacted by single chip circuit, transmits I2C data-signals;The clock end of U13, data terminal are connected respectively on J7 with outside If I2C data-signals are transmitted in interaction;The networks VCC are connected to through R81 in the Enable Pin of U13, and the networks VCC are connected to U13 through R82 Data port, the networks VCC are connected to the clock port of U13 through R83, provide biasing voltage signal;
485 interface circuits are by 485 interface chip U7, resistance R54, transient supression diode TVS1, TVS2, connector J8 Composition;Wherein, 0 end of serial ports of single chip circuit is interacted by U7, J8 and 485 bus datas, transmits information;VCC networks and U7 Power end electrical connection, power supply signal is provided;GND networks are electrically connected with one end of one end of U7, TVS2, TVS3 respectively, are provided Ground signalling;The ends R of RXD1 networks and U7 connect, and the ends D of TXD1 networks and U7 connect, and data friendship is carried out by single chip circuit Mutually;The ends the B ends A of U7 are connected respectively to company corresponding end and the peripheral hardware interaction of J8, transmit 485 data-signals;
The microcontroller power supply circuit is by connector J11, transient supression diode TVS3, power supply chip A4, capacitance C53 groups At;Wherein, the power end of J11 is connected with TVS3, C51, A4 respectively, provides power supply connection;GND networks respectively with J11, TVS3, The ground terminal of C51, A4, C53 are electrically connected, and provide ground signalling.
The positive effect of the present invention is:By carrying out arms locker operational administrative, profit on outer net/Intranet terminal server interface It is transmitted on arms locker main control module with router-module, arms locker Intranet/external network server compatibility carries out data interaction, by total Line improves control efficiency, realizes the communication of arms locker multibus, facilitates user networking, the intelligentized design of secondary development and management; Solves the Communication that arms locker main control unit locks terminal module to rifle.
Description of the drawings:
Fig. 1:Arms locker main control module system block diagram of the present invention;
Fig. 2:Arms locker main control module internal frame diagram of the present invention;
Fig. 3:Power supply & battery management module block diagrams of the present invention;
Fig. 4:Router-module block diagram of the present invention;
Fig. 5:Single chip circuit of the present invention;
Fig. 6:Inventive network interface driving circuit;
Fig. 7:I2C interface circuit of the present invention;
Fig. 8:485 interface circuits of the invention;
Fig. 9:Microcontroller power supply circuit of the present invention.
Specific implementation mode
By following embodiment further illustrate description the present invention, do not limit the invention in any way, without departing substantially from Under the premise of technical solution of the invention, easy to implement any of those of ordinary skill in the art made for the present invention changes Dynamic or change is fallen within scope of the presently claimed invention.
Embodiment 1
According to Fig. 1 ~ Fig. 9, arms locker main control module of the present invention locks terminal called, pipe by I2C buses and multichannel rifle It manages rifle and locks terminal closure or openness, and monitor the rifle lock SOT state of termination;Arms locker main control module is logical by I2C buses and alarm module News, control alarm module work;Arms locker main control module supports 485 bus communications simultaneously, is used for third party's secondary development;Arms locker Main control module carries out data interaction by router-module and outer net/Intranet terminal server, realizes outer net/Intranet compatibility.
As shown in Figure 1, a kind of intelligent arms locker main control unit device of the present invention, by arms locker main control module, power supply electricity Pond management module, router-module and peripheral unit(Alarm module, rifle lock terminal module and Intranet/external network server)Composition; The power supply battery management module and arms locker main control module, are electrically connected router-module, are supplied power for;The arms locker The network port of main control module is connected to router-module by cable, then the outer net/Intranet port point for passing through router-module It is not connected with outer net/Intranet terminal server, transportation protocol and instruction carry out data communication, interaction;The arms locker master control mould It is expansion interface that block, which has I2C buses and 485 bus interface, 485 buses, is used for third party's secondary development;It is described Arms locker main control module the ports I2C and alarm module, rifle lock terminal module be connected, by I2C buses transmission warning message, open Information, control alarm module and rifle lock terminal module work are locked/shut, and terminal module is locked by the ports I2C real-time reception rifle Working condition, then the information received is transmitted to outer net/Intranet terminal server by router-module;One arms locker master Control module can manage 255 rifle lock terminals, realize the intelligent management of arms locker.
As shown in Fig. 2, arms locker main control module of the present invention by power circuit, single chip circuit, I2C interface circuit, Network interface driving circuit, 485 interface circuits composition.The power circuit and single chip circuit, I2C interface circuit, network Interface driving circuit, the electrical connection of 485 interface circuits, provide power supply power supply;The ends I2C of the single chip circuit and I2C interface Circuit is connected, and transmits I2C data-signals;0 end of serial ports of the single chip circuit is connected with network interface driving circuit, transmits Serial data data-signal;1 end of serial ports of the single chip circuit is connected with 485 interface circuits, transmits serial data 1 and believes Number.
As shown in figure 3, power supply & battery management modules of the present invention are by voltage module A1, battery charging module A2, electricity Press chip A3, diode D1, D2, D3, battery BAT1, capacitance E1, E2 composition.Wherein, battery charging module A2 models FY1263000 AC/DC;Voltage module A1 models HS13P36SR;Voltage module A3 models LM1596;When external power supply connects When logical, L, the N-terminal of 220v all the way charge to battery BAT1 through A2, D1, and another way is through A1, D3 output voltage to 12V nets Network is powered to late-class circuit;When external power supply power down, battery BAT1 is supplied through D2 output voltages to 12V networks to rear class equipment Electricity;L, the N-terminal of 220v is electrically connected with 1 foot of the input terminal of A2,2 feet respectively, supplies power for;4 foot of output end of A2 exports direct current Pressure, is connected to through diode D1 on BAT1 anodes, transmits battery-charge signal;BAT1 anodes are connected to through D2 on 12V networks, when When external power supply powers off, 12V voltages are provided to late-class circuit by battery;The L of 220v, N-terminal respectively with 1 foot of the input terminal of A1,2 feet It is electrically connected, supplies power for;3 foot of output end, 4 foot of A1 exports DC voltage, and 12V networks, E1 are being connected to just through diode D3 Pole powers to late-class circuit, is also connected to the input terminal of A3, and electrical connection is provided to A3;The positive phase of 3 foot of output end and E2 of A3 Even, output voltage to 9V networks is powered to late-class circuit;7 foot of ground terminal of A1, the ground terminal of 8 feet, 3 foot of ground terminal of A2, A2 2 feet, one end of BAT1, the cathode of E1, E2 cathode link together and be connected with GND networks, be electrically connected.
As shown in Fig. 4, router-module of the present invention is made of router-module U9.Wherein, module U9 is selected HTK-R71,9v network are electrically connected with the power end of U9, are supplied power for;GND networks are electrically connected with the ground terminal of U9, give its offer Ground signalling;The ports P1 of U9 are connected on arms locker main control module network interface, carry out data interaction, transmit director data;The P2 of U9 Port is connected in intranet server, carries out director data interaction;The ports P3 of U9 are connected in intranet server, are instructed Data interaction.
As shown in figure 5, single chip circuit of the present invention is by singlechip chip U2, reset chip U4, crystal Y2, capacitance C21, C22 are formed.Wherein singlechip chip U2 models LPC1768, reset chip U4 models SGM811, crystal Y2 are 12Mhz;Y2, C21, C22 provide oscillator signal for U2;U4 provides reset signal for U2;10 foot of power end of VCC networks and U2, One end electrical connection of 42 feet, 54 feet, 84 feet, 96 feet, 4 foot of power end of U4, R18, provides power supply signal;GND networks connect with U2 One end electrical connection of 11 foot of ground terminal, 31 feet, 41 feet, 83 feet, 97 feet, 1 foot of ground terminal of U4, one end of C21, C22, provides ground connection Signal;Concussion port x T2, XT1 of U2 is connected respectively on the both ends of Y2, and Y2 two is terminated with capacitance C21, C22;The reset terminal of U2 2 foot of reset terminal of 17 feet and U4 connect, and receive reset signal;24 foot of the ports I2CSCL of U2 is connected with BUS_SCL networks, U2's 25 foot of the ports 2CSDA is connected with BUS_SDA networks, transmits I2C data;99 foot of the ports RX0 of U2 is connected with RXD0 networks, U2's 98 foot of the ports TX0 is connected with TXD0 networks and network interface driving circuit carries out serial data communication;74 foot of the ports RX1 of U2 It is connected with RXD1 networks, 75 foot of the ports TX1 of U2 is connected with TXD1 networks and 485 interface circuits carry out serial data communication.
As shown in fig. 6, network interface circuit of the present invention is by network-driven chip U5, interface J3, crystal Y3, resistance R57, R58, R59, R60, capacitance C27 compositions.Wherein network-driven chip U5 models DP83848, J3 models HY911137A;0 end of serial ports of single chip circuit carries out data interaction by U5, J3 and access router circuit;VCC networks with 39 foot of power end of U3,48 feet, 32 feet, 22 feet, 7 feet, 9 foot of power end of J3,12 feet, 3 feet, the electrical connection of 6 feet, Y3 power end Mouth 4 feet electrical connection, provides power supply signal;GND networks and 47 foot of U5 ground terminals, the ground terminal of 15 feet, 19 feet, 35 feet, 36 feet, J3 2 foot of the ground terminal electrical connection of 4 feet, 5 feet, BO1 feet, Y3, provides ground signalling;The Serial data receiving end of U5 is connected to RXD0 nets Network receives the data-signal of single chip circuit transmitted;The serial data transmitting terminal of U5 is connected to TXD0 networks, transmission data letter Number arrive single chip circuit;16 foot of network sending port, 17 feet of U5 are connect with the ends TD+ of J3, the ends TD- respectively, by network data It is transmitted to J3;14 foot of network receiving terminal mouth, 13 feet of U5 are connect with the ends RD+ of J3, the ends RD- respectively, receive the network that J3 is transmitted Data-signal;The crystal terminal of U5 is connected with 3 foot of signal end of Y3, and oscillator signal is provided to U5;28 foot of indicator light port of U5,27 Foot is connected respectively to 10 feet of J3, on 12, transmits the glittering signal of indicator light;29 foot of reseting port of U5 is connected to RESET networks On.
As shown in Fig. 7, I2C circuits of the present invention are by I2C chips U13, resistance R81, R82, R83, connector J7 groups At.The general 2 core connector of wherein U13 models PCA9515, J7 model;The ends I2C of single chip circuit are by U13, J7 and always Line number transmits information according to interacting;VCC networks are electrically connected with 8 foot of power end of U13;4 foot of ground terminal of U13 and GND networks Electrical connection;2 foot of clock end of U13 is connected on BUS_SCL networks, and 3 foot of data terminal of U13 is connected on BUS_SDA networks, and Single chip circuit interacts, and transmits I2C data-signals;7 foot of clock end of U13 is connected on 2 feet of J7, and 6 foot of data terminal of U13 connects It is connected on 1 foot of J7 and peripheral hardware interacts, transmit I2C data-signals;The networks VCC are connected to through R81 in the Enable Pin of U13, VCC Network is connected to through R82 on 6 foot of data port of U13, and the networks VCC are connected to through R83 on 7 foot of clock port of U13, is provided partially Set voltage signal.
As shown in figure 8,485 interface circuit of the present invention is by 485 interface chip U7, resistance R54, two pole of transient supression Pipe TVS1, TVS2, connector J8 compositions.Wherein U7 models SN75HVD10, J8 are general 2 core connector, and TVS pipe is selected SMBJ12CA;0 end of serial ports of single chip circuit is interacted by U7, J8 and 485 bus datas, transmits information;VCC networks and U7's 8 foot of power end is electrically connected, and provides power supply signal;5 foot of ground terminal, one end of C42, one end of TVS2, the TVS3 of GND networks and U7 One end electrical connection, ground signalling is provided;The ends R of RXD1 networks and U7 connect, and the ends D of TXD1 networks and U7 connect, and pass through list Piece electromechanics road carries out data interaction;The ends the B ends A of U7 are connected respectively to company corresponding end and the peripheral hardware interaction of J8, transmit 485 numbers It is believed that number.
As shown in figure 9, the microcontroller power supply circuit is by connector J11, transient supression diode TVS3, power supply chip A4, capacitance C53 compositions.Wherein, J11 selects general two cores connector, chip A4 to select MP1496, transient supression diode TVS3 Select SMBJ15CA;2 foot of power end, one end of TVS3, one end of C51,1 foot of input terminal of A4 of J11 is connected, provides power supply company It connects;GND networks are electrically connected with one end of 1 foot of ground terminal of J11, one end of TVS3, one end of C51, the ground terminal of A4, C53, are carried For ground signalling.

Claims (3)

1. a kind of intelligence arms locker main control unit control method, it is characterised in that:
Arms locker main control module locks terminal called by I2C buses and multichannel rifle, and management rifle locks terminal closure or openness, and monitors rifle Lock the SOT state of termination;Arms locker main control module is communicated by I2C buses and alarm module, control alarm module work;Arms locker master control mould Block supports 485 bus communications simultaneously, is used for third party's secondary development;Arms locker main control module by router-module and outer net/ Intranet terminal server carries out data interaction, realizes outer net/Intranet compatibility;
The arms locker main control module is by power circuit, single chip circuit, I2C interface circuit, network interface driving circuit, 485 Interface circuit forms;Wherein,
The power circuit is electrically connected with single chip circuit, I2C interface circuit, network interface driving circuit, 485 interface circuits It connects, power supply power supply is provided;
The ends I2C of the single chip circuit are connected with I2C interface circuit, transmit I2C data-signals;
0 end of serial ports of the single chip circuit is connected with network interface driving circuit, transmits serial data signal;
1 end of serial ports of the single chip circuit is connected with 485 interface circuits, transmits 1 signal of serial data.
2. a kind of intelligence arms locker main control unit device, it is characterised in that:By power-supply battery management module, arms locker main control module, road It is made of device module and peripheral unit;Wherein,
The power-supply battery management module is electrically connected with arms locker main control module, router-module;
The network port of the arms locker main control module is connected to router-module by cable, then passes through the outer of router-module Net/Intranet port is connected with outer net/Intranet terminal server respectively, transportation protocol and instruction, carries out data communication, interaction;
The arms locker main control module is equipped with I2C buses and 485 bus interface, the ports I2C and the alarm mould of arms locker main control module Block, rifle lock terminal module are connected, transmit warning message, information of unlocking/shut, control alarm module and rifle lock by I2C buses Terminal module works, and the working condition of terminal module is locked by the ports I2C real-time reception rifle, then the information received is passed through Router-module is transmitted to outer net/Intranet terminal server;
The peripheral unit is alarm module, rifle lock terminal module and Intranet/external network server.
3. a kind of intelligent arms locker main control unit device as claimed in claim 2, it is characterised in that:
The arms locker main control module is by power circuit, single chip circuit, I2C interface circuit, network interface driving circuit, 485 Interface circuit forms;
The power circuit is electrically connected with single chip circuit, I2C interface circuit, network interface driving circuit, 485 interface circuits It connects, power supply power supply is provided;
The ends I2C of the single chip circuit are connected with I2C interface circuit, transmit I2C data-signals;
0 end of serial ports of the single chip circuit is connected with network interface driving circuit, transmits serial data signal;The list 1 end of serial ports on piece electromechanics road is connected with 485 interface circuits, transmits 1 signal of serial data;
The power-supply battery management module by voltage module A1, battery charging module A2, voltage chips A3, diode D1, D2, D3, battery BAT1, capacitance E1, E2 composition;When external power supply is connected, 220v L of voltage module A3, N-terminal are all the way through A2, D1 It charges to battery BAT1, another way is powered through A1, D3 output voltage to 12V networks to late-class circuit;When external power supply falls When electric, battery BAT1 powers through D2 output voltages to 12V networks to rear class equipment;The L of 220v, N-terminal respectively with the input terminal of A2 It is electrically connected, supplies power for;The output end of A2 exports DC voltage, is connected on BAT1 anodes through diode D1, and transmission battery fills Electric signal;BAT1 anodes are connected to through D2 on 12V networks, and when external power supply powers off, 12V voltages are provided to rear class electricity by battery Road;L, the N-terminal of 220v is electrically connected with the input terminal of A1 respectively, supplies power for;The output end of A1 exports DC voltage, through diode D3 is connected to the anode of 12V networks, E1, powers to late-class circuit, is also connected to the input terminal of A3, and electrical connection is provided to A3;A3 Output end be connected with the anode of E2, output voltage to 9V networks, give late-class circuit power supply;The ground terminal of A1, the ground terminal of A2, The ground terminal of A2, one end of BAT1, the cathode of E1, E2 cathode link together and be connected with GND networks, be electrically connected;
The router-module is made of router-module U9;Wherein, 9v networks are electrically connected with the power end of U9, give its confession Electricity;GND networks are electrically connected with the ground terminal of U9, and ground signalling is provided to it;The ports P1 of U9 are connected to arms locker main control module net On mouth, data interaction is carried out, transmits director data;The ports P2 of U9 are connected in intranet server, carry out director data interaction; The ports P3 of U9 are connected in intranet server, carry out director data interaction;
The single chip circuit is made of singlechip chip U2, reset chip U4, crystal Y2, capacitance C21, C22;Wherein, Y2, C21, C22 provide oscillator signal for U2;U4 provides reset signal for U2;VCC networks respectively with the power end of U2, the power end of U4 Electrical connection, provides power supply signal;The one end of GND networks respectively with U2 ground terminals, the ground terminal of U4, one end of C21, C22 is electrically connected It connects, ground signalling is provided;Concussion port x T2, XT1 of U2 is connected respectively on the both ends of Y2, Y2 two be terminated with capacitance C21, C22;The reset terminal of U2 and the reset terminal of U4 connect, and receive reset signal;The ports I2CSCL of U2 are connected with BUS_SCL networks, The ports CSDA of U2 are connected with BUS_SDA networks, transmit I2C data;The ports RX0 of U2 are connected with RXD0 networks, the ends TX0 of U2 Mouth is connected with TXD0 networks, passes through network interface driving circuit and carries out serial data communication;The ports RX1 of U2 and RXD1 network phases Even, the ports TX1 of U2 are connected with TXD1 networks, and serial data communication is carried out by 485 interface circuits;
The network interface circuit is by network-driven chip U5, interface J3, crystal Y3, resistance R57, R58, R59, R60, capacitance C27 is formed;Wherein, 0 end of serial ports of single chip circuit carries out data interaction by U5, J3 and access router circuit;VCC nets Network is electrically connected with the power port of the power end of U3, the power end of J3, Y3 respectively, provides power supply signal;GND networks respectively with U5 The ground terminal electrical connection of ground terminal, the ground terminal of J3, Y3, provides ground signalling;The Serial data receiving end of U5 is connected to RXD0 Network receives the data-signal of single chip circuit transmitted;The serial data transmitting terminal of U5 is connected to TXD0 networks, transmission data Signal is to single chip circuit;The network sending port of U5 is connect with the ends TD+ of J3, the ends TD- respectively, and network data is transmitted to J3;The network receiving terminal mouth of U5 is connect with the ends RD+ of J3, the ends RD- respectively, receives the network data signals that J3 is transmitted;The crystalline substance of U5 Body end is connected with the signal end of Y3, and oscillator signal is provided to U5;The indicator light port of U5 is connected on J3, and transmission indicator light is glittering Signal;The reseting port of U5 is connected on RESET networks;
The I2C circuits are made of I2C chips U13, resistance R81, R82, R83, connector J7;Wherein, single chip circuit The ends I2C are interacted by U13, J7 and bus data, transmit information;VCC networks are electrically connected with the power end of U13;U13's connects Ground terminal is electrically connected with GND networks;The clock end of U13 is connected on BUS_SCL networks, and the data terminal of U13 is connected to BUS_SDA nets It on network, is interacted by single chip circuit, transmits I2C data-signals;The clock end of U13, data terminal are connected respectively on J7 with outside If I2C data-signals are transmitted in interaction;The networks VCC are connected to through R81 in the Enable Pin of U13, and the networks VCC are connected to U13 through R82 Data port, the networks VCC are connected to the clock port of U13 through R83, provide biasing voltage signal;
485 interface circuits are by 485 interface chip U7, resistance R54, transient supression diode TVS1, TVS2, connector J8 Composition;Wherein, 0 end of serial ports of single chip circuit is interacted by U7, J8 and 485 bus datas, transmits information;VCC networks and U7 Power end electrical connection, power supply signal is provided;GND networks are electrically connected with one end of one end of U7, TVS2, TVS3 respectively, are provided Ground signalling;The ends R of RXD1 networks and U7 connect, and the ends D of TXD1 networks and U7 connect, and data friendship is carried out by single chip circuit Mutually;The ends the B ends A of U7 are connected respectively to company corresponding end and the peripheral hardware interaction of J8, transmit 485 data-signals;
The microcontroller power supply circuit is by connector J11, transient supression diode TVS3, power supply chip A4, capacitance C53 groups At;Wherein, the power end of J11 is connected with TVS3, C51, A4 respectively, provides power supply connection;GND networks respectively with J11, TVS3, The ground terminal of C51, A4, C53 are electrically connected, and provide ground signalling.
CN201810377940.0A 2018-04-25 2018-04-25 A kind of intelligence arms locker main control unit method and device Pending CN108378594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810377940.0A CN108378594A (en) 2018-04-25 2018-04-25 A kind of intelligence arms locker main control unit method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810377940.0A CN108378594A (en) 2018-04-25 2018-04-25 A kind of intelligence arms locker main control unit method and device

Publications (1)

Publication Number Publication Date
CN108378594A true CN108378594A (en) 2018-08-10

Family

ID=63064643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810377940.0A Pending CN108378594A (en) 2018-04-25 2018-04-25 A kind of intelligence arms locker main control unit method and device

Country Status (1)

Country Link
CN (1) CN108378594A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113300452A (en) * 2021-04-02 2021-08-24 中安创科(深圳)技术有限公司 Bullet cabinet power control circuit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034483A (en) * 2006-12-11 2007-09-12 张七利 Firearms information fingerprint intelligent management system
CN105676733A (en) * 2016-01-15 2016-06-15 杭州亨百信息科技有限公司 Intelligent bullet cabinet management and control system
CN106597926A (en) * 2016-11-30 2017-04-26 长春鸿达光电子与生物统计识别技术有限公司 Portable intelligent gun box device
CN208891968U (en) * 2018-04-25 2019-05-24 长春鸿达光电子与生物统计识别技术有限公司 A kind of intelligence arms locker main control unit control device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034483A (en) * 2006-12-11 2007-09-12 张七利 Firearms information fingerprint intelligent management system
CN105676733A (en) * 2016-01-15 2016-06-15 杭州亨百信息科技有限公司 Intelligent bullet cabinet management and control system
CN106597926A (en) * 2016-11-30 2017-04-26 长春鸿达光电子与生物统计识别技术有限公司 Portable intelligent gun box device
CN208891968U (en) * 2018-04-25 2019-05-24 长春鸿达光电子与生物统计识别技术有限公司 A kind of intelligence arms locker main control unit control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113300452A (en) * 2021-04-02 2021-08-24 中安创科(深圳)技术有限公司 Bullet cabinet power control circuit

Similar Documents

Publication Publication Date Title
TWI388153B (en) Network equipment
TWI487319B (en) Power-over-ethernet relay system, power injector and access point
CN110113174A (en) A kind of power over Ethernet device
CN110460449A (en) Repeater and method of supplying power to
CN102710425B (en) Ethernet power relay system, feeder device and access bridging device
CN205754408U (en) A kind of switch with forward and reverse function of supplying power
CN101753319B (en) Network equipment
CN208891968U (en) A kind of intelligence arms locker main control unit control device
CN105978633B (en) The Ethernet reverse feeding device and its implementation of PON far end systems
CN108378594A (en) A kind of intelligence arms locker main control unit method and device
CN208477322U (en) POE network interface expanded circuit, repeater and network monitoring system
CN101667332A (en) Wireless communication module based on wireless sensor network and GPRS
CN203984410U (en) Coal mine down-hole personnel monitoring wireless receiving substation
CN106101028B (en) Ethernet switch and power receiving and supplying circuit thereof
CN208547836U (en) Machine host is controlled in intelligence based on cloud service
CN202094885U (en) Power line communication modulator-demodulator powered by Ethernet
CN101145274A (en) Multifunctional meter communication module
CN207884648U (en) A kind of low-power consumption Ethernet and bus data merge substation
CN109728916A (en) A kind of Power over Ethernet single port extender of POE technology
CN207182426U (en) A kind of multichannel passenger flow statisticses tidal data recovering terminal
CN201111714Y (en) Communication module of multifunctional watch
CN106292418A (en) Radar operational factor and Collection panel
CN204214960U (en) A kind of device detected for merge cells
CN205793559U (en) A kind of illumination control apparatus based on low voltage power line carrier
CN207947846U (en) A kind of networking for camera is for electric installation and camera device

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180810