Electronic lock system of rechargeable instrument
1. The utility model provides an electronic lock system of rechargeable instrument, includes electronic lock and isolation power supply, its characterized in that: the intelligent lock comprises a central control chip module, an alarm module, a power supply conversion module, an RS485 bus module, an AD conversion module and an intelligent terminal, wherein a communication serial port of the intelligent terminal is connected with a communication serial port of the central control chip module through the RS485 bus module, a power output end of the power supply conversion module is connected with a power input end of the central control chip module, a signal output end of the central control chip module is connected with a signal input end of the alarm module, a power output end of an isolation power supply is connected with a power signal input end of the electronic lock, a signal output end of the isolation power supply is connected with a signal input end of the central control chip module through the AD conversion module, and a signal output end of the central control chip module is connected with the signal input end of the electronic lock through a locking relay.
2. The rechargeable meter electronic lock system of claim 1, wherein: the central control chip module consists of an STM32 controller and a peripheral circuit, and pins of the STM32 controller are connected with the peripheral circuit.
3. The rechargeable meter electronic lock system of claim 2, wherein: the peripheral circuit comprises a crystal oscillator circuit, a monitoring circuit and a debugging circuit, and the signal output end of the crystal oscillator circuit is connected with the signal input pin of the STM32 controller; a WDI pin of a monitoring chip of the monitoring circuit is connected with a WDI pin of an STM32 controller; the debugging circuit comprises an SWD mode debugging mode and a JTAG mode debugging mode, wherein the SWD mode debugging mode is that an SWD chip is set to be connected through a debugging serial port of an STM32 controller, and the JTAG mode debugging mode is that a JTAG chip is set to be connected through a debugging serial port of an STM32 controller.
4. The rechargeable meter electronic lock system of claim 1, wherein: the alarm module is composed of an acoustic alarm circuit and an optical alarm circuit, the acoustic alarm circuit is a buzzer, and the signal input end of the buzzer is connected with the signal output pin of the central control chip module.
5. The rechargeable meter electronic lock system of claim 4, wherein: the light alarm circuit is composed of a yellow light emitting diode, a red light emitting diode and a green light emitting diode, wherein the yellow light emitting diode, the red light emitting diode and the green light emitting diode are respectively connected in parallel and are connected with a signal output pin of the central control chip module through setting fixed value resistors.
6. The rechargeable meter electronic lock system of claim 1, wherein: the power supply conversion module consists of a 12V power supply and a power supply converter, and the power supply output end of the power supply is connected with the power supply input pin of the central control chip module through the power supply converter; the 12V power supply converts the input voltage to 3.3V through a power converter.
7. The rechargeable meter electronic lock system of claim 1, wherein: the RS485 bus module is composed of an RS485 bus and a signal isolator, a communication serial port of the RS485 bus is connected with a pin of the central control chip module through the signal isolator, and the communication serial port of the RS485 bus is connected with a communication serial port of the intelligent terminal.
8. The rechargeable meter electronic lock system of claim 1, wherein: the AD converter is ADC0832 with eight-bit precision, and the signal output end of the isolation power supply is communicated with the signal input pin of the central control chip module through the ADC 0832.
9. The rechargeable meter electronic lock system of claim 1, wherein: the intelligent terminal is a liquid crystal touch screen, a communication serial port of the liquid crystal touch screen is connected with a pin of the central control chip module through the RS485 module, and a signal output end of the isolation power supply is connected with a signal input end of the liquid crystal touch screen through the AD conversion module and the central control chip module.
10. The rechargeable meter electronic lock system of claim 1, wherein: the electronic lock is provided with three indicating lamps, the three indicating lamps are a yellow indicating lamp representing charging, a green indicating lamp representing charging completion and a red indicating lamp representing charging failure of the electronic lock respectively, the yellow indicating lamp is arranged in a charging circuit of the electronic lock and the isolation power supply, the green indicating lamp is arranged in parallel with the power supply of the electronic lock, and the red indicating lamp is arranged in parallel with the yellow indicating lamp.
Background
The colliery during operation, the staff is very big to the volume of borrowing of instrument in the storage tank, and borrow the quantity grow, the indiscriminate pendulum of instrument is put in disorder, and use up not return or use the instrument bad back return and lead to the condition that next time can't be used more and more, it is too hard to waste time through artificial supervision, the cost is too big, and artifical management error nature is too big, back use instrument and electronic lock manage, before personnel card binds with the instrument, personnel at first need register at personnel location management system, personnel location card reader reads personnel's information, with data transmission to terminal computer and management data server, realize that personnel card binds with the instrument. When the card is returned by borrowing the card, the card is issued and returned by using an electronic lock, and the card is required to be issued, secured and ordered.
However, once the electronic lock is powered off, the electronic lock cannot be used, if a large number of electronic locks are charged manually one by one, the efficiency is too low, omission may occur, the use is affected, and the management and control may also be affected by the electronic lock through pure card swiping control, so that the order is disordered.
Disclosure of Invention
The invention aims to provide an electronic lock system of a rechargeable instrument, which has high charging and management efficiency and high automation degree.
In order to achieve the purpose, the invention adopts the technical scheme that: including electronic lock and isolation power, including well accuse chip module, alarm module, power conversion module, RS485 bus module, AD conversion module and intelligent terminal, intelligent terminal's communication serial ports passes through the communication serial ports of RS485 bus module and well accuse chip module and is connected, power conversion module's power output end is connected with the power input end of well accuse chip module, well accuse chip module's signal output part is connected with alarm module's signal input part, the power output end of isolation power is connected with the power signal input part of electronic lock, the signal output part of isolation power is connected with well accuse chip module's signal input part through AD conversion module, well accuse chip module's signal output part is connected with electronic lock's signal input part through setting up the shutting relay.
According to the electronic lock system of the rechargeable instrument, the central control chip module is composed of the STM32 controller and the peripheral circuit, and pins of the STM32 controller are connected with the peripheral circuit.
In the electronic lock system of the rechargeable instrument, the peripheral circuit comprises a crystal oscillator circuit, a monitoring circuit and a debugging circuit, and a signal output end of the crystal oscillator circuit is connected with a signal input pin of the STM32 controller; a WDI pin of a monitoring chip of the monitoring circuit is connected with a WDI pin of an STM32 controller; the debugging circuit comprises an SWD mode debugging mode and a JTAG mode debugging mode, wherein the SWD mode debugging mode is that an SWD chip is set to be connected through a debugging serial port of an STM32 controller, and the JTAG mode debugging mode is that a JTAG chip is set to be connected through a debugging serial port of an STM32 controller.
According to the electronic lock system of the rechargeable instrument, the alarm module is composed of the acoustic alarm circuit and the optical alarm circuit, the acoustic alarm circuit is a buzzer, and the signal input end of the buzzer is connected with the signal output pin of the central control chip module.
According to the electronic lock system of the rechargeable instrument, the optical alarm circuit is composed of a yellow light emitting diode, a red light emitting diode and a green light emitting diode, wherein the yellow light emitting diode, the red light emitting diode and the green light emitting diode are respectively connected in parallel and are connected with a signal output pin of the central control chip module through a set value resistor.
According to the electronic lock system of the rechargeable instrument, the power supply conversion module is composed of a 12V power supply and a power supply converter, and a power supply output end of the power supply is connected with a power supply input pin of the central control chip module through the power supply converter; the 12V power supply converts the input voltage to 3.3V through a power converter.
According to the electronic lock system of the rechargeable instrument, the RS485 bus module is composed of the RS485 bus and the signal isolator, the communication serial port of the RS485 bus is connected with the pins of the central control chip module through the signal isolator, and the communication serial port of the RS485 bus is connected with the communication serial port of the intelligent terminal.
According to the electronic lock system of the rechargeable instrument, the AD converter is an ADC0832 with eight-bit precision, and the signal output end of the isolation power supply is communicated with the signal input pin of the central control chip module through the ADC 0832.
According to the electronic lock system of the rechargeable instrument, the intelligent terminal is a liquid crystal touch screen, a communication serial port of the liquid crystal touch screen is connected with a pin of the central control chip module through the RS485 module, and a signal output end of the isolation power supply is connected with a signal input end of the liquid crystal touch screen through the AD conversion module and the central control chip module.
This technical scheme provides a pair of electronic lock system of rechargeable instrument, be provided with three pilot lamp on the electronic lock, three pilot lamp is respectively for representing the yellow pilot lamp that is charging, representing the green pilot lamp that finishes charging and representing the red pilot lamp that the electronic lock charging broke down, the yellow pilot lamp set up the electronic lock with in the charging line of isolation power, green pilot lamp and the parallelly connected setting of electronic lock power, red pilot lamp and the parallelly connected setting of yellow pilot lamp.
By adopting the technical scheme, the intelligent electronic lock can be controlled to be switched on and off through the intelligent terminal and the controller device, the on-off state of the electronic lock can be read, the distribution and return functions of the instrument can be realized, the instrument management efficiency is high, the automation degree is high, and the remote operation is convenient; the system can detect the charging current and voltage of the instrument through the equipment and monitor the charging state of the instrument in real time, so that the charging efficiency is higher, the maintenance is not needed, the fault can be found and repaired at the first time once the fault occurs, the inspection cost is saved, the equipment can prompt the fault through controlling the warning lamp and the buzzer, the monitoring alarm information is realized, and the liquid crystal touch screen can display the charging voltage, current and charging state in real time; the system is convenient to operate, high in charging efficiency of the electronic lock, capable of finding charging faults in time, high in instrument management efficiency, capable of saving maintenance cost, greatly improving working efficiency and greatly increasing economic benefits.
The invention will be explained in more detail below with reference to the drawings and examples.
Drawings
The contents of the description and the references in the drawings are briefly described as follows:
FIG. 1 is a schematic diagram of a system embodiment of the present invention;
Detailed Description
The following description of the embodiments of the present invention, with reference to the accompanying drawings, will be made in further detail for the purpose of providing a more complete, accurate and thorough understanding of the inventive concepts and technical solutions of the present invention, including the shapes of the components, the structures, the mutual positions and connection relationships of the components, the functions and operating principles of the components, the manufacturing processes, the operation and use methods, and the like.
Example (b):
the electronic lock system of a rechargeable instrument shown in fig. 1 comprises an electronic lock and an isolation power supply, and comprises a central control chip module, an alarm module, a power conversion module, an RS485 bus module, an AD conversion module and an intelligent terminal, wherein a communication serial port of the intelligent terminal is connected with a communication serial port of the central control chip module through the RS485 bus module, a power output end of the power conversion module is connected with a power input end of the central control chip module, a signal output end of the central control chip module is connected with a signal input end of the alarm module, a power output end of the isolation power supply is connected with a power signal input end of the electronic lock, a signal output end of the isolation power supply is connected with a signal input end of the central control chip module through the AD conversion module, and a signal output end of the central control chip module is connected with the signal input end of the electronic lock through a locking relay.
The central control chip module consists of an STM32 controller and a peripheral circuit, and pins of the STM32 controller are connected with the peripheral circuit.
The peripheral circuit comprises a crystal oscillator circuit, a monitoring circuit and a debugging circuit, and the signal output end of the crystal oscillator circuit is connected with the signal input pin of the STM32 controller; a WDI pin of a monitoring chip of the monitoring circuit is connected with a WDI pin of an STM32 controller; the debugging circuit comprises an SWD mode debugging mode and a JTAG mode debugging mode, wherein the SWD mode debugging mode is that an SWD chip is set to be connected through a debugging serial port of an STM32 controller, and the JTAG mode debugging mode is that a JTAG chip is set to be connected through a debugging serial port of an STM32 controller.
The alarm module consists of an acoustic alarm circuit and an optical alarm circuit, the acoustic alarm circuit is a buzzer, and the signal input end of the buzzer is connected with the signal output pin of the central control chip module.
The light alarm circuit is composed of a yellow light emitting diode, a red light emitting diode and a green light emitting diode, wherein the yellow light emitting diode, the red light emitting diode and the green light emitting diode are respectively connected in parallel and are connected with a signal output pin of the central control chip module through setting fixed value resistors.
The power supply conversion module consists of a 12V power supply and a power supply converter, and the power supply output end of the power supply is connected with the power supply input pin of the central control chip module through the power supply converter; the 12V power supply converts the input voltage into 3.3V through the power converter, and the input voltage of the power supply is reduced and stabilized through the power converter.
The RS485 bus module consists of an RS485 bus and a signal isolator, a communication serial port of the RS485 bus is connected with a pin of the central control chip module through the signal isolator, and the communication serial port of the RS485 bus is connected with a communication serial port of the intelligent terminal.
The AD converter is ADC0832 with the precision of eight bits, and a signal output end of the isolation power supply is communicated with a signal input pin of the central control chip module through the ADC 0832.
The intelligent terminal is a liquid crystal touch screen, a communication serial port of the liquid crystal touch screen is connected with a pin of the central control chip module through the RS485 module, and a signal output end of the isolation power supply is connected with a signal input end of the liquid crystal touch screen through the AD conversion module and the central control chip module. The liquid crystal touch screen can display the charging voltage, current and charging state in real time.
The electronic lock is provided with three indicating lamps, the three indicating lamps are respectively a yellow indicating lamp representing charging, a green indicating lamp representing charging completion and a red indicating lamp representing charging failure of the electronic lock, the yellow indicating lamp is arranged in a charging circuit of the electronic lock and the isolation power supply, the green indicating lamp is arranged in parallel with the power supply of the electronic lock, and the red indicating lamp is arranged in parallel with the yellow indicating lamp.
By adopting the technical scheme, the intelligent electronic lock can be controlled to be switched on and off through the intelligent terminal and the controller device, the on-off state of the electronic lock can be read, the distribution and return functions of the instrument can be realized, the instrument management efficiency is high, the automation degree is high, and the remote operation is convenient; the system can detect the charging current and voltage of the instrument through the equipment and monitor the charging state of the instrument in real time, so that the charging efficiency is higher, the maintenance is not needed, the fault can be found and repaired at the first time once the fault occurs, the inspection cost is saved, the equipment can prompt the fault through controlling the warning lamp and the buzzer, the monitoring alarm information is realized, and the liquid crystal touch screen can display the charging voltage, current and charging state in real time; the system is convenient to operate, high in charging efficiency of the electronic lock, capable of finding charging faults in time, high in instrument management efficiency, capable of saving maintenance cost, greatly improving working efficiency and greatly increasing economic benefits.
The invention has been described above with reference to the accompanying drawings, it is obvious that the invention is not limited to the specific implementation in the above-described manner, and it is within the scope of the invention to apply the inventive concept and solution to other applications without substantial modification.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:智能钥匙解锁方法和解锁系统