Summary of the invention
The purpose of the present invention is provide a kind of intelligence based on NB-IoT to solve above-mentioned the deficiencies in the prior art place
Remote control cabinet.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: a kind of intelligence based on NB-IoT is provided
Energy remote control cabinet, comprising: cabinet box, cabinet box inside setting control circuit board, battery, 220VAC-DC circuit and electricity
Magnetic padlock, cabinet box outside setting RFID antenna and NB-IoT antenna;
Wherein, battery connection 220VAC-DC circuit charges, while connecting control circuit board and electromagnetic lock is supplied
Electricity;
Microcontroller circuit, CAN interface circuit, toggle switch circuit, DC-DC power source electricity are integrated in the control circuit board
Road, RS232 interface circuit, electromagnetic lock driving circuit, switching value input circuit, sensor circuit, NB-IoT circuit and RF control
Circuit;
The microcontroller circuit connects CAN interface circuit, to set up wired local area network with other cabinets or host computer;
The microcontroller circuit connects toggle switch circuit, by controlling the switch state of toggle switch, with the work to cabinet
Operation mode is selected;Wherein, the operating mode of the cabinet includes holotype and slave pattern;
DC-DC power source circuit connection battery and 220VAC-DC circuit turn the voltage of battery or 220VAC-DC circuit
It is changed to DC voltage, to be powered to control circuit board;
The microcontroller circuit connects RS232 interface circuit, and the RS232 interface circuit is also connected with a LCD intelligent display screen
With an intelligent video camera head, to be monitored to cabinet, and monitoring image is shown;
It will be set to the door status switch connection switch amount input circuit of cabinet cabinet door, cabinet door open and-shut mode is converted into switching value
The level change of form, is sent to microcontroller, so that microcontroller circuit, which obtains, works as front cabinet door open and-shut mode;
Microcontroller circuit connects electromagnetic lock driving circuit, and electromagnetic lock driving circuit connects the electromagnetic lock in cabinet door, by micro-control
Device circuit processed issues opening signal, and signal is acted by electromagnetic lock driving circuit driving electromagnetic lock, and cabinet door automatically opens;
Sensor sensor circuit connection microcontroller circuit and be set on the outside of cabinet, the environment number that sensor is acquired
According to being sent to microcontroller circuit;
NB-IoT circuit connection microcontroller circuit and NB-IoT antenna, to realize between microcontroller circuit and long-range host computer
Two-way communication link;
RF control circuit connects microcontroller circuit and RFID antenna, for the non-contact credit card information of read operation personnel,
And information feeding microcontroller circuit is authenticated.
Wherein, when changing cabinet operating mode by toggle switch circuit, control is restarted after changing operating mode every time
Circuit board.
Wherein, intelligent video camera head is mounted on interior of equipment cabinet, face cabinet cabinet door position;When cabinet cabinet door is opened, intelligence
The automatic capture pictures of camera, photo is stored in microcontroller circuit, and is sent to remote computer by NB-IoT.
Wherein, interconnection is realized by the local area network that CAN circuit is set up between multiple cabinets.
Wherein, in multiple cabinets of interconnection, the operating mode of one of them is holotype, remaining operating mode is from mould
Formula.
It further include data radio station, the data radio station connects microcontroller circuit, while data radio station being arranged on cabinet
Antenna, data radio station connects the antenna of data radio station, to set up Wireless LAN with other cabinets or host computer.
It being different from the prior art, the intelligent remote remote control cabinet of the invention based on NB-IoT uses NB-IoT technology,
The wide covering that has, magnanimity node, low-power consumption, low cost feature, be highly suitable as unattended cabinet and apply wide
In the scenes such as region and a large amount of installations;With mechanism such as perfect sleep-awake, low-power consumption, it is suitble to unattended cabinet isometric
Phase relies on the occasion of battery-operated;Cabinet of the invention not only may be implemented remotely to control, remotely manage, but also intelligence may be implemented
Control, compare conventional cabinet, management, in terms of can largely save human cost;It can be gone out simultaneously with rapid build suitable
Wireless sensor network for various occasions.
Specific embodiment
Further more detailed description is made to technical solution of the present invention With reference to embodiment.Obviously, it is retouched
The embodiment stated is only a part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention,
Those of ordinary skill in the art's every other embodiment obtained without creative labor, all should belong to
The scope of protection of the invention.
Refering to fig. 1, Fig. 1 is a kind of intelligent remote remote control cabinet based on NB-IoT provided by the invention and multiple stack of cabinets
Surface structure schematic diagram after net.The device includes: cabinet box 1, be arranged inside cabinet box 1 control circuit board 2, battery 3,
RFID antenna 6 and NB-IoT antenna 7 are arranged outside cabinet box 1 for 220VAC-DC circuit 4 and electromagnetic lock 5;
Wherein, the battery 3 connects 220VAC-DC circuit 4 and charges, at the same connect control circuit board 2 and electromagnetic lock 5 into
Row power supply;
The structure of control circuit board 2 is as shown in Figure 2.Microcontroller circuit 21, CAN interface circuit are integrated in control circuit board 2
22, toggle switch circuit 23, DC-DC power source circuit 24, RS232 interface circuit 25, electromagnetic lock driving circuit 26, On-off signal
Circuit 27, sensor circuit 28, NB-IoT circuit 29 and RF control circuit 210;
Microcontroller circuit 21 connects CAN interface circuit 22, to set up wired local area network with other cabinets or host computer;
Microcontroller circuit 22 connects toggle switch circuit 23, by the switch for controlling the toggle switch being set in cabinet box 1
State is selected with the operating mode to cabinet;Wherein, the operating mode of cabinet includes holotype and slave pattern;
DC-DC power source circuit 24 connects battery 3 and 220VAC-DC circuit 4, by battery 3 or 220VAC-DC circuit 4
Voltage is converted to DC voltage, to be powered to control circuit board 2;
Microcontroller circuit 21 connects RS232 interface circuit 25, and RS232 interface circuit 25 is also connected with a LCD intelligent display screen 251
With an intelligent video camera head 252, to be monitored to cabinet, and monitoring image is shown;
21 connection switch amount input circuit 27 of microcontroller circuit, the door sensor that switching value input circuit 27 connects in cabinet door are opened
It closes, cabinet door open and-shut mode is converted to the level change of switching value form, is sent to microcontroller circuit 21, so that microcontroller
Circuit 21 gets the open and-shut mode of cabinet door;Microcontroller circuit 21 connects electromagnetic lock driving circuit 26, electromagnetic lock driving circuit
Electromagnetic lock 5 in 26 connection cabinet doors issues opening signal by microcontroller circuit 21, and signal controls electromagnetic lock driving circuit 26
Electromagnetic lock 5 is driven to act, cabinet door automatically opens.
The sensor that sensor circuit 28 connects microcontroller circuit 21 and is set on the outside of cabinet, sensor is acquired
Environmental data be sent to microcontroller circuit 21;Sensor includes at least Temperature Humidity Sensor and vibrating sensor.
NB-IoT circuit 29 connects microcontroller circuit 21 and NB-IoT antenna 7, to realize microcontroller circuit 21 and remote
Two-way communication link between journey host computer;
RF control circuit 210 connects microcontroller circuit 21 and RFID antenna 6, the non-contact ID card for read operation personnel
Information, and information feeding microcontroller circuit 21 is authenticated.
Data radio station 211 uses the common 433MHz communications band of industrial circle, 100mW transmission power.Data radio station connects
Microcontroller circuit 21 is connect, to set up Wireless LAN with other cabinets or host computer;
Further, when changing cabinet operating mode by toggle switch circuit 23, control is restarted after changing operating mode every time
Circuit board 2 processed.
Further, intelligent video camera head 252 is mounted on inside cabinet box 1, the cabinet door position of face cabinet box 1;Work as cabinet
When cabinet door is opened, the automatic capture pictures of intelligent video camera head 251, photo is stored in the storage equipment in microcontroller circuit 21,
And remote computer is sent to by NB-IoT mode.
Intelligent display screen 251 realizes that operator carries out operations, setting to cabinet at the scene and obtains cabinet work
State.Such as: date-time setting, local area network (local IP setting, nets interior cabinet connection state at host ip setting), inquiry thing
Part list, NB-IoT communications status (signal strength, operator's informaiton, remote computer connection status etc.), Current Temperatures/wet
(it is wet that RFID logins log, vibration event log, telecommunication log, local area network communication log, historical temperature for degree, log query
Spend chart) etc..
Further, interconnection is realized by the local area network that CAN circuit is set up between multiple cabinets.
Further, in multiple cabinets of interconnection, the operating mode of one of them is holotype, remaining operating mode be from
Mode.
Cabinet identifies the non-contact ID card of site operation personnel by RFID wireless identification function, in verifying ID card
For it is legal effectively after, automatically open cabinet door, facilitate operator to carry out maintenance work to interior of equipment cabinet, while avoiding irrelevant personnel
Open cabinet.
With the narrowband NB-IoT(Internet of Things) communication function, remote computer is connected to by telecom operators.Operator
Member can obtain all cabinet states having connected and remotely be managed on the remote computer.
It can be by wire communication CAN network or 433MHz wireless digital transmission communication network, automatically between the cabinet of interconnection
Form a local area network.The network is the Star Network of one master and multiple slaves, the master/slave mode of corresponding cabinet.Cabinet can exist automatically
It is automatically selected between wired network and wireless network.When wired network and wireless network are all in available mode, for will be excellent from cabinet
First automatically select wired Network Communication;When wired network disconnects, wireless Network Communication is automatically selected from cabinet.Mainframe then supports wired network
It is run simultaneously with wireless network.The local area network will net in the connection of all cabinets, by the NB-IoT communication function of mainframe and remote
Journey computer realizes bidirectional data communication.Local area network communication can be used for the occasion that a large amount of cabinets are intensively arranged, in a local area network
Only a host enables NB-IoT function, communicates caused by base station it is possible to prevente effectively from NB-IoT communication node density is excessive
Pressure, while cost can also be reduced.
The circuit structure of microcontroller circuit 21 is as shown in Figure 3: microcontroller is U2 STM32F072C8T6 in Fig. 3.It is micro-
Controller U2 is connected to 12MHz without source crystal oscillator X1 as master oscillator, and ceramic condenser C7, C8 are connected to crystal oscillator IN, OUT foot, makees
For crystal oscillator load capacitance.Ceramic condenser C2, C3, C4, C5 are connected to microcontroller U2, as+3.3V the electricity that shunt capacitance is U2
Source provides filtering.Use P2 as emulation/download interface.44 feet and GND of R1 connection U2 are realized to U2 starting guidance mode
Selection.The pin 10,11 of U2 is NB-IoT data transmit-receive port, and pin 12,13 is intelligently to shield data transmit-receive port, pin 32,
33 be CAN protocol data transmit-receive port, and pin 30,31 is intelligent video camera head data transmit-receive port, and the reset that pin 7 is U2 is enabled
Foot, pin 3,4 connect real-time crystal oscillator Y1, and C1, C2 are the crystal oscillator load capacitance of Y1.Pin 25 is connected to R2, the R2 other end and D3
Connection constitutes working station indicator circuit.
The circuit structure of CAN interface circuit 22 is as shown in Figure 4.U5 TJA1040T is CAN bus transceiver, realizes that CAN is total
The PHY layer function of line converts CAN signal between Transistor-Transistor Logic level (pin 1,4) and differential signal (pin 6,7).C13 be+
The filter capacitor of 5V power supply.5 foot common mode stable state output ends of R11 and R12 connection differential bus and U5 are CAN bus balance electricity
Resistance, C14 provide bypass filtering for common mode stable state output end.U4 is two-way TVS pipe, provides protection for U5, prevents surge, electrostatic etc.
Damage U5.
The circuit structure of DC-DC power source circuit 24 is as shown in Figure 5.P1 socket is connected with+12V DC power supply.External power supply
POWER meets filter circuit CP3 and L2 and provides power input filtering through F1 self-recovery fuse and anti-reverse diode D4.D5
For TVS pipe, power input overvoltage protection is provided.U3 and accessory circuit constitute BUCK switch buck circuit, and R3, R4 constitute resistance
Bleeder circuit generates U3 and enables level, is connected to 2 feet of U3.D2, L1, C9, C10 constitute BUCK reduction voltage circuit topology.C12,R9
For RC low-pass filter circuit, filtering is provided for the input of U3 internal comparator.7 feet of U3 are 12V power input, and C11 is+12V
Power input provides bypass filtering.R6 is connected to 6 foot of U3, for U3 internal switching frequency to be arranged.The signal ground of R7 realization U3
PGND is connect with the earth GND single-point.U1 LT1117-3.3V is linear regulator chip, input+5V, output+3.3V, CP1, CP2
For input/output terminal filter capacitor.D1 is back-pressure discharge tube, avoids backward voltage occur between U1 input terminal and output end.LED
D6 and current-limiting resistance R10 constitutes power supply indicator.
The circuit structure of RS232 interface circuit 25 is as shown in Figure 6.U6 MAX3232 and accessory circuit realize microcontroller U2
UART signal converted in Transistor-Transistor Logic level between RS232 level, realize microcontroller U2 and external equipment (intelligent display screen
251 and intelligent video camera head 252) communication function.Ceramic condenser C16, C19 are charge pump capacitor.Ceramic condenser C15, C17, C18
Bypass filtering is provided for+3.3V and U6 internal circuit.P4 connection intelligent video camera head, P5 connection intelligent display screen.
Sa1 in Fig. 7 is toggle switch, and 1 foot of Sa1 is connected to 43 feet of microcontroller U2.2 feet connect GND.For mentioning
For the master/slave model selection of cabinet.
The circuit structure of electromagnetic lock driving circuit 26 is as shown in figure 8, microcontroller U2 output signal GPIO_Output1 is arrived
ULN2003AI, ULN2003AI are Darlington transistor chip, provide output driving function, 2 tunnels and to connect fan-out capability be 12V/1A, 1
Road is 12V/0.5A.For GPIO_Output1, LED the and R14 current-limiting resistance of D8 constitutes indicator light circuit, indicates GPIO_
The output state of Output1.R13 is pull-up resistor, and output level is pulled upward to POWER_BAT and generates electromagnetic lock driving
Output1.Output1 is connected to electromagnetic lock 5 by P8 junction block, and electromagnetic lock 5 is pushed to act.
The circuit structure of switching value input circuit 27 is as shown in figure 9, U9 is TLP281-4 photoelectrical coupler, to being input to control
All kinds of 0V ~ 12V signals of circuit board 2 processed realize electrical isolation.Input1, Input2 are 2 way switch amount input signals, pass through P8
Junction block Input1 is connected to door status switch, and Input2 is connected to vibrating sensor.R17, R18 are U9 output end pull-up resistor.
C24, C25 are the bypass filter capacitor of U9 output end.
Figure 10 show the circuit structure of sensor circuit 28, and P7 socket connects temperature sensor DHT11, R16 DHT11
Data line provide pull-up.
Figure 11 is the electrical block diagram of RF control circuit 210.P6 is RFID module MFRC522 in figure.The 1/2/ of P6
3/4 foot is SPI communication bus, is connected to U2.7 feet of P6 are resetting pin, and level, which drags down, can allow module to enter reset state, 7 feet
It is connected to U2.8 feet, 6 feet are respectively P6 power positive cathode.C23 provides bypass filtering for the power supply of P6.
Figure 12 is the electrical block diagram of NB-IoT circuit 29.U8 is NB-IOT module WH-NB75.16,11, the 12 of U8
Foot is respectively modular power source positive and negative anodes.R15 and D7 collectively form work light, are connected to 9 feet of U8.19 feet of U8 are to reset
Foot, level, which drags down, can allow module to enter reset state, and 19 feet are connected to U2.UART communication port 6,7 feet are connected to U2.C20,
C21, C22 are U8 electrical power by-pass filter capacitor.
It being different from the prior art, the intelligent remote remote control cabinet of the invention based on NB-IoT uses NB-IoT technology,
The wide covering that has, magnanimity node, low-power consumption, low cost feature, be highly suitable as unattended cabinet and apply wide
In the scenes such as region and a large amount of installations;With mechanism such as perfect sleep-awake, low-power consumption, it is suitble to unattended cabinet isometric
Phase relies on the occasion of battery-operated;Cabinet of the invention not only may be implemented remotely to control, remotely manage, but also intelligence may be implemented
Control, compare conventional cabinet, management, in terms of can largely save human cost;It can be gone out simultaneously with rapid build suitable
Wireless sensor network for various occasions.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field is included within the scope of the present invention.