Summary of the invention
The purpose of this utility model overcomes the deficiencies in the prior art, a kind of intelligent desk lamp with sitting posture adjustment monitoring and the automatic inducing function of light is provided, its compact conformation, when learning, desk lamp, when sensing that ambient light is dimmed, just can open desk lamp voluntarily, and self adaptation ambient light, automatically carry out brightness regulation, and when detecting that user leaves position setting-up time, desk lamp just can be closed automatically; When opening to desk lamp, timing starts, and after setting-up time, just can carry out reminding with eye, take a good rest; Meanwhile, take into account sitting posture Real-Time Monitoring, easy to use, additionally wear annex without the need to human body again, grow up for student health escorts comprehensively, brings comfortable facility to study, safe and reliable.
According to the technical scheme that the utility model provides, described in there is sitting posture monitor and the intelligent desk lamp of the automatic inducing function of light, comprise the LED constant current module for throwing light on and control the microcontroller of described LED constant current module luminance; It is characterized in that: described microcontroller is also connected with the optical sensor for gathering light intensity and for detecting the pyroelectric sensor whether having human body to exist.
Described optical sensor comprises photo resistance.
Described microcontroller is also connected with the ultrasonic sensor for human body sitting posture state.
The power end of the power end of described microcontroller, the power end of LED constant current module, the power end of ultrasonic sensor and pyroelectric sensor is all connected with power module,
Described power module comprises voltage conversion chip U1, voltage conversion chip U2 and voltage conversion chip U3; Voltage conversion chip U1 adopts model to be the chip of PV0124W12V, voltage conversion chip U1 is connected with external power source by L end, N end, the VOUT end of voltage conversion chip U1 is held with the Vin of one end of electric capacity C1, one end of electric capacity C2 and voltage conversion chip U2 and is connected, the other end of electric capacity C1, the other end of electric capacity C2 and the GND of voltage conversion chip U1 hold equal ground connection, and the VOUT end of voltage conversion chip U1 forms VCC12V link simultaneously;
Voltage conversion chip U2 adopts model to be the chip of 78M05, the VIN of the Vout end of voltage conversion chip U2 and one end of one end of electric capacity C3, electric capacity C4, one end of electric capacity C54, one end of electric capacity C5 and voltage conversion chip U3 holds and is connected, the other end of the other end of electric capacity C3, the other end of electric capacity C4, electric capacity C54, the other end of electric capacity C5 and the GND of voltage conversion chip U2 hold equal ground connection, and the Vout end of voltage conversion chip U2 forms VCC50 link simultaneously;
Voltage conversion chip U3 adopts model to be the chip of XC6206A-3.3V, the VOUT end of voltage conversion chip U3 is connected with one end of electric capacity C6 and one end of electric capacity C7, the other end of electric capacity C6, the other end of electric capacity C7, the GND of voltage conversion chip U3 hold equal ground connection, and the VOUT of voltage conversion chip U3 holds formation VCC33 link simultaneously.
Described pyroelectric sensor employing model is the chip U10 of HC-SR501, the GND of chip U10 holds ground connection, the VCC end of chip U10 is connected with VCC50 link, the output of chip U10 is connected with one end of one end of resistance R34 and resistance R35, the other end of resistance R34 is connected with VCC50 link, the other end of resistance R35 is connected with one end of the base terminal of triode Q4 and electric capacity C37, the other end of electric capacity C37 and the equal ground connection of emitter terminal of triode Q4, the collector terminal of triode Q4 is connected with one end of one end of resistance R36 and resistance R37, the other end of resistance R36 is connected with VCC33 link, the other end of resistance R37 is connected with the input of microcontroller.
Described ultrasonic sensor adopts model to be the ultrasound chip U8 of HC-SR04, the VCC end of described ultrasound chip U8 is connected with VCC50 link, the Trig end of ultrasound chip U8 is connected with one end of resistance R29, the other end of resistance R29 is connected with the collector terminal of one end of resistance R28 and triode Q2, the other end of resistance R28 is connected with VCC50 link, the base terminal of triode Q2 and one end of resistance R27, one end of electric capacity C35 connects, the other end of electric capacity C35 and the equal ground connection of emitter terminal of triode Q2, the other end of resistance R27 is connected with one end of resistance R26 and the output of microcontroller, the other end of resistance R26 is connected with VCC33 link,
The Echo end of ultrasound chip U8 is connected with one end of resistance R30 and one end of resistance R31, the other end of resistance R30 is connected with VCC50 link, the other end of resistance R31 is connected with the base terminal of one end of electric capacity C36 and triode Q3, the other end of electric capacity C36 and the equal ground connection of emitter terminal of triode Q3, the collector terminal of triode Q3 is connected with one end of one end of resistance R32 and resistance R33, the other end of resistance R32 is connected with VCC33 link, the other end of resistance R33 is connected with the input of microcontroller, and the GND of ultrasound chip U8 holds ground connection.
Described LED constant current module employing model is the constant-current driven chip U7 of UC5710, the vdd terminal of described constant-current driven chip U7 is connected with VCC50 link, the DIM end of constant-current driven chip U7 is connected with the output of microcontroller, the CHI end of constant-current driven chip U7 is connected with the cathode terminal of light-emitting diode D1, the anode tap of light-emitting diode D1 is connected with the cathode terminal of light-emitting diode D2, the anode tap of light-emitting diode D2 is connected with the cathode terminal of light-emitting diode D3, the anode tap of light-emitting diode D3 and VCC12V link, one end of electric capacity C55, one end of electric capacity C56 and the anode tap of light-emitting diode D6 connect, the other end of electric capacity C55 and the equal ground connection of the other end of electric capacity C56, the cathode terminal of light-emitting diode D6 is connected with the anode tap of light-emitting diode D5, the cathode terminal of light-emitting diode D5 is connected with the anode tap of light-emitting diode D4, the cathode terminal of light-emitting diode D4 is held with the CH2 of constant-current driven chip U7 and is connected, the GND1 end of constant-current driven chip U7, GND2 holds equal ground connection, the Rext end of constant-current driven chip U7 is connected with one end of resistance R25, the other end ground connection of resistance R25.
Described microcontroller sends pwm control signal to the DIM end of constant-current driven chip U7.
Advantage of the present utility model: when learning, desk lamp, when sensing that ambient light is dimmed, just can open desk lamp voluntarily, and self adaptation ambient light, automatically carry out brightness regulation, and when detecting that user leaves position setting-up time, desk lamp just can be closed automatically; When opening to desk lamp, timing starts, and after setting-up time, just can carry out reminding with eye, take a good rest; Meanwhile, take into account sitting posture Real-Time Monitoring, easy to use, additionally wear annex without the need to human body again, grow up for student health escorts comprehensively, brings comfortable facility to study, safe and reliable.
Embodiment
Below in conjunction with concrete drawings and Examples, the utility model is described in further detail.
As shown in Figure 1: during in order to dim around, just desk lamp can be opened voluntarily, and self adaptation ambient light, automatically carry out brightness regulation, the utility model comprises the LED constant current module for throwing light on and controls the microcontroller of described LED constant current module luminance; Described microcontroller is also connected with the optical sensor for gathering light intensity and for detecting the pyroelectric sensor whether having human body to exist; There is signal in the human body that pyroelectric sensor can transmit in LED constant current module illumination zone to microcontroller, optical sensor can transmit the ambient light intensity of LED constant current module place environment in microcontroller;
When the human body that microcontroller receives pyroelectric sensor transmission exists signal and default illuminating ray intensity in ambient light intensity and the microcontroller of optical sensor transmission matches, microcontroller driving LED constant flow module is luminous to work and the luminosity of LED constant current module and described ambient light intensity is matched.
Particularly, microcontroller energy driving LED constant flow module luminescence work, microcontroller can adopt existing conventional micro-chip processor, as single-chip microcomputer, embedded processing systems etc., as long as microcontroller can receive the signal of pyroelectric sensor and optical sensor transmission, and drive and the luminance controlling LED constant current module.In the specific implementation, in order to form complete desk lamp, also need to comprise the part such as lamp socket and lamp housing, microcontroller, LED constant current module, pyroelectric sensor and optical sensor are all in lamp socket or lamp housing, particular location can be arranged as required, specifically repeats no more.By induction, pyroelectric sensor has determined whether that human body exists, optical sensor can determine the ambient light intensity in environment residing for desk lamp.In order to make desk lamp intelligent opening, pre-set default illuminating ray intensity in microcontroller, the occurrence presetting illuminating ray intensity can carry out selection as required and determine, ambient light intensity and default illuminating ray intensity match refer to that ambient light intensity can not meet work at present or study use eye requirement, microcontroller now can start luminous work by driving LED constant flow module automatically, and the luminosity of LED constant current module and ambient light intensity match, wherein, what the luminosity of LED constant current module and ambient light strength matching referred to that the luminosity of LED constant current module and ambient light intensity can meet work at present or study completely uses eye requirement, namely microcontroller environmentally light intensity regulate the luminosity of LED constant current module.
Further, during described microcontroller driving LED constant flow module luminescence work, microcontroller carries out timing to the LED constant current module luminous operating time, when the luminous operating time of LED constant current module mated with the default eye operating time in microcontroller, alerting signal between microcontroller exports and uses at the moment.
Described optical sensor comprises photo resistance, and microcontroller is exported with alerting signal between at the moment by loud speaker or display screen.
In the utility model embodiment, in microcontroller, generally comprise timer and memory, when after microcontroller driving LED constant flow module luminescence work, namely start timer and timing is carried out to the fluorescent lifetime of LED constant current module.According to work or learning time use eye length requirement, can arrange in microcontroller and use the eye operating time, when the luminous operating time of timer to LED constant current building block technique reaches the scope preset with the eye operating time, microcontroller can export with alerting signal between at the moment, to avoid for a long time by the kopiopia that eye causes by loud speaker or display screen.When being exported by loud speaker or display screen with between at the moment during alerting signal, then need, on desk lamp, required loud speaker or display screen are installed.In the specific implementation, optical sensor adopts the visible ray photo resistance of light pipe, under dark surrounds, the resistance of photo resistance is high, photo resistance is when being subject to illumination and optical radiation energy is enough large, resistivity diminishes, and microcontroller determines current ambient light intensity by the resistance reading photo resistance.
Described microcontroller is also connected with the ultrasonic sensor for human body sitting posture state, ultrasonic sensor can transmit sitting posture offset signal to microcontroller, after microcontroller receives the sitting posture offset signal of ultrasonic sensor transmission, microcontroller exports sitting posture alarm signal.
In the utility model embodiment, ultrasonic sensor is installed on the lamp holder position of desk lamp, is detected the surveyed area whether having object to enter below by ultrasonic sensor.When working or in learning process, human body enters the surveyed area of ultrasonic sensor, then can be detected by ultrasonic sensor, namely think that human body sitting posture deviate from normal sitting posture, now, ultrasonic sensor transmits sitting posture offset signal in microcontroller.Microcontroller exports sitting posture alarm signal by display screen or loud speaker, adjusts to correct sitting posture to remind desk lamp user.By ultrasonic sensor, human body sitting posture detected and without the need to additionally wearing annex, bring comfortable facility to study or work, safe and reliable.
After microcontroller driving LED constant flow module luminescence work, leave LED constant current module by pyroelectric sensor determination human body and to leave in time of LED constant current module and microcontroller default leaves the shut-in time when matching, microcontroller turns off the luminous operating state of LED constant current module.
In the utility model embodiment, after LED constant current module luminescence work, desk lamp user may be there is and leave the situation not re-using desk lamp.Left by pyroelectric sensor determination human body, and timing carried out to the time that human body leaves, when the time left with preset leave the shut-in time match time, in order to energy-conservation etc., microcontroller can turn off LED constant current module.The time leaving LED constant current module is left the shut-in time and matches and refer to that microcontroller enters the scope preset and leave the shut-in time to the time that human body leaves with presetting, and presets to leave the shut-in time and can carry out concrete selection according to specific needs determine in microcontroller.
The power end of the power end of described microcontroller, the power end of LED constant current module, the power end of ultrasonic sensor and pyroelectric sensor is all connected with power module,
Described power module comprises voltage conversion chip U1, voltage conversion chip U2 and voltage conversion chip U3; Voltage conversion chip U1 adopts model to be the chip of PV0124W12V, voltage conversion chip U1 is connected with external power source by L end, N end, the VOUT end of voltage conversion chip U1 is held with the Vin of one end of electric capacity C1, one end of electric capacity C2 and voltage conversion chip U2 and is connected, the other end of electric capacity C1, the other end of electric capacity C2 and the GND of voltage conversion chip U1 hold equal ground connection, and the VOUT end of voltage conversion chip U1 forms VCC12V link simultaneously;
Voltage conversion chip U2 adopts model to be the chip of 78M05, the VIN of the Vout end of voltage conversion chip U2 and one end of one end of electric capacity C3, electric capacity C4, one end of electric capacity C54, one end of electric capacity C5 and voltage conversion chip U3 holds and is connected, the other end of the other end of electric capacity C3, the other end of electric capacity C4, electric capacity C54, the other end of electric capacity C5 and the GND of voltage conversion chip U2 hold equal ground connection, and the Vout end of voltage conversion chip U2 forms VCC50 link simultaneously;
Voltage conversion chip U3 adopts model to be the chip of XC6206A-3.3V, the VOUT end of voltage conversion chip U3 is connected with one end of electric capacity C6 and one end of electric capacity C7, the other end of electric capacity C6, the other end of electric capacity C7, the GND of voltage conversion chip U3 hold equal ground connection, and the VOUT of voltage conversion chip U3 holds formation VCC33 link simultaneously.
As shown in Figure 3, in power module, export 12V voltage by VCC12V link, export 5V voltage by VCC50 link, export 3.3V voltage by VCC33 link; Required operating voltage can be provided for microcontroller, ultrasonic sensor, pyroelectric sensor and LED constant current module by the VCC12V link in power module, VCC50 link and VCC33 link.
As shown in Figure 4, described pyroelectric sensor employing model is the chip U10 of HC-SR501, the GND of chip U10 holds ground connection, the VCC end of chip U10 is connected with VCC50 link, the output of chip U10 is connected with one end of one end of resistance R34 and resistance R35, the other end of resistance R34 is connected with VCC50 link, the other end of resistance R35 is connected with one end of the base terminal of triode Q4 and electric capacity C37, the other end of electric capacity C37 and the equal ground connection of emitter terminal of triode Q4, the collector terminal of triode Q4 is connected with one end of one end of resistance R36 and resistance R37, the other end of resistance R36 is connected with VCC33 link, the other end of resistance R37 is connected with the input of microcontroller.
Particularly, the chip U10 of employing HC-SR501 is the automatic control module based on infrared technology, and be full-automatic induction mode, people enters its induction range and then exports high level, and people leaves and responds to then automatic time delay closedown high level, output low level.Use can repeated trigger mode, namely after induction exports high level, in delay time section, if someone is movable at its induction range, its output will keep high level always, until people leaves rear ability time delay high level is become low level (induction module can be postponed after the activity each time of human body being detected a delay time section automatically, and with the starting point that is delay time of last movable time).Chip U10, can followed by arranging a blocking time section after responding to output each time, and at this moment, section interoceptor does not accept any induced signal, and blocking time is about 2.5s.
As shown in Figure 5, described ultrasonic sensor adopts model to be the ultrasound chip U8 of HC-SR04, the VCC end of described ultrasound chip U8 is connected with VCC50 link, the Trig end of ultrasound chip U8 is connected with one end of resistance R29, the other end of resistance R29 is connected with the collector terminal of one end of resistance R28 and triode Q2, the other end of resistance R28 is connected with VCC50 link, the base terminal of triode Q2 and one end of resistance R27, one end of electric capacity C35 connects, the other end of electric capacity C35 and the equal ground connection of emitter terminal of triode Q2, the other end of resistance R27 is connected with one end of resistance R26 and the output of microcontroller, the other end of resistance R26 is connected with VCC33 link,
The Echo end of ultrasound chip U8 is connected with one end of resistance R30 and one end of resistance R31, the other end of resistance R30 is connected with VCC50 link, the other end of resistance R31 is connected with the base terminal of one end of electric capacity C36 and triode Q3, the other end of electric capacity C36 and the equal ground connection of emitter terminal of triode Q3, the collector terminal of triode Q3 is connected with one end of one end of resistance R32 and resistance R33, the other end of resistance R32 is connected with VCC33 link, the other end of resistance R33 is connected with the input of microcontroller, and the GND of ultrasound chip U8 holds ground connection.
Particularly, the ultrasound chip U8 range accuracy of HC-SR04 is adopted to reach high to 3mm; Carry out the contactless distance sensing function of 2cm to 400m.I/O port is adopted to communicate between ultrasound chip U8 with microcontroller, the Trig(trigger of ultrasound chip U8) termination receipts Trig control signal, after receiving Trig control signal, ultrasound chip U8 sends the square wave of 8 40KHZ automatically, and whether detection has signal to return automatically, once echo-signal detected, exporting response signal, by I/O port ECHO(radioecho) response signal exports a high level, and the pulse duration of response signal is directly proportional to surveyed distance.Therefore, the time that high level continues is exactly that ultrasonic wave is from transmitting signals to the time returned.During work, desk lamp is aimed at above books, and about 25cm highly monitors, if there are limbs to enter within the scope of this, namely can report to the police.Further, measuring distance=(the high level time * velocity of sound (340M/s))/2.
As shown in Figure 2, described LED constant current module employing model is the constant-current driven chip U7 of UC5710, the vdd terminal of described constant-current driven chip U7 is connected with VCC50 link, the DIM end of constant-current driven chip U7 is connected with the output of microcontroller, the CHI end of constant-current driven chip U7 is connected with the cathode terminal of light-emitting diode D1, the anode tap of light-emitting diode D1 is connected with the cathode terminal of light-emitting diode D2, the anode tap of light-emitting diode D2 is connected with the cathode terminal of light-emitting diode D3, the anode tap of light-emitting diode D3 and VCC12V link, one end of electric capacity C55, one end of electric capacity C56 and the anode tap of light-emitting diode D6 connect, the other end of electric capacity C55 and the equal ground connection of the other end of electric capacity C56, the cathode terminal of light-emitting diode D6 is connected with the anode tap of light-emitting diode D5, the cathode terminal of light-emitting diode D5 is connected with the anode tap of light-emitting diode D4, the cathode terminal of light-emitting diode D4 is held with the CH2 of constant-current driven chip U7 and is connected, the GND1 end of constant-current driven chip U7, GND2 holds equal ground connection, the Rext end of constant-current driven chip U7 is connected with one end of resistance R25, the other end ground connection of resistance R25.
Particularly, LED constant current module adopts white light LEDs, and described microcontroller sends pwm control signal to the DIM end of constant-current driven chip U7, and pwm control signal makes voltage and frequency coordination convert, thus realizes the brightness regulation of light.