CN209787531U - novel lamp switch chip - Google Patents

novel lamp switch chip Download PDF

Info

Publication number
CN209787531U
CN209787531U CN201821826333.XU CN201821826333U CN209787531U CN 209787531 U CN209787531 U CN 209787531U CN 201821826333 U CN201821826333 U CN 201821826333U CN 209787531 U CN209787531 U CN 209787531U
Authority
CN
China
Prior art keywords
microprocessor
digital signal
image sensor
processing module
signal processing
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.)
Expired - Fee Related
Application number
CN201821826333.XU
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.)
Quanzhou Cilico Electronic Technology Co Ltd
Original Assignee
Quanzhou Cilico Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Quanzhou Cilico Electronic Technology Co Ltd filed Critical Quanzhou Cilico Electronic Technology Co Ltd
Priority to CN201821826333.XU priority Critical patent/CN209787531U/en
Application granted granted Critical
Publication of CN209787531U publication Critical patent/CN209787531U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The utility model relates to a lamps and lanterns switch technical field especially relates to a novel lamps and lanterns switch chip, including microprocessor, digital signal processing module, image sensor, analog-to-digital conversion module, infrared ray sensor, power input serial ports and signal output serial ports, from taking clock circuit in the microprocessor, microprocessor's power end, digital signal processing module's power end, image sensor's power end, infrared ray sensor's power end is connected with power input serial ports electricity respectively, microprocessor and digital signal processing module communication connection, image sensor passes through analog-to-digital conversion module and is connected with digital signal processing module electricity, image sensor is connected with microprocessor's output electricity, infrared ray sensor is connected with microprocessor's input electricity, signal output serial ports is connected with microprocessor's output electricity. The lamp switch chip controls the lamp to be turned on or off by identifying the moving object, and has the advantages of long identification distance, wide identification range and high identification accuracy.

Description

novel lamp switch chip
Technical Field
The utility model relates to a lamps and lanterns switch technical field especially relates to a novel lamps and lanterns switch chip.
Background
With the development of electronic technology, lamp switches are more and more intelligent. Aiming at different application scenes, different intelligent requirements are imposed on the lamp switch, for example, for the lamp switch applied to public areas such as corridors, garages, staircases and the like, people are required to turn on the lamp, and people turn off the lamp to save electric energy. At present, lamps applied to public areas such as corridors, garages and staircases generally adopt a voice-operated inductive switch, the voice-operated inductive switch detects sound when people walk in, and the voice-operated inductive switch controls the lamps to be automatically turned off after the lamps are turned on for a plurality of seconds. However, in the actual using process, since people may stay in public areas such as corridors, garages, staircases and the like for a period of time, if the lamp is automatically turned off after being turned on for several seconds, the sound needs to be emitted again to enable the sound-controlled inductive switch to control the lamp to be turned on, which is obviously inconvenient. In another situation, an infrared sensing switch is adopted, but the identification distance of the infrared sensing switch is short, the identification range is narrow, once a person leaves the identification distance or the identification range of the infrared sensing switch for a period of time, the lamp is automatically turned off, and the person needs to stand in the identification distance and the identification range of the infrared sensing switch to trigger the infrared sensing switch to control the lamp to be turned on, which is obviously inconvenient.
The present inventors have discovered that people are generally not stationary in public areas such as corridors, garages, stairwells, and the like.
SUMMERY OF THE UTILITY MODEL
Therefore, the utility model provides a novel lamps and lanterns switch chip lights or extinguishes through the object control lamps and lanterns of discernment motion, and identification distance is far away, and identification range is wide, and the discernment rate of accuracy is high.
In order to achieve the above purpose, the utility model adopts the following technical scheme: a novel lamp switch chip comprises a microprocessor, a digital signal processing module, an image sensor, an analog-to-digital conversion module, an infrared sensor, a power input serial port and a signal output serial port, the microprocessor is internally provided with a clock circuit, the digital signal processing module is internally provided with image comparison software in a burning way, the power end of the microprocessor, the power end of the digital signal processing module, the power end of the image sensor and the power end of the infrared sensor are respectively and electrically connected with the power input serial port, the microprocessor is in communication connection with the digital signal processing module, the image sensor is electrically connected with the digital signal processing module through the analog-to-digital conversion module, the image sensor is electrically connected with the output end of the microprocessor, the infrared sensor is electrically connected with the input end of the microprocessor, and the signal output serial port is electrically connected with the output end of the microprocessor.
Further, the image sensor adopts a CMOS image sensor with an active pixel structure.
By adopting the technical scheme, the beneficial effects of the utility model are that: the lamp switch chip is used for controlling the lamp to be turned on or off, and considering that people can not be in a static state in public areas such as corridors, garages, staircases and the like, by presetting the working time of the infrared sensor in the microprocessor, once the infrared sensor detects that a person passes through the infrared sensor, the infrared sensor triggers the microprocessor to control a signal output serial port to output a signal for controlling the lamp to light, then the image information of the environment is collected by the image sensor and transmitted to the digital signal processing module, the digital signal processing module judges whether the picture has change or not through image comparison software, if the picture has no change through the image comparison software within a certain time, the microprocessor controls the signal output serial port to output a signal to control the lamp to be turned off, and if the image comparison software identifies and judges that the image changes within the set time, the microprocessor recalculates the signal output serial port to output the signal time. Like this, guaranteed that people in public areas such as corridor, garage, stairwell lamps and lanterns light up when, people walk the time lamps and lanterns and extinguish, this lamps and lanterns switch chip has the recognition distance far away, and the recognition scope is wide, the advantage that the discernment rate of accuracy is high.
Drawings
Fig. 1 is a circuit connection block diagram of the present invention.
Detailed Description
The present invention will now be further described with reference to the accompanying drawings and detailed description.
Referring to fig. 1, the present embodiment provides a novel lamp switch chip, which includes a microprocessor 1, a digital signal processing module 2, a CMOS image sensor 3 with an active pixel structure, an analog-to-digital conversion module 4, an infrared sensor 5, a signal output serial port 6, and a power input serial port 7. The microprocessor adopts an MCS-51 single chip microcomputer, and an internal clock circuit is arranged in the MCS-51 single chip microcomputer; the digital signal processing module adopts a TMS320F28335 type digital signal processor; the TMS320F28335 model digital signal processor is burnt with Image comparison software, such as Image Comparer software. The electronic components and the circuit modules are all known in the prior art.
The power supply end of the microprocessor 1, the power supply end of the digital signal processing module 2, the power supply end of the CMOS image sensor 3 and the power supply end of the infrared sensor 5 are respectively and electrically connected with a power supply input serial port 7, the microprocessor 1 is in communication connection with the digital signal processing module 2, the CMOS image sensor 3 is electrically connected with the digital signal processing module 2 through an analog-to-digital conversion module 4, the CMOS image sensor 3 is electrically connected with the output end of the microprocessor 1, the infrared sensor 5 is electrically connected with the input end of the microprocessor 1, and the signal output serial port 6 is electrically connected with the output end of the microprocessor 1.
The CMOS image sensor 3 described above may be replaced with a CCD image sensor or a CMOS image sensor of a passive pixel structure.
A control method applied to the lamp switch chip comprises the following program steps:
Step one, setting a working time period of an infrared sensor 5 in a microprocessor 1, calculating real-time by a clock circuit in the microprocessor 1, and if the real-time calculated by the microprocessor 1 is not in the working time period of the infrared sensor 5, outputting no signal by a signal output serial port 6; if the real-time calculated by the microprocessor 1 is in the set time period for the infrared sensor 5 to work, entering a second step;
Step two, the microprocessor 1 controls the infrared sensor 5 to work, and if the infrared sensor 5 does not detect the infrared rays emitted by the object in the detection range, the step a is carried out; if the infrared sensor 5 detects infrared rays emitted by the object within the detection range, the process proceeds to step b:
Step a, no signal is output from the signal output serial port 6, and the program is ended;
step b, the microprocessor 1 controls the clock circuit to start timing for 10 seconds, and meanwhile, the microprocessor 1 outputs an electric signal through the signal output serial port 6 to control the lamp to light up, and the step three is carried out;
Step three, the microprocessor 1 controls the CMOS image sensor 3 to work, and sets the frame rate of pictures collected by the CMOS image sensor 3 to be 60 frames/second, the CMOS image sensor 3 converts the collected pictures into digital signals through the analog-to-digital converter 4 and transmits the digital signals to the digital signal processing module 2, the digital signal processing module is set to receive the digital signals of 600 frames of pictures as an operation period, and the step four is carried out;
Step four, the digital signal processing module 2 takes the digital signal of the received 600 frames of pictures as an operation period, the digital signal processing module 2 receives and temporarily stores the digital signal of the 1 st frame of pictures and the digital signal of the 2 nd frame of pictures, the digital signal processing module 2 compares the digital signal of the 2 nd frame of pictures with the digital signal of the 1 st frame of pictures through image comparison software, and whether the comparison between the 2 nd frame of pictures and the 1 st frame of pictures changes is judged; when the digital signal processing module 2 continues to receive the digital signal of the 3 rd frame picture, the digital signal of the 3 rd frame picture replaces the originally stored digital signal of the 1 st frame picture, the digital signal processing module 2 compares the digital signal of the 3 rd frame picture with the digital signal of the 2 nd frame picture through image comparison software, and judges whether the comparison between the 3 rd frame picture and the 2 nd frame picture changes or not; by analogy, when the digital signal processing module 2 continues to receive the digital signal of the nth frame picture, the digital signal of the nth frame picture replaces the originally stored digital signal of the (n-2) th frame picture, the digital signal processing module compares the digital signal of the nth frame picture with the digital signal of the (n-1) th frame picture through image comparison software, and judges whether the comparison between the nth frame picture and the (n-1) th frame picture changes, wherein n is an integer, and n is more than or equal to 3 and less than or equal to 600;
If the digital signal of any one frame of picture of the digital signals of the 600 frames of pictures is not changed compared with the digital signal of the previous frame of picture, the clock circuit counts time to 10 seconds, the signal output serial port 6 has no signal output, and the program is ended;
If any one picture in the 600 frames changes compared with the previous picture, the digital signal processing module 2 transmits information to the microprocessor 1, a clock circuit in the microprocessor 1 is cleared, timing is restarted for 10 seconds, the step b of the step two is skipped, and the digital signal processing module 2 receives the digital signals of the 600 frames of pictures again to be a running period.
This novel lamps and lanterns switch chip has that identification distance is far away, and identification range is wide, the advantage that the discernment rate of accuracy is high.
while the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (2)

1. a novel lamp switch chip is characterized in that: the image sensor is electrically connected with the digital signal processing module through the analog-to-digital conversion module, the image sensor is electrically connected with the output end of the microprocessor, the infrared sensor is electrically connected with the input end of the microprocessor, and the signal output serial port is electrically connected with the output end of the microprocessor.
2. the novel lamp switch chip of claim 1, wherein: the image sensor adopts a CMOS image sensor with an active pixel structure.
CN201821826333.XU 2018-11-07 2018-11-07 novel lamp switch chip Expired - Fee Related CN209787531U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821826333.XU CN209787531U (en) 2018-11-07 2018-11-07 novel lamp switch chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821826333.XU CN209787531U (en) 2018-11-07 2018-11-07 novel lamp switch chip

Publications (1)

Publication Number Publication Date
CN209787531U true CN209787531U (en) 2019-12-13

Family

ID=68787315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821826333.XU Expired - Fee Related CN209787531U (en) 2018-11-07 2018-11-07 novel lamp switch chip

Country Status (1)

Country Link
CN (1) CN209787531U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109287052A (en) * 2018-11-07 2019-01-29 泉州思力科电子科技有限公司 A kind of control method of lamp switch chip and the lamp switch chip

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109287052A (en) * 2018-11-07 2019-01-29 泉州思力科电子科技有限公司 A kind of control method of lamp switch chip and the lamp switch chip

Similar Documents

Publication Publication Date Title
US9478111B2 (en) Long-range motion detection for illumination control
KR101270343B1 (en) System for control light and security using switcher with blue tooth module
US20230368572A1 (en) Portable electronic device and operation method
CN211128340U (en) Intelligence house light control system
US7847858B2 (en) System and method for controlling photoflash
WO2017133087A1 (en) Photographing control apparatus and auxiliary flash control apparatus
CN209787531U (en) novel lamp switch chip
CN105988265A (en) Photographing method for plug-in flash lamp of mobile device
CN102083251A (en) LED dimming sensor
SE0103286D0 (en) An optical sensor device and a method of controlling its exposure time
WO2014121575A1 (en) Infrared camera
US11659285B2 (en) Monitoring device and image capturing method
CN109287052A (en) A kind of control method of lamp switch chip and the lamp switch chip
CN101888495A (en) Method and system for controlling operating conditions of TV set and TV set
KR20110006453A (en) Method for detecting disturbance of monitoring camera
CN114424145B (en) Proximity detection method, terminal and storage medium
CN113966044A (en) Building lighting system and method based on artificial intelligent control
CN104954662A (en) Sensor and control system using same
CN204423459U (en) LED illumination device
CN109743807B (en) Anti-interference infrared dimming control system and infrared dimming control method
CN112333901A (en) Lamps and lanterns that can follow automatically and provide fixed point illumination based on thing networking characteristic
CN114079709A (en) Driver mechanism for rolling shutter sensor to obtain structured light pattern
CN212785937U (en) Novel practical response linkage lamp
CN110933260A (en) Light source selection method and three-source camera
US20170359664A1 (en) Sensor hub apparatus and method for sensing ambient light and audio conditions

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191213

Termination date: 20211107

CF01 Termination of patent right due to non-payment of annual fee