CN115083041B - Electronic lock control system with line sequence automatic detection function - Google Patents

Electronic lock control system with line sequence automatic detection function Download PDF

Info

Publication number
CN115083041B
CN115083041B CN202210640149.0A CN202210640149A CN115083041B CN 115083041 B CN115083041 B CN 115083041B CN 202210640149 A CN202210640149 A CN 202210640149A CN 115083041 B CN115083041 B CN 115083041B
Authority
CN
China
Prior art keywords
circuit
rear panel
control system
electronic lock
lock 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.)
Active
Application number
CN202210640149.0A
Other languages
Chinese (zh)
Other versions
CN115083041A (en
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.)
Fuzhou Shengyu Door Control Intelligent Technology Co ltd
Original Assignee
Fuzhou Shengyu Door Control Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuzhou Shengyu Door Control Intelligent Technology Co ltd filed Critical Fuzhou Shengyu Door Control Intelligent Technology Co ltd
Priority to CN202210640149.0A priority Critical patent/CN115083041B/en
Publication of CN115083041A publication Critical patent/CN115083041A/en
Application granted granted Critical
Publication of CN115083041B publication Critical patent/CN115083041B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention provides an electronic lock control system with a line sequence automatic detection function, wherein a main body part is arranged on a front panel of an intelligent lock and is connected with a rear panel detection circuit through a unified flat cable, the rear panel selects a plurality of different structures and detection modes according to specific requirements, and the front panel control system can automatically identify different rear panels, so that the types of wire harness stock are reduced, and the management of materials is simplified.

Description

Electronic lock control system with line sequence automatic detection function
Technical Field
The invention relates to the technical field of electronic intelligent locks, in particular to an electronic lock control system with a line sequence automatic detection function.
Background
In the development and production process of the electronic intelligent lock, different appearance styles of similar products are often involved, and the electronic control system which is basically the same is adopted, the functions of the front panel of the electronic intelligent lock are basically consistent, but the operation details of the rear panel are slightly different, the operation modes are different, and the number and the sequence of external wiring of the electronic control system are different. For example, the operation functions of the front panel of several electronic intelligent locks are basically consistent, but the unlocking modes of the rear panel are different: some unlocking modes adopting physical knobs generally use Hall sensors to obtain door opening information, and two signal wires are needed for transmitting information with an electronic lock control system at the moment; some of them adopt a key-type unlocking mode, and at this time, three signal wires are required by adopting a one-touch switch circuit. Therefore, the number and the sequence of the wiring of the electronic control system in the front panel and the wiring of the rear panel detection circuit are different, the electronic control system with various interfaces is conventionally designed to adapt to different requirements, the connecting wires of the front panel and the rear panel of each product are inconsistent, the production cost is increased by the arrangement of various connecting wires, and the management difficulty of materials is also greatly increased.
Disclosure of Invention
In order to overcome the defects and shortcomings in the prior art, the invention provides an electronic lock control system with a line sequence automatic detection function.
The control system main body part is arranged on the front panel of the intelligent lock, is connected with the rear panel detection circuit through the unified flat cable, and the rear panel selects various different structures and detection modes according to specific requirements. Specifically, for intelligent locks with different front and rear panel structures, the electronic lock control system provided by the invention can distinguish actual connecting elements by detecting different levels of flat cables and execute correct use logic, so that the same electronic lock control system, a unified set of control programs and the same front and rear connecting lines are adopted to adapt to unused rear panels and detection circuits, compatibility among products is improved, and meanwhile, difficulty of material management is greatly simplified. In the automatic line sequence identification process, the electronic lock control system provided by the invention can not enable a user to feel the self-checking process, and does not influence the experience of the user.
The invention adopts the following technical scheme:
An electronic lock control system with line sequence automatic detection function, which is characterized by comprising: front panel, back panel and connecting flat cable;
The front panel is provided with a lockset metal structure, an electronic lock control system and various logic circuits which are respectively connected with the electronic lock control system;
The rear panel includes a motor-driven switch door structure and an unknown version of the circuit structure prior to testing, possibly: a version of a Hall sensor is adopted, and the Hall sensor is provided with 2 data lines, or a version of a one-touch switch is adopted, and the Hall sensor is provided with 3 data lines;
The flat cable comprises a power supply circuit, a motor circuit and a rear panel feedback circuit;
the electronic lock control system completes automatic line sequence detection by the following modes:
(1) When the system is started, converting TX and RX into a pull-up input mode, starting a serial port, and entering a factory test mode if the serial port receives a correct start test command in test time, wherein the TX and RX keep the serial port mode;
(2) If one of the TX and RX inputs is detected to be low and the other is high and stable for 100 ms, if the condition of (1) is not satisfied, judging that the rear panel is a one-touch switch version;
(3) If the condition (2) is not met and exceeds the appointed time or the sensor port is detected to have low level, judging that the rear panel is a Hall sensor version;
(4) If the door opening action occurs, whether the Hall sensor changes the level is detected immediately, if the level changes, the rear panel is judged to be the Hall sensor version, otherwise, the rear panel is judged to be the one-touch switch version.
Further, after leaving the factory, a preset password is input, and the version of the rear panel is designated to the electronic lock control system so as to skip line sequence automatic detection.
Further, the logic circuit on the front panel includes:
A power management circuit;
An acousto-optic prompt and a driving circuit;
a user input circuit;
The program downloading circuit is used for filling a program when leaving a factory;
a motor driving circuit for driving a motor of the rear panel, thereby realizing door opening and closing operation;
the front panel and the rear panel are connected by a connecting circuit with a row of plug-in connectors for connecting the front panel and the rear panel by inserting a row of wires. The logic circuit on the front panel includes:
A power management circuit;
An acousto-optic prompt and a driving circuit;
a user input circuit;
The program downloading circuit is used for filling a program when leaving a factory;
a motor driving circuit for driving a motor of the rear panel, thereby realizing door opening and closing operation;
the front panel and the rear panel are connected by a connecting circuit with a row of plug-in connectors for connecting the front panel and the rear panel by inserting a row of wires.
Compared with the prior art, the invention and the preferred scheme thereof can realize the adoption of the same electronic lock control system, the same unified set of control program and the same front and back connecting wires to adapt to the unused rear panel and detection circuit, thereby improving the compatibility among products and greatly simplifying the difficulty of material management. The connecting mode of the front panel and the rear panel can be met, the password input mode of the front panel can be compatible, and the experience of a user is improved.
Drawings
FIG. 1 is a diagram of the overall framework of a system in accordance with an embodiment of the present invention.
FIG. 2 is a flow chart illustrating the operation of a control system according to an embodiment of the present invention.
FIG. 3 is a flow chart of automatic sequence detection according to an embodiment of the present invention.
Detailed Description
Hereinafter, specific embodiments of the present application will be described in detail with reference to the accompanying drawings, and according to these detailed descriptions, those skilled in the art can clearly understand the present application and can practice the present application. Features from various embodiments may be combined to obtain new implementations, or substituted for certain features from certain embodiments to obtain further preferred implementations, without departing from the principles of the application.
In order to make the features and advantages of the present patent more comprehensible, embodiments accompanied with figures are described in detail below:
The system block diagram of the electronic lock control system with automatic wire sequence detection provided by the embodiment is shown in fig. 1, and mainly comprises three parts, namely a front panel, a rear panel and a connecting flat cable between the front panel and the rear panel, wherein the front panel and the flat cable version are relatively uniform, the rear panel can have multiple versions, and the embodiment mainly realizes how the front panel automatically identifies the rear panel.
The front panel has, in addition to the necessary lock metal structure, an electronic lock control system of the whole lock, the control core of which is implemented using STM32L031 and has the following logic circuits:
(1) The power management circuit can convert a battery with unstable voltage into stable voltage, supply energy to the whole circuit, and can detect the voltage of the battery so as to control the whole system;
(2) The sound-light prompt and driving circuit is used for interacting with a user;
(3) The user input circuit has two versions, namely a touch screen driving circuit and a physical key circuit;
(4) Program downloading circuit to fill program when leaving factory;
(5) A motor driving circuit for driving a motor of the rear panel, thereby realizing door opening and closing operation;
(6) The front and rear panel connection circuits have a bus socket for inserting a bus cable to connect front and rear.
Since the versions of the rear panel are more, the electronic part has a plurality of versions in addition to the necessary metal case and the motor-driven door opening and closing structure, which are different in that:
(1) The Hall sensor version is adopted, the effective wires connected with the flat cable are fewer, and only 2 data wires are used;
(2) The single-touch switch version is adopted, more effective wires are connected with the flat cable, the total number of the effective wires is 3, and a differential mode is adopted for feeding back control signals;
(3) The hardware also has serial ports, which can be directly connected to the PC.
The flat cable is a main information communication bridge between the front panel and the rear panel, and mainly comprises three parts:
(1) A power supply line including a wire for guiding battery energy of the rear panel to the front panel and a wire for guiding energy of the front panel after voltage stabilization to the rear panel, which are identical between versions;
(2) A motor circuit by means of which the front panel drives the rear panel, this part being identical between versions;
(3) The back panel feedback circuit, the front panel obtains the user feedback circuit signal of back panel with this circuit, and the back panel of different versions is this part different, and the core of this patent just can the type of automatic identification back panel of front panel to the automatic adaptation corresponding procedure.
The front panel electronic lock control system is used as the core of the whole system, wherein a core method for controlling the lock is carried, and the specific working flow is as shown in fig. 2:
(1) step1: after the system is started, defaulting to a state under the step, namely starting a back panel version detection program, and if the detection is finished, directly entering step2;
(2) step2: the system detects the voltage value of the power supply and is used as the execution basis of a state machine program;
(3) step3: executing a state machine program once to complete correct man-machine interaction;
(4) step4: and judging whether to sleep or not according to the instruction of the state machine and the detection result of the detection state of the back panel, and if the sleep is needed, continuously executing the sleep logic until the user tries to interact or the timing time of the state machine is up.
The system state numbers and corresponding meaning descriptions are shown in table 1.
Table 1 states and definition of the instructions
After the system writes the code, the default is in the S0 state, and at this time, the flow of the panel is in the panel test state, and the existing peripheral software generally adopts logic as simple as possible, so that the state is not considered in the embodiment, and the state is exited by the serial port control terminal configuration system parameters.
When the system exits from S0 and in a normal state, the system will not enter into the S0 state again, and when the system is started, the working state of the system is automatically identified, and the flow is shown in FIG. 3:
(1) When the system is started, converting TX (transmitting port) and RX (receiving port) into a pull-up input mode, starting a serial port, and entering a factory test mode S1 if the serial port receives a correct starting test command in test time, wherein the TX and RX keep the serial port mode;
(2) If one of the TX and RX inputs is detected to be low and the other is high and stable for 100 ms, the condition of (1) is not satisfied, then it is considered to be one-touch switch version S3;
(3) If the condition of (2) is not satisfied, if the timer exceeds a period of time or the sensor port is detected to have a low level (configured to be a high level when suspended and a low level when the hall sensor is triggered), judging as a hall sensor version S2;
(4) If the user performs the door opening operation, whether the Hall sensor changes the level is detected immediately, if the level changes, the Hall sensor is considered as the Hall sensor version, otherwise, the Hall sensor is directly judged as the one-touch switch version.
If the factory test of the product is finished, the lockset can be informed after the factory is finished in a mode of inputting a preset special password (for example, 000000), the time for starting up detection is shortened when the lockset is started later, and the user experience is improved.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.
The present invention is not limited to the above-mentioned preferred embodiments, and any person can obtain other electronic lock control systems with automatic line sequence detection function in various forms under the teaching of the present invention, and all equivalent changes and modifications made according to the scope of the present invention should be covered by the present invention.

Claims (3)

1. An electronic lock control system with line sequence automatic detection function, which is characterized by comprising: front panel, back panel and connecting flat cable;
The front panel is provided with a lockset metal structure, an electronic lock control system and various logic circuits which are respectively connected with the electronic lock control system;
The rear panel comprises a motor-driven switch door structure and a circuit structure of an unknown version before testing, wherein the circuit structure comprises a version adopting a Hall sensor and provided with 2 data lines or a version adopting a one-touch switch and provided with 3 data lines;
The flat cable comprises a power supply circuit, a motor circuit and a rear panel feedback circuit;
the electronic lock control system completes automatic line sequence detection by the following modes:
(1) When the system is started, converting TX and RX into a pull-up input mode, starting a serial port, and entering a factory test mode if the serial port receives a correct start test command in test time, wherein the TX and RX keep the serial port mode;
(2) If one of the TX and RX inputs is detected to be low and the other is high and stable for 100 ms, if the condition of (1) is not satisfied, judging that the rear panel is a one-touch switch version;
(3) If the condition (2) is not met and exceeds the appointed time or the sensor port is detected to have low level, judging that the rear panel is a Hall sensor version;
(4) If the door opening action occurs, whether the Hall sensor changes the level is detected immediately, if the level changes, the rear panel is judged to be the Hall sensor version, otherwise, the rear panel is judged to be the one-touch switch version.
2. The electronic lock control system with a line sequence automatic detection function according to claim 1, wherein: after leaving the factory, the version of the rear panel is designated to the electronic lock control system by inputting a preset password so as to skip line sequence automatic detection.
3. The electronic lock control system with a line sequence automatic detection function according to claim 1, wherein: the logic circuit on the front panel includes:
A power management circuit;
An acousto-optic prompt and a driving circuit;
a user input circuit;
The program downloading circuit is used for filling a program when leaving a factory;
a motor driving circuit for driving a motor of the rear panel, thereby realizing door opening and closing operation;
the front panel and the rear panel are connected by a connecting circuit with a row of plug-in connectors for connecting the front panel and the rear panel by inserting a row of wires.
CN202210640149.0A 2022-06-08 2022-06-08 Electronic lock control system with line sequence automatic detection function Active CN115083041B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210640149.0A CN115083041B (en) 2022-06-08 2022-06-08 Electronic lock control system with line sequence automatic detection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210640149.0A CN115083041B (en) 2022-06-08 2022-06-08 Electronic lock control system with line sequence automatic detection function

Publications (2)

Publication Number Publication Date
CN115083041A CN115083041A (en) 2022-09-20
CN115083041B true CN115083041B (en) 2024-05-14

Family

ID=83251060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210640149.0A Active CN115083041B (en) 2022-06-08 2022-06-08 Electronic lock control system with line sequence automatic detection function

Country Status (1)

Country Link
CN (1) CN115083041B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004306836A (en) * 2003-04-09 2004-11-04 Suzuki Motor Corp Side structure for seat back
CN1963874A (en) * 2006-12-06 2007-05-16 中国科学院电工研究所 Control apparatus of motor central lock with CAN interface
CN101476418A (en) * 2008-01-03 2009-07-08 翟达 Self-resetting intelligent rotating lock core with power supply from key, and its matched lockset and key
CN103885368A (en) * 2014-04-10 2014-06-25 黄慧 Intelligent switch control system based on Bluetooth communication
WO2021073139A1 (en) * 2019-10-14 2021-04-22 中车永济电机有限公司 Self-detection system for connection lines of rotary transformer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10109124B2 (en) * 2011-11-03 2018-10-23 3-East, Llc Method, system and device for securing and managing access to a lock and providing surveillance

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004306836A (en) * 2003-04-09 2004-11-04 Suzuki Motor Corp Side structure for seat back
CN1963874A (en) * 2006-12-06 2007-05-16 中国科学院电工研究所 Control apparatus of motor central lock with CAN interface
CN101476418A (en) * 2008-01-03 2009-07-08 翟达 Self-resetting intelligent rotating lock core with power supply from key, and its matched lockset and key
CN103885368A (en) * 2014-04-10 2014-06-25 黄慧 Intelligent switch control system based on Bluetooth communication
WO2021073139A1 (en) * 2019-10-14 2021-04-22 中车永济电机有限公司 Self-detection system for connection lines of rotary transformer

Also Published As

Publication number Publication date
CN115083041A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN102912589B (en) Full-automatic washing machine without display control device and control method for full-automatic washing machine
CN100511171C (en) Test approach for debugging serial port function with single board and system thereof
CN109522033B (en) ECU program and data upgrading method based on device operation self-programming and double-interrupt vector table
CN104054064B (en) Flexible port configuration based on interface coupling
EP3920404A1 (en) Motor control method and device
CN110444156A (en) Display device and its driver
CN104538058A (en) Semi-automatic burning device and method
CN115083041B (en) Electronic lock control system with line sequence automatic detection function
CN105279055A (en) HPD regulating circuit
JP2007295774A (en) Power supply system and system power source
US20140136875A1 (en) Apparatus and method of controlling clock signals
CN105937129A (en) Washing machine and communication control system thereof
CN110457158A (en) House dog implementation method, device, equipment and storage medium based on finite state machine
CN100412796C (en) Built-in system and safety opening terminal method
CN111030722B (en) Communication circuit and communication method for battery management system
CN207232759U (en) A kind of automatization test system
CN114055482A (en) Multi-module education robot suite
KR20180024133A (en) Method for controlling harness debugging of handler
KR900006021B1 (en) Signal transmission system
JPH0262386A (en) Destinational button register for elevator
CN201281815Y (en) Device for setting handpiece board address of multiheaded computer controlled embroidery machine
CN108873746A (en) Display device and control method thereof
CN111007336A (en) Module production test power-on and power-off automatic detection system and method based on serial port communication
CN111037057A (en) Welder human-computer interaction system and welder
JPS6362765B2 (en)

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
GR01 Patent grant
GR01 Patent grant