CN208462114U - One line light adjusting circuit, chip and system - Google Patents
One line light adjusting circuit, chip and system Download PDFInfo
- Publication number
- CN208462114U CN208462114U CN201821301506.6U CN201821301506U CN208462114U CN 208462114 U CN208462114 U CN 208462114U CN 201821301506 U CN201821301506 U CN 201821301506U CN 208462114 U CN208462114 U CN 208462114U
- Authority
- CN
- China
- Prior art keywords
- line
- light adjusting
- control signal
- signal
- counter
- 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.)
- Withdrawn - After Issue
Links
- 230000000875 corresponding effect Effects 0.000 claims description 22
- 230000000630 rising effect Effects 0.000 claims description 22
- 230000001276 controlling effect Effects 0.000 claims description 11
- 230000005611 electricity Effects 0.000 claims description 8
- 230000002596 correlated effect Effects 0.000 claims description 6
- 230000003287 optical effect Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 22
- 230000007246 mechanism Effects 0.000 description 20
- 238000000034 method Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000001914 filtration Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/30—Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
It includes: pulse input end, control signal, counter, drive module that the embodiment of the present application, which provides one line light adjusting circuit of one kind, chip and system, a line light adjusting circuit, wherein pulse input end is for receiving a line pulse signal;Control signal is in count status for control counter or stops count status for receiving control signal, control signal;For being counted according to a line pulse signal when counter is in count status, counter is in when stopping count status for exporting count results;Drive module is used to determine driving signal according to count results, to be dimmed.Line light adjusting circuit, chip and system provided by the embodiments of the present application are in count status by received control signal control counter or stop count status, increase the anti-interference ability of a line light adjusting system, improve the correctness of light modulation.
Description
Technical field
The invention relates to field of circuit technology, more particularly to an a kind of line light adjusting circuit, chip and system.
Background technique
Existing line light regulating technology mostly uses greatly the processor of operating system to export a line pulse signal, then
Pass through the beginning and termination, the brightness for controlling light etc. of the control light modulation of this line pulse signal.But existing operating system
In commonly used interrupt mechanism, interrupt mechanism can interfere a line pulse signal of output when executing, and then reduce light modulation just
True property.
It would therefore be highly desirable to a kind of technical solution be provided, effectively to solve to cause to dim since a line pulse signal is interfered
Accuracy rate reduce the problem of.
Utility model content
In view of this, one of the technical issues of the embodiment of the present application is solved is to provide a kind of a line light adjusting circuit, core
Piece and system, to solve the above problem in the prior art.
The embodiment of the present application provides an a kind of line light adjusting circuit comprising: pulse input end, control signal, counting
Device, drive module, wherein
The pulse input end is for receiving a line pulse signal;
The control signal is used to receive control signal, and the control signal is in counting for controlling the counter
State stops count status;
For being counted according to a line pulse signal when counter is in count status, at the counter
For exporting count results when stopping count status;
The drive module is used to determine driving signal according to the count results, to be dimmed.
Optionally, the level switching of the control signal is corresponding with the beginning of the line pulse signal or termination.
Optionally, the level of the control signal switches to second electrical level and the line pulse signal by the first level
Start to correspond to;Alternatively, the level of the control signal switches to the first level and the line pulse signal by second electrical level
It terminates and corresponds to.
Optionally, if the level of the control signal is the first level, the counter is in count status;Alternatively,
If the level of the control signal is second electrical level, the counter, which is in, stops count status.
Optionally, when the level of the control signal switches to the first level by second electrical level, the counter is opened again
Begin to count.
Optionally, it is described according to the line pulse signal carry out count include: a line pulse described in the counter counts
The rising edge number of signal.
Optionally, the driving signal that the drive module determines is driving current, the size of the electric current of the driving current
It is positively correlated or is negatively correlated with the count results.
The embodiment of the present application provides a kind of line light modulation chip comprising line light adjusting circuit as described above.
Optionally, the received control signal multiplexing of the control signal of the line light adjusting circuit is that a line dims core
The enabling signal of piece.
The embodiment of the present application provides an a kind of line light adjusting system comprising: processor, a line as described above light modulation electricity
Road,
The processor includes pulse output end, control output end, the line light adjusting circuit include: pulse input end,
Control signal, counter, drive module,
The control output end of the processor is connect with the control signal of the line light adjusting circuit, is used for described one
Line light adjusting circuit input control signal is in the counter for controlling the line light adjusting circuit by the control signal and is counted
State stops count status;
The pulse output end of the processor is connect with the pulse input end of the line light adjusting circuit, is used for described one
Line light adjusting circuit inputs a line pulse signal;
The counter of a line light adjusting circuit described in when in count status according to the line pulse signal based on carrying out
Number, the counter of a line light adjusting circuit described in when stopping count status is for exporting count results;
The drive module of the one line light adjusting circuit is used to according to the count results of the counter determine driving signal, with
It is dimmed.
Optionally, the low and high level switching of the control signal is corresponding with the beginning of the line pulse signal or termination.
Optionally, the processor is also used to determine the control signal according to command information, and described instruction information is used for
Indicate the beginning or termination of the line pulse signal.
Line dimming arrangement provided by the embodiments of the present application is in by received control signal control counter and counts shape
State stops count status, can malfunction to avoid counting caused by the interrupt mechanism as processor, and then cause light modulation wrong
Accidentally the case where, the anti-interference ability of a line light adjusting system is increased, improves the correctness of light modulation, and can omit for determining one
The module of the pulse width of high level in line pulse signal, so that the structure of a line light adjusting circuit is simple.
Detailed description of the invention
The some specific of the embodiment of the present application is described in detail by way of example and not limitation with reference to the accompanying drawings hereinafter
Embodiment.Identical appended drawing reference denotes same or similar part or part in attached drawing.Those skilled in the art should manage
Solution, the drawings are not necessarily drawn to scale.In attached drawing:
Fig. 1 is a kind of structural schematic diagram of line light adjusting circuit provided by the embodiments of the present application;
Fig. 2 is the signal timing diagram of the line light adjusting circuit in Fig. 1;
Fig. 3 is control sequential figure of the line light adjusting circuit under interrupt mechanism interference in a kind of Fig. 1;
Fig. 4 is control sequential figure of the line light adjusting circuit under interrupt mechanism interference in another kind Fig. 1;
Fig. 5 is a kind of structural schematic diagram of line light adjusting system provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of another line light adjusting circuit provided by the embodiments of the present application;
Fig. 7 is the signal timing diagram of the line light adjusting circuit in Fig. 6.
Specific embodiment
Any technical solution for implementing the embodiment of the present application must be not necessarily required to reach simultaneously above all advantages.
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present application, below in conjunction with the application
Attached drawing in embodiment, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described reality
Applying example only is the embodiment of the present application a part of the embodiment, instead of all the embodiments.Based on the implementation in the embodiment of the present application
The range of the embodiment of the present application protection all should belong in example, those of ordinary skill in the art's every other embodiment obtained.
Further illustrate that the embodiment of the present application implements below with reference to the embodiment of the present application attached drawing.
Embodiment one
Fig. 1 is a kind of structural schematic diagram of line light adjusting circuit provided by the embodiments of the present application, which can be a line
A part for dimming chip, as shown in Figure 1, comprising: a line pulse input end, deglitch (Deglitch) circuit, meter
Number device (CURRENT ADC), controller, electric current leakage (CURRENT SINK).
One line pulse input end, for receiving a line pulse signal (1-WIRE PULSES INPUT), resistance REN is one
The pull down resistor of line pulse input end is low level for inputting the default of a line pulse input end.
Deglitch (Deglitch) circuit, for filtering out in a line pulse signal (1-WIRE PULSES INPUT)
Burr signal.It is of course also possible to deglitch (Deglitch) circuit is not provided with, directly by a line pulse input end and meter
Number device connection, the present embodiment is to this without limiting.
Counter (CURRENT ADC), starts counting under the triggering of a line pulse signal, and counts in a line pulse signal
Then the number of rising edge stops counting under the triggering of another line pulse signal (1-WIRE PULSES INPUT), and exports meter
Number result.
Drive module, for according to count results provide driving signal, driving signal for drive LED light shine, with into
Row light modulation.As shown in Figure 1, driving optical module is specifically as follows electric current leakage (CURRENT SINK).
The enabling signal of one line pulse signal 1-WIRE PULSES INPUT, line light modulation other modules of chip
STARTUP_OK, current signal timing diagram can be as shown in Figure 2.
In actual use, a line pulse input end starts to receive a line pulse signal.In the present embodiment, line pulse letter
Number i.e. as control signal uses, and be used for count counter.
Specifically, a line pulse signal can have multiple rising edges, the corresponding line pulse signal of the t1 moment in Fig. 2
First rising edge of 1-WIRE PULSES INPUT, at this point, a line pulse signal is as control signal, a line pulse signal
First rising edge flip-flop number CURRENT ADC start counting.A meanwhile controller (in figure in line light modulation chip
It is not shown) other modules (such as electric current leakage CURRENT SINK) for can control in line light modulation chip start to start.
The t2 moment is reached after elapsed boot time STARTUP time, enabling signal STARTUP_OK is switched to by low level
High level, controller determine other module start completions of a line pulse chip.
At the t1-t3 moment, a line pulse signal is for counting counter.
At the t3-t4 moment, a line pulse signal is again as control signal, a line pulse signal 1-WIREPULSES
INPUT is in high level, its pulse width is greater than or equal to first threshold TON, then controller control counter CURRENT ADC
Stop counting, counter CURRENT ADC stops that count results can be exported after counting.
Specifically, electric current leakage CURRENT SINK can determine that driving signal, driving signal specifically may be used according to count results
Think the current signal of electric current leakage, the current value of current signal can relationship proportional to count results, such as it is directly proportional or at
Inverse ratio.The circuit where CURRENTSINK, output current signal can be leaked by starting current in a manner of soft start SOFT-START
LED light is driven to shine as driving signal, and then by current signal.The other end of LED in Fig. 1 passes through power supply line POWER
LINE is connect with the output of battery or DC/CD converter, for LED light power supply.
In addition, one line dim signal is as control signal at the t5-t6 moment.The level of one line dim signal is by high level
Low level is switched to, and low level pulse width is greater than or equal to second threshold, second threshold is specifically as follows shutdown delay
SHUT DOWN DELAY, other modules that a line dims chip are closed, to carry out the light modulation of next round.
In the present embodiment, above-mentioned line pulse signal can be dimmed the external processor of chip by a line and be determined and defeated
Out, since there are interrupt mechanisms in processor, when interrupt mechanism executes, the signal of processor output can remain unchanged in
Off line stop only executes, and still, is controlled and is counted since above-mentioned line light modulation chip only passes through a line pulse signal
Number, when interference of the line pulse signal by interrupt mechanism, will lead to line light modulation chip and determine mistake in control process
Current value so that the brightness errors of LED.Following scenes for mistake occur with two kinds are illustrated.
Scene one
If the interrupt mechanism of processor is executed when a line pulse signal 1-WIRE PULSES INPUT is in high level,
Then line pulse signal 1-WIRE PULSES INPUT, the starting for indicating that other modules starting of line light modulation chip finishes are believed
The timing diagram of the current signal LED CURRENT of number STARTUP_OK, LED are as shown in Figure 3.
Specifically, as shown in figure 3, on first of a t1 moment corresponding line pulse signal 1-WIRE PULSES INPUT
Edge is risen, at this point, other modules of line light modulation chip start starting, counter CURRENT ADC is started counting, is passed through
STARTUP TIME duration, a line dim other module start completions of chip, and enabling signal STARTUP_OK is cut by low level
High level is shifted to, the t3 moment in corresponding diagram.
At the t2 moment, a line pulse signal 1-WIRE PULSES INPUT is in high level, at this time the middle off line of processor
System starts to execute, so that a line pulse signal 1-WIRE PULSES INPUT is continuously high level and pulse width is TH (corresponding
T2-t5 in figure), TH is greater than first threshold TON (t2-t4 in corresponding diagram).At this point, other modules of line light modulation chip are
Activated completion, then at the t3 moment, i.e. a line pulse signal 1-WIRE PULSES INPUT is continuously high level and pulse width
Equal to first threshold TON, the counter CURRENT ADC that a line dims chip stops counting, and determines electricity according to count results
The current value size of signal is flowed, to be dimmed.
But since " a line pulse signal 1-WIRE PULSES INPUT is continuously high level and pulse is wide for above-mentioned appearance
Degree is greater than the interference that the reason of first threshold TON " is interrupt mechanism, and after interrupt mechanism stops executing, processor can be again defeated
Correct line dim signal out, the t5-t8 moment in corresponding diagram 3, but due to line light modulation chip control counter
CURRENT ADC stops counting, so that counter CURRENTADC will not count the rising edge at t5-t6 moment, in turn
So that multiple rising edges, i.e. count results mistake are counted in counter CURRENT ADC leakage, and then lead to the brightness errors of LED light.
The t7-t8 moment in Fig. 3 is similar with the t5-t6 moment in Fig. 2, and details are not described herein.
Scene two
If the interrupt mechanism of processor is executed when a line pulse signal 1-WIRE PULSES INPUT is in low level,
Then line pulse signal 1-WIRE PULSES INPUT, the starting for indicating that other modules starting of line light modulation chip finishes are believed
The timing diagram of the current signal of number STARTUP_OK, LED is as shown in Figure 4.
Specifically, as shown in figure 4, on first of a t1 moment corresponding line pulse signal 1-WIRE PULSES INPUT
Edge is risen, at this point, other modules of line light modulation chip start starting, counter CURRENT ADC is started counting, is passed through
STARTUP TIME duration, a line dim other module start completions of chip, and enabling signal STARTUP_OK is cut by low level
High level is shifted to, the t3 moment in corresponding diagram.
At the t2 moment, a line pulse signal 1-WIRE PULSES INPUT is in low level, at this time the middle off line of processor
System starts to execute, so that a line pulse signal 1-WIRE PULSES INPUT is continuously high level and pulse width TL and is greater than the
Two threshold value SHUT DOWN DELAY.Then at the t4 moment, i.e. a line pulse signal 1-WIRE PULSES INPUT is continuously low electricity
When flat and pulse width is equal to second threshold SHUT DOWNDELAY, other modules that a line dims chip are closed, counter
CURRENT ADC stops counting.At the t5 moment, a line pulse signal 1-WIRE PULSES INPUT is overturn again to high level,
One line dims other modules restarting of chip, and counter CURRENT ADC also restarts to count, and according to count results
The current value size of current signal is determined, to be dimmed.
But since " a line pulse signal 1-WIRE PULSES INPUT is continuously low level and pulse is wide for above-mentioned appearance
Degree is greater than the interference that the reason of second threshold SHUT DOWN DELAY " is interrupt mechanism, after interrupt mechanism stops executing, place
Reason device can export a line dim signal again, the t5-t9 moment in corresponding diagram 4, but due in t5 moment counter CURRENT
ADC restarts to count, and counts the rising edge number of a line pulse signal in the t5-t6 moment, so that counter CURRENT ADC
The count results in the t1-t2 moment are lost, so that multiple rising edges, i.e. count results are counted in counter CURRENT ADC leakage
Mistake, and then lead to the brightness errors of LED light.
The t6-t9 moment in Fig. 4 is similar with the t3-t6 moment in Fig. 2, and details are not described herein.
In order to avoid the above problem, the embodiment of the present application provides an a kind of line light adjusting system, as shown in figure 5, comprising: locating
Manage device 51 and a line light adjusting circuit 52.
As shown in figure 5, the processor 51 includes pulse output end, control output end.The one line light adjusting circuit 52 wraps
It includes: pulse input end 521, control signal 522, counter 523, drive module 524.
The control output end of the processor 51 is connect with the control signal 522 of the line light adjusting circuit 52, is used for
To the 52 input control signal SEND_SIG of line light adjusting circuit;The pulse output end of the processor 51 and the line tune
The pulse input end 521 of optical circuit 52 connects, for inputting a line pulse signal 1-WIRE to the line light adjusting circuit 52
PULSES INPUT。
The pulse input end 521 of one line light adjusting circuit 52 is for receiving a line pulse signal 1-WIRE PULSESINPUT;
The control signal 522 of one line light adjusting circuit 52 is for receiving control signal SEND_SIG, the control signal
SEND_SIG is in count status or stopping count status for controlling the counter 523;
When the counter 523 of one line light adjusting circuit 52 is in count status under the control of the control signal SEND_SIG
For being counted according to the line pulse signal 1-WIRE PULSES INPUT, the counter 523 is believed in the control
It is under the control of number SEND_SIG when stopping count status for exporting count results;
The drive module 524 of one line light adjusting circuit 52 is used to determine driving signal according to the count results, to be adjusted
Light.
Specifically, as shown in figure 5, the drive module 524 in the present embodiment can be connect with one end of LED light, LED light is another
One end is connect with power supply line POWER LINE, and to be powered by power supply line POWER LINE as LED light, drive module is for adjusting
The brightness of LED light.
In the present embodiment, the low and high level switching and the beginning or termination pair of the line pulse signal of the control signal
It answers.
The processor 51 is also used to determine the control signal according to command information, and described instruction information is used to indicate institute
State the beginning or termination of a line pulse signal.After determining control signal, exported by control output end into a line light adjusting circuit.
Since a line pulse signal 1-WIRE PULSES INPUT is exported by processor 51, then in actual use, processing
In device 51 include command information, command information can serve to indicate that a line pulse signal 1-WIREPULSES INPUT beginning,
Interrupt, terminate etc..In the present embodiment, control signal SEND_SIG can be determined by processor 51 according to command information, so that institute
The level switching for stating control signal is corresponding with the beginning of the line pulse signal 1-WIRE PULSES INPUT or termination.
In the present embodiment, the beginning and termination of a line pulse signal 1-WIRE PULSES INPUT can be a line pulse
The appearance and end of rising edge in signal 1-WIRE PULSES INPUT.
Specifically, a line pulse signal 1-WIRE PULSES INPUT starts a corresponding line pulse signal 1-WIRE
First rising edge in PULSES INPUT occurs, the corresponding line of the termination of a line pulse signal 1-WIRE PULSESINPUT
The end of the last one rising edge in pulse signal.Certainly, beginning and termination here only refers only in a dimming process
The beginning and termination of a line pulse signal can repeatedly export a line pulse signal, such as can be multiple in actual use
It repeats to export the line pulse signal shown in similar following Fig. 7, corresponding repeatedly light modulation, the present embodiment is to this without limiting.
While first rising edge of a line pulse signal 1-WIRE PULSES INPUT occurs, control signal can
To carry out level switching.The corresponding line pulse signal 1-WIRE of the end of one line pulse signal 1-WIRE PULSES INPUT
No longer there is rising edge in PULSES INPUT, at this point, control signal SEND_SIG can carry out level switching again.Due to control
The level switching of signal SEND_SIG is not influenced by the interrupt mechanism of processor 51, so that the counting in a line light adjusting circuit 52
The occurrence of device 523 is not also influenced by interrupt mechanism, reduces miscount increases the anti-interference of a line light adjusting system
Ability.
In the present embodiment, the level of the control signal SEND_SIG determined can be the first level and second electrical level, if institute
The level for stating control signal SEND_SIG is the first level, then the counter 523 is in count status;Alternatively, if the control
The level of signal SEND_SIG processed is second electrical level, then the counter 523, which is in, stops count status.
Switch in conjunction with the level of above-mentioned control signal, when first of a line pulse signal 1-WIRE PULSES INPUT
When rising edge occurs, when the level of the control signal SEND_SIG switches to the first level by second electrical level, the counter
State switch to count status, counter 523 restarts to count.The level for controlling signal SEND_SIG switches to accrued
The switching of the state of number device 523;Alternatively, when rising edge no longer occurs in a line pulse signal 1-WIRE PULSES INPUT, it is described
The level for controlling signal SEND_SIG switches to second electrical level by the first level, and the state of counter switches to stopping and counts shape
State, counter 523 export count results.In the present embodiment, it can be low electricity that the first level, which can be high level, second electrical level,
It is flat.
In the present embodiment, as shown in fig. 6, counter is specially counter CURRENT ADC, control signal 522 is received
After controlling signal, control signal can be transmitted to the enable end of counter CURRENT ADC, to pass through control signal control meter
Number device CURRENT ADC is in count status or stops count status.
In the present embodiment, the driving signal that the drive module determines is driving current, the electric current of the driving current
Size is positively correlated or is negatively correlated with the count results.
Specifically, as shown in fig. 6, drive module may include electric current leakage CURRENT SINK, to be leaked by electric current
CURRENT SINK controls the electric current of LED light outflow, to be dimmed.Alternatively, drive module also may include current source
CURRENT SOURCE, to flow into the electric current of LED light by current source CURRENT SOURCE control, to be dimmed.Specifically
The method of the size of current of ground control current signal can refer to the prior art, and the present embodiment repeats no more this.
In the present embodiment, as shown in fig. 6, a line light adjusting circuit 52 further includes deglitch (Deglitch) circuit, use
In filtering out the burr signal in a line pulse signal 1-WIRE PULSES INPUT, deglitch (Deglitch) circuit
Input terminal is the pull down resistor of a line pulse input end for inputting line pulse signal 1-WIRE PULSES an INPUT, REN,
It is low level for inputting the default of a line pulse input end.
The output end of deglitch (Deglitch) circuit is connect with the counting input end of counter CURRENT ADC,
So that counter CURRENT ADC is counted in count status according to the line pulse signal 1-WIREPULSES INPUT
Number.
Specifically, in the present embodiment, counter CURRENT ADC line pulse signal 1-WIRE based on
The rising edge number of PULSES INPUT.Certainly, in other implementations, counter CURRENT ADC can be also used for counting
The number or the number of high and low level etc. of failing edge, the present embodiment pair in one line pulse signal 1-WIRE PULSES INPUT
This is without limiting.
Further, in this embodiment if above-mentioned line light adjusting circuit 52 is specially the part electricity in line light modulation chip
Road, then line light modulation chip can also include controller (not shown), and controller is removed for controlling in line light modulation chip
Other modules starting except counter CURRENT ADC, other modules such as drive module.The control of above-mentioned line light adjusting circuit
The received control signal of input terminal processed can be multiplexed with the enabling signal of the line light modulation chip, that is, as control signal SEND_
When the level of SIG switches to the first level, controller can control other modules and start to start.
When the level for controlling signal SEND_SIG switches to second electrical level, counter CURRENT ADC stops counting, when
One line dim signal be low level, and its pulse width be greater than second threshold when, controller control a line light modulation chip in its
He closes at module.
After increasing control signal, line pulse signal 1-WIRE PULSES INPUT, control signal, enabling signal
The timing diagram of the current signal of STARTUP_OK, LED is as shown in Figure 7.
Specifically, at the t1 moment, there is first rising edge in a line pulse signal 1-WIRE PULSES INPUT, corresponding
, control signal SEND_SIG switches to high level, at this point, counter CURRENT ADC counts the rising edge of a line pulse again
Number.
At the t1-t2 moment, controls signal SEND_SIG and be continuously high level, at this point, even if the interrupt mechanism of processor 51
It executes, can be counted when interrupt mechanism executes with the TH or TL in corresponding diagram in a line pulse signal 1-WIRE PULSESINPUT
Number device CURRENT ADC is still counted correctly, i.e. counter CURRENTADC counts a line pulse signal 1-WIRE in the t1-t2 moment
The rising edge number of PULSES INPUT.And at the t1-t2 moment, a line dims other module start completions in chip, starting
Signal STARTUP_OK switches to high level.
It no longer include rising edge, i.e. line pulse letter in the t2 moment, a line pulse signal 1-WIRE PULSES INPUT
Number 1-WIRE PULSES INPUT is terminated, at this point, control signal SEND_SIG is switched to low level, counter CURRENT ADC
Stop counting, and export count results, so that drive module determines driving signal, the i.e. current signal of LED according to count results
LED CURRENT, to be dimmed.
At the t3 moment, controls signal SEND_SIG and be in low level, and a line pulse signal 1-WIRE PULSES INPUT
Low level is switched to, and pulse width is equal to second threshold SHUT DOWN DELAY, at this point, enabling signal STARTUP_OK is cut
Low level is shifted to, a line dims other modules in chip and closes, i.e. the current signal LED CURRENT of LED also switches to low
Level.
Line light adjusting system provided in this embodiment, by received control signal control counter be in count status or
Person stops count status, can malfunction to avoid counting caused by the interrupt mechanism as processor, and then lead to the brightness of LED light
The situation of mistake increases the anti-interference ability of a line light adjusting system, and can be applied to single light modulation, circulation relatively broadly
It counts in the multiclass dimming arrangements such as light modulation and continuous light tuning.
Meanwhile in the line light adjusting circuit in the present embodiment, due to increasing control signal so that a line light adjusting circuit without
Required to the pulse width of the high level of a determining line pulse signal, the area of a line light adjusting circuit can reduce.At the same time,
When a line light adjusting circuit belongs to line light modulation chip, due to increasing control signal in scheme provided by the present application, in order to
Do not increase the pin of line light modulation chip, the control signal in above-described embodiment can be multiplexed line light modulation chip other draw
Foot, to reduce the pin resource that above-mentioned line light adjusting circuit occupies, as long as not influencing the normal use of line light modulation chip i.e.
It can.Likewise, increase control output end in above-mentioned processor, same yet other pins of reusable, the present embodiment is herein not
It repeats again.
Another embodiment of the application provides an a kind of line light-dimming method comprising:
The counter, which is controlled, by the control signal is in count status or stopping count status;
The counter is counted according to a line pulse signal when in count status, in stopping count status
Shi Suoshu counter exports count results;
Driving signal is determined according to the count results of the counter, to be dimmed.
Specifically, in the present embodiment, the beginning of the low and high level switching and the line pulse signal of the control signal
Or it terminates and corresponds to.Specifically a line light-dimming method is similar to the method applied in a line light adjusting system in above-described embodiment, herein
It repeats no more.
The apparatus embodiments described above are merely exemplary, wherein described, module can as illustrated by the separation member
It is physically separated with being or may not be, the component shown as module may or may not be physics mould
Block, it can it is in one place, or may be distributed on multiple network modules.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, the computer readable recording medium include for
Any mechanism of the readable form storage of computer (such as computer) or transmission information.For example, machine readable media includes only
Read memory (ROM), random access memory (RAM), magnetic disk storage medium, optical storage media, flash medium, electricity, light,
Sound or the transmitting signal (for example, carrier wave, infrared signal, digital signal etc.) of other forms etc., which includes
Some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes respectively
Method described in certain parts of a embodiment or embodiment.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the embodiment of the present application, rather than it is limited
System;Although the application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: its
It is still possible to modify the technical solutions described in the foregoing embodiments, or part of technical characteristic is equal
Replacement;And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution
Spirit and scope.
It will be understood by those skilled in the art that the embodiments of the present application may be provided as method, apparatus (equipment) or
Computer program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine soft
The form of the embodiment of part and hardware aspect.Moreover, it wherein includes to calculate that the embodiment of the present application, which can be used in one or more,
Computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, the optical memory of machine usable program code
Deng) on the form of computer program product implemented.
The embodiment of the present application is referring to the method, apparatus (equipment) and computer program product according to the embodiment of the present application
Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram
The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers
Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute
In the dress for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram
It sets.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Claims (12)
1. an a kind of line light adjusting circuit characterized by comprising pulse input end, control signal, counter, drive module,
Wherein,
The pulse input end is for receiving a line pulse signal;
The control signal is in count status for controlling the counter for receiving control signal, the control signal
Or stop count status;
It is counted when the counter is in count status according to the line pulse signal, the counter, which is in, stops meter
For exporting count results when number state;
The drive module is used to determine driving signal according to the count results, to be dimmed.
2. line light adjusting circuit according to claim 1, which is characterized in that it is described control signal level switching with it is described
The beginning of one line pulse signal terminates correspondence.
3. line light adjusting circuit according to claim 2, which is characterized in that the level of the control signal is by the first level
Switch to second electrical level and the line pulse signal start it is corresponding;Alternatively, the level of the control signal is by second electrical level
It is corresponding with the termination of the line pulse signal to switch to the first level.
4. line light adjusting circuit according to claim 1, which is characterized in that if the level of the control signal is the first electricity
Flat, then the counter is in count status;Alternatively, if the level of the control signal is second electrical level, the counter
In stopping count status.
5. the level of line light adjusting circuit according to claim 4, the control signal switches to first by second electrical level
When level, the counter restarts to count.
6. line light adjusting circuit according to claim 1, which is characterized in that described to be carried out according to the line pulse signal
Counting includes: the rising edge number of a line pulse signal described in the counter counts.
7. line light adjusting circuit according to claim 1, which is characterized in that the driving signal that the drive module determines is
Driving current, the size of the electric current of the driving current are positively correlated or are negatively correlated with the count results.
8. an a kind of line dims chip, which is characterized in that including the described in any item line light adjusting circuits of such as claim 1-7.
9. a line according to claim 8 dims chip, which is characterized in that the control signal of the line light adjusting circuit
Received control signal multiplexing is the enabling signal that a line dims chip.
10. an a kind of line light adjusting system characterized by comprising processor, the line as described in claim 1-7 dim electricity
Road,
The processor includes pulse output end, control output end, and the line light adjusting circuit includes: pulse input end, control
Input terminal, counter, drive module,
The control output end of the processor is connect with the control signal of the line light adjusting circuit, is used for the line tune
Optical circuit input control signal is in count status with the counter for controlling the line light adjusting circuit by the control signal
Or stop count status;
The pulse output end of the processor is connect with the pulse input end of the line light adjusting circuit, is used for the line tune
Optical circuit inputs a line pulse signal;
The counter of a line light adjusting circuit described in when in count status is located for being counted according to the line pulse signal
The counter of a line light adjusting circuit described in when stopping count status is for exporting count results;
The drive module of the one line light adjusting circuit is used to determine driving signal according to the count results of the counter, to carry out
Light modulation.
11. line light adjusting system according to claim 10, which is characterized in that the low and high level switching of the control signal
It is corresponding with the beginning of the line pulse signal or termination.
12. line light adjusting system according to claim 10, which is characterized in that the processor is also used to be believed according to instruction
Breath determines the control signal, and described instruction information is used to indicate the beginning or termination of the line pulse signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821301506.6U CN208462114U (en) | 2018-08-13 | 2018-08-13 | One line light adjusting circuit, chip and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821301506.6U CN208462114U (en) | 2018-08-13 | 2018-08-13 | One line light adjusting circuit, chip and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN208462114U true CN208462114U (en) | 2019-02-01 |
Family
ID=65178642
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201821301506.6U Withdrawn - After Issue CN208462114U (en) | 2018-08-13 | 2018-08-13 | One line light adjusting circuit, chip and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN208462114U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109862651A (en) * | 2018-08-13 | 2019-06-07 | 上海艾为电子技术股份有限公司 | One line light-dimming method, circuit, chip and system |
-
2018
- 2018-08-13 CN CN201821301506.6U patent/CN208462114U/en not_active Withdrawn - After Issue
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109862651A (en) * | 2018-08-13 | 2019-06-07 | 上海艾为电子技术股份有限公司 | One line light-dimming method, circuit, chip and system |
CN109862651B (en) * | 2018-08-13 | 2024-03-22 | 上海艾为电子技术股份有限公司 | One-line dimming method, circuit, chip and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN208462113U (en) | One line light adjusting circuit, chip and system | |
CN107122032A (en) | Terminal, crash reset control circuit and method | |
CN208462114U (en) | One line light adjusting circuit, chip and system | |
CN104202034B (en) | A kind of recyclable multi-center selection circuit system | |
CN103412836B (en) | Hot plug processing method, device and system | |
CN105425898B (en) | A kind of low-power-consumption embedded system | |
CN108882459A (en) | A kind of brightness regulating circuit and system of UI indicator light | |
CN102104273A (en) | Power-down time sequence control device and method for multiple power supplies | |
CN109862651A (en) | One line light-dimming method, circuit, chip and system | |
CN109062392A (en) | It is a kind of to automatically switch equipment, the method and system that server board is powered | |
CN108882465A (en) | One line light-dimming method, circuit, chip and system | |
CN109520194A (en) | Frequency conversion household appliance control method, frequency conversion household electrical appliance and computer readable storage medium | |
CN104836209A (en) | Digital power supply protection circuit and apparatus | |
CN112654110B (en) | Flicker control method and device of LED indicator lamp and terminal equipment | |
CN106971922B (en) | Inexpensive low standby power loss takes control breaker control system and control method | |
CN103347352A (en) | LED light source short-circuit detection method and device, LED backlight and liquid crystal display device | |
CN109742938A (en) | A kind of anti-interference delay start control circuit and system | |
CN102159010A (en) | Device and method for controlling indicator lights | |
CN109753470A (en) | A kind of control method, micro-control unit and computer storage medium | |
CN106527643B (en) | A kind of communication equipment and its method for managing power supply | |
CN214335506U (en) | MCU mode control circuit and MCU | |
CN112711320A (en) | Power switching system and method, computer readable storage medium and processor | |
CN103002622B (en) | Method, device and system for controlling light source | |
CN112233710A (en) | Mobile solid state disk circuit with plug-in CC logic function and mobile solid state disk | |
CN105160086B (en) | A kind of 1-Wire bus exempts from pull-up resistor port configuration method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
AV01 | Patent right actively abandoned |
Granted publication date: 20190201 Effective date of abandoning: 20240322 |
|
AV01 | Patent right actively abandoned |
Granted publication date: 20190201 Effective date of abandoning: 20240322 |
|
AV01 | Patent right actively abandoned | ||
AV01 | Patent right actively abandoned |