The content of the invention
It is an object of the invention to provide a kind of double control visible ray car light signal of communication dispensing device of continuous electrical activation.
What the present invention was realized in:A kind of double control visible ray car light signal of communication dispensing device of continuous electrical activation,
The device include power module, switch control module, switch module, button, energy-storage module, Voltage stabilizing module, send control module,
Drive module and car light;Device is divided into front-end circuit and back-end circuit two parts;Front-end circuit includes switch control module, switch
Module and button;Back-end circuit includes energy-storage module, Voltage stabilizing module, sends control module, drive module and car light.
Power module includes PV ends and PG ends;PV ends are the cathode output end of power module;PG ends are negative for power module
Pole output end.
Switch control module includes CO ends, CI ends, CV ends, CG ends and CU ends;CV ends are defeated for the positive pole of switch control module
Enter end, CG ends are the negative input of switch control module, and CO ends are the control signal output of switch control module, and CI ends are
The push button signalling input of switch control module, CU ends are the dormancy awakening end of switch control module.
Switch module includes KI ends, KO ends and KC ends;KI ends are the electrode input end of switch module, and KO ends are switch module
Cathode output end, KC ends for switch module KI ends and KO ends two-port switching control end.
Energy-storage module includes SV ends, SG ends and SO ends;SV ends are the electrode input end of energy-storage module, and SG ends are energy-storage module
Negative input, SO ends for energy-storage module electric energy cathode output end.
Voltage stabilizing module includes WI ends, WO ends and WG ends;WI ends are the electrode input end of Voltage stabilizing module, and WG ends are Voltage stabilizing module
Negative input, WO ends for Voltage stabilizing module electric energy cathode output end.
Sending control module includes FV ends, FG ends, FO ends, FI ends and FU ends;FV ends are that the positive pole of transmission control module is defeated
Enter end, FG ends are the negative input for sending control module, and FO ends are the control signal output for sending control module, and FI ends are
The detection signal input of control module is sent, FU ends are the dormancy awakening end for sending control module.
Drive module includes DI ends, DO ends and DV ends;DI ends are the control signal input of drive module, and DO ends are driving
The driving signal input of module, DV ends are the electric energy electrode input end of drive module.
Car light includes LV ends and LG ends;LV ends are the electrode input end of car light, and LG ends are the negative input of car light.
Front-end circuit is electrically connected by KO ends and PG ends with back-end circuit, and other port connection relationships of device are as follows:PV
End, KI ends and CV ends, three port electrical connections;KC ends and CO ends electrically connect;Button is electrically connected with CI ends, two, CU ends port respectively
Connect;KO ends, SV ends, FI ends, DV ends and FU ends, four port electrical connections;SV ends, KO ends and WI ends, three port electrical connections;
WO ends and FV ends electrically connect;DI ends and FO ends electrically connect;DO ends and LV ends electrically connect;PG ends, SG ends, WG ends, FG ends, CG ends and
LG ends, the electrical connection of six ports.
Power module is used to provide electric energy for each module of device.
Button is used to send key command to switch control module.
Switch control module is used for the key command provided according to button, by button from resting state activation switch control mould
Block, and different switch orders are sent to switch module, instructed by CO ends output switch, control KC ends with switch order;CO ends
The state of acquiescence, exports a level for the conducting for enabling KC ends to control KI ends and KO ends.
There is conducting at switch module, KI ends and disconnects two states with KO ends;Switch module, for according to switch control module
Switch order, being switched on or off for KI ends and KO ends is controlled by KC ends;KI ends, the power supply for connecting power module is defeated
Enter;KO ends, for power module to the energy-storage module of device rear end, Voltage stabilizing module, send control module, drive module, car light
Power supply output;KC ends, for according to switch order, the KI ends of controlling switch module and being switched on or off for KO ends, with reality
Existing power module to the energy-storage module of device rear end, Voltage stabilizing module, send that control module, drive module, car light power logical and
It is disconnected.The KI ends of switch module under the control at KC ends, are realized conducting and are disconnected with KO ends, and with conducting and disconnect two states
Switching, produces switching signal.The state of KC ends acquiescence, is the conducting for controlling KI ends and KO ends.
Energy-storage module is used to be turned at KI ends and KO ends, when having power module to power, collects and store electric energy;At KI ends and
KO ends disconnect, and when power module is not powered, discharge the electric energy of storage, as temporary source, to send control module temporary power.
Voltage stabilizing module is used for when power module or energy-storage module are powered, for the power supply that transmission control module provides stabilization is defeated
Go out.Voltage stabilizing module obtains electric energy by WI ends from outside.
Sending control module is used to, by Voltage stabilizing module, be powered by power module or energy-storage module;By FU ends detection KI ends
The instantaneous state disconnected with KO ends, and activated from resting state according to the state;By FI ends detect the conducting at KI ends and KO ends with
And being switched fast for two states that disconnects and the switching signal that produces, and according to the switching signal, by FO ends to drive module
Corresponding drive signal is sent, drives car light to send visible light signal by drive signal.The state of FO ends acquiescence, exports one
The level for enabling drive module to control car light persistently to light.
Drive module is used to, according to the drive signal that control module FO ends export is sent, drive car light to send visible ray letter
Number.The state of drive module acquiescence, is that control car light is persistently lighted.
Car light is used to provide the illumination of stabilization and sends visible light signal.
Key command, device provides more than one key command, with the different conditions of different button and its button, represents
Different key commands.
The acquisition modes of key command have two kinds of single-button and many buttons, i.e.,:For many buttons, different buttons are pressed
When, represent different instruction implications;For single button, different instruction implications can also be represented by under type with different,
Including:Click, it is multi-hit, long by.Click, it is once short tactile to push button;It is multi-hit, it is repeatedly short tactile to push button;Length is pressed, and is pressed
Button is simultaneously continued for some time.
The different switch order of different key command correspondences, the different visible light signal of different switch order correspondences.
Switch order has:More than one switch order is provided;Switch order is the combination of one group of binary number " 1 " and " 0 ",
" 1 " and " 0 " combination of each switch order is different.
The KC ends of switch module, according to " 1 " and " 0 " of switch order, KC is worked as in the conducting and disconnection at control KI ends and KO ends
When the signal that termination is received is " 1 ", the conducting at control KI ends and KO ends;When the instruction that KC terminations are received is " 0 ", KI ends are controlled
With the disconnection at KO ends;Vice versa.
Device provides light illumination mode and communication pattern, and the switching of pattern is realized by switch control module;Do not receive by
When key is instructed, device is light illumination mode, and switch control module keeps KI ends, the conducting at KO ends, to realize electricity by controlling KC ends
Continued power of the source module to back-end circuit;After switch control module receives key command, device enters communication pattern, switch
Control module realizes that KI ends are turning on and disconnecting being switched fast for two states with KO ends, to reach transmission by controlling KC ends
The purpose of switching signal.
Car light is used under light illumination mode, there is provided the illumination of stabilization;In a communication mode, under the driving of drive module,
Send visible light signal.
Each module of device works on power, switch control module, transmission control module initialization, energy-storage module storage electric energy,
Send control module directly to be powered by power module by Voltage stabilizing module, switch module acquiescence controls KI ends and KO ends to protect by KC ends
Conducting is held, drive module acquiescence control car light persistently lights illumination.
Switch control module starts to detect key command, enters if key command is detected after device works on power
Enter communication pattern, when by being still not detected by key command after a time delay, switch control module enters resting state, switching molding
Block acquiescence controls KI ends and KO ends to be held on by KC ends.
Control module is sent after device works on power, starts detection switch instruction, entered if switch order is detected
Enter communication pattern, when by being still not detected by switch order after a time delay, send control module and enter resting state, drive mould
Block acquiescence control car light is persistently lighted.
Device, by pushing button, key command is sent to switch control module in communication pattern;By switch control mould
Root tuber sends switch order according to the key command for detecting to the KC ends of switch module, and on and off is being led at control KI ends and KO ends
Two states switching is opened, is switched by state, produce switching signal;When KI ends and KO ends disconnect, release is stored energy-storage module
Electric energy, by Voltage stabilizing module for send control module temporary power;Control module is sent, detects that KI ends and KO ends exist by FI ends
The switching signal that conducting and disconnection two states switching are produced, and according to switching signal, by drive module according to drive signal, control
Car light processed sends visible light signal.
The double control visible ray car light signal of communication dispensing device of continuous electrical activation of the invention, there is provided light illumination mode and logical
Letter pattern, can be on the premise of illumination not be interrupted, and the safety that realize visible light signal using car light sends, it is to avoid visible ray
Signal persistently sends caused information leakage, reduces device and sends control module, switch control module etc. because of continuous firing
Caused power attenuation and device lifetime are lost, and improve the stability and service life of device;Device is in lasting illumination premise
Under, control car light to realize that the safety of the visible light signal of MIMD sends by receiving key command, it is to avoid signal persistently sends
Information leakage, reduce power consumption, improve security, stability and service life.
Embodiment:
A kind of double control visible ray car light signal of communication dispensing device of continuous electrical activation, the device include power module 1,
Switch control module 2, switch module 3, button 4, energy-storage module 5, Voltage stabilizing module 6, transmission control module 7, drive module 8 and car
Lamp 9.
Device is divided into:Front-end circuit, back-end circuit two parts.Front-end circuit, including switch control module 2, switch module
3rd, button 4.Back-end circuit, including energy-storage module 5, Voltage stabilizing module 6, transmission control module 7, drive module 8, car light 9.
Power module, including PV ends, PG ends.PV ends are the cathode output end of power module;PG ends are negative for power module
Pole output end.
Switch control module 2, including CO ends, CI ends, CV ends, CG ends.CV ends are input into for the positive pole of switch control module 2
End, CG ends are the negative input of switch control module 2, and CO ends are the control signal output of switch control module 2, and CI ends are
The signal input part of button 4 of switch control module 2.
Switch module 3, including KI ends, KO ends, KC ends.KI ends are the electrode input end of switch module 3, and KO ends are switching molding
The cathode output end of block 3, KC ends are the control end of the switching at the KI ends and KO ends two-port of switch module 3.
Energy-storage module 5, including SV ends, SG ends, SO ends.SV ends are the electrode input end of energy-storage module 5, and SG ends are energy storage mould
The negative input of block 5, SO ends are the electric energy cathode output end of energy-storage module 5.
Voltage stabilizing module 6, including WI ends, WO ends, WG ends.WI ends are the electrode input end of Voltage stabilizing module 6, and WG ends are voltage stabilizing mould
The negative input of block 6, WO ends are the electric energy cathode output end of Voltage stabilizing module 6.
Send control module 7, including FV ends, FG ends, FO ends, FI ends, FU ends.FV ends are the positive pole for sending control module 7
Input, FG ends are the negative input for sending control module 7, and FO ends are the control signal output for sending control module 7, FI
Hold to send the detection signal input of control module 7, FU ends are the dormancy awakening end for sending control module 7.
Drive module 8, including DI ends, DO ends, DV ends.DI ends are the control signal input of drive module 8, and DO ends are drive
The driving signal input of dynamic model block 8, DV ends are the electric energy electrode input end of drive module 8.
Car light 9, including LV ends, LG ends.LV ends are the electrode input end of car light 9, and LG ends are the negative input of car light 9.
Front-end circuit is electrically connected by KO ends and PG ends with back-end circuit.Other port connection relationships of device are as follows:
1st, PV ends, KI ends and CV ends, three port electrical connections.
2nd, KC ends and CO ends electrically connect.
3rd, CI ends electrically connect with button 4.
4th, KO ends, SV ends, FI ends, FU ends and DV ends, five port electrical connections.
5th, SV ends, KO ends and WI ends, three port electrical connections.
6th, WO ends and FV ends electrically connect.
7th, DI ends and FO ends electrically connect.
8th, DO ends and LV ends electrically connect.
9th, PG ends, SG ends, WG ends, FG ends, CG ends and LG ends, the electrical connection of six ports.
Power module is used to provide electric energy for each module of device.
Button 4 is used to send key command to switch control module 2.
Switch control module 2, for the key command provided according to button 4, by button 4 from resting state activation switch control
Molding block 2, and different switch orders are sent to switch module 3, instructed by CO ends output switch, control KC with switch order
End.The state of CO ends acquiescence, exports a level for the conducting for enabling KC ends to control KI ends and KO ends.
There is conducting at switch module 3, KI ends and disconnects two states with KO ends.Switch module 3, for according to switch control mould
The switch order of block 2, being switched on or off for KI ends and KO ends is controlled by KC ends.KI ends, the confession for connecting power module
Electricity input;KO ends, send control module 7, drive for power module to the energy-storage module 5 of device rear end, Voltage stabilizing module 6, ID
The power supply output of module 8, car light 9;KC ends, for according to switch order, the conducting at the KI ends and KO ends of controlling switch module 3 or
Person disconnects, with realize power module to the energy-storage module 5 of device rear end, Voltage stabilizing module 6, send control module 7, drive module 8,
The on and off of the power supply of car light 9.The KI ends of switch module 3 under the control at KC ends, realize conducting and disconnect with KO ends, and with turning on
With the switching for disconnecting two states, switching signal is produced.The state of KC ends acquiescence, is the conducting for controlling KI ends and KO ends.
Energy-storage module 5, for being turned at KI ends and KO ends, when having power module to power, collects and stores electric energy;At KI ends
Disconnected with KO ends, when power module is not powered, discharge the electric energy of storage, as temporary source, supplied temporarily to send control module 7
Electricity.
Voltage stabilizing module 6, for when power module or energy-storage module 5 are powered, to send the confession that control module 7 provides stabilization
Electricity output.Voltage stabilizing module 6 obtains electric energy by WI ends from outside.
Control module 7 is sent, for by Voltage stabilizing module 6, being powered by power module 1 or energy-storage module 5;Detected by FU ends
The instantaneous state that KI ends and KO ends disconnect, and activated from resting state according to the state;And KI ends and KO ends are detected by FI ends
The switching signal for being switched on or off and producing, and according to the switching signal, corresponding drive is sent to drive module 8 by FO ends
Dynamic signal, drives car light 9 to send visible light signal by drive signal, and the state of FO ends acquiescence, output one enables drive module 8
The level that enough control car light 9 is persistently lighted.
Drive module 8, for the drive signal exported according to the FO ends for sending control module 7, drives car light 9 to send visible
Optical signal.The state of the acquiescence of drive module 8, is that control car light is persistently lighted.
Car light 9, under light illumination mode, there is provided the illumination of stabilization;In a communication mode, in the driving of drive module 8
Under, send visible light signal.
Key command, device provides three key commands using button, click, double-click, it is long by.Click, it is once short
Tactile pushes button;Double-click, it is repeatedly short tactile to push button;Length is pressed, and pushes button and continue to unclamp button again in 3 seconds.
Click, double-click, it is long by the corresponding switch order of three key commands, the different drives of different switch orders correspondences
Dynamic signal, such as table 1.
Table 1
Sequence number |
Key command |
Switch order |
Drive signal |
1 |
Click |
1010 |
10101010 (A action commands) |
2 |
Double-click |
1100 |
11001100 (B action commands) |
3 |
Length is pressed |
1011 |
10110101 (C action commands) |
Switch order has:Three switch orders are provided.Switch order is the combination of one group of binary number " 1 " and " 0 ", each
" 1 " and " 0 " of individual switch order is different.
The KC ends of switch module 3, according to " 1 " and " 0 " of switch order, control the conducting and disconnection at KI ends and KO ends, when
When the signal that KC terminations are received is " 1 ", the conducting 1ms at control KI ends and KO ends;When the instruction that KC terminations are received is " 0 ", control
KI ends processed and the disconnection 1ms at KO ends.
Device provides light illumination mode and communication pattern, and the switching of pattern is realized by switch control module 2.Do not receive by
When key is instructed, device is light illumination mode, and switch control module 2 keeps KI ends, the constant conduction at KO ends by controlling KC ends, with
Realize the continued power of electric power source pair of module back-end circuit.After switch control module 2 receives key command, device enters communication mould
Formula, switch control module 2 realizes KI ends and KO ends turning on and disconnect being switched fast for two states by controlling KC ends, with
Reach the purpose for sending switching signal.
In light illumination mode, after switching on power, each module of device works on power, and switch control module 2 is not detected by button
Instruction, switch module 3 controls KI ends and KO ends to be held on by KC ends;Energy-storage module 5 stores electric energy;Control module 7 is sent to lead to
Voltage stabilizing module 6 is crossed directly to be powered by power module;FO ends send drive signal to drive module 8, and car is controlled by drive module 8
Lamp 9 persistently lights illumination.
What device started realizes that step is as follows:
Q1, switch on power after, each module of device works on power, switch control module 2, send control module 7 initialize, store up
Can module 5 storage electric energy, send control module 7 directly powered by power module 1 by Voltage stabilizing module 6, switch module 3 give tacit consent to by
KC ends control KI ends and KO ends to be held on, and the acquiescence control car light 9 of drive module 8 persistently lights illumination;
Q2, switch control mould 2 BOB(beginning of block) detection key command, enter communication pattern if key command is detected, when
By being still not detected by key command after a time delay, switch control module 2 enters resting state, and switch module 3 is given tacit consent to by KC
End control KI ends and KO ends are held on;
Q3, transmission control module 7 start detection switch instruction, and communication pattern is entered if switch order is detected, when
By being still not detected by switch order after a time delay, send control module 7 and enter resting state, the acquiescence control of drive module 8
Car light 9 is persistently lighted.
When device needs to send A action commands, step is:
K1, when A action commands are needed, click button 1;
K2, switch control module 2 detect the key command clicked, and corresponding switch is sent to the KC ends of switch module 3
Instruction " 1010 ", KI ends and KO ends are controlled by KC ends, realize the control of " switching, switching ".Each " logical " or " disconnected " are respectively held
Continuous 1ms;
K3, when KC ends control KI ends and KO ends break-make with switch order " 1010 ", disconnected at KI ends and KO ends, rear end electricity
Road cannot from the power module of front-end circuit directly obtain electric energy when, energy-storage module 5 release storage electric energy, by voltage stabilizing
Module 6 is the transmission temporary power of control module 7;
K4, transmission control module 7, the instantaneous state that KI ends and KO ends disconnect is detected by FU ends, and according to the state from not
Dormancy state activation;KI ends and KO ends are detected in the switching signal " 1010 " for turning on and disconnection two states switching is produced by FI ends,
And according to the switching signal, to the output drive signal of drive module 8 " 10101010 ";" 1 " and " 0 " in drive signal, uses
On-off keying mode, i.e., drive car light to light with " 1 ", drives car light to extinguish with " 0 ", by bright, the change gone out of car light, sends A
The visible light signal of action command.