summary of the invention:
One of object of the present invention is: provide a kind of intelligent controlling device of berth lock, for the fully-automatic intelligent management to berth lock.Intelligent controlling device of the present invention possesses following three large functions: 1) realizes intelligent decision and automatically controls, as: control berth lock and automatically lift or land; Judgement vehicle is in entering storehouse flow process or outbound flow process; Judge whether berth lock damages.2) utilize Bluetooth technology to provide berth lock intelligent control device to realize the networking function of multi-multipoint car networking, that is: by password, realize the mandate of a plurality of telechiric devices, realize in other words multi-point remote control user is managed.3) realize the app application controls function of intelligent Bluetooth remote control equipment, the initialization process of berth lock control device, by the software app being arranged on intelligent Bluetooth remote control equipment or on-vehicle Bluetooth remote control equipment is applied, this equipment is set to " remote-control key ".Wherein, intelligent Bluetooth remote control equipment comprises: the app application in smart mobile phone, IPAD, PDA, computer, but be not limited only to this; On-vehicle Bluetooth remote control equipment refers to the bluetooth module of automotive internal.In automobile enters the remote range of specifying berth lock, automatically the above-mentioned remote control equipment as " remote-control key " is carried out to networking, judge whether current automobile enters into storehouse flow process or outbound flow process, and the control of realization to berth lock automatically, also control lifting or landing of berth lock, unless needed human intervention just break down.
Two of object of the present invention is: a kind of multi-multipoint berth lock Bluetooth remote control method is provided, and this remote control thereof utilizes bluetooth group transmission technology and sensor technology, and the remote control of setting up between remote control equipment and berth lock control device contacts.
One of object of the present invention is to realize like this, a kind of intelligent Bluetooth control device, comprise CPU control chip module, ultrasonic sensor module, bluetooth radio module and berth lock driver module, intelligent Bluetooth control device of the present invention is arranged on the inside of berth lock, it is characterized in that:
Described CPU master chip module: for wake command and networking commands etc. are controlled and provided to the state of bluetooth module; And send instruction to sensor, start detection height, the state of judgement berth lock; Automatically send order, control the release of berth lock and lock; Accept all kinds of orders of intelligent bluetooth equipment, control the lock and unlock of berth lock.
Described intelligent Bluetooth control device: for receive and send and intelligent Bluetooth remote control equipment between data-signal, and be transferred to CPU master chip module.
Described berth lock driver module: receive the control command of CPU master chip, drive the action of berth lock.
Described ultrasonic sensor module: automatic decision vehicles while passing parking stall situation and flow process.
Two of object of the present invention is achieved in that the intelligent bluetooth group control method that a kind of berth lock is multi-multipoint, it is characterized in that: comprise a berth lock and intelligent Bluetooth control device thereof, while locking, parking stall is closed, and during release, parking stall is opened; Whether each berth lock is provided with the sensor of measuring its upper height, stop, so that the situation of automatic decision vehicles while passing parking stall for differentiating on parking stall; Described berth lock intelligence Bluetooth control device is connected with intelligent Bluetooth remote control device talk, and Bluetooth remote control equipment comprises vehicle-mounted Bluetooth equipment or mobile bluetooth equipment, and its step is as follows:
(1) berth lock intelligence Bluetooth control device arranges Bluetooth remote control device initialize: the intelligent Bluetooth remote control device pairing networking of berth lock intelligence Bluetooth control device and appointment, arranges binding by password.
(2), when entering parking stall without vehicle, berth lock intelligence Bluetooth control device, in park mode, also claims listen mode, intercepts the intelligent Bluetooth remote control equipment that has or not the request of sending around;
(3) if berth lock intelligence Bluetooth control device is intercepted the request that intelligent Bluetooth remote control equipment sends, that is: automatically enter next step; If no, repeat intercepting of this step;
(4) when intelligent Bluetooth remote control equipment approaches berth lock intelligence Bluetooth control device, enter networking scope; That is: berth lock intelligence Bluetooth control device listens to the intelligent Bluetooth remote control equipment as key in dormancy, and is waken up; Described intelligent Bluetooth remote control equipment is by the binding of cipher authentication networking coupling; If mate unsuccessful, repeat coupling, until the match is successful;
(5) after berth lock intelligence Bluetooth control device is waken up, enter normal mode of operation, the height of the side of locking, sensor automatic detection vehicle position;
(6) if be greater than preset height, illustrate that parking stall is empty, automatically start into storehouse flow process; If be less than preset height, automatically start library.
(7) finish, return to (2) step.
Described outbound flow process comprises:
(1) postpone the default ground time, wait for that automobile goes out parking stall;
(2) wait for after the default ground time height of the side of locking, sensor automatic detection vehicle position;
(3), if be less than preset height, illustrate that automobile does not also go out parking stall, returns to (1) step; If be greater than preset height, illustrate that automobile has gone out parking stall, parking stall is empty, enters next step;
(4) berth lock intelligence Bluetooth control device is intercepted Bluetooth remote control equipment again;
(5) listen to Bluetooth remote control equipment, illustrate that automobile does not also go out garage, returns to the 4th step; If do not listen to Bluetooth remote control equipment, illustrate that automobile has gone out garage, enters next step;
(6) berth lock is automatic locking;
(7) successfully whether automatic decision lock,
(8) if lock unsuccessfully, car owner manually sends control command, then returns to the 7th) step;
(9) if locked successfully, again enter park mode, outbound flow process finishes.
Describedly enter storehouse flow process and be:
(1) berth lock is untied automatically;
(2) judge whether berth lock is untied successfully;
(3) if berth lock is untied automatically, enter (6) step; If berth lock is not untied automatically, enter next step;
(4) berth lock enters manual state of a control, and reports for repairment;
(5) car owner manually sends control command, enters (7) step after finishing;
(6) after berth lock is opened successfully, car owner can enter parking stall;
(7) berth lock enters park mode again, and parking completes.
Described intelligent Bluetooth remote control equipment comprises: on-vehicle Bluetooth and mobile bluetooth equipment.
Described mobile bluetooth equipment comprises: the bluetooth that Bluetooth of mobile phone and PAD carry.
The order of the intelligent Bluetooth remote control equipment of described detection is: the bluetooth that on-vehicle Bluetooth, Bluetooth of mobile phone, PAD carry.
Advantage of the present invention is:
1) utilize on smart machine subsidiarybluetooth function,as: smart mobile phone, PAD, notebook computer etc. are realized the networking of car and lock, utilize the existing equipment of car owner to realize the function of remote control.
2) in conjunction with the app application controls software of supporting Intelligent mobile equipment and on-vehicle Bluetooth, mobile bluetooth equipment and vehicle-mounted Bluetooth equipment are set to " remote-control key " of berth lock, are conducive to multi-multipoint control function; Having can flexible expansion and good smart machine compatibility.Realize the smart machine of any appointment and all can control intelligent space lock, as " key ", used, thereby no longer need special berth lock key, no longer needed key of multi-band.
3) due to what the present invention had an automatic discrimination vehicle, enter storehouse flow process or outbound flow process, combined sensor technology, can realize the function of rise and fall (switch) of Automatic Control berth lock, without artificial parking, intervenes; Can avoid again intelligent Bluetooth remote control device to be misused, cause the damage of vehicle.
Accompanying drawing explanation:
Fig. 1: berth lock intelligence Bluetooth control apparatus control method schematic flow sheet of the present invention;
Fig. 2: on-vehicle Bluetooth remote control equipment and Intelligent mobile equipment and with the safety pairing schematic diagram of berth lock Bluetooth remote control equipment
Fig. 3: the circuit module schematic diagram of berth lock intelligence Bluetooth control device of the present invention
Fig. 4: the functional schematic of berth lock of the present invention;
Embodiment
The control method of berth lock intelligence Bluetooth control device of the present invention, specifically realizes by the submethod of following three functions.
submethod one:(shown in Figure 1)
The judgement of validated user and the realization of automatic control function of berth lock intelligence Bluetooth control device:
(1) carry out initialization setting.Intelligence bluetooth equipment comprises: vehicle-mounted Bluetooth equipment and mobile bluetooth equipment; Described intelligent mobile bluetooth equipment includes but not limited to: the bluetooth that mobile phone, PDA, panel computer, IPAD, notebook computer configure (standard that current bluetooth module is all Intelligent mobile equipments and automobile is carried configuration).Described mobile bluetooth equipment and berth lock intelligence Bluetooth control device match and authenticate networking, by password setting, bind, and this step is for an intelligent bluetooth equipment, as long as carry out once.
(2), when without vehicles while passing parking stall, berth lock intelligence Bluetooth control device, in park mode, also claims listen mode.
(3) if berth lock intelligence Bluetooth control device is intercepted the request that intelligent Bluetooth remote control equipment sends, that is: automatically enter next step; If no, repeat intercepting of this step.The order of the intelligent Bluetooth remote control equipment of described detection is: the bluetooth that on-vehicle Bluetooth, Bluetooth of mobile phone, other Intelligent mobile equipments carry.
(4) when intelligent Bluetooth remote control equipment enters within the scope of the networking of berth lock intelligence Bluetooth control device, that is: when vehicle-mounted Bluetooth equipment or driver are carrying mobile bluetooth equipment and are entering, berth lock intelligence Bluetooth control device listens to entering of intelligent Bluetooth remote control equipment, and be waken up, by cipher authentication, carry out the binding of networking coupling.If mate unsuccessful, repeat coupling, until binding success.
(5) after berth lock intelligent controlling device is waken up, enter normal mode of operation, take orders, the height of the side of locking, sensor automatic detection vehicle position.
(6) if be greater than preset height, illustrate that parking stall is empty, enter (16) stepping storehouse flow process; If be less than preset height, enter (7) and walk out of storehouse flow process.
(7) start outbound flow process: postpone to wait for after Preset Time, wait for that automobile rolls parking stall away from;
(8) height of the side of locking, sensor automatic detection vehicle position;
(9), if be less than preset height, illustrate that automobile does not also roll parking stall away from, returns to (7) step; If be greater than preset height, illustrate that automobile has gone out parking stall, parking stall is empty, enters next step.
(10) berth lock intelligence Bluetooth control device detects Bluetooth remote control equipment automatically, that is: judge whether to detect vehicle intelligent Bluetooth remote control equipment, if do not had, detect and whether have intelligent movable bluetooth equipment again, include but not limited to Bluetooth of mobile phone and PAD bluetooth, if no, repeat the judgement of this step;
(11) Bluetooth remote control equipment detected, illustrate that automobile may also not go out garage completely, returns to (10) step; If Bluetooth remote control equipment do not detected, illustrate that automobile has gone out garage, enters next step;
(12) berth lock is automatic locking;
(13) successfully whether automatic decision lock,
(14) if lock unsuccessfully, car owner manually sends control command, then returns to the 7th) step;
(15) if locked successfully, again enter park mode, outbound flow process finishes.
(16) start into storehouse flow process: berth lock is untied automatically;
(17) judge whether berth lock is untied successfully automatically;
(18) if berth lock automatically do not untie,
(19) enter manual state of a control (and reporting for repairment);
(20) car owner manually sends control command;
(21) after berth lock is opened successfully, car owner can enter parking stall;
(22) stopped;
(23) berth lock returns to park mode and intercepts; Entering storehouse flow process finishes.
submethod two:
The realization that utilizes Bluetooth technology to provide berth lock and the multi-multipoint car of smart machine to network networking function:
Function main characteristics of the present invention is: by bluetooth 4.0 technology, realize wisdom car networking networking function, carry out the networking of on-vehicle Bluetooth remote control equipment or intelligent mobile remote control equipment and berth lock intelligence Bluetooth control device.
Bluetooth 4.0 is operated in the ISM band of 2.4GHz.In this method, the Intelligent mobile equipment of smart mobile phone or appointment is initiated connection request as main equipment, the bluetooth or the on-vehicle Bluetooth that configure when mobile phone, PDA, panel computer, IPAD, notebook computer, while becoming a rete cutaneum (Piconet) with the equipment connection such as berth lock intelligence Bluetooth control device, smart mobile phone is main equipment, remaining is from equipment, thereby realizes transmission and the realization of every detection, control command.
Main equipment and be mutual equality from equipment, the main equipment that is called of initiating request, what accept request is called from equipment.
Described blueteeth network has adopted frequency hopping (Frequency Hopping) mode to carry out spread-spectrum, and opposing is from the interference of miscellaneous equipment.Authentication and encryption function are also provided, to guarantee the safety of link level.
submethod three:(shown in Figure 2)
The app application controls function of described intelligent Bluetooth remote control equipment:
Function of the present invention is by app application controls software is installed, intelligent Bluetooth mobile equipment and vehicle-mounted Bluetooth equipment are become to " remote-control key " of release, be intelligent Bluetooth remote control equipment, the method for can Long-distance Control inside the berth lock of intelligent Bluetooth control circuit arrangement being installed.By vehicle-mounted and app application software Intelligent mobile equipment, the method that provides safe pairing, password setting, the manual or full-automatic function of berth lock freely to select and switch.
1), in the inventive method, vehicle-mounted Bluetooth equipment, intelligent Bluetooth mobile equipment (as mobile phone etc.) are become to " key of release ", and being achieved as follows of the safe matching method of berth lock:
The equipment such as Intelligent mobile equipment (usining mobile phone as example) or on-vehicle Bluetooth are initiated connection request as main equipment.When equipment bluetooth group successes such as Bluetooth of mobile phone, on-vehicle Bluetooth, berth lock intelligence Bluetooth control circuit arrangements, smart mobile phone or on-vehicle Bluetooth are main equipment, and remaining is from equipment.Each equipment all generates unique ID number code automatically, and netinit designated equipment being consisted of app application controls software, sets security password.Each need to add the equipment of this network by cipher authentication, carries out initialization networking certification.Can support a plurality of intelligent Bluetooth remote control equipment and a plurality of berth lock networking and safety pairing.After safe successful matching, described intelligent Bluetooth remote control equipment, becomes " key " of berth lock, can control and open the berth lock having matched.
After normal use, work as main equipment, when " key " initiates networking request by app application controls software, preassignedly from equipment (as berth lock), can be connected networking with main equipment by cipher authentication, thereby realize matching safely of key and lock.
This function can be specified flexibly need to be as the smart machine of remote-control key, and can successfully avoid unauthenticated device illegally use and enter.
2), in the inventive method, pass through Long-distance Control, be arranged on the app application controls software (including but not limited to vehicle-mounted app application software, mobile phone app application software etc.) on intelligent Bluetooth remote control equipment, realize the realization to the manual of berth lock or fully automatic mode selection and switching, be switched to after manual control model, its logical framework schematic diagram as shown in Figure 4.
(a) the manual or fully automatic mode that vehicle-mounted app application software is controlled berth lock is realized
Utilize vehicle-mounted bluetooth module to obtain and be connected with berth lock intelligence Bluetooth control device, after successful matching, bluetooth and berth lock Bluetooth control installation composition bluetooth local area network in car.The vehicle-mounted app application controls software that utilizes our independent research, is mounted in vehicle-mounted embedded type computer system, utilizes software to realize the selection to the control model manually or automatically of berth lock, and car owner can select manually to send the order of controlling berth lock.
(b) the manual or fully automatic mode that mobile phone app application software is controlled berth lock is realized.
Starting hand-set app application software, carries out initialization setting, sets blueteeth network password, is defined in the bluetooth equipment in consolidated network; Select fully automatic mode or manual control model.When mobile phone is opened bluetooth and the built-in intelligent bluetooth group control circuit device of berth lock in same LAN (Local Area Network), utilize mobile phone application software directly to berth lock release with lock.When car owner enters garage, when meeting preset height between berth lock and car, (can not be set as 1 meter), barrier has been described, mobile phone app application controls software can send alarm automatically, after extending Preset Time, until be applicable to stop, to move Bluetooth remote control equipment identical with other in the application of described mobile phone.
The logic schematic diagram of berth lock intelligence Bluetooth control device of the present invention is shown in Figure 3, it comprises CPU main control chip module, ultrasonic sensor module, blue teeth wireless networking module and berth lock driver module, described berth lock intelligence Bluetooth control device is arranged on berth lock inside, shown in Figure 4.
The effect of described CPU main control chip module is that wake command and networking commands etc. are controlled and provided to the state of bluetooth module; And send instruction to sensor, start detection height, the state of judgement berth lock; Automatically send order, control the release of berth lock and lock; Accept all kinds of orders of intelligent bluetooth equipment, control the lock and unlock of berth lock.
The effect of described intelligent bluetooth group device is the data-signal between reception and transmission and intelligent Bluetooth remote control equipment, and is transferred to CPU master chip module.
The effect of described berth lock driver module is the control command that receives CPU master chip, drives the action of berth lock.
The effect of described ultrasonic sensor module is automatic decision vehicles while passing parking stall situation and flow process.
1, the realization of the automatic detection of ultrasonic sensor module and security function in the present invention.
Described ultrasonic sensor module is " security system " of the present invention, and Main Function has two:
First effect is to detect the side of locking, parking stall height, judges whether vehicle is parked on parking stall, if be parked on parking stall, opens safeguard protection flow process, avoids maloperation flow process, forbids that berth lock rises, to avoid damaging vehicle.
Second effect is the flow process of automatic decision vehicles while passing parking stall, that is:, by test initialization height, judgement vehicle is to prepare to enter parking stall or roll parking stall away from.By what set in software, berth lock top is initialization height (being assumed to be 1 meter) effectively, differentiates, if highly meet, is judged as vehicle on parking stall, starts and rolls flow process away from; Otherwise sail flow process into for starting.
2, the realization of CPU control master chip module in the present invention
Intelligent Bluetooth control device of the present invention comprises CPU and controls master chip module, in CPU master chip, writes embedded software, and embedded software completes with C language, is " the maincenter brain " of whole system.Wake command and networking commands etc. are controlled, provided to the state that completes this device by CPU and embedded software.And by sending instruction to sensor, start height detection.Can also accept all kinds of orders of intelligent Bluetooth remote control equipment, drive the actions such as lock and unlock of controlling berth lock.
3, the realization of communication module in the present invention
Adopt bluetooth 4.0 technology to carry out wireless connections, and backward compatible lowest version Bluetooth technology.In conjunction with all kinds of intelligent distant control equipment and on-vehicle Bluetooth remote control modules such as mobile phones, carry out car networking networking with berth lock intelligence Bluetooth control device, form " neural network " of native system, realize transfer function.Range for wireless communication of the present invention can reach 100 meters farthest, through test, through walls or block in the situation that, effectively connect distance and can reach 15-40 rice (different according to different testing apparatuss), meets the needs of parking required separation distance completely.
Berth lock intelligence Bluetooth control device, under communication connection (Connection) state, has two kinds of mode of operations at least, respectively:
(a) activate (Active) pattern: be normal mode of operation.Under this pattern, main equipment and from equipment by intercepting, send or receiving packet and initiatively participate in channel operation.Main equipment and mutually keep synchronous from equipment.
(b) dormancy (Park) pattern: also claim listen mode.But when certain from equipment when using rete cutaneum channel to intend to maintain with channel synchronous, it can enter dormancy (intercepting) pattern, this pattern is a kind of low-power consumption mode, almost without any activity.Equipment is endowed one and monitors member address (Parking Member Address:PM_ADDR) and lose its active members address (Active Member Address:AM_ADDR).
Active pattern is normal duty, and another pattern is the low-power consumption mode for energy-conservation defined.When idle, berth lock is intercepted in park mode, realizes low-power consumption, only when work in state of activation.
4, the realization of power supply (power module) method in the present invention
The built-in supply module of berth lock intelligence Bluetooth control device, powers to berth lock.Be " the logistics support department " of whole system, can repeatedly charge, reduce use cost.