An industrial electronic lock

By designing industrial electronic locks, combining magnets, input contacts and multiple modules, identity recognition and permission management in industrial sites are achieved, solving the potential safety hazards in existing technologies and improving security.

CN110908315BActive Publication Date: 2025-10-10BEIJING INSTITUTE OF GRAPHIC COMMUNICATION
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911283955.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-13
Publication Date
2025-10-10
Estimated Expiration
2039-12-13

AI Technical Summary

Technical Problem

The TF radio frequency card in the existing technology is easy to copy and the mechanical lock key is difficult to manage, resulting in major safety hazards on industrial sites and inability to effectively perform personnel identity identification and authority management.

Method used

An industrial electronic lock was designed, which included a magnet, input contacts, a CPU system, an EEPROM memory chip, a FLASH chip, a relay module, a logic level module and a communication module. It realized identity recognition and permission management through single bus communication and recorded operation behavior.

Benefits of technology

It realizes the safety management of industrial sites, ensures the identity identification and authority management of operators, records operating behaviors, and improves safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110908315B_ABST
    Figure CN110908315B_ABST
Patent Text Reader

Abstract

The application discloses an industrial electronic lock, which comprises a front panel, a main body and a back panel; the front panel is provided with a magnet and an input contact; the main body comprises a CPU system, an EEPROM storage chip, a FLASH chip, a relay module, a logic level module and a communication module; the back panel comprises a power module and a function output module; the input contact, the EEPROM storage chip, the FLASH chip, the relay module, the logic level module and the communication module are connected with the CPU system respectively; the relay module, the logic level module and the communication module are connected with the function output module respectively; and the power module provides power supply for the CPU system, the EEPROM storage chip, the FLASH chip, the relay module, the logic level module and the communication module. The application can realize personnel identity identification, permission management and record operation behavior, and ensures the safety of an industrial site.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial authority management, and more particularly to an industrial electronic lock. Background Art

[0002] There are many situations in industrial sites that require personnel identity identification and authority management. Managers, maintenance personnel, and operators need to use it to varying degrees. For example, starting expensive equipment, starting and stopping production lines, and updating production parameter configurations all require recording the user's operating behavior.

[0003] However, conventional TF radio frequency cards are easy to copy, and mechanical lock keys are difficult to manage, which poses a great security risk in situations that require control.

[0004] Therefore, how to provide an industrial electronic lock is a problem that those skilled in the art urgently need to solve. Summary of the Invention

[0005] In view of this, the present invention provides an industrial electronic lock that can realize personnel identity recognition, authority management, and record operation behavior, thereby ensuring the safety of industrial sites.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] An industrial electronic lock comprises: a front panel, a main body and a rear panel;

[0008] The front panel is provided with a magnet and input contacts, the main body includes a CPU system, an EEPROM memory chip, a FLASH chip, a relay module, a logic level module and a communication module, and the rear panel includes a power module and a function output module;

[0009] The input contacts, the EEPROM storage chip, the FLASH chip, the relay module, the logic level module and the communication module are respectively connected to the CPU system, the relay module, the logic level module and the communication module are respectively connected to the function output module, and the power supply module provides power for the CPU system, the EEPROM storage chip, the FLASH chip, the relay module, the logic level module and the communication module.

[0010] Furthermore, the front panel also includes an indicator light, which is connected to the CPU system.

[0011] Further, the CPU system comprises an STM32F103C8T6 single-chip microcomputer, a first crystal oscillator circuit Y1, a second crystal oscillator circuit Y2, an NRST reset circuit, an LED-Test indicator lamp and a P1 inter-board connector, the OSC_IN and OSC_OUT of the first crystal oscillator circuit Y1 are connected to the PD0 and PD1 pins of the STM32F103C8T6 single-chip microcomputer respectively, the OSC32_IN and OSC32_OUT of the second crystal oscillator circuit Y2 are connected to the PC14 and PC15 pins of the STM32F103C8T6 single-chip microcomputer respectively, the LED-Test indicator lamp is connected to the PB12 pin of the STM32F103C8T6 single-chip microcomputer, and the OUT1, OUT2, OUT3 and OUT4 of the P1 inter-board connector are connected to the PA1, PA2, PA3 and PA4 pins of the STM32F103C8T6 single-chip microcomputer respectively. - Test indicator lamp is connected to the PB12 pin of the STM32F103C8T6 single-chip microcomputer, and the OUT1, OUT2, OUT3 and OUT4 of the P1 inter-board connector are connected to the PA1, PA2, PA3 and PA4 pins of the STM32F103C8T6 single-chip microcomputer respectively.

[0012] Further, the EEPROM storage chip adopts an AT24C02, the I2C-SCL and I2C-SDA of the AT24C02 are connected to the PB6 and PB7 pins of the STM32F103C8T6 single-chip microcomputer respectively, the pin 5 is connected to VCC through the resistor R11, the pin 6 is connected to VCC through the resistor R10, the pin GND is connected to the power supply VCC through the capacitor C13, and the pin 7 is connected to GND.

[0013] Further, the P3 inter-board connector is further included, and the pins with the same function of the P1 inter-board connector and the P3 inter-board connector are connected correspondingly.

[0014] Further, the function output module is provided with a rear panel interface P4, and the relay module, the logic level module and the communication module are connected to the rear panel interface P4 respectively.

[0015] Further, the communication module adopts an SN65HVD1781A-Q1 with anti-electromagnetic interference performance, the USART1_RX and USART1_TX of the SN65HVD1781A-Q1 are connected to the PA9 and PA10 pins of the STM32F103C8T6 single-chip microcomputer respectively, the output signals 485A and 485B are connected to the 6th pin and the 7th pin of the P1 inter-board connector respectively, and the output signals 485A and 485B are connected to the 6th pin and the 7th pin of the rear panel interface P4 respectively.

[0016] Furthermore, the logic level module includes three groups of TLP172GM analog relays, and the output signals OUT1, OUT2, and OUT3 of the STM32F103C8T6 microcontroller are respectively connected to pin 3 of the three groups of TLP172GM analog relays, and the outputs OUT1_O, OUT2_O, and OUT3_O of the three groups of TLP172GM analog relays are respectively connected to pin 3, pin 4, and pin 5 of the rear panel interface P4.

[0017] Furthermore, the relay module includes a G6K-2F-Y relay, an S8050 transistor and an IN4148 diode. The base of the S8050 transistor is connected to the output signal OUT4 of the STM32F103C8T6 microcontroller through a resistor R22. Pins 3 and 4 of the G6K-2F-Y relay are respectively connected to pins 8 and 9 of the rear panel interface P4.

[0018] Furthermore, the input contact includes an input signal Signal and a ground GND signal, and the input signal Signal is connected to the PB0 pin of the STM32F103C8T6 microcontroller;

[0019] The indicator light includes LED_green and LED_red, and the LED_green and LED_red are respectively connected to the PB8 and PB9 pins of the STM32F103C8T6 microcontroller.

[0020] As can be seen from the above technical solution, compared with the prior art, the present invention provides an industrial electronic lock, wherein the input contacts are three-point contacts, two of which are communication interfaces, implementing single-bus communication; a magnet ensures that the electronic key maintains contact with the industrial electronic lock in a non-human state; an EEPROM memory chip stores operation information; a FLASH chip stores user configuration tables; a CPU system implements program logic control; a relay module implements relay control; a logic level module implements multi-channel logic level control; a communication module implements real-time communication; and a function output module outputs functions according to the output configuration. Through the coordination between the various modules, the present invention can achieve personnel identity recognition, authority management, and operation behavior recording, ensuring the safety of industrial sites. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0022] Figure 1 The accompanying drawing is a structural framework diagram of the industrial electronic lock provided by the present invention.

[0023] Figure 2 The accompanying drawing is a circuit diagram of the CPU system provided by the present invention.

[0024] Figure 3 The accompanying drawing is a circuit diagram of the EEPROM memory chip provided by the present invention.

[0025] Figure 4 The accompanying drawing is a circuit diagram of the communication module provided by the present invention.

[0026] Figure 5 The accompanying drawing is a circuit diagram of a logic level module provided by the present invention.

[0027] Figure 6 The accompanying drawing is a circuit diagram of the relay module provided by the present invention.

[0028] Figure 7 The accompanying drawing is a circuit diagram of the power module provided by the present invention.

[0029] Figure 8 The accompanying drawing is a circuit diagram of input contacts provided by the present invention.

[0030] Figure 9 The accompanying drawing is a circuit diagram of the indicator light provided by the present invention.

[0031] Figure 10 The accompanying drawing is a circuit diagram of the functional output module provided by the present invention.

[0032] Figure 11 The accompanying drawing is a circuit diagram of the P3 inter-board connector provided by the present invention.

[0033] Figure 12 The accompanying drawing is a structural diagram of the industrial electronic lock provided by the present invention. DETAILED DESCRIPTION

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0035] The embodiment of the present invention discloses an industrial electronic lock, such as Figure 1As shown, including front panel, main body and back panel; front panel is provided with magnet, input contact and indicator light, the main body includes CPU system, EEPROM memory chip, FLASH chip, relay module, logic level module and communication module, the back panel includes power module and function output module;

[0036] The input contact, the indicator light, the EEPROM memory chip, the FLASH chip, the relay module, the logic level module and the communication module are connected with the CPU system respectively, the relay module, the logic level module and the communication module are connected with the function output module respectively, and the power module provides power supply for the CPU system, the EEPROM memory chip, the FLASH chip, the relay module, the logic level module and the communication module.

[0037] The indicator light indicates the product running state.

[0038] The input contact is three-point contact, wherein two-way contact is a communication interface, and single bus communication (iButton technology is a single bus protocol) is realized.

[0039] The magnet realizes that the electronic key and the industrial electronic lock keep contact under non-human state.

[0040] The power module realizes the conversion of power required by each module inside.

[0041] The EEPROM memory chip realizes the storage of operation information.

[0042] The FLASH chip realizes the storage of user configuration table.

[0043] The CPU system realizes program logic control.

[0044] The relay module realizes the control of the relay.

[0045] The logic level module realizes the control of multiple logic levels.

[0046] The communication module can realize USB, 485, TCP / IP, PROFIBUS, PROFINET.

[0047] The function output module outputs according to the output configuration function.

[0048] The connection relationship between the modules is as follows:

[0049] The front panel realizes the connection of the electronic key and the display of the electronic lock state. Two-way communication interface of three-way contact on the panel respectively contacts the positive and negative two levels of the electronic key, and is connected with the CPU system of the main body, realizes the communication of the electronic key, and indicates the communication and various state information through the indicator light.

[0050] After the electronic key successfully communicates with the industrial electronic lock, the electronic lock reads the serial code of the electronic key, matches the information of the internal EEPROM storage chip, and after successful matching, outputs the corresponding information through the back panel via the function output module. In addition, the power supply of the electronic lock is also input through the back panel.

[0051] Specifically, as shown in Figure 2 , the CPU system includes a 48-pin STM32F103C8T6 single-chip microcomputer, an 8M first crystal oscillator circuit Y1 and a 32.768k second crystal oscillator circuit Y2, an NRST reset circuit, an LED Test running indicator light, and a P1 inter-board connector. The OSC_IN and OSC_OUT of the first crystal oscillator circuit Y1 are respectively connected to the PD0 and PD1 pins of the STM32F103C8T6 single-chip microcomputer. The OSC32_IN and OSC32_OUT of the second crystal oscillator circuit Y2 are respectively connected to the PC14 and PC15 pins of the STM32F103C8T6 single-chip microcomputer. The LED - Test indicator light is connected to the PB12 pin of the STM32F103C8T6 single-chip microcomputer. The OUT1, OUT2, OUT3, and OUT4 of the P1 inter-board connector are respectively connected to the PA1, PA2, PA3, and PA4 pins of the STM32F103C8T6 single-chip microcomputer.

[0052] The pins with the same function of the P1 inter-board connector and the P3 inter-board connector are connected correspondingly, i.e. the 3, 4, 5, and 8 pins of the P1 inter-board connector are respectively connected to the 6, 5, 4, and 1 pins of the P3 inter-board connector. The 6 and 7 pins of the P1 inter-board connector are respectively connected to the 3 and 2 pins of the P3 inter-board connector. The 1 and 2 pins of the P1 inter-board connector are respectively connected to the 8 and 7 pins of the P3 inter-board connector. The P1 inter-board connector and the P3 inter-board connector realize signal transmission between the two circuit boards, i.e. the single-chip microcomputer is connected to the logic level output module, the communication module, and the relay module through the P1 inter-board connector and the P3 inter-board connector. At the same time, the logic level output module, the communication module, and the relay module realize function output through the back panel interface, including the power supply VCC, the power supply GND, the logic level module output (OUT1, OUT2, OUT3), the communication module output (485A, 485B), and the relay module output OUT4.

[0053] As shown in Figure 3 , the EEPROM storage chip is an AT24C02 with a capacity of 2K, which is connected to the PB6 and PB7 pins of the STM32F103C8T6 single-chip microcomputer with I2C function through I2C_SCL and I2C_SDA. Pin 5 is connected to VCC through resistor R11, pin 6 is connected to VCC through resistor R10, pin GND is connected to power supply VCC through capacitor C13, and pin 7 is connected to GND.

[0054] As Figure 4 As shown, the communication module is the SN65HVD1781A-Q1 with anti-electromagnetic interference performance, which is connected to the PA9 and PA10 pins with USART function of the STM32F103C8T6 microcontroller through USART1_RX and USART1_TX. The output signals 485A and 485B are connected to the 6th and 7th pins of the P1 inter-board connector, and the output signals 485A and 485B are also connected to the 6th and 7th pins of the rear panel interface P4.

[0055] like Figure 8 As shown, the input contacts on the front panel consist of one input signal Signal and one ground signal GND. Signal is connected to the PB0 pin of the STM32F103C8T6 microcontroller. Figure 9 As shown in the figure, the indicator light is connected to the PB8 and PB9 pins of the STM32F103C8T6 microcontroller by two LED outputs LED_green and LED_red.

[0056] like Figure 5 As shown in the figure, the logic level module includes three TLP172GM analog relays and corresponding indicators. The output states of OUT1_O, OUT2_O, and OUT3_O are realized according to the output states of the microcontroller output signals OUT1, OUT2, and OUT3. At the same time, the operating states of the operation indicators remain consistent. The outputs OUT1_O, OUT2_O, and OUT3_O are connected to pins 3, 4, and 5 of the rear panel interface.

[0057] like Figure 6 As shown, the relay module includes a G6K-2F-Y relay, an S8050 transistor, an IN4148 diode, an indicator light, and several resistor devices. The relay is turned on and off according to the microcontroller output signal OUT4, thereby turning on and off the normally open contacts OC and COM. OC and COM are connected to pins 8 and 9 of the rear panel interface.

[0058] like Figure 7 As shown, the power module receives a VCCInput voltage (DC 20V-30V) from rear panel port P4, which is converted to a 3.3V voltage VCC by the ACT4070 voltage dropper chip to ensure system operation. Specifically, pins 1, 24, 36, and 48 of the STM32F103C8T6 microcontroller are connected to VCC. Pin 9 of the STM32F103C8T6 microcontroller is connected in series with inductor L1, which is also connected to VCC. Pin 8 of the AT24C02 memory chip is connected to VCC. Pin 1 of the SN65HVD1781A-Q1 communication chip is connected in series with resistor R9, which is also connected to VCC. Pin 1 of the three TLP172GM analog relays is connected to VCC. Pin 1 of the G6K-2F-Y relay and the collector of the S8050 are also connected to VCC.

[0059] The workflow of the industrial electronic lock of the present invention is as follows:

[0060] The electronic key is matched one by one with each operator. Each electronic key has a unique serial code. When the electronic key contacts the industrial electronic lock, the operator can be confirmed through the personnel configuration list inside the electronic lock, which solves the problem of "who is operating".

[0061] The electronic key has an iron ring. When it approaches the electronic lock, it is attracted by a magnet inside the lock's front panel. The positive and negative terminals of the iButton make contact with the input contacts (two copper posts) on the front panel, effectively inserting the electronic key into the lock. The front panel also has indicator lights that indicate various status information, including normal operation, operational failures, communication status, electronic key validity, and key read / write status.

[0062] The electronic lock's internal CPU periodically scans the front panel's input contacts. When an electronic key is detected, it reads the key's serial number and related information via a single-wire bus protocol. The obtained serial number is then compared with the key's serial number stored in the user configuration table in the FLASH chip. If a match is found, the lock determines the operator's permissions and implements different output controls based on the permissions.

[0063] Outputs are divided into three categories: relays, logic levels, and communications. Relays control the on / off switching of power cables; logic levels output digital logic code levels; and communications enable permissions modification and encryption information updates. These three categories can be used independently or in combination.

[0064] Relay permissions allow you to switch relays on and off, opening and shorting high-power circuits, such as switching a 220V AC line. Logic level permissions allow you to output three combined logic levels (24V) and implement eight state codes. Excluding state 0, there are seven available permissions. Communication permissions allow for instant messaging, uploading the electronic key serial number to the industrial controller and displaying different states (lights) based on the controller's response. The key can also modify the secondary encrypted information within the electronic key.

[0065] The power supply and output of the electronic lock are on the rear panel, which are multi-pin threaded sockets. The power input occupies 2 cables, and the rest are output cables.

[0066] The electronic lock can be connected to various industrial controllers, including programmable logic controllers, touch screens and main control computers. When the electronic key contacts the electronic lock and successfully matches the operator, different permissions are output according to the pre-defined authorization, and the output records are stored in the internal EEPROM. At the same time, the industrial controller can record the operation action and its current time through the electronic lock, which solves the problem of "what operation" was performed at "what time".

[0067] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.

[0068] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An industrial electronic lock, characterized in that: include: front panel, main body and rear panel; The front panel is provided with a magnet and input contacts, the main body includes a CPU system, an EEPROM memory chip, a FLASH chip, a relay module, a logic level module and a communication module, and the rear panel includes a power module and a function output module; The input contacts, the EEPROM memory chip, the FLASH chip, the relay module, the logic level module and the communication module are respectively connected to the CPU system, the relay module, the logic level module and the communication module are respectively connected to the function output module, and the power supply module provides power for the CPU system, the EEPROM memory chip, the FLASH chip, the relay module, the logic level module and the communication module; The communication module adopts SN65HVD1781A-Q1 with anti-electromagnetic interference performance; The electronic key has an iron ring. When it is close to the electronic lock, it will be attracted by the magnet inside the front panel of the electronic lock. The positive and negative poles of the iButton button will contact the input contacts on the front panel of the electronic lock. The input contacts are three-point contacts. After obtaining the serial number of the electronic key, it is compared with the serial code of the electronic key stored in the FLASH chip. After a successful match, the operator's authority is obtained and different output controls are performed according to the authority level. Outputs are divided into three categories: relays, logic levels, and communications.

2. An industrial electronic lock according to claim 1, characterized in that: The front panel also includes an indicator light, which is connected to the CPU system.

3. An industrial electronic lock according to claim 2, characterized in that: The CPU system includes an STM32F103C8T6 single-chip microcomputer, a first crystal oscillator circuit Y1, a second crystal oscillator circuit Y2, an NRST reset circuit, an LED_Test indicator light and a P1 inter-board connector. The OSC_IN and OSC_OUT of the first crystal oscillator circuit Y1 are respectively connected to the PD0 and PD1 pins of the STM32F103C8T6 single-chip microcomputer, the OSC32_IN and OSC32_OUT of the second crystal oscillator circuit Y2 are respectively connected to the PC14 and PC15 pins of the STM32F103C8T6 single-chip microcomputer, the LED_Test indicator light is connected to the PB12 pin of the STM32F103C8T6 single-chip microcomputer, and the OUT1, OUT2, OUT3 and OUT4 of the P1 inter-board connector are respectively connected to the PA1, PA2, PA3 and PA4 pins of the STM32F103C8T6 single-chip microcomputer.

4. An industrial electronic lock according to claim 3, characterized in that: The EEPROM memory chip adopts AT24C02, and the I2C_SCL and I2C_SDA of the AT24C02 are respectively connected to the pins PB6 and PB7 of the STM32F103C8T6 microcontroller, pin 5 is connected to VCC through a resistor R11, pin 6 is connected to VCC through a resistor R10, pin GND is connected to the power supply VCC through a capacitor C13, and pin 7 is connected to GND.

5. The industrial electronic lock according to claim 3, characterized in that: It also includes a P3 inter-board connector, and the pins with the same functions of the P1 inter-board connector and the P3 inter-board connector are correspondingly connected.

6. An industrial electronic lock according to claim 5, characterized in that: The function output module is provided with a rear panel interface P4, and the relay module, the logic level module and the communication module are respectively connected to the rear panel interface P4.

7. An industrial electronic lock according to claim 6, characterized in that: The USART1_RX and USART1_TX of the SN65HVD1781A-Q1 are respectively connected to pins PA9 and PA10 of the STM32F103C8T6 microcontroller, and the output signals 485A and 485B are respectively connected to pins 6 and 7 of the P1 inter-board connector, and the output signals 485A and 485B are respectively connected to pins 6 and 7 of the rear panel interface P4.

8. An industrial electronic lock according to claim 6, characterized in that: The logic level module includes three groups of TLP172GM analog relays, and the output signals OUT1, OUT2, and OUT3 of the STM32F103C8T6 microcontroller are respectively connected to the three pins of the three groups of TLP172GM analog relays, and the outputs OUT1_O, OUT2_O, and OUT3_O of the three groups of TLP172GM analog relays are respectively connected to the three pins, four pins, and five pins of the rear panel interface P4.

9. An industrial electronic lock according to claim 6, characterized in that: The relay module includes a G6K-2F-Y relay, an S8050 transistor and an IN4148 diode. The base of the S8050 transistor is connected to the output signal OUT4 of the STM32F103C8T6 microcontroller through a resistor R22. Pins 3 and 4 of the G6K-2F-Y relay are respectively connected to pins 8 and 9 of the rear panel interface P4.

10. An industrial electronic lock according to claim 3, characterized in that: The input contact includes an input signal Signal and a ground signal GND, and the input signal Signal is connected to the PB0 pin of the STM32F103C8T6 microcontroller; The indicator light includes LED_green and LED_red, and the LED_green and LED_red are respectively connected to the PB8 and PB9 pins of the STM32F103C8T6 microcontroller.

Citation Information

Patent Citations

  • Networked electronic door lock and networked electronic door lock system

    CN203535701U

  • Industrial electronic lock

    CN211236623U