CN108833800A - A kind of light-operated circuit, user's control Activity recognition method and device - Google Patents

A kind of light-operated circuit, user's control Activity recognition method and device Download PDF

Info

Publication number
CN108833800A
CN108833800A CN201810698446.4A CN201810698446A CN108833800A CN 108833800 A CN108833800 A CN 108833800A CN 201810698446 A CN201810698446 A CN 201810698446A CN 108833800 A CN108833800 A CN 108833800A
Authority
CN
China
Prior art keywords
user
control
duration
light
brightness
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
CN201810698446.4A
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.)
Spring Sprout Technology (shenzhen) Co Ltd
Original Assignee
Spring Sprout Technology (shenzhen) 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 Spring Sprout Technology (shenzhen) Co Ltd filed Critical Spring Sprout Technology (shenzhen) Co Ltd
Priority to CN201810698446.4A priority Critical patent/CN108833800A/en
Publication of CN108833800A publication Critical patent/CN108833800A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

This application discloses a kind of light-operated circuits, user's control Activity recognition method and device.Wherein light-operated circuit passes through the variation of photo resistance serial induction brightness size, brightness size changes, the resistance value of photo resistance string may also change accordingly, so that the voltage value of analog signal IO input terminal also changes therewith, the voltage value that controller passes through reading analog signal IO input terminal, so that it may understand the situation of change of brightness in time.Light-operated circuit in the application is applied to user's control Activity recognition, such as user by issue wink signal control when, light-operated circuit in the application can induction promptly and accurately analyze the multiple combinations wink signal of user's transmission, corresponding control instruction is generated according to the wink signal identified, so that it may realize the Various Complex logic control of controlled plant.

Description

A kind of light-operated circuit, user's control Activity recognition method and device
Technical field
This application involves light control techniques field, more particularly to a kind of light-operated circuit, user's control Activity recognition method and Device.
Background technique
Photoconductive device is a kind of photoelectric detector made of the photoconductive effect using semiconductor material.So-called photoelectricity It leads effect to refer to after material is by light radiation, the phenomenon that conductivity of material changes.Photo resistance is in production and living Photoconductive device with the most use is answered in field, is being automatically controlled, is being used widely in household electrical appliance.It is main in the application to utilize Have at 2 points:The first, the size of output or input quantity is controlled according to the size by light radiation, such as makees brightness in a television set certainly It is dynamic to adjust, make automatic exposure, the light and shade etc. of lighting source in camera.The second, according to the size control switch by light radiation The input or output of amount.Such as:Control night does not play ring report point, street lamp navigation light automatic control switch electricity in music quartz clock Road.
But in current application, only use the real-time size of light radiation as control, so that control logic is relatively simple. Such as can only be on-off model control or can only to output or input quantity size control.Control logic is being needed to compare It is in the case where more, then helpless.
Summary of the invention
Aiming to overcome that the above problem or at least being partially solved or extenuate for the application solves the above problems.
According to the one aspect of the application, a kind of light-operated circuit is provided, including:Photo resistance string, first resistor, control Device;
The photo resistance string, including at least one photo resistance, are connected in series between the photo resistance, and described photosensitive One end of resistance string is grounded, the other end of the photo resistance string respectively with the analog signal IO input terminal of the controller and One end of the first resistor is electrically connected, and the other end of the first resistor is electrically connected to a power source;
The controller reads and caches multiple voltage values of the analog signal IO input terminal in preset duration, base Corresponding control instruction is generated in the voltage value and is sent to controlled plant, executes corresponding behaviour to control the controlled plant Make.
According to further aspect of the application, a kind of user's control Activity recognition method is provided, including:
The wink signal issued by the photo resistance serial induction user in above-mentioned light-operated circuit;
The wink signal is analyzed by the controller in the light-operated circuit, is generated based on the analysis results corresponding Control instruction and be sent to controlled plant, execute corresponding operation to control the controlled plant.
Optionally, the controller by the light-operated circuit analyzes the wink signal, according to analysis As a result it generates corresponding control instruction and is sent to controlled plant, include to control the controlled plant execution corresponding operation:
The controller in the light-operated circuit is first passed through in advance to read and cache the analog signal IO input in preset duration Multiple voltage values at end;
Calculate the average voltage level of multiple voltage values in the preset duration;
The brightness for presetting wink signal keeps the most longest duration of long and brightness holding in short-term;
The current voltage value that user sends analog signal IO input terminal when wink signal is obtained in real time;
According to the current voltage value, the voltage value, the average voltage level, the brightness keep it is most long in short-term and The brightness keeps longest duration to determine whether that the wink signal sent to user counts;
The count results in duration are controlled according to user's flashing light and match corresponding default control logic, wherein the flashing light A length of user has sent the duration of all wink signals when control;
Corresponding control instruction is generated according to the default control logic and is sent to controlled plant, it is described controlled to control Equipment executes corresponding operation.
Optionally, described to be kept according to the current voltage value, the voltage value, the average voltage level, the brightness The most long in short-term and described brightness keeps longest duration to determine whether that the wink signal sent to user count:
Exceed the sum of the average voltage level and the preset minimum differntial pressure in the current voltage value, and described current The existing continuous duration of voltage value is greater than brightness holding and most grows in short-term, and is less than the case where brightness keeps longest duration Under, the wink signal that user sends is counted primary.
Optionally, the count results according in user's flashing light control duration match corresponding default control logic packet It includes:
If determining to count beyond the default new wink signal for counting duration and not receiving user's transmission yet after the completion of counting Terminate;
Determine that user's flashing light controls duration at the time of counting according to first time and at the time of counting end;
Count the number for the wink signal that user sends in user's flashing light control duration;
The number of the wink signal sent according to the user and user's flashing light control duration determine user's flashing light Frequency;
Corresponding default control logic is matched according to user's flashing light frequency.
According to further aspect of the application, a kind of user's control Activity recognition device is provided, including:
Induction module, the wink signal for being issued by the photo resistance serial induction user in above-mentioned light-operated circuit;
Control module, for being analyzed by the controller in the light-operated circuit the wink signal, according to point Analysis result generates corresponding control instruction and is sent to controlled plant, executes corresponding operation to control the controlled plant.
Optionally, the control module includes:
Cache unit is read, the controller for being first passed through in light-operated circuit in advance, which reads and caches, simulates letter in preset duration Multiple voltage values of number IO input terminal;
Average calculation unit, for calculating the average voltage level of multiple voltage values in preset duration;
Setting unit, the brightness for wink signal to be arranged keep the most longest duration of long and brightness holding in short-term;
First acquisition unit, for obtaining the current voltage of analog signal IO input terminal when user sends wink signal in real time Value;
Counting unit, for keeping most long and bright in short-term according to current voltage value, voltage value, average voltage level, brightness Degree keeps longest duration to determine whether that the wink signal sent to user counts;
Matching unit, the count results for being controlled in duration according to user's flashing light match corresponding default control and patrol Volume, a length of user has sent the duration of all wink signals when wherein flashing light controls;
Instruction generation unit, for generating corresponding control instruction according to default control logic and being sent to controlled plant, Corresponding operation is executed to control controlled plant.
Present invention also provides a kind of computer equipment, including memory, processor and storage are in the memory simultaneously The computer program that can be run by the processor, wherein the processor realizes above-mentioned side when executing the computer program Method.
Present invention also provides a kind of computer readable storage medium, preferably non-volatile readable storage medium, in It is stored with computer program, the computer program realizes the above method when executed by the processor.
Present invention also provides a kind of computer program products, including computer-readable code, when described computer-readable When code is executed by computer equipment, the computer equipment is caused to execute the above method.
The light-operated circuit of the application, by the variation of photo resistance serial induction brightness size, brightness size becomes Change, the resistance value of photo resistance string may also change accordingly, so that the voltage value of analog signal IO input terminal also changes therewith Become, the voltage value that controller passes through reading analog signal IO input terminal, so that it may understand the situation of change of brightness in time.It incite somebody to action this Light-operated circuit in application is applied to user's control Activity recognition, such as when user is controlled by issuing wink signal, Light-operated circuit in application can induction promptly and accurately analyze the multiple combinations wink signal of user's transmission, according to identifying Wink signal generate corresponding control instruction, so that it may realize the Various Complex logic control of controlled plant.
Further, the user's control Activity recognition method of the application is led to when user issues the wink signal of control The variation of photo resistance serial induction brightness size is crossed, brightness size changes, and the resistance value of photo resistance string also can be corresponding Variation, so that the voltage value of analog signal IO input terminal also changes therewith, controller is by reading analog signal IO The voltage value of input terminal, so that it may in time understand brightness situation of change, and then can induction promptly and accurately analyze use The multiple combinations wink signal that family is sent generates corresponding control instruction according to the wink signal that identifies, so that it may realize by Control the Various Complex logic control of equipment.
According to the accompanying drawings to the detailed description of the specific embodiment of the application, those skilled in the art will be more Above-mentioned and other purposes, the advantages and features of the application are illustrated.
Detailed description of the invention
Some specific embodiments of the application are described in detail by way of example and not limitation with reference to the accompanying drawings hereinafter. Identical appended drawing reference denotes same or similar part or part in attached drawing.It should be appreciated by those skilled in the art that these What attached drawing was not necessarily drawn to scale.In attached drawing:
Fig. 1 is the circuit diagram according to the light-operated circuit of the application one embodiment;
Fig. 2 is the flow chart according to the user's control Activity recognition method of the application one embodiment;
Fig. 3 is the scheme of installation according to the concrete application scene of the application one embodiment;
Fig. 4 is the luminous intensity sampled data chart schematic diagram according to the application one embodiment;
Fig. 5 is the block diagram according to the user's control Activity recognition device of the application one embodiment;
Fig. 6 is the block diagram of one embodiment of the calculating equipment of the application;
Fig. 7 is the block diagram of one embodiment of the computer readable storage medium of the application.
Specific embodiment
According to the accompanying drawings to the detailed description of the specific embodiment of the application, those skilled in the art will be more Above-mentioned and other purposes, the advantages and features of the application are illustrated.
Photo resistance be with vulcanization every or selenizing particular resistor made of equal semiconductor materials, its working principle is that base In inner photoeffect.Illumination is stronger, and resistance value is just lower, and with the raising of intensity of illumination, resistance value is reduced rapidly, and light resistance value can As low as 1K Ω or less.Photo resistance is very sensitive to light, is in high-impedance state when there is no light, dark resistance is generally reachable 1.5MΩ.The property of photo resistance has obtained extremely being widely applied with the development of science and technology.Such as photo resistance is used in Make automatic brightness adjustment in television set, with automatic exposure is made in the camera, control the light and shade of lighting source, is used in music quartz Control night does not play ring report point in clock, and it is medium to be used in street lamp navigation light auto-control switch circuit.But in current application, only Use the real-time size of light radiation as control, so that control logic is relatively simple.Needing the more situation of control logic Under, then it is helpless.It solves the above problems to overcome the above problem or at least be partially solved or extenuate, the application mentions A kind of light-operated circuit is supplied.
Fig. 1 is the circuit diagram according to the light-operated circuit of the application one embodiment.As shown in Figure 1, the application is implemented Light-operated circuit in example, including:Photo resistance string, first resistor, controller;
Photo resistance string, including at least one photo resistance, are connected in series between photo resistance, and one end of photo resistance string Ground connection, the one end of the other end of photo resistance string respectively with the analog signal IO input terminal of controller and first resistor is electrically connected It connects, the other end of first resistor is electrically connected to a power source;
Controller reads and caches multiple voltage values of the analog signal IO input terminal in preset duration, is based on voltage value It generates corresponding control instruction and is sent to controlled plant, execute corresponding operation to control controlled plant.
In concrete application, the resistance value of photo resistance string changes with the variation of the size of the brightness sensed, into And the size of current in the series circuit that first resistor, photo resistance string are formed is also with the size for the brightness experienced Variation and change, then the voltage value of analog signal IO input terminal accordingly also can be with the change of the size for the brightness experienced Change and change, therefore controller passes through the voltage value of reading analog signal IO input terminal, so that it may obtain photo resistance serial induction To the size of brightness.First resistor can according to demand, such as the application environment of light-operated circuit, to select matched fixed resistance The resistance of value, the application do not limit this.
Light-operated circuit in the present embodiment passes through the variation of photo resistance serial induction brightness size, brightness size hair The resistance value of changing, photo resistance string may also change accordingly, so that the voltage value of analog signal IO input terminal is also sent out therewith Voltage value raw to change, that controller passes through reading analog signal IO input terminal, so that it may understand the situation of change of brightness in time. Light-operated circuit in the application is applied to user's control Activity recognition, such as user controls by issuing wink signal When, light-operated circuit in the application can induction promptly and accurately analyze the multiple combinations wink signal of user's transmission, according to The wink signal identified generates corresponding control instruction, so that it may realize the Various Complex logic control of controlled plant.
According to further aspect of the application, a kind of embodiment of user's control Activity recognition method is provided, such as Fig. 2 institute Show, including:
The wink signal that photo resistance serial induction user in light-operated circuit in through the foregoing embodiment issues;
Wink signal is analyzed by the controller in light-operated circuit, corresponding control is generated based on the analysis results and refers to Controlled plant is enabled and be sent to, executes corresponding operation to control controlled plant.
User's control Activity recognition method in the present embodiment passes through light when user issues the wink signal of control The variation of quick resistance serial induction brightness size, brightness size change, and the resistance value of photo resistance string may also change accordingly, So that the voltage value of analog signal IO input terminal also changes therewith, controller is by reading analog signal IO input terminal Voltage value, so that it may in time understand brightness situation of change, and then can induction promptly and accurately analyze user transmission Multiple combinations wink signal, corresponding control instruction is generated according to the wink signal that identifies, so that it may realize controlled plant Various Complex logic control.
Fig. 3 is the scheme of installation according to the concrete application scene of the application one embodiment.As shown in figure 3, user is logical It crosses alternately switching high beam and dipped headlight issues wink signal, when high beam state, the brightness of photo resistance serial induction is big, closely When light lamp state, the brightness of photo resistance serial induction is small.If being mounted with above-mentioned light-operated circuit, Che Zhuke in automatic car-washing room With secondary by the operating of the number difference of flashing light control equipment, such as flashing light, control equipment starting device starts carwash, flashing light The pause of three secondary control equipment continues carwash, and four secondary control control equipment of flashing light stops carwash, and five secondary control control equipment of flashing light accelerates carwash, Six secondary control car carwash of flashing light opens illumination, and seven secondary control car carwash of flashing light closes illumination etc..
The user's control Activity recognition method being equally applicable in the present embodiment in traffic signalization, works as ambulance Or other vehicles are when needing promptly to pass through traffic intersection.Whistle control system, such as flashing light 8 can be informed by way of flashing light Secondary, traffic signal system is switched to green light according to flashing light control signal and promptly passes through by it, reduces traffic accident.
The user's control Activity recognition method being equally applicable on highway in the present embodiment, such as automobile flashing light 5 times Representative has patient to need first aid, and light-operated circuit can control equipment notice hospital and seek help.Representing on vehicle for flashing light 8 times has bad person's emergency, Light-operated circuit can control equipment notice public security and seek help.
Optionally, wink signal is analyzed by the controller in light-operated circuit, is generated based on the analysis results corresponding Control instruction and be sent to controlled plant, with control controlled plant execute corresponding operation include:
The voltage that the controller in light-operated circuit reads and caches analog signal IO input terminal in preset duration is first passed through in advance Value;In, preset duration can be chosen for 10 minutes
Calculate the average voltage level of multiple voltage values in preset duration;
The brightness for presetting wink signal keeps the most longest duration of long and brightness holding in short-term;In, brightness is kept Most long in short-term to can be set to 300ms, brightness keeps longest duration to can be set to 800ms, specifically can according to demand voluntarily Setting, the present embodiment do not limit this.
The current voltage value of analog signal IO input terminal when user sends wink signal is obtained in real time;
The most longest duration of long and brightness holding in short-term is kept according to current voltage value, voltage value, average voltage level, brightness Determine whether that the wink signal sent to user counts;
The count results in duration are controlled according to user's flashing light and match corresponding default control logic, and wherein flashing light controls Shi Changwei user has sent the duration of all wink signals;
Corresponding control instruction is generated according to default control logic and is sent to controlled plant, to control controlled plant execution Corresponding operation.
It in, is again counted not yet after the completion of counting beyond preset duration, then it is believed that user has sent owns Wink signal.
Optionally, most long and brightness holding in short-term is kept according to current voltage value, voltage value, average voltage level, brightness Longest duration determines whether that the wink signal sent to user count:
Current voltage value beyond average voltage level and preset minimum differntial pressure and, and the existing continuous of current voltage value Duration be greater than brightness holding most grow in short-term, and be less than brightness keep longest duration in the case where, to user send wink signal It counts primary.
User's control Activity recognition method in the present embodiment realizes the counting of flashing light by comparing voltage value and brightness Or multilogic control may be implemented according to different count value or frequency values in the identification of flashing light frequency.
In order to better understand this programme, citing is explained below, and Fig. 4 is the luminous intensity hits of a specific example According to chart, above chart horizontal axis indicate 100 milliseconds of chronomere sample to luminous intensity, the intensity value of Y-axis expression light is (with simulation The voltage value of signal IO input terminal is corresponding).
The light intensity value that bigger data line is sampling instant is fluctuated, fluctuating smaller data line is nearest 3000 milli The luminous intensity average value (corresponding with average voltage level) of period second.
By taking Fig. 4 as an example, setting parameter is as follows:Minimum differntial pressure stepUp=10, brightness keep most in short-term long minTime= 300 milliseconds, brightness keep maxTime=800 millisecond of longest duration, confirmTime (judge counting whether at the end of preset Duration)=1000 milliseconds.These parameters are set in systems in advance, it is to be understood that these values are can be with Modification.Fig. 4 is the luminous intensity sampled data chart schematic diagram according to the application one embodiment.From fig. 4 it can be seen that horizontal axis Light intensity value has been above average value and the sum of stepUp in 10 to 16 scales, and the retention time is 700 milliseconds, In minTime to maxTime time range, then it is primary to count flashing light.Similarly 24 to 27 scales are also primary effective flashing light, because Time for 16 to 24 is 800 milliseconds, then this time flashing light continues to be counted as 2 times.Similarly 32 to 36 scales are the 3rd flashing light.3rd Without flashing light again in the confirmTime time after secondary flashing light, it is determined that this time flashing light number is 3, executes flashing light number at this time For 3 correspondence control logic.
Similarly, flashing light number is 6 in the period of 78 to 138 scales.Wherein, 56 to 69 scales are because of the retention time 1400 milliseconds, not within the scope of minTime to maxTime, it is not calculated as a flashing light.Three luminous intensities in 160 to 175 scales 200 milliseconds are all only maintained also not within the scope of minTime to maxTime, is not effective flashing light three times.Know if it is frequency Other logic.Assuming that the period for calculating frequency is 6 seconds.Frequency in so 0 to 60 scale this period is 3/6=0.5 times/ Second, then the correspondence control logic that frequency is 0.5 time/second is executed at this time, and the frequency of 40 to 100 scale this periods is 2/6= 0.33 time/second, 80 to 140 scale this periods are 6/6=1 times/second, then respectively corresponding and executing frequency is 0.33 time/second and 1 The control logic of secondary/second.
According to further aspect of the application, a kind of user's control Activity recognition device is provided, as shown in figure 5, including:
Induction module, the flashing light for being issued by the photo resistance serial induction user in light-operated circuit as described above are believed Number;
Control module, for being analyzed by the controller in the light-operated circuit the wink signal, according to point Analysis result generates corresponding control instruction and is sent to controlled plant, executes corresponding operation to control the controlled plant.
Optionally, the control module includes:
Voltage presetting module reads for first passing through the controller in the light-operated circuit in advance and caches institute in preset duration State multiple voltage values of analog signal IO input terminal;
Average voltage level computing module, for calculating the average voltage of multiple voltage values in the preset duration Value;
Brightness presetting module, when the brightness for presetting wink signal keeps the most long in short-term holding longest with brightness It is long;
Voltage obtains module, and the analog signal IO input terminal is current when for obtaining user's transmission wink signal in real time Voltage value;
Counting module, for being protected according to the current voltage value, the voltage value, the average voltage level, the brightness Holding the most long in short-term and described brightness keeps longest duration to determine whether that the wink signal sent to user counts;
Matching module, the count results for being controlled in duration according to user's flashing light match corresponding default control and patrol Volume, wherein a length of user has sent the duration of all wink signals when flashing light control;
Instruction sending module, for generating corresponding control instruction according to the default control logic and being sent to controlled set It is standby, corresponding operation is executed to control the controlled plant.
User's control Activity recognition device in the present embodiment passes through light when user issues the wink signal of control The variation of quick resistance serial induction brightness size, brightness size change, and the resistance value of photo resistance string may also change accordingly, So that the voltage value of analog signal IO input terminal also changes therewith, controller is by reading analog signal IO input terminal Voltage value, so that it may in time understand brightness situation of change, and then can induction promptly and accurately analyze user transmission Multiple combinations wink signal, corresponding control instruction is generated according to the wink signal that identifies, so that it may realize controlled plant Various Complex logic control.
Optionally, control module includes:
Cache unit is read, the controller for being first passed through in light-operated circuit in advance, which reads and caches, simulates letter in preset duration Multiple voltage values of number IO input terminal;
Average calculation unit, for calculating the average voltage level of multiple voltage values in preset duration;
Setting unit, the brightness for wink signal to be arranged keep the most longest duration of long and brightness holding in short-term;
First acquisition unit, for obtaining the current voltage of analog signal IO input terminal when user sends wink signal in real time Value;
Counting unit, for keeping most long and bright in short-term according to current voltage value, voltage value, average voltage level, brightness Degree keeps longest duration to determine whether that the wink signal sent to user counts;
Matching unit, the count results for being controlled in duration according to user's flashing light match corresponding default control and patrol Volume, a length of user has sent the duration of all wink signals when wherein flashing light controls;
Instruction generation unit, for generating corresponding control instruction according to default control logic and being sent to controlled plant, Corresponding operation is executed to control controlled plant.
Optionally, counting unit includes:
For current voltage value beyond average voltage level and preset minimum differntial pressure and, and current voltage value is current Duration be greater than brightness holding most grow in short-term, and be less than brightness keep longest duration in the case where, to user send flashing light Signal-count is primary.
Optionally, matching unit includes:
Terminate judgment sub-unit, for not receiving the new of user's transmission yet beyond the default duration that counts after the completion of counting When wink signal, determining to count terminates;
Control duration determines subelement, determines user at the time of for counting according to first time and at the time of counting end Flashing light controls duration;
Subelement is counted, the number for the wink signal that user in counting user flashing light control duration sends;
Logic coupling subelement, the number of the wink signal for being sent according to user match corresponding default control and patrol Volume.
Optionally, matching unit includes:
Terminate judgment sub-unit, for not receiving the new of user's transmission yet beyond the default duration that counts after the completion of counting When wink signal, determining to count terminates;
Control duration determines subelement, determines user at the time of for counting according to first time and at the time of counting end Flashing light controls duration;
Subelement is counted, the number for the wink signal that user in counting user flashing light control duration sends;
Frequency determines subelement, and number and user's flashing light the control duration of the wink signal for being sent according to user are true Determine user's flashing light frequency;
Logic coupling subelement, for matching corresponding default control logic according to user's flashing light frequency.
The embodiment of the present application also provides a kind of calculating equipment, and referring to Fig. 6, which includes memory 1120, place It manages device 1110 and is stored in the computer program that can be run in the memory 1120 and by the processor 1110, the computer Program is stored in the space 1130 for program code in memory 1120, which executes by processor 1110 Shi Shixian is for executing any one steps of a method in accordance with the invention 1131.
The embodiment of the present application also provides a kind of computer readable storage mediums.Referring to Fig. 7, the computer-readable storage medium Matter includes the storage unit for program code, which is provided with the journey for executing steps of a method in accordance with the invention Sequence 1131 ', the program are executed by processor.
The embodiment of the present application also provides a kind of computer program products comprising instruction.When the computer program product by When computer equipment executes, computer equipment is caused to execute above-mentioned one of method.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When computer loads and executes the computer program instructions, whole or portion Ground is divided to generate according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated computing Machine, computer network obtain other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description. These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution. Professional technician can use different methods to achieve the described function each specific application, but this realization It is not considered that exceeding scope of the present application.
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with By program come instruction processing unit completion, the program be can store in computer readable storage medium, and the storage is situated between Matter is non-transitory (English:Non-transitory) medium, such as random access memory, read-only memory, flash Device, hard disk, solid state hard disk, tape (English:Magnetic tape), floppy disk (English:Floppy disk), CD (English: Optical disc) and any combination thereof.
The preferable specific embodiment of the above, only the application, but the protection scope of the application is not limited thereto, Within the technical scope of the present application, any changes or substitutions that can be easily thought of by anyone skilled in the art, Should all it cover within the scope of protection of this application.Therefore, the protection scope of the application should be with scope of protection of the claims Subject to.

Claims (10)

1. a kind of light-operated circuit, which is characterized in that including:Photo resistance string, first resistor, controller;
The photo resistance string, including at least one photo resistance, are connected in series between the photo resistance, and the photo resistance One end of string is grounded, the other end of the photo resistance string respectively with the analog signal IO input terminal of the controller and described One end of first resistor is electrically connected, and the other end of the first resistor is electrically connected to a power source;
The controller reads and caches multiple voltage values of the analog signal IO input terminal in preset duration, is based on institute It states voltage value to generate corresponding control instruction and be sent to controlled plant, executes corresponding operation to control the controlled plant.
2. a kind of user's control Activity recognition method, which is characterized in that including:
The wink signal issued by the photo resistance serial induction user in light-operated circuit described in claim 1;
The wink signal is analyzed by the controller in the light-operated circuit, generates corresponding control based on the analysis results System instructs and is sent to controlled plant, executes corresponding operation to control the controlled plant.
3. according to the method described in claim 2, it is characterized in that, the controller by the light-operated circuit is to described Wink signal is analyzed, and is generated corresponding control instruction based on the analysis results and is sent to controlled plant, with control it is described by Control equipment executes corresponding operation:
The controller in the light-operated circuit is first passed through in advance to read and cache the analog signal IO input terminal in preset duration Multiple voltage values;
Calculate the average voltage level of multiple voltage values in the preset duration;
The brightness for presetting wink signal keeps the most longest duration of long and brightness holding in short-term;
The current voltage value that user sends analog signal IO input terminal when wink signal is obtained in real time;
Keep most long and described in short-term according to the current voltage value, the voltage value, the average voltage level, the brightness Brightness keeps longest duration to determine whether that the wink signal sent to user counts;
The count results in duration are controlled according to user's flashing light and match corresponding default control logic, wherein the flashing light controls Shi Changwei user has sent the duration of all wink signals;
Corresponding control instruction is generated according to the default control logic and is sent to controlled plant, to control the controlled plant Execute corresponding operation.
4. according to the method described in claim 3, it is characterized in that, described according to the current voltage value, the voltage value, institute State average voltage level, the brightness keeps the most long in short-term and described brightness that longest duration is kept to determine whether to user's transmission Wink signal count:
Exceed the sum of the average voltage level and the preset minimum differntial pressure, and the current voltage in the current voltage value It is right in the case that the existing continuous duration of value keeps most long in short-term and be less than brightness holding longest duration greater than the brightness The wink signal that user sends counts primary.
5. the method according to claim 3 or 4, which is characterized in that the counting controlled according to user's flashing light in duration As a result matching corresponding default control logic includes:
If determining to count knot beyond the default new wink signal for counting duration and not receiving user's transmission yet after the completion of counting Beam;
Determine that user's flashing light controls duration at the time of counting according to first time and at the time of counting end;
Count the number for the wink signal that user sends in user's flashing light control duration;
The number of the wink signal sent according to the user and user's flashing light control duration determine user's flashing light frequency;
Corresponding default control logic is matched according to user's flashing light frequency.
6. a kind of user's control Activity recognition device, which is characterized in that including:
Induction module, the flashing light for being issued by the photo resistance serial induction user in light-operated circuit described in claim 1 Signal;
Control module is tied for being analyzed by the controller in the light-operated circuit the wink signal according to analysis Fruit generates corresponding control instruction and is sent to controlled plant, executes corresponding operation to control the controlled plant.
7. user's control Activity recognition device according to claim 6, which is characterized in that the control module includes:
Optionally, control module includes:
Cache unit is read, the controller for being first passed through in light-operated circuit in advance reads and caches analog signal IO in preset duration Multiple voltage values of input terminal;
Average calculation unit, for calculating the average voltage level of multiple voltage values in preset duration;
Setting unit, the brightness for wink signal to be arranged keep the most longest duration of long and brightness holding in short-term;
First acquisition unit, for obtaining the current voltage value of analog signal IO input terminal when user sends wink signal in real time;
Counting unit, for being kept most according to current voltage value, voltage value, average voltage level, brightness, long and brightness is protected in short-term It holds longest duration and determines whether that the wink signal sent to user counts;
Matching unit matches corresponding default control logic for controlling the count results in duration according to user's flashing light, A length of user has sent the duration of all wink signals when the control of middle flashing light;
Instruction generation unit, for generating corresponding control instruction according to default control logic and being sent to controlled plant, with control Controlled plant processed executes corresponding operation.
8. a kind of computer equipment, including memory, processor and storage can be transported in the memory and by the processor Capable computer program, wherein the processor is realized when executing the computer program such as any one of claim 2 to 5 The method.
9. a kind of computer readable storage medium, preferably non-volatile readable storage medium, are stored with computer program, The computer program realizes method the invention according to any one of claims 2 to 5 when executed by the processor.
10. a kind of computer program product, including computer-readable code, when the computer-readable code is by computer equipment When execution, lead to method described in any one of described computer equipment perform claim requirement 2 to 5.
CN201810698446.4A 2018-06-29 2018-06-29 A kind of light-operated circuit, user's control Activity recognition method and device Pending CN108833800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810698446.4A CN108833800A (en) 2018-06-29 2018-06-29 A kind of light-operated circuit, user's control Activity recognition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810698446.4A CN108833800A (en) 2018-06-29 2018-06-29 A kind of light-operated circuit, user's control Activity recognition method and device

Publications (1)

Publication Number Publication Date
CN108833800A true CN108833800A (en) 2018-11-16

Family

ID=64133987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810698446.4A Pending CN108833800A (en) 2018-06-29 2018-06-29 A kind of light-operated circuit, user's control Activity recognition method and device

Country Status (1)

Country Link
CN (1) CN108833800A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6037085A (en) * 1996-06-19 2000-03-14 Printing Development Inc. Photoresists and method for making printing plates
CN101877926A (en) * 2010-07-08 2010-11-03 张家炎 Automatic light-regulating control system
JP5382409B2 (en) * 2008-08-10 2014-01-08 株式会社リコー Image forming apparatus
CN103746739A (en) * 2013-12-30 2014-04-23 北京国承万通信息科技有限公司 Method and system for electronic equipment interaction
CN104730469A (en) * 2015-03-16 2015-06-24 力帆实业(集团)股份有限公司 Automatic monitor system for flasher endurance test

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6037085A (en) * 1996-06-19 2000-03-14 Printing Development Inc. Photoresists and method for making printing plates
JP5382409B2 (en) * 2008-08-10 2014-01-08 株式会社リコー Image forming apparatus
CN101877926A (en) * 2010-07-08 2010-11-03 张家炎 Automatic light-regulating control system
CN103746739A (en) * 2013-12-30 2014-04-23 北京国承万通信息科技有限公司 Method and system for electronic equipment interaction
CN104730469A (en) * 2015-03-16 2015-06-24 力帆实业(集团)股份有限公司 Automatic monitor system for flasher endurance test

Similar Documents

Publication Publication Date Title
JP6181776B2 (en) Method and apparatus for automatically controlling status indicator lamp of terminal device
US8890707B2 (en) Mixed element strobe
JP6290373B2 (en) Daylight daylighting system to prevent unauthorized changes
CN104798634A (en) System, method and device for controlling illuminance and plant planting equipment
CN103118465A (en) Indoor lamplight intensity control system and method
KR102127080B1 (en) Smart street lamp control system using lora communication
CN106028525A (en) Differential evolution algorithm based adaptive indoor dimming method and system
KR200327478Y1 (en) Apparatus for controlling a light using remote controller
CN110133541B (en) Fault detection method and device for light supplement lamp
CN108833800A (en) A kind of light-operated circuit, user's control Activity recognition method and device
CN208273301U (en) Street lamp remotely controls attenuation compensation system
CN105049925A (en) Light ray adjusting method and apparatus
CN112351556A (en) Background management device and system of visual navigation aid equipment
US20200275544A1 (en) Illumination control systems and methods
KR100524112B1 (en) Apparatus for controlling a traffic signal
CN115210786A (en) Selecting light sources for activation based on type and/or probability of human presence
CN112351561A (en) Corridor induction lamp control system and control method thereof
CN206610310U (en) Iris authentication system
CN104507217A (en) Illumination system capable of remotely and intelligently being controlled
CN220823327U (en) Power line carrier constant current control circuit and LED lighting equipment
CN220669231U (en) Solar street lamp control system
CN214384919U (en) Light sensing circuit and intelligent camera
CN207916878U (en) Locomotive timesharing limit ring control device
CN107484307A (en) A kind of street lamp brightness method of adjustment and device based on Internet of Things
CN208143539U (en) A kind of gymnasium high-power LED illumination intelligence control system

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: 20181116

RJ01 Rejection of invention patent application after publication