CN110924330A - Intelligent parking spot lock control system - Google Patents

Intelligent parking spot lock control system Download PDF

Info

Publication number
CN110924330A
CN110924330A CN201911059930.3A CN201911059930A CN110924330A CN 110924330 A CN110924330 A CN 110924330A CN 201911059930 A CN201911059930 A CN 201911059930A CN 110924330 A CN110924330 A CN 110924330A
Authority
CN
China
Prior art keywords
lock
vehicle
parking
microcontroller
parking space
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911059930.3A
Other languages
Chinese (zh)
Inventor
汪深
方昌沅
王天洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Parking Intelligence Management Co Ltd
Hunan Scientop Automatic Equipment Co Ltd
Original Assignee
Parking Intelligence Management Co Ltd
Hunan Scientop Automatic Equipment 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 Parking Intelligence Management Co Ltd, Hunan Scientop Automatic Equipment Co Ltd filed Critical Parking Intelligence Management Co Ltd
Priority to CN201911059930.3A priority Critical patent/CN110924330A/en
Publication of CN110924330A publication Critical patent/CN110924330A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E01CONSTRUCTION OF ROADS, RAILWAYS, OR BRIDGES
    • E01FADDITIONAL WORK, SUCH AS EQUIPPING ROADS OR THE CONSTRUCTION OF PLATFORMS, HELICOPTER LANDING STAGES, SIGNS, SNOW FENCES, OR THE LIKE
    • E01F13/00Arrangements for obstructing or restricting traffic, e.g. gates, barricades ; Preventing passage of vehicles of selected category or dimensions
    • E01F13/04Arrangements for obstructing or restricting traffic, e.g. gates, barricades ; Preventing passage of vehicles of selected category or dimensions movable to allow or prevent passage
    • E01F13/042Arrangements for obstructing or restricting traffic, e.g. gates, barricades ; Preventing passage of vehicles of selected category or dimensions movable to allow or prevent passage for controlling access to an individual parking space

Abstract

The invention discloses an intelligent parking stall lock control system, which comprises a microcontroller; the microcontroller is connected with the power supply unit, the anti-collision detection unit, the vehicle existence detection unit, the vehicle lock driving unit, the sound unit and the wireless communication unit; the wireless communication unit is communicated with the mobile terminal and the cloud platform; the mobile terminal is communicated with the cloud platform; the parking space lock driving unit is used for driving the parking space lock to be locked, and the parking space lock driving unit is used for driving the parking space lock to be locked. The invention solves the accident that the parking spot lock or the vehicle is abnormally damaged due to wrong detection, solves the problem of high power consumption of the communication between the parking spot lock and the cloud platform and the controlled locking and unlocking, uses the microprocessor in the wireless communication unit to replace a microcontroller, reduces the cost of the parking spot lock, and provides guarantee for relieving the shortage of urban parking spot resources and realizing the wrong-time sharing of the parking spots.

Description

Intelligent parking spot lock control system
Technical Field
The invention relates to a parking spot lock, in particular to an intelligent parking spot lock control system.
Background
With the development of social economy, automobiles in cities are more and more popularized, so that parking space resources are more and more in short, in order to prevent own private parking spaces from being illegally occupied by others, parking space locks appear, and the market mainly comprises two types of parking space locks, namely a mechanical type parking space lock and a remote control type parking space lock, the parking space locks can solve the problems that the private parking spaces are occupied and the automobiles stop along with the parking space locks from a certain degree, but the parking space locks simply manage the parking spaces; when the parking spot lock is used for sharing, no method is available for providing remote controllers for opening and closing the parking spot lock for all users legally obtaining authority, and the use range of the parking spot lock is limited; the intelligent parking spot lock that utilizes cell-phone APP to open and close the lock has also appeared in the existing market, and this type of lock has also just replaced original remote controller or mechanical key with cell-phone APP, does not have the real sense to realize automation and intellectuality. Most parking stall locks are directly riveted on the ground for the convenience of installation in the in-service use process, adopt the battery power supply, do not have external power supply circuit, in order to prolong the life of battery as far as possible, the low-power consumption of parking stall lock becomes very important, so a full-automatic intelligent shared parking stall lock of low-power consumption is the best choice of user.
The invention discloses an intelligent parking space lock control system based on wireless communication in the patent CN108004969, which only describes modules such as a GPRS communication module, a Bluetooth module and vehicle existence detection in a general way, but does not describe working principles of the modules, working processes of the whole system, specific implementation application circuits and the like; for example, how the GPRS communication module communicates with a network, how the bluetooth module works in linkage with vehicle-mounted bluetooth, and the like, the GRPS communication module has high power consumption, and is not suitable for being applied to a battery-powered parking spot lock, and the invention cannot be really used as an available product when falling to the ground; the invention discloses an intelligent sharing type parking space lock, which is an electrical control function block diagram of the parking space lock, does not disclose the working principle of the parking space lock and the technical scheme of how the parking space lock realizes intelligence and sharing, an NB-IoT module has a plurality of working modes, the power consumption of different working modes is very different, the parking space lock is powered by a waterproof storage battery, the invention does not disclose how the NB-IoT module works, if NB-IoT network signals of a parking space lock deployment place are unstable, the parking space lock is reliably controlled, and in order to respond to an unlocking instruction in time, if the NB-IoT module in the parking space lock is always in a working state, the contradiction between high energy consumption and limited electric quantity of battery electric quantity is solved. The invention also does not disclose how a user legally obtaining the use permission of the parking space lock can use the parking space lock independently after the parking space lock is shared, so the invention is also a scheme which can not implement landing. In the patent of CN207123879 of the utility model, the structure of a parking lock is also only drawn in a general way, which briefly describes that the parking lock includes NB-IoT communication module, vehicle monitoring sensor, and the like, and the vehicle monitoring sensor may include a geomagnetic sensor or an infrared detector, and the like; how the NB-IoT communication module communicates with the server is not disclosed; technical schemes such as a geomagnetic module and an infrared sensor in the vehicle monitoring sensor are not disclosed correspondingly; when a single low-power consumption geomagnetic module is applied to a parking lock to monitor a vehicle at present, accurate detection in hundreds of percent is difficult to achieve due to the influence of nearby vehicles and different parking environments, when the parking lock is scratched by the erroneous detection of the geomagnetic module, the vehicle and the parking lock are inevitably damaged, and great unreliability is brought to the information management of the unattended parking lock and a parking cloud platform; if the parking stall lock uses single infrared sensor to do the detection of vehicle, need the continuous initiative of continuous transmission infrared light wave because of infrared sensor, just can carry out real-time supervision to the vehicle, so infrared sensor can not accomplish very low consumption, just is difficult to implement to falling to the ground to the parking stall lock that uses battery power supply.
Disclosure of Invention
The invention aims to solve the technical problem that aiming at the defects of the prior art, the invention provides an intelligent parking space lock control system, which solves the problem that vehicles in a preset parking space reach the preset parking space required by shared parking, and realizes the low power consumption of a parking space lock: "the car comes the lock and opens, and the lock is closed is walked to the car", stops the problem that the operation of parking stall lock open by mistake leads to parking stall lock or vehicle to damage, feeds back the state of lock to the platform simultaneously, and can issue the instruction through the platform and realize opening, close the lock operation.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows: an intelligent parking stall lock control system comprises a microcontroller; the microcontroller is connected with the power supply unit, the anti-collision detection unit, the vehicle existence detection unit, the vehicle lock driving unit, the sound unit and the wireless communication unit; the wireless communication unit comprises a Bluetooth wireless communication module and an NB-IoT wireless communication module; the Bluetooth wireless communication module and the NB-IoT wireless communication module are connected with the microcontroller and finish data communication and mutual control, the Bluetooth wireless module in the wireless communication unit is communicated with the mobile terminal, and the NB-IoT wireless communication module is communicated with the cloud platform;
the user holds the mobile terminal to reserve a parking space, when a driven vehicle reaches a target parking lot, the mobile terminal receives a Bluetooth wireless broadcast ID signal sent by a parking space lock wireless communication unit nearby the vehicle, confirms the position of the mobile terminal and the position of a reserved parking space target to realize positioning and navigation, when the user reaches the position nearby the target parking space, the mobile terminal is automatically in communication connection with a Bluetooth wireless communication module on the target parking space, the Bluetooth wireless communication module is connected with the mobile terminal to generate a variable IO level signal which can wake up a microcontroller in a sleep state, the microcontroller is awakened by the IO level change signal to exit the sleep state to enter a working state and keep communication with the mobile terminal, the mobile terminal automatically sends an unlocking instruction to the Bluetooth wireless communication module, the Bluetooth wireless communication module forwards the received data to the microcontroller, and the microcontroller controls the vehicle lock driving unit to automatically unlock, thereby realizing' locking the vehicle; when the vehicle leaves the parking space, the vehicle existence unit detects that the vehicle leaves, the microcontroller is awakened, the microcontroller controls the vehicle lock driving unit to complete the lock closing action, and information of the closed state of the parking space lock, battery power and the like is sent to the intelligent parking cloud platform through the NB-IOT, so that the 'vehicle walking lock closing' is realized.
The NB-IoT wireless communication module is connected with the microcontroller to complete transmission of the level control signal, and the microcontroller is in a dormant state at ordinary times and can be awakened by a Bluetooth handshake connection signal in the wireless communication unit, an event trigger or a timing trigger signal sent by a vehicle existence detection unit, an anti-collision detection unit and the like; after awakening, the microcontroller reports running state information and battery power of the parking spot lock, information of whether a vehicle exists or not detected by the vehicle existence detection unit, information of collision and the like to the cloud platform through the NB-IoT wireless communication module; and unlocking and locking control instructions and state query instructions issued by the cloud platform are forwarded to the microcontroller through the NB-IoT wireless communication module, so that bidirectional communication between the parking spot lock and the cloud platform is realized.
The parking space lock driving unit is used for driving the parking space lock to be locked, and the parking space lock driving unit is used for driving the parking space lock to be locked.
The vehicle presence detection unit includes a light-sensitive resistor mounted within a waterproof filter cartridge; the waterproof filter cylinder is arranged in the mounting bracket; the mounting bracket is fixed on a bracket of the parking lock, two wires led out by the photosensitive sensor are connected in series with a fixed resistance resistor on the parking lock controller, the connecting point of the two resistors is connected with an analog-to-digital conversion interface of the microcontroller, and the microcontroller samples the voltage change value of the connecting point through the analog-to-digital conversion interface to realize the detection of the existence or nonexistence of the vehicle; the vehicle presence detection unit includes a photosensor.
The vehicle existence detection unit can also use the ultrasonic sensor fixed on the parking lock as the detection of the existence or nonexistence of the vehicle, the ultrasonic sensor is not a low-power consumption device, and is not suitable for the parking lock with high requirement on low power consumption by battery power supply, and the method for using the ultrasonic sensor as the detection of the existence or nonexistence of the vehicle with low power consumption provided by the invention comprises the following steps:
1, normally, an ultrasonic sensor unit circuit is in a closed state, electric energy is not consumed, and when a parking spot lock receives an unlocking instruction to complete unlocking, the ultrasonic sensor unit circuit is started to detect whether a vehicle exists or not;
2, after the parking spot lock is unlocked, if no vehicle stops in the set T1 time, the ultrasonic sensor detects that no vehicle exists and the microcontroller connected with the ultrasonic sensor controls the vehicle lock driving unit to automatically close the lock;
3, after the parking spot lock is unlocked, if a vehicle stops in a set T1 room, the ultrasonic sensor detects the presence of the vehicle, the microcontroller closes the ultrasonic unit circuit, then enters a low-power-consumption standby mode, and starts a timing awakening function;
4, when the timing time T2 set by the microcontroller is up, the ultrasonic sensor unit circuit is started to detect whether the vehicle is in the parking space lock, if the vehicle is detected to be still stopped above the parking space lock, the microcontroller closes the ultrasonic sensor unit circuit and continues to enter a low-power-consumption standby mode, and if the vehicle is detected to be already separated above the parking space lock, the microcontroller controls the vehicle lock driving unit to automatically complete locking;
the NB-IoT wireless communication module is usually in an idle mode under low power consumption, and in the idle mode, the NB-IoT wireless communication module receives paging information of an NB-IoT base station of a network operator and closes a transmitting function; when the cloud platform issues an unlocking or locking instruction at any time, the unlocking or locking instruction is forwarded by the network operator NB-IoT base station and then received by the NB-IoT wireless communication module, the NB-IoT wireless communication module exits the low-power-consumption idle mode to enter the working mode after receiving the instruction information of the cloud platform, and simultaneously, a jump level signal is output to the microcontroller through the IO pin, and the microcontroller enters the working mode from the low-power-consumption sleep mode.
The anti-collision detection unit comprises a micro-motion sensor; the micro sensor is connected with an I/O port of the microcontroller, the microcontroller reads the level detected by the micro sensor through the I/O port to obtain the state information of the vehicle, starts a sound sheet to alarm, and reports the alarm state information to the cloud platform through the wireless communication unit.
The intelligent parking spot lock control implementation process comprises the following steps: the Bluetooth wireless communication module in the intelligent parking spot lock wireless communication unit and the wireless Bluetooth positioning base station deployed near a parking spot broadcast and transmit own ID; after a driver holds the mobile terminal to drive a vehicle to a parking lot, the mobile terminal receives wireless broadcast ID signals sent by the wireless communication unit and the wireless Bluetooth positioning base station arranged near the parking space, determines the position of the mobile terminal of the user and the target position of the parking space, realizes positioning and navigation, when a driver reaches the position near a target parking space, the mobile terminal is automatically in communication connection with the Bluetooth wireless communication module on the target parking space, the Bluetooth wireless communication module is connected with the mobile terminal to generate a variable IO level signal required for waking up a microcontroller in a sleep state, the microcontroller is awakened by the IO level change signal to exit the sleep state and enter a working state, the mobile terminal automatically sends an unlocking instruction to the Bluetooth wireless communication module, the Bluetooth wireless communication module forwards the received data to the microcontroller, and the microcontroller controls the vehicle lock driving unit to automatically complete unlocking; the parking space lock control system comprises a parking space lock driving unit, a vehicle existence detecting unit, a microcontroller and a parking space lock control unit, wherein the vehicle existence detecting unit detects whether a parked vehicle exists above the parking space lock, and when the parked vehicle leaves, the microcontroller controls the parking space lock driving unit to automatically close the parking space lock; an NB-IoT wireless communication module in the wireless communication unit is connected with the microcontroller to complete communication and transmission of level control signals; the microcontroller reports the running state information and the battery power of the parking spot lock and the vehicle existence and non-vehicle information detected by the vehicle existence detection unit to the cloud platform after passing through an NB-IoT wireless communication module; unlocking and locking control instructions and state query instructions issued by the cloud platform are forwarded to the microcontroller through the NB-IoT wireless communication module, so that bidirectional communication between the parking spot lock and the cloud platform is realized; usually, a driver can directly drive the vehicle to leave the parking space without using the mobile terminal when driving the vehicle to leave the parking space, so that the mobile terminal can not be connected with the wireless Bluetooth module in the intelligent parking space lock, and after the intelligent parking space lock detects that the vehicle leaves the parking space and automatically closes the parking space lock through the vehicle existence detection unit, the information of parking space state updating is reported to the cloud platform through the NB-IoT wireless communication module, so that the synchronous management of the cloud platform on the parking space is realized.
The method for solving the problem that the wrong detection in the prior art causes the parking spot lock to be not automatically locked, and the lock is closed or the lock is automatically closed and the wrong operation of locking is not performed by the vehicle existence detection unit comprises the following steps:
when the vehicle existence detection unit judges that the vehicle is in a vehicle-free state, the microcontroller is awakened;
the microcontroller drives the mechanical transmission mechanism to execute locking action through the parking lock driving unit, detects working current of the driving unit, and judges that a vehicle is arranged above the parking lock and the detection unit of the vehicle has detection errors when sudden change current information is detected and the sensor judges that the locking is not in place;
the microcontroller controls the parking spot lock to move in the opposite direction through the vehicle lock driving unit, so that the parking spot lock is converted into a normal unlocking state, and meanwhile, the microcontroller corrects the vehicle existence detection unit to correct the vehicle existence detection unit to a correct vehicle state, so that the vehicle existence detection unit is recovered to be normal.
The low-power-consumption Bluetooth wireless communication module is composed of a BLE Soc (Bluetooth Low energy System on chip) low-power-consumption Bluetooth System-on-chip and a peripheral circuit, the low-power-consumption Bluetooth System-on-chip is a micro-control System composed of a plurality of micro-controllers, so that the functions of the micro-controllers can be directly replaced, the System-on-chip provides indoor positioning and navigation functions for a parking lot through periodic broadcasting of parking lock IDs, and the bidirectional communication function is realized through wireless connection with a mobile terminal; the parking spot lock anti-collision and anti-damage detection is realized by connecting the input port and the anti-collision and anti-damage detection unit, the battery electric quantity monitoring is realized by connecting the ADC analog-to-digital conversion interface and the electric quantity monitoring unit, the vehicle element detection is realized by connecting the ADC analog-to-digital conversion interface or the common IO input port and the vehicle existence detection unit, the opening and closing control is realized by connecting the output port and the parking spot lock driving unit, the output port and the sound unit are connected, the sound unit is controlled to give out sound prompts when the system-on-chip BLE Soc and the mobile terminal complete wireless connection or complete unlocking, closing and the like, and the two-way communication is realized by connecting the serial port and the NB.
Compared with the prior art, the invention has the beneficial effects that:
the intelligent parking lock control system is based on the Internet of things, and realizes parking space sharing, parking space fine management, parking space reservation, indoor positioning and navigation and automatic unlocking and locking by combining a cloud platform; the invention simultaneously reduces the charging frequency of the battery or reduces the replacement times, prolongs the service life of the battery, conveniently and effectively supervises the electric quantity of the parking lock, and simultaneously provides a low-power-consumption parking lock control system for positioning and navigating a driver;
the parking space lock and the vehicle locking method solve the problem that in the prior art, due to the fact that the vehicle is detected by the detection unit in error, the parking space lock cannot be automatically locked, and the parking space lock or the vehicle is damaged due to locking operation.
The invention combines a high-reliability vehicle existence detection scheme combining a photosensitive sensor, an ultrasonic sensor and parking space lock test lock current detection, and avoids abnormal damage of the vehicle and the parking space lock caused by false operation of the sensor in a complex environment. Only if a high-reliability vehicle has a detection scheme, intelligent shared parking can be possible;
the Bluetooth and NB-IoT are combined to form a communication unit to carry out interactive communication with the cloud platform, the Bluetooth and NB-IoT are divided, the vehicle is locked and unlocked through the Bluetooth, the dependence of interaction between the mobile terminal and the platform on mobile signals is reduced, frequent interaction between the NB-IOT and the platform caused by frequent unlocking operation is avoided, and the power consumption of the lock is greatly reduced; when the vehicle leaves the parking space, the driver generally does not open the APP, the vehicle detection unit detects that the vehicle leaves and the lock is successfully closed due to triggering of the event or other events are triggered, and then information such as vehicle lock state information and battery power and the like is sent to the cloud platform through the NB-IOT, so that the technical guarantee is provided for accurate and effective operation of the parking space sharing cloud platform, and high-reliability and energy-saving control and effective management of the parking space are realized;
and fifthly, the BLE Soc Bluetooth low-power consumption system on chip is used for realizing communication with the mobile terminal, and the microprocessor in the module is used for controlling the whole parking lock, so that the cost of the parking lock control system is greatly reduced.
Drawings
FIG. 1 is a schematic block diagram of an intelligent parking space lock control system according to the present invention.
Fig. 2 is a schematic diagram of a circuit implementation of a bluetooth module and a microcontroller of a wireless communication unit in an embodiment of an intelligent parking lock control system.
Fig. 3 is a schematic diagram of a circuit implementation of the connection between an NB-IoT module of the wireless communication unit and the microcontroller in the embodiment of the intelligent parking lock control system.
FIG. 4 is an assembly view of a light-sensitive sensor configuration according to an embodiment of the intelligent parking lock control system.
Fig. 5 is a schematic diagram of a circuit implementation of a connection between a light-sensitive sensor and a microcontroller of a first vehicle presence detection unit in an embodiment of an intelligent parking lock control system.
Fig. 6 is a schematic diagram of a circuit implementation of a connection between a light-sensitive sensor and a microcontroller of a second vehicle presence detection unit in an embodiment of the intelligent parking lock control system.
Fig. 7 is a schematic diagram of an implementation of a photoelectric sensor of a vehicle presence detection unit in an embodiment of an intelligent parking lock control system.
Fig. 8 is a schematic diagram of an implementation of the first low-power-consumption power supply unit in the embodiment of the intelligent parking lock control system.
Fig. 9 is a schematic diagram of an implementation of the second low-power consumption power supply unit in the embodiment of the intelligent parking lock control system.
Fig. 10 is a schematic diagram of an implementation of the first parking lock driving unit in the embodiment of the intelligent parking lock control system.
Fig. 11 is a schematic diagram of an implementation of the second parking lock driving unit in the embodiment of the intelligent parking lock control system.
Figure 12 is a functional block diagram of a system on a chip using BLE Soc bluetooth low energy for an intelligent parking lock control system according to the present invention.
FIG. 13 is a schematic diagram of an ultrasonic sensor of a vehicle presence detection unit in an embodiment of an intelligent parking lock control system.
Detailed Description
The invention is further described below with reference to the accompanying drawings: the intelligent parking spot lock is provided with the intelligent parking spot lock, the cloud platform and the mobile terminal.
The cloud platform is used for storing user personal information, parking space lock coding information, position information, installation type information, binding information, parking space sharing information, parking space reservation order information, vehicle information, parking space information of a parking lot, cost information, parking space lock fault early warning, electric quantity early warning information and the like, and the cloud platform processes various operation requests sent by a user through the mobile terminal in real time and returns instant information; the parking space lock system acquires the self state sent by the parking space lock, can remotely issue a control instruction to the parking space lock, and performs data bidirectional communication with the user terminal and the parking lot management system. The cloud platform further comprises a map engine and a positioning/navigation engine, the parking lot map data are stored in the cloud platform after being drawn, the cloud platform calculates the relative positions of the mobile terminal and the parking space lock in real time and sends the relative positions to a garage map interface displayed in the mobile terminal, and a user can conduct parking space navigation through the mobile terminal in real time in the process of driving to an appointed parking space or reversely finding a vehicle.
The user mobile terminal can be a mobile phone, an IPAD (internet protocol ad), a computer and the like, generally the mobile phone, and a car owner can log in an account number through the mobile terminal, bind a parking spot lock, manage the parking spot lock and share the parking spot; the user can check map information, parking space information and charging information of a destination parking lot through the mobile terminal, can make an appointment for a parking space, navigate after the appointment, conduct indoor navigation or reverse vehicle finding in real time after entering the parking lot, automatically connect with the parking space lock through the module after arriving near the parking space and conduct two-way communication, and conduct online payment through the mobile terminal when parking is finished.
The invention is further explained with reference to fig. 1, where fig. 1 is a schematic block diagram of an intelligent parking space lock control system according to the invention:
parking stall lock control system includes: the parking lock system comprises a microcontroller, a power supply unit, an electric quantity monitoring unit, an anti-collision and anti-damage detection unit, a sound unit, a parking lock driving unit, a mechanical transmission mechanism, a wireless communication unit and a vehicle existence detection unit;
the wireless communication unit comprises but is not limited to a low-power wireless Bluetooth communication module and a cellular network-based narrowband Internet of things (NB-IoT) (narrow Band Internet of things) communication module; the microcontroller is connected with the power supply unit, the electric quantity monitoring unit, the anti-collision and anti-damage detection unit, the sound unit, the parking lock driving unit, the wireless communication unit and the vehicle existence detection unit; a wireless Bluetooth communication module in the wireless communication unit is communicated with the mobile terminal and realizes distance induction type automatic unlocking; the mobile terminal is communicated with the parking spot lock cloud platform; an NB-IoT communication module in the wireless communication unit is connected with and communicates with the parking spot lock cloud platform, so that event-triggered reporting of information such as parking spot state change and issuing of a parking spot lock cloud platform remote control instruction are realized; the power supply management unit provides rated direct current working voltage for the microcontroller, the parking space lock driving unit, the anti-collision and anti-damage detection unit, the sound unit, the wireless communication unit and the vehicle existence detection unit and is connected with the electric quantity monitoring unit; the parking spot lock driving unit controls the parking spot lock to complete the locking and unlocking actions through the mechanical transmission mechanism.
The microcontroller is a central control for processing various signals and controls the whole system to work in coordination; the sound unit is connected with the microcontroller, and the parking stall lock is opened or is closed and is sent out suggestion sound, and the parking stall lock sends out the long-ringing warning when detecting abnormal state.
The wireless communication unit is embedded with a low-power-consumption Bluetooth wireless communication module which is connected with a microcontroller of the intelligent parking spot lock in a serial port communication mode and completes data communication, and is connected with an I/O port of the microcontroller through the I/O port to complete mutual control of signals, and the low-power-consumption Bluetooth wireless communication module broadcasts and transmits the ID of the low-power-consumption Bluetooth wireless communication module; the user holds the mobile terminal to reserve a parking space, when a driven vehicle reaches a target parking lot, the mobile terminal receives a Bluetooth wireless broadcast ID signal sent by a parking space lock wireless communication unit nearby the vehicle, confirms the position of the mobile terminal and the position of a reserved parking space target to realize positioning and navigation, when the user reaches the position nearby the target parking space, the mobile terminal is automatically in communication connection with a Bluetooth wireless communication module on the target parking space, the Bluetooth wireless communication module is connected with the mobile terminal to generate a variable IO level signal which can wake up a microcontroller in a sleep state, the microcontroller is awakened by the IO level change signal to exit the sleep state to enter a working state and keep communication with the mobile terminal, the mobile terminal automatically sends an unlocking instruction to the Bluetooth wireless communication module, the Bluetooth wireless communication module forwards the received data to the microcontroller, and the microcontroller controls the vehicle lock driving unit to automatically unlock, thus realizing 'locking and unlocking the vehicle'.
The parking stall lock control system comprises a parking stall lock, a wireless communication unit, a parking stall lock driving unit, a microcontroller, a mobile terminal and a mobile terminal, wherein a low-power-consumption Bluetooth wireless communication module embedded in the wireless communication unit is connected with an I/O port of the microcontroller through the I/O port to complete mutual signal control;
fig. 2 is a schematic diagram of a circuit implementation of a bluetooth module and a microcontroller of a wireless communication unit according to the present invention, and is further described with reference to fig. 2:
u2 is a low-power-consumption Bluetooth module with the model number of HY-40R201, and is connected with a serial port 3 of a microcontroller through network numbers of BL _ TXD3 and BL _ RXD3, and the microcontroller completes data communication with a Bluetooth module U2 through the serial port 3; in the idle mode, the Bluetooth module broadcasts an ID signal to provide a signal base station for indoor positioning navigation, and when the mobile terminal is actively connected with the Bluetooth module, the microcontroller completes data communication with the mobile terminal through the Bluetooth module; meanwhile, when the mobile terminal is connected with the bluetooth module, the pin 6 of the U2 generates a level change signal from low to high, the signal is connected with the IO pin of the microcontroller through the network labeled as BL _ PWRC, and the microcontroller is woken up by the IO level change signal and then exits from the sleep state to enter the working state.
In this embodiment, another embodiment is that the Bluetooth Low Energy module U2 itself is a Bluetooth Low Energy System on chip CC2640R2F composed of a BLE Soc (Bluetooth Low Energy System on chip) and a peripheral circuit, and since the Bluetooth Low Energy System on chip CC2640R2F itself is a microcontroller, the function of the microcontroller of the present invention can be directly replaced. Fig. 12 is a schematic block diagram of a system on chip using BLE Soc bluetooth for an intelligent parking lock control system according to the present invention, and the present invention is further described with reference to fig. 1 below:
the BLE Soc on the chip broadcasts the parking stall lock ID through the Bluetooth communication function to complete positioning and navigation in the parking lot, and realizes the bidirectional communication function through wireless connection with the mobile terminal; the parking spot lock anti-collision and anti-damage detection is realized by connecting the input port and the anti-collision and anti-damage detection unit, the battery electric quantity monitoring is realized by connecting the ADC analog-to-digital conversion interface and the electric quantity monitoring unit, the vehicle element detection is realized by connecting the ADC analog-to-digital conversion interface or the common IO input port and the vehicle existence detection unit, the opening and closing control is realized by connecting the output port and the parking spot lock driving unit, the connection is realized by the output port and the sound unit, the sound unit is controlled to send a sound prompt when the BLE Soc system on chip and the mobile terminal complete the wireless connection or complete the unlocking, the closing and the like, and the two-way communication is realized by connecting the serial.
The wireless communication unit is internally provided with an NB-IoT wireless communication module, the NB-IoT wireless communication module is connected with the microcontroller through a serial port to complete data communication, and is connected with an IO pin of the microcontroller through the IO pin to complete transmission of a level control signal; the microcontroller reports the running state information and the battery power of the parking spot lock, the presence or absence of the vehicle detected by the vehicle presence detection unit and other information to the cloud platform after passing through an NB-IoT wireless communication module in an event triggering or timing reporting mode; and similarly, control instructions such as unlocking and locking and other state query instructions issued by the cloud platform are forwarded to the microcontroller through the NB-IoT wireless communication module, so that bidirectional communication between the parking spot lock and the cloud platform is realized.
Furthermore, the NB-IoT wireless communication module is usually in an idle mode under low power consumption, and in the idle mode, the paging information of an NB-IoT base station of a network operator can be received, but the transmitting function of the module is closed; when the cloud platform issues an unlocking or locking instruction at any time, the instruction is forwarded by the network operator NB-IoT base station and then received by the NB-IoT wireless communication module, the NB-IoT wireless communication module exits the low-power-consumption idle mode after receiving the instruction information of the cloud platform and enters a working mode, meanwhile, a jumping level signal is output through an IO pin and is given to an IO pin of a microcontroller connected with the NB-IoT wireless communication module, the microcontroller also performs the working mode from the low-power-consumption sleep mode, and the problem that a control system needs low power consumption and the instruction issued by the cloud platform needs to be responded in time and is contradictory is solved well.
In the embodiment, a low-power-consumption Bluetooth wireless communication module embedded in a wireless communication unit continuously broadcasts and transmits own ID, when a vehicle legally obtaining the use authority reaches the vicinity of a parking space lock, a mobile terminal held by a user automatically connects with the low-power-consumption Bluetooth wireless communication module and performs wireless communication after scanning an ID signal broadcasted and transmitted by the low-power-consumption Bluetooth wireless communication module in a target parking space lock, and high application scenes with real-time response requirements, such as automatic unlocking immediately after the vehicle reaches the vicinity of the parking space under the low-power-consumption working condition, are met; after the automatic unlocking is completed, a user holds the mobile terminal to leave the place nearby after stopping the vehicle, the Bluetooth module in the wireless communication unit is disconnected with the mobile terminal of the user, the parking lock control system enters a standby state with low power consumption, and the parking lock is under a chassis of the vehicle and is in an unlocking state; generally, when a user drives a vehicle to leave after returning to the vehicle, the user does not use the mobile terminal, but drives the vehicle to directly leave, and after the vehicle existence detection unit detects that the vehicle leaves, the vehicle existence detection unit automatically completes locking to realize 'vehicle walking locking', and sends the state information of no vehicle in a parking space to the cloud platform through the NB-IoT wireless communication module in the wireless communication unit to realize synchronous updating of parking cloud platform information.
Fig. 3 is a schematic diagram of a circuit implementation of the connection between an NB-IoT module and a microcontroller of a wireless communication unit according to the present invention, which is further described with reference to fig. 3:
an NB-lot module U1 with the model of BC-95 is connected with a serial port 3 of a microcontroller U6 through 2 pins, namely NB _ TXD3 and NB _ RXD3, the microcontroller controls the module and realizes data communication with a cloud platform in a mode of sending an AT instruction to the NB-lot module U1 through the serial port 3, and the wireless communication functional requirement of the intelligent parking lock is met; the U1 is normally in an idle mode under low power consumption, the idle mode under low power consumption enters a working mode after receiving instruction information of the cloud platform, a low pulse signal is output from a pin of the network NB _ RI to the microcontroller U6 connected with the pin, and the U6 under the low power consumption dormant state enters a normal working state after being awakened due to the change of the state of the IO port, receives data sent by the cloud platform and executes related instructions to complete corresponding actions.
The vehicle presence detection unit comprises a photosensitive sensor or a geomagnetic module, an ultrasonic sensor and the like, and the photosensitive sensor is preferably used, so that the material cost of a product is effectively reduced;
fig. 4 is a structural assembly diagram of a photosensitive sensor of a wireless communication unit according to the present invention, and is further described with reference to fig. 4:
in this embodiment, the photosensitive sensor is composed of a photosensitive resistor 3, a waterproof filter cylinder 2, a lens 1, and a mounting bracket 4. The photoresistor 3 is a photosensitive device and is used for sensing the change of ambient luminosity, the resistance value of the photoresistor 3 reversely changes along with the change when the ambient luminosity changes, and the photoresistor 3 is arranged in the waterproof filter cylinder 2; the front end of the waterproof filter cylinder 2 is provided with a filter lens which can filter stray light and reduce interference, and the waterproof filter cylinder 2 can prevent water drops from immersing on the photoresistor 3 and has a waterproof function; the lens 1 has a light-gathering effect and can improve the sensitivity of the photosensitive sensor under the condition of weak ambient light; the mounting bracket 4 is an integral bracket of the whole photosensitive sensor assembly, the lens 1 is mounted at the foremost end of the mounting bracket 4, the photosensitive resistor 3 is mounted in the waterproof filter cylinder 2 and then mounted in the mounting bracket 4, then two pin wires of the photosensitive resistor are led out from the tail part of the mounting bracket to form a complete photosensitive sensor assembly, and the photosensitive sensor assembly is mounted on a bracket of a parking lock.
Fig. 5 is a schematic diagram of a circuit implementation of the connection between the first photosensitive sensor and the microcontroller of the vehicle presence detection unit according to the present invention, and is further described with reference to fig. 5:
r2 is a photosensitive resistor in the photosensitive sensor, one end of the photosensitive resistor is connected with a power supply VDD, the other end of the photosensitive resistor is connected with a resistor R5 with a fixed resistance value in series, the photosensitive resistor R2 is connected with the resistor R5 with the fixed resistance value in series to form voltage division for the power supply, a capacitor C2 is connected with a resistor R5 in parallel, and a capacitor C2 plays a role in filtering; the middle joint of the two series resistors is connected with an ADC (analog-to-digital converter) interface ADC1 of the microcontroller, the middle node voltage ADC1 of the two series resistors reflects the luminosity of the surrounding environment of the parking space lock in real time, when a driver drives a vehicle and stops above the parking space lock, the luminosity of the surrounding environment of the parking space lock becomes darker than that before the vehicle is driven, the resistance value of the photosensitive resistor R2 becomes larger due to the shading effect of the vehicle, and the microcontroller samples the change of the photosensitive resistor through the ADC1 interface to determine that the vehicle is stopped above the parking space lock; similarly, when the driver drives the vehicle to leave, the ambient light intensity of the parking space lock is changed from dark to strong, the micro controller samples the reduction of the photosensitive resistor through the ADC1 interface to determine that the vehicle above the parking space lock leaves, and then the driving unit is controlled to automatically complete locking.
Fig. 6 is a schematic diagram of a circuit implementation of the connection between the second photosensitive sensor and the microcontroller of the vehicle presence detection unit according to the present invention, and is further described with reference to fig. 6:
r1 is a photosensitive resistor in the photosensitive sensor, under the condition of dark light, the resistance value of R1 becomes larger, at the moment, a port PA1 connected with the micro-controller outputs low level, so that the triode Q1 is cut off, a resistor R3 connected with the collector of the triode Q1 has no current loop and is in a disconnected state, only a resistor R4 with the same larger resistance value and the photosensitive resistor R1 are connected in series for voltage division, the divided voltage is transmitted to an ADC1 port of the micro-controller for AD sampling, and the controller determines the driving of the vehicle by judging the change of the sampled data so as to automatically close the lock; under the condition of relatively strong light, the resistance value of R1 becomes relatively small, at the moment, a port PA1 connected with the microcontroller outputs a high level, the high level is added to the base electrode of a triode Q1 through a resistor R6 and enables the triode Q1 to be in saturated conduction, a resistor R3 with the same small value connected with the collector electrode of a triode Q1 is connected with a resistor R4 in parallel after passing through the collector electrode and the emitter electrode of the triode Q1 and then is connected with a photoresistor R1 in series for voltage division, an ADC1 port of the voltage-fed microcontroller is subjected to AD sampling, and the controller determines the driving distance of the vehicle through judging the change of the sampled data so as to automatically switch off the lock; the connection mode effectively solves the problems that the resistance value of the photoresistor is very large under the condition of very dark light, and the resistance value is very small under the condition of very strong light, for example, the ADC sampling precision of the microcontroller is not enough due to the fact that only one fixed resistor and the voltage division of the fixed resistor are used.
The other mode of the vehicle existence detection unit is that a geomagnetic module is adopted to detect whether the vehicle exists or not, a weak magnetic sensor chip on the geomagnetic module can sense the disturbance of components of the vehicle such as an iron wheel hub, an engine, a transmission shaft, a vehicle driver and the like to a geomagnetic field so as to judge the in-and-out change of the vehicle in the parking space, then the detection result is output to a microcontroller connected with the detection result, and after the microcontroller reads a signal that the vehicle leaves, the parking space lock driving unit is controlled to automatically complete locking.
When a single low-power consumption geomagnetic module is applied to a parking lock to monitor a vehicle at present, accurate detection in hundreds of percent is difficult to achieve due to the influence of other vehicles beside the parking lock and different parking environments, and the parking lock is not automatically locked or is not locked due to the fact that the parking lock is not automatically locked due to the fact that the geomagnetic module is wrongly detected, so that the invention also provides a method for improving the detection accuracy of a vehicle detection unit on the vehicle, and the method in the embodiment comprises the following steps:
the parking lock driving unit is internally provided with a current sampling resistor connected with the motor in series, so that the microcontroller can realize the forward rotation, the reverse rotation and the stop of the motor by controlling the parking lock driving unit and can detect the working current of the motor in real time, and a corresponding control mechanism of the parking lock is started according to the detected sudden change current information;
2, when the vehicle is still stopped above the parking space, the geomagnetic module makes the geomagnetic module wrongly judge that the vehicle is in a no-vehicle state due to vehicle passing or other environmental interference, and further wakes up a dormant microcontroller connected with the geomagnetic module, and then the microcontroller controls the parking space lock to automatically close the parking space lock through a parking space lock driving unit;
3, when the parking spot lock performs automatic locking movement, the locking cannot be normally completed due to the fact that the parking spot lock is blocked by a chassis of a vehicle, the current of a motor can be increased when the movement of a parking spot lock driving unit is blocked, and after the microcontroller detects the current information of the sudden change, the fact that a vehicle exists above the parking spot lock is determined, and the geomagnetic module detects errors;
4, the microcontroller controls the parking spot lock to move in the opposite direction through the driving unit, so that the parking spot lock is converted into a normal unlocking state, the risk of scraping the vehicle is avoided, meanwhile, the microcontroller checks the geomagnetic module, the geomagnetic module is checked to be in a correct vehicle-existing state, and the geomagnetic module is recovered to be normal;
similarly, if the geomagnetic module does not correctly detect the departure of the vehicle when the vehicle leaves due to environmental reasons, the solution provided by the invention is to add the photosensitive sensor, the vehicle existence detection unit is composed of the geomagnetic module and the photosensitive sensor together, and the two sensors perform double detection, thereby improving the accuracy and reliability of the vehicle existence detection unit.
In this embodiment, the photoelectric sensor is composed of an infrared emitting diode and a receiving module, and is connected with an IO port of the microcontroller; the output port of the microcontroller controls the infrared emitting diode to emit infrared light waves, if a vehicle is parked on the parking stall lock, the infrared light waves enable the receiving module to receive the reflected light waves due to the reflection action of the vehicle chassis, and then a variable level signal is output from the output end of the receiving module and is sent to the input port of the microcontroller connected with the receiving module; if no vehicle is parked above the parking space lock, the light wave emitted by the red emitting diode cannot be received by the receiving module due to no reflection of the vehicle, and the output end of the receiving module cannot generate a changed level signal to the input port of the microcontroller connected with the receiving module, so that the microcontroller realizes the detection of the existence and nonexistence of the vehicle by judging the signal; the photosensitive sensor is a photosensitive device, senses the change of ambient luminosity, and is influenced by light sources emitted by lamps of other vehicles or other light sources at night, so that the photosensitive sensor is likely to detect that the state of the vehicle is wrong and further a parking space lock arranged below a vehicle chassis is enabled to perform a wrong locking action once, the photoelectric sensor is added to be used as a secondary detection device to improve the accuracy of the parking space lock for detecting whether the vehicle exists or not, the photoelectric sensor is started to perform secondary detection after the photosensitive sensor detects that light rays suddenly have larger variation, whether the vehicle exists or not above the parking space lock is determined in a double mode, and when the parking space lock is normal, the photoelectric sensor is in a closed state, so that the problem that the power consumption is overlarge when only the photoelectric sensor or the ultrasonic sensor is used as the vehicle is solved.
Fig. 7 is a schematic diagram of an implementation of a photoelectric sensor of the vehicle presence detecting unit according to the present invention, and the following description is further provided with reference to fig. 7:
in the embodiment, the D1 is an infrared emitting diode, the D1 is connected in series with an adjustable resistor R7 and a fixed value resistor R8 and then connected with an output port PC0 of the microcontroller, the adjustable resistor R7 plays a role in adjusting the emitting power of the D1 so as to adjust the effective detection distance of the photoelectric sensor, and the R8 is a current-limiting resistor; u1 is 38KHZ infrared receiving module; the microcontroller outputs a modulated signal with 38KHZ carrier waves from an output port PC0, and after the modulated signal is transmitted by an infrared transmitting diode D1, if a vehicle is positioned above the parking lock, a receiving head of an infrared receiving module U1 receives and detects the reflected infrared light wave signal due to the reflection action of a vehicle chassis object, and then the transmitted modulated signal is output from an output pin of the module; if there is no vehicle above the parking lock, the signal emitted by the infrared emitting diode D1 cannot be reflected by the object, and therefore the receiving module U1 cannot receive the signal, so as to implement the detection of no vehicle.
In this embodiment, still provide one kind and use ultrasonic sensor as vehicle existence to detect, ultrasonic sensor is not a low-power consumption device, and itself is not very suitable for battery powered to require very high parking stall ground lock to low-power consumption, and the method that the ultrasonic sensor was used as vehicle to low-power consumption that this embodiment provided is that, and the method that has, does not have the detection as:
1, normally, an ultrasonic sensor unit circuit is in a closed state, electric energy is not consumed, and when a parking spot lock receives an unlocking instruction to complete unlocking, the ultrasonic sensor unit circuit is started to detect whether a vehicle exists or not;
2, after the parking spot lock is unlocked, if no vehicle stops in the set T1 time, the ultrasonic sensor detects that no vehicle exists and the microcontroller connected with the ultrasonic sensor controls the vehicle lock driving unit to automatically close the lock;
3, after the parking spot lock is unlocked, if a vehicle stops in a set T1 room, the ultrasonic sensor detects the presence of the vehicle, the microcontroller closes the ultrasonic unit circuit, then enters a low-power-consumption standby mode, and starts a timing awakening function;
4, when the timing time T2 set by the microcontroller is up, the ultrasonic sensor unit circuit is started to detect whether the vehicle is in the parking space lock, if the vehicle is detected to be still stopped above the parking space lock, the microcontroller closes the ultrasonic sensor unit circuit and continues to enter a low-power-consumption standby mode, and if the vehicle is detected to be already separated above the parking space lock, the microcontroller controls the vehicle lock driving unit to automatically complete locking;
fig. 13 is a schematic diagram of an embodiment of a vehicle presence detecting unit according to the present invention, which uses an ultrasonic sensor, and is further described with reference to fig. 13:
in this embodiment, the P2 is an integrated ultrasonic transmitting and receiving head, the network labeled CON is connected with the IO port of the microcontroller, the microcontroller outputs a 40KHZ signal from the IO port, the signal is driven by the resistor R4, the switching transistor Q3 and the middle period T1 to transmit the 40KHZ ultrasonic signal from the P2, the transmitted ultrasonic signal is reflected by an object and received by the integrated ultrasonic transmitting and receiving head P2, the received signal is sent to the preamplifier circuit composed of the transistor Q1 and the peripheral components through the electric group R1 and the capacitor C1 for amplification, then is sent to the second-stage frequency-selecting amplifier circuit composed of the double-low-noise operational amplifier U2 and the peripheral resistor-capacitor after being coupled by the C2, the amplified 40KHZ ultrasonic echo signal is sent to the shaping circuit composed of the transistor Q2 through the capacitor C5, then is sent to the microcontroller by the collector of the transistor Q2, and the microcontroller calculates the time difference between the echo signal and the transmitted signal, and calculating the distance between the measured object and the parking space lock, thereby obtaining whether a vehicle exists above the parking space lock. The network marked as POWER _ ON is connected with an IO port of the microcontroller, when the microcontroller needs to detect the existence of the vehicle, the low level is output from the IO port, the MOS tube Q4 is conducted, a stable direct current working POWER supply is provided for the ultrasonic circuit, and the ultrasonic circuit works normally; when the vehicle existence detection is not needed, the microcontroller outputs high level from the IO port, and the MOS tube Q4 cuts off the working power supply of the ultrasonic circuit, so that the electric energy is saved. In this embodiment, the electric quantity monitoring unit send battery voltage to microcontroller's ADC interface after through divider resistance linear step-down and carry out analog/digital conversion, then report the digital information of electric quantity to the cloud platform through wireless communication unit by microcontroller, the cloud platform automatic start under-voltage alarm mechanism, the user also can look up the electric quantity state of parking stall lock at any time.
In this embodiment, the anti-damage detection unit connects a micro sensor (including but not limited to a photoelectric sensor, a micro switch, a G-sensor acceleration sensor) with an I/O port of a microcontroller, when a parking lock is damaged by external force or a vehicle is accidentally bumped, the sensor in the detection unit senses vibration and/or position deviation and then generates level change, the microcontroller reads the level of the change through the IO port to obtain state information, then starts a sound sheet to alarm, and reports the alarm state information to the cloud platform through a wireless communication unit;
in this embodiment, the low power consumption power supply unit is formed by a low power consumption linear regulator and a peripheral circuit, and provides a stable working voltage for the entire system, and the low power consumption linear regulator has an extremely low standby quiescent current when the system is in a sleep state.
Fig. 7 is a schematic diagram of an implementation of a low power consumption power supply unit according to the present invention, and the following description is further provided with reference to fig. 7:
in the figure, U6 is a low power consumption linear regulator IC, BT2 is a battery, C26 and C29 are IC input energy storage and filter capacitors, the battery voltage is fed to the input of U6 after passing through C26 and C29, U6 has low power consumption and extremely low standby quiescent current, and outputs stable voltage from the output, and provides stable working voltage VCC for the whole system after passing through output energy storage and filter capacitors C27 and C28, and the power management unit also provides a physical implementation of low power consumption for the whole control system in standby state;
in this embodiment, another implementation of the low power consumption power supply unit is formed by a DC/DC conversion IC with extremely high power conversion efficiency and peripheral components, and the low power consumption power supply unit has high-efficiency voltage conversion when the system is in an operating state, and provides a required stable operating voltage for the system.
Fig. 8 is a schematic diagram of another low power consumption power supply unit according to the present invention, and the following description is further made with reference to fig. 8:
in the figure, U7 is a DC/DC IC, BT1 is a battery, C22 and C24 are energy storage and filter capacitors at the input end of U7, the battery voltage is fed to the input end of U7 after passing through C22 and C24, the enable end of the IC is connected to the positive end of the battery through a resistor R28, so that U7 normally works under the condition of power, L1 is an energy storage inductor which is matched with an internal oscillating circuit of U7, so that the conversion of the whole DC/DC electric energy is realized, a stable working voltage VCC is provided for the whole system by the feedback of R29 and R30 to the output voltage, and C23 and C25 are energy storage and filter capacitors at the output end of U7. Although the DC/DC standby current is slightly larger than the low-power-consumption linear voltage stabilizer, the parking lock system has extremely high electric energy conversion efficiency, greatly improves the electric energy use efficiency in the working state of the parking lock system, and achieves the effect of prolonging the service life of the battery.
In this embodiment, the parking space lock driving unit is connected to the microcontroller and the driving motor in the mechanical transmission mechanism, and the parking space lock driving unit controls the motor to operate, and is an operation executing mechanism for unlocking and locking the parking space lock.
The parking spot lock driving unit is characterized in that a current sampling resistor connected with the motor in series is arranged in the parking spot lock driving unit, so that the microcontroller can realize forward rotation, reverse rotation and stopping of the motor and can detect the working current of the motor in real time by controlling the parking spot lock driving unit, and an anti-collision protection mechanism of the parking spot lock is started according to the current information detected to be suddenly changed.
The first embodiment is as follows:
fig. 9 is a schematic diagram of an implementation of a parking lock driving unit according to the present invention, and the following description is further provided with reference to fig. 9:
1) the microcontroller outputs high from an UP end and outputs low from a DOWN end, a triode Q1 is in saturated conduction due to the UP, so that a relay K1 is attracted, a common end and a normally open end of K1 are communicated, and a battery voltage positive electrode VBAT is added to a left terminal of a motor B1 through the normally open end and the common end of the relay K1;
2) meanwhile, because the DOWN end is low, the triode Q2 is in a cut-off state, the relay K2 is in a release state, a common contact of the relay K2 is communicated with a normally closed contact, and a right terminal of the motor is connected to a negative pole GND of the battery through the common end, the normally closed end and the resistor R3 of the relay K2 to form a closed-loop current loop;
3) in the loop, the resistor R3 is connected with the motor in series, so that when the motor rotates to drive the lifting device of the parking lock to do unlocking motion, the R3 samples the working current of the motor;
4) if the motor drives the lifting device of the parking spot lock to move, if the lifting device is blocked by external force (such as vehicle collision) in the moving process, the current in the loop is increased to enable the voltage on the sampling resistor R3 to rise, and the voltage on the R3 is sent to the e pole of the triode Q3 through the resistor R9, so the Ve voltage of the triode rises, the Vbe voltage of the triode is reduced, the triode Q3 enters an amplification state from the original saturated conduction state, namely the voltage of the C pole of the collector is increased, and the voltage of the C pole is positively followed by the working current of the motor B1;
5) the collector C pole of the Q3 is connected to the input end of an ADC1 of an ADC module of the microcontroller, and the microcontroller samples the voltage and carries out analog-to-digital conversion through an internal ADC circuit;
6) the microcontroller reads the data after the analog-digital conversion and compares the data with a threshold value, and if the data is larger than the threshold value, the movement of the lifting device is blocked;
7) when the parking lock is blocked, the microcontroller controls the motor to stop rotating or reversely rotate, so that the parking lock or the vehicle is protected;
the second embodiment:
fig. 10 is a schematic diagram of another parking lock driving unit according to the present invention, which will be further described with reference to fig. 10:
1) in the present embodiment, a dedicated motor driving IC U5 is used to replace the driving circuit composed of the transistor and the relay in fig. 7, VCC in the figure provides a rated working voltage for the logic control unit of the IC, and VAA provides a rated working voltage for the motor driving circuit and the motor itself inside the IC.
2) When the control port "UP" of the IC U5 is increased in level and the control port "DOWN" of the IC U5 is increased in level, the OA end of the ICU5 is high, the OB end is low, the battery voltage positive electrode is connected to the upper end of the motor B2, the lower end of the motor B2, the IC OB end is connected to the PGND end from the interior of the IC through the VAA and the control circuit inside the IC, and then is connected to the battery voltage negative end GND through the associated resistors R26 and R27, a closed-loop current loop is formed, the lifting device is driven to complete the unlocking action when the motor rotates forwards, and conversely, the control port "UP" of the IC U5 is increased in level and the control port "DOWN" of the IC U5 is increased in level when the motor rotates backwards, and the locking.
3) In the figure, D4 and D5 play a role in eliminating the excessive back electromotive force generated by the motor coil at the moment of stopping the motor, and C14, C16 and C17 play a role in eliminating the electromagnetic interference generated by the brush of the motor during commutation.
4) As can be seen from the above, R26 and R27 in the circuit are connected in parallel, and then connected in series with the motor B2, and are in the same working loop, so that after the current of the working loop passes through the motor and the parallel resistors R26 and R27, a voltage ADC proportional to the loop current is generated on the parallel resistors R26 and R27, and then the voltage is sent to the input end of the ADC1 of the ADC module of the microcontroller, thereby completing the sampling of the motor current by the microcontroller;
5) the microcontroller samples the voltage and performs analog-to-digital conversion through an internal ADC circuit;
6) the microcontroller reads the data after the analog-digital conversion and compares the data with a threshold value, and if the data is larger than the threshold value, the movement of the lifting device is blocked;
7) when the parking lock is blocked, the microcontroller controls the motor to stop rotating or reversely rotate, so that the parking lock or the vehicle is protected.

Claims (8)

1. An intelligent parking space lock control system comprises a microcontroller, a vehicle existence detection unit, a wireless communication unit and a parking space lock motor driving unit for controlling the opening and closing of a parking space lock; the microcontroller is connected with the wireless communication unit, the vehicle existence detection unit and the parking spot lock motor driving unit; the wireless communication unit is communicated with a mobile terminal; the parking space lock system is characterized in that after Bluetooth communication is established between the mobile terminal and the parking space lock wireless communication module, the wireless communication unit sends a signal required for awakening the sleeping microcontroller, the microcontroller is awakened by the signal to exit from the sleeping state and enter a working state and keep communication with the mobile terminal, the mobile terminal sends an unlocking instruction to the microcontroller through the wireless communication module, and the microcontroller controls the parking space lock driving unit to automatically complete unlocking; the parking space lock driving unit is used for driving the parking space lock to be locked, and the parking space lock driving unit is used for driving the parking space lock to be locked.
2. The intelligent parking lock control system according to claim 1, wherein the wireless communication unit comprises a bluetooth communication module and an NB-IoT communication module, and the microcontroller wakes up to report the operating state information and battery level of the parking lock, and the presence or absence of vehicle information detected by the vehicle presence detection unit to the cloud platform through the NB-IoT in the wireless communication module; and unlocking and locking control instructions issued by the cloud platform are forwarded to the microcontroller through the wireless communication module NB-IoT, so that bidirectional communication between the parking spot lock and the cloud platform is realized.
3. The intelligent parking lot lock control system according to claim 1, wherein the vehicle presence detection unit includes a light sensitive resistor installed in a waterproof filter cartridge; the waterproof light filtering cylinder is installed and fixed on the parking spot lock bracket.
4. The intelligent parking stall lock control system of claim 1, wherein the vehicle presence detection unit comprises an ultrasonic sensor mounted on the parking stall lock; the method for detecting whether the vehicle is detected or not by utilizing the ultrasonic sensor comprises the following steps:
1) the circuit of the ultrasonic sensor unit is normally in a closed state, no electric energy is consumed, and when the parking spot lock receives an unlocking instruction to complete unlocking, the microprocessor starts the circuit of the ultrasonic sensor unit to detect whether a vehicle exists or not;
2) after the parking spot lock is unlocked, if no vehicle stops in the set T1 time, the ultrasonic sensor detects that no vehicle exists, and the microcontroller connected with the ultrasonic sensor controls the vehicle lock driving unit to automatically close the lock;
3) after the parking spot lock is unlocked, if a vehicle stops in a set T1 room, the ultrasonic sensor detects the presence of the vehicle, the microcontroller closes the ultrasonic unit circuit, then enters a low-power-consumption standby mode, and starts a timing awakening function;
4) and after the T2 awakening timing set by the microcontroller is reached, starting the ultrasonic sensor unit circuit to detect whether the vehicle is detected, if the vehicle is detected to be stopped above the parking space lock, closing the ultrasonic sensor unit circuit by the microcontroller, continuing to enter a low-power-consumption standby mode to wait for the arrival of the next T2 awakening timing, and circulating until the vehicle is detected to leave the upper part of the parking space lock, and controlling the vehicle lock driving unit to automatically close the lock by the microcontroller.
5. The method according to any one of claims 1 to 4, wherein the method for detecting and processing the vehicle presence detection unit and correcting the misjudgment comprises the following steps:
1) when the vehicle existence detection unit judges that the vehicle is in a vehicle-free state, the microcontroller is awakened;
2) the microcontroller drives the mechanical transmission mechanism to execute locking action through the parking lock driving unit and simultaneously detects working current of the driving unit, when sudden change current information is detected and the sensor judges that the locking is not in place, the fact that a vehicle is arranged above the parking lock is judged, the vehicle presence detection unit detects errors, the microcontroller immediately controls the parking lock to move in the opposite direction through the parking lock driving unit, the parking lock is converted into a normal unlocking state, meanwhile, the microcontroller checks the vehicle presence detection unit, checks the vehicle presence detection unit to a correct vehicle presence state, and enables the vehicle presence detection unit to recover to be normal.
6. The intelligent parking space lock control system according to claim 2, wherein when the unlocking or locking instruction is not received, the NB-IoT wireless communication module is in an idle mode with low power consumption, and the transmission function is turned off; when the cloud platform issues an unlocking or locking instruction, the NB-IoT wireless communication module exits the low-power-consumption idle mode and enters a working mode after receiving instruction information of the cloud platform, and simultaneously outputs a jump level signal to the microcontroller through the IO pin, and the microcontroller enters the working mode from the low-power-consumption sleep mode.
7. An intelligent parking stall lock control system comprises a wireless communication unit and a mobile terminal; the parking space lock system is characterized in that a Bluetooth module in the wireless communication unit adopts a BLE Soc Bluetooth module on-chip system, a parking space lock ID is periodically broadcasted, when a mobile terminal reaches the vicinity of a parking space lock of a preset parking space, the mobile terminal communicates with the BLE Soc Bluetooth wireless communication module, the mobile terminal sends an unlocking instruction to the BLE Soc Bluetooth module on-chip system, and the Bluetooth module on-chip system controls the vehicle lock driving unit to automatically complete unlocking; the vehicle existence detection unit detects whether a parked vehicle exists above the parking stall lock, and when the parked vehicle leaves, the BLE Soc Bluetooth low-power-consumption module system-on-chip controls the parking stall lock driving unit to automatically close the parking stall lock.
8. The intelligent parking space lock control system according to claim 7, wherein the BLE Soc Bluetooth low energy module system on chip is connected with the anti-collision and anti-damage detection unit through the input port to realize the anti-collision and anti-damage detection of the parking space lock, is connected with the electric quantity monitoring unit through the ADC analog-to-digital conversion interface, is connected with the vehicle existence detection unit through the common IO input port to realize the detection of the vehicle existence, is connected with the parking space lock driving unit through the output port to realize the control of opening and closing the lock, is connected with the sound unit through the output port to control the sound unit to send a sound prompt when the BLE Soc of the system on chip and the mobile terminal complete the wireless connection or complete the unlocking and closing actions, and is connected with the NB-IoT wireless communication module through the serial port to realize the two-way communication.
CN201911059930.3A 2019-11-01 2019-11-01 Intelligent parking spot lock control system Pending CN110924330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911059930.3A CN110924330A (en) 2019-11-01 2019-11-01 Intelligent parking spot lock control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911059930.3A CN110924330A (en) 2019-11-01 2019-11-01 Intelligent parking spot lock control system

Publications (1)

Publication Number Publication Date
CN110924330A true CN110924330A (en) 2020-03-27

Family

ID=69850042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911059930.3A Pending CN110924330A (en) 2019-11-01 2019-11-01 Intelligent parking spot lock control system

Country Status (1)

Country Link
CN (1) CN110924330A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184963A (en) * 2020-09-29 2021-01-05 四川长虹电器股份有限公司 Bluetooth-based parking stall lock device and method
CN112863011A (en) * 2020-12-31 2021-05-28 金茂智慧科技(广州)有限公司 Processing method, device, medium and terminal equipment for preventing parking space occupation
CN113140133A (en) * 2021-04-22 2021-07-20 开迈斯新能源科技有限公司 Detection method and device for ultrasonic radar ground lock
CN114396188A (en) * 2022-02-22 2022-04-26 国网安徽电动汽车服务有限公司 Method for preventing parking spot lock from being lifted by mistake due to abnormal ultrasonic probe
CN114934467A (en) * 2022-07-08 2022-08-23 江苏永达电力金具有限公司 Parking space barrier gate control method, parking space barrier gate system and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819226A (en) * 2012-09-05 2012-12-12 上海沛宇信息科技有限公司 Intelligent stall lock and control method thereof
CN103132763A (en) * 2013-02-17 2013-06-05 北京天一众合科技股份有限公司 Intelligent parking spot lock based on radio frequency identification (RFID)
US20170080897A1 (en) * 2015-09-18 2017-03-23 Robert Bosch Gmbh Securing a motor vehicle
CN206438436U (en) * 2016-08-25 2017-08-25 上海新飞凡电子商务有限公司 Novel intelligent berth lock
CN207752328U (en) * 2017-11-16 2018-08-21 湖南深拓智能设备股份有限公司 Intelligent car position lock control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819226A (en) * 2012-09-05 2012-12-12 上海沛宇信息科技有限公司 Intelligent stall lock and control method thereof
CN103132763A (en) * 2013-02-17 2013-06-05 北京天一众合科技股份有限公司 Intelligent parking spot lock based on radio frequency identification (RFID)
US20170080897A1 (en) * 2015-09-18 2017-03-23 Robert Bosch Gmbh Securing a motor vehicle
CN206438436U (en) * 2016-08-25 2017-08-25 上海新飞凡电子商务有限公司 Novel intelligent berth lock
CN207752328U (en) * 2017-11-16 2018-08-21 湖南深拓智能设备股份有限公司 Intelligent car position lock control system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184963A (en) * 2020-09-29 2021-01-05 四川长虹电器股份有限公司 Bluetooth-based parking stall lock device and method
CN112863011A (en) * 2020-12-31 2021-05-28 金茂智慧科技(广州)有限公司 Processing method, device, medium and terminal equipment for preventing parking space occupation
CN113140133A (en) * 2021-04-22 2021-07-20 开迈斯新能源科技有限公司 Detection method and device for ultrasonic radar ground lock
CN114396188A (en) * 2022-02-22 2022-04-26 国网安徽电动汽车服务有限公司 Method for preventing parking spot lock from being lifted by mistake due to abnormal ultrasonic probe
CN114934467A (en) * 2022-07-08 2022-08-23 江苏永达电力金具有限公司 Parking space barrier gate control method, parking space barrier gate system and medium

Similar Documents

Publication Publication Date Title
CN110924330A (en) Intelligent parking spot lock control system
CN108230730B (en) Parking management system and parking space management method
EP2846311B1 (en) System for causing garage door opener to open garage door and method
CN202584513U (en) Semi-automatic type multifunctional tracing car
CN202996048U (en) Infrared reflection-type wireless detector and parking lot parking spot control system
CN102913023B (en) Low-power consumption intelligent remote control parking stall lock
CN102390355A (en) Auto anti-theft alarm
CN110930759A (en) Shared parking management system
CN110091734B (en) Intelligent wireless charging trolley system and charging method thereof
CN105828494A (en) Home smart lighting system and control method
CN109544886B (en) Compound multi-hand section vehicle sensing equipment of trackside parking stall
JP2016094030A (en) Remote controller for vehicle-mounted device and system
CN204375112U (en) Children's detection alarm system in a kind of car infrared based on human body pyroelectricity
CN105667452A (en) Wireless vehicle-mounted antitheft tracking system and method based on double MCUs
CN101750982A (en) Intelligent room
CN204904508U (en) On -vehicle life protection device
CN207752328U (en) Intelligent car position lock control system
CN203427937U (en) Storage battery integrated with satellite locating and tracking warning device
CN107839643A (en) A kind of multi-purpose vehicle(MPV) records instrument apparatus
CN207931660U (en) A kind of multi-purpose vehicle(MPV) recorder device
CN107867244A (en) Mobile unit intelligent management system and mobile unit intelligent management
CN205281788U (en) A non - electric automobile arrester of charging
CN109410529A (en) Portable vehicle life entity security monitoring device and monitoring method
CN211714884U (en) Anti-forgetting vehicle detection device
CN113500962A (en) Automatic vehicle searching system and control method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200327

RJ01 Rejection of invention patent application after publication