CN102655705B - Frequency-variable breathing lamp and control method thereof as well as main machine peripherals - Google Patents

Frequency-variable breathing lamp and control method thereof as well as main machine peripherals Download PDF

Info

Publication number
CN102655705B
CN102655705B CN201210121702.6A CN201210121702A CN102655705B CN 102655705 B CN102655705 B CN 102655705B CN 201210121702 A CN201210121702 A CN 201210121702A CN 102655705 B CN102655705 B CN 102655705B
Authority
CN
China
Prior art keywords
report rate
data report
data
control method
modulomenter
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
CN201210121702.6A
Other languages
Chinese (zh)
Other versions
CN102655705A (en
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.)
SILITEN ELECTRONICS CO Ltd
Original Assignee
SILITEN ELECTRONICS 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 SILITEN ELECTRONICS CO Ltd filed Critical SILITEN ELECTRONICS CO Ltd
Priority to CN201210121702.6A priority Critical patent/CN102655705B/en
Publication of CN102655705A publication Critical patent/CN102655705A/en
Application granted granted Critical
Publication of CN102655705B publication Critical patent/CN102655705B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention relates to a frequency-variable breathing lamp and a control method thereof as well as main machine peripherals. The control method comprises the following steps as follows: step 1, a data collecting module collects a data flow communicated with a main machine of a micro-control unit, and records a data report rate of the data flow; step 2, a PWM (Pulse Width Modulation) module modulates the data report rate to a PWM pulse sequence corresponding to a pulse period according to a modulation table, wherein the modulation table is an algorithm function between the data report rate and the pulse period; step 3, a power supply integration module converts the PWM pulse sequence into a controlled riving power; and step 4, the micro-control unit controls power variation of a light-emitting unit according to the driving power provided by the power supply integration module; and the step 1 to the step 4 are repeatedly executed every n seconds. The frequency-variable breathing lamp provided by the invention can be subjected to rhyme variation with working load of a main machine peripheral product, so that the breathing lamp displays in a more vivid and natural manner, and the eye fatigue is effectively relaxed.

Description

The control method of variable ratio frequency changer breath light and main frame peripheral hardware and variable ratio frequency changer breath light
Technical field
The present invention relates to a kind of control method and device thereof of luminous indicating equipment, be specifically related to the control method of a kind of variable ratio frequency changer breath light and main frame peripheral hardware and variable ratio frequency changer breath light.
Background technology
Luminous indicating lamp is used in various electronic equipments, the indicating effect of computer peripheral peripheral hardware all enjoys consumers in general's concern all the time, in current main frame peripheral product, common illumination effect is more single, for example continue luminous or glimmer with fixed frequency, although the breath light with fixed frequency flicker is better with respect to continuing luminous indicator light visual effect, but this breath light rhythm is inflexible stiff, lively not nature, and the flicker of fixed frequency easily produces visual fatigue, effect of breathing is poor.
Summary of the invention
The object of the invention is to for the deficiencies in the prior art, a kind of control method that can effectively alleviate with asthenopic variable ratio frequency changer breath light and main frame peripheral hardware and variable ratio frequency changer breath light is provided.
A control method for variable ratio frequency changer breath light, comprises the steps:
Step 1: the data traffic of data collecting module collected micro-control unit and main-machine communication, and record the data report rate of this data traffic;
Step 2: PWM modulation module is modulated into data report rate the pwm pulse sequence in respective pulses cycle according to modulomenter; Described modulomenter is the algorithmic function of data report rate and pulse period;
Step 3: power supply integration module converts controlled driving power to pwm pulse sequence;
Step 4: the power that the driving power that micro-control unit provides according to power supply integration module is controlled luminescence unit changes;
Wherein, every n repeating step second one to step 4, the interval time that the numerical value of n need to be set according to concrete vision for user.
Wherein, the number range of described n is 0<n<5.
Further, the numerical value of described n is 1.
Wherein, the pulse period of described modulomenter is a fixed cycle, and a is the arbitrary numerical value in 2,3,4,5.
Further, the pulse period of described modulomenter is 3 fixed cycles.
Wherein, the specific algorithm function of described modulomenter is: when data report rate is less than 2 times/second, the respective pulses cycle is 2560ms; When data report rate is more than or equal to 2 times/second, and while being less than 4 times/second, the respective pulses cycle is 1536ms; When data report rate is more than or equal to 4 times/second, the respective pulses cycle is 512ms.
A variable ratio frequency changer breath light, comprises the microprocessor and the luminescence unit that are connected with main frame, and described microprocessor comprises micro-control unit, data acquisition module, PWM modulation module and power supply integration module;
Described data acquisition module is used for gathering the data traffic of micro-control unit and main-machine communication, and records the data report rate of this data traffic;
Described PWM modulation module is for being modulated into data report rate the pwm pulse sequence in respective pulses cycle according to modulomenter; Described modulomenter is the algorithmic function of data report rate and pulse period;
Described power supply integration module is for converting pwm pulse sequence to controlled driving power;
The driving power that described micro-control unit provides according to power supply integration module is controlled the variation of luminescence unit.
Wherein, described luminescence unit comprises a light-emitting diode and an isolation resistance, and the control output end of described microprocessor is connected with described light-emitting diode by described isolation resistance.
A main frame peripheral hardware that uses variable ratio frequency changer breath light, described luminescence unit is installed on the outer surface of main frame peripheral hardware.
Wherein, described main frame peripheral hardware can be keyboard or mouse.
Beneficial effect of the present invention:
Compared with prior art, the present invention has the following advantages:
(1) solved breathe to show in the inflexible stiff problem of breath rhythm, allow the rhythm breathed along with the live load of main frame peripheral hardware changes and tempo variation, the live load of main frame peripheral hardware can embody from the data traffic of micro-control unit and main-machine communication; Breath light shows more lively, nature; Be working strength when larger, it is rapid that breath light flicker can become; When working strength reduces, breath light flicker can slow down; In the time of in rest, breath light flicker can be longer;
(2) adopt the integration power supply technique of power supply integration module, can effectively reduce the micro-flicker of LED in PWM modulation, make demonstration softer, be conducive to alleviation kopiopia.
Accompanying drawing explanation
Fig. 1 is the circuit theory diagrams of variable ratio frequency changer breath light of the present invention.
Fig. 2 is the module map of variable ratio frequency changer breath light of the present invention.
Fig. 3 is the flow chart of the control method of variable ratio frequency changer breath light of the present invention.
1-main frame; 2-data acquisition module;
3-micro-control unit; 4-main frame peripheral hardware;
5-PWM modulation module; 6-power supply integration module;
7-luminescence unit.
Embodiment
Below in conjunction with embodiment, the present invention is further illustrated.
Referring to Fig. 1 and Fig. 2, a kind of variable ratio frequency changer breath light, comprises the microprocessor and the luminescence unit 7 that are connected with main frame 1, and described microprocessor comprises micro-control unit 3, data acquisition module 2, PWM modulation module 5 and power supply integration module 6; Described power supply integration module 6 comprises integrating circuit; Micro-control unit 3 is connected with main frame peripheral hardware 4;
The data traffic that described data acquisition module 2 is communicated by letter with main frame 1 for gathering micro-control unit 3, and record the data report rate of this data traffic;
Described PWM modulation module 5 is for being modulated into data report rate the pwm pulse sequence in respective pulses cycle according to modulomenter; Described modulomenter is the algorithmic function of data report rate and pulse period;
Described power supply integration module 6 is for converting pwm pulse sequence to controlled driving power;
The driving power that described micro-control unit 3 provides according to power supply integration module 6 is controlled the variation of luminescence unit 7.
Wherein, described luminescence unit 7 comprises a light-emitting diode D1 and an isolation resistance R0, and the control output end of described microprocessor is connected with described light-emitting diode D1 by described isolation resistance R0.
As shown in Figure 1, described microprocessor mainly consists of a control chip D3, described microprocessor can be CPU, MCU, single-chip microcomputer etc., the integration output port of described control chip D3 connects the anode of a light-emitting diode D1 through an isolation resistance R0, the minus earth of described Light-Emitting Diode D1, the communication ends of described control chip D3 or control end connect main frame 1 and main frame peripheral hardware 4.
A kind of main frame peripheral hardware 4 that uses variable ratio frequency changer breath light, described luminescence unit 7 is installed on the outer surface of main frame peripheral hardware 4.
Wherein, described main frame peripheral hardware 4 can be keyboard or mouse.
As shown in Figure 3, a kind of control method of variable ratio frequency changer breath light, comprises the steps:
Step 1: data acquisition module 2 gathers the data traffic that micro-control unit 3 is communicated by letter with main frame 1, and record the data report rate of this data traffic;
Step 2: PWM modulation module 5 is modulated into data report rate the pwm pulse sequence in respective pulses cycle according to modulomenter; Described modulomenter is the algorithmic function of data report rate and pulse period;
Step 3: power supply integration module 6 converts controlled driving power to pwm pulse sequence;
Step 4: the power that the driving power that micro-control unit 3 provides according to power supply integration module 6 is controlled luminescence unit 7 changes;
Wherein, every n repeating step second one to step 4, the interval time that the numerical value of n need to be set according to concrete vision for user.
Wherein, the number range of described n is 0<n<5.
Further, the numerical value of described n is 1.
Wherein, the pulse period of described modulomenter is a fixed cycle, and a is the arbitrary numerical value in 2,3,4,5.
Further, the pulse period of described modulomenter is 3 fixed cycles.
Wherein, the selection of fixed cycle is that the peripheral hardware in second is used speed to decide by user b in the past, and the numerical value of b can be any number in 0-30, and optimal selection is 16 seconds.The specific algorithm function of described modulomenter is: when data report rate is less than 2 times/second, the respective pulses cycle is 2560ms; When data report rate is more than or equal to 2 times/second, and while being less than 4 times/second, the respective pulses cycle is 1536ms; When data report rate is more than or equal to 4 times/second, the respective pulses cycle is 512ms.Can adjust modulomenter according to actual conditions, adjust data report rate and the concrete numerical value of pulse period.
Use a keyboard for variable ratio frequency changer breath light, when keyboard does not have that a button is pressed or key scroll is less than 2 times/second, 1 transmission that almost there is no data of micro-control unit 3 and main frame; Data acquisition module 2 this information reporting to PWM modulation module 5; PWM modulation module 5 modulates the pulse train under resting state according to current received information, and the cycle of this pulse train is 2560ms, i.e. the respiratory rate of the similar normal person of about 2.5s(under resting state); The driving power of exportable 2.5s cycle near sinusoidal after integration module integral operation, driving LED is sent the breathing state indication of awaiting orders;
When keyboard, a button is pressed, and reach approximately 2 times/second or faster time, data acquisition module 2 can get up this information and be converted to data report rate to report to PWM modulation module 5; It is 1536ms that PWM modulation module 5 can be modulated into the cycle this information, i.e. the pulse train of about 1.5s; This pulse train is exported the driving power of about 1.5s cycle near sinusoidal after power supply integration module 6 integrations, and driving LED is sent the breathing state indication that keyboard is normally being worked;
Button on keyboard is by faster by being issued to 4 times/second or when faster, after processing, processing procedure similar to the above can export 512ms, the i.e. driving power of the near sinusoidal in about 0.5s cycle, driving LED is sent keyboard just in the breathing state indication of tense working.
Compared with prior art, the present invention has the following advantages:
(1) solved breathe to show in the inflexible stiff problem of breath rhythm, allow the rhythm breathed along with the live load of main frame peripheral hardware 4 changes and tempo variation, the live load of main frame peripheral hardware can embody from the data traffic of micro-control unit and main-machine communication; Breath light shows more lively, nature; Be working strength when larger, it is rapid that breath light flicker can become; When working strength reduces, breath light flicker can slow down; In the time of in rest, breath light flicker can be longer;
(2) adopt the integration power supply technique of power supply integration module 6, can effectively reduce the micro-flicker of LED in PWM modulation, make demonstration softer, be conducive to alleviation kopiopia.
Above embodiment is only in order to illustrate technical scheme of the present invention; but not limiting the scope of the invention; although the present invention has been done to explain with reference to preferred embodiment; those of ordinary skill in the art is to be understood that; can modify or be equal to replacement technical scheme of the present invention, and not depart from essence and the scope of technical solution of the present invention.

Claims (3)

1. a control method for variable ratio frequency changer breath light, is characterized in that: comprise the steps:
Step 1: the data traffic of data collecting module collected micro-control unit and main-machine communication, and record the data report rate of this data traffic;
Step 2: PWM modulation module is modulated into data report rate the pwm pulse sequence in respective pulses cycle according to modulomenter; Described modulomenter is the algorithmic function of data report rate and pulse period;
Step 3: power supply integration module converts controlled driving power to pwm pulse sequence;
Step 4: the driving power that micro-control unit provides according to power supply integration module is controlled the variation of luminescence unit;
Wherein, every n repeating step second one to step 4, the interval time that the numerical value of n need to be set according to concrete vision for user;
The pulse period of described modulomenter is 3 fixed cycles;
The specific algorithm function of described modulomenter is: when data report rate is less than 2 times/second, the respective pulses cycle is 2560ms; When data report rate is more than or equal to 2 times/second, and while being less than 4 times/second, the respective pulses cycle is 1536ms; When data report rate is more than or equal to 4 times/second, the respective pulses cycle is 512ms.
2. the control method of a kind of variable ratio frequency changer breath light according to claim 1, is characterized in that: the number range of described n is 0<n<5.
3. the control method of a kind of variable ratio frequency changer breath light according to claim 2, is characterized in that: the numerical value of described n is 1.
CN201210121702.6A 2012-04-24 2012-04-24 Frequency-variable breathing lamp and control method thereof as well as main machine peripherals Expired - Fee Related CN102655705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210121702.6A CN102655705B (en) 2012-04-24 2012-04-24 Frequency-variable breathing lamp and control method thereof as well as main machine peripherals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210121702.6A CN102655705B (en) 2012-04-24 2012-04-24 Frequency-variable breathing lamp and control method thereof as well as main machine peripherals

Publications (2)

Publication Number Publication Date
CN102655705A CN102655705A (en) 2012-09-05
CN102655705B true CN102655705B (en) 2014-03-26

Family

ID=46731212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210121702.6A Expired - Fee Related CN102655705B (en) 2012-04-24 2012-04-24 Frequency-variable breathing lamp and control method thereof as well as main machine peripherals

Country Status (1)

Country Link
CN (1) CN102655705B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2664056Y (en) * 2003-09-17 2004-12-15 实英实业股份有限公司 USB luminous connecting wire capable of displaying transmission speed
CN1802065A (en) * 2006-01-23 2006-07-12 北京飞天诚信科技有限公司 Respiration lamp controlling method and its device
CN201608796U (en) * 2009-12-31 2010-10-13 康佳集团股份有限公司 Television

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004325324A (en) * 2003-04-25 2004-11-18 Denso Corp Display for vehicle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2664056Y (en) * 2003-09-17 2004-12-15 实英实业股份有限公司 USB luminous connecting wire capable of displaying transmission speed
CN1802065A (en) * 2006-01-23 2006-07-12 北京飞天诚信科技有限公司 Respiration lamp controlling method and its device
CN201608796U (en) * 2009-12-31 2010-10-13 康佳集团股份有限公司 Television

Also Published As

Publication number Publication date
CN102655705A (en) 2012-09-05

Similar Documents

Publication Publication Date Title
CN204390059U (en) Oxygen detection system
CN202127530U (en) Intelligent LED (light-emitting diode) illuminating system on basis of Zigbee network
CN101789218A (en) Light-adjusting method of light-emitting diode backlight
CN100534256C (en) Respiration lamp controlling method and its device
CN104754825A (en) Intelligent LED (Light Emitting Diode) dimming and color mixing control system based on situation
DK201400003U1 (en) Light-emitting diode device
CN102655705B (en) Frequency-variable breathing lamp and control method thereof as well as main machine peripherals
CN105265020A (en) LED control circuits and methods
CN202602990U (en) Frequency-variable breathing lamp and main machine peripheral
CN201260671Y (en) Wireless blood oxygen monitoring finger stall based on ZigBee
CN208724468U (en) Plant factor&#39;s light-source system
KR20170090590A (en) Lighting control method according to the bio-signals and environmental changes
CN202086494U (en) Portable fetus heart auscultation instrument with a timing, counting and lighting device
CN205124083U (en) Multi -functional type LED table lamp that adjusts luminance
CN209517560U (en) A kind of monitoring system suitable for LED lamp
CN103453379B (en) A kind of sitting posture correcting desk lamp
CN203072192U (en) LED fluorescent lamp with variable color temperature and control device
CN205504613U (en) Multi -functional dimming table lamp
CN201984633U (en) Dynamic pedestrian signal light circuit
CN106102244B (en) A kind of method that aware background light realizes equiluminous illumination
CN201651973U (en) LED eye-protection lamp with accurately controlled illumination
CN202126744U (en) Vibration circuit for warning posture
CN204634112U (en) The power circuit of many LED bulb
CN211606854U (en) Intelligent wireless LED lamp brightness control device
CN204477893U (en) Induction type ladder illuminating lamp

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140326

Termination date: 20200424