Summary of the invention
In view of this, the technical problem to be solved in the present invention is, provides a kind of light source control method, Apparatus and system, can realize the regulatory function for light source colour and/or brightness and/or colour temperature etc.
For this reason, the embodiment of the present invention adopts following technical scheme:
The embodiment of the present invention provides a kind of light source control method, comprising:
Receive conditioning signal, described conditioning signal comprises: to the adjustment information of light source attributes; Described attribute comprises: color, brightness or colour temperature;
Determine the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal;
Control conducting and the cut-off of chopping switch according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch.
The embodiment of the present invention also provides a kind of light source control method, comprising:
Receiving package is containing the voltage signal of chopping voltage;
Code signal is determined from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal;
According to described start bit signal and data bit signal, the corresponding attribute to light source controls, and described attribute comprises color, brightness or colour temperature.
The embodiment of the present invention provides a kind of light source control method, comprising:
Receive conditioning signal, described conditioning signal comprises: to the adjustment information of light source colour and/or brightness and/or colour temperature;
Determine the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal;
Control conducting and the cut-off of chopping switch according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch.
The embodiment of the present invention provides a kind of light source control method, comprising:
Receiving package is containing the voltage signal of chopping voltage;
Code signal is determined from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal;
According to described data bit signal, light source is carried out to the adjustment of color and/or brightness and/or colour temperature.
The embodiment of the present invention provides a kind of light source control device, comprising:
First receiving element, for receiving conditioning signal, described conditioning signal comprises: to the adjustment information of light source attributes; Described attribute comprises: color, brightness or colour temperature;
First determining unit, for determining the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal;
First control unit, for controlling conducting and the cut-off of chopping switch according to code signal, makes to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch.
The embodiment of the present invention provides a kind of light source control device, comprising:
Second receiving element, for the voltage signal of receiving package containing chopping voltage;
Second determining unit, for determining code signal from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal;
Second control unit, for according to described start bit signal and data bit signal, the corresponding attribute to light source controls, described attribute comprises color, brightness or colour temperature.
The embodiment of the present invention provides a kind of light-source control system, comprising:
First chopping switch controller, for receiving conditioning signal, described conditioning signal comprises: to the adjustment information of light source attributes; Described attribute comprises: color, brightness or colour temperature; Determine the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal; Control conducting and the cut-off of chopping switch according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch;
First light source drive, for the voltage signal of receiving package containing chopping voltage; Code signal is determined from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal; According to described start bit signal and data bit signal, the corresponding attribute to light source controls, and described attribute comprises color, brightness or colour temperature.
The embodiment of the present invention provides a kind of light source control device, comprising:
3rd receiving element, for receiving conditioning signal, described conditioning signal comprises: to the adjustment information of light source colour and/or brightness and/or colour temperature;
3rd determining unit, for determining the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal;
3rd control unit, for controlling conducting and the cut-off of chopping switch according to code signal, makes to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch.
The embodiment of the present invention provides a kind of light source control device, comprising:
4th receiving element, for the voltage signal of receiving package containing chopping voltage;
4th determining unit, for determining code signal from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal;
4th control unit, for carrying out the adjustment of color and/or brightness and/or colour temperature to light source according to described data bit signal.
The embodiment of the present invention provides a kind of light-source control system, comprising:
Second chopping switch controller, for receiving conditioning signal, described conditioning signal comprises: to the adjustment information of light source colour and/or brightness and/or colour temperature; Determine the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal; Control conducting and the cut-off of chopping switch according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch;
Secondary light source driver, for the voltage signal of receiving package containing chopping voltage; Code signal is determined from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal; According to described data bit signal, light source is carried out to the adjustment of color and/or brightness and/or colour temperature.
Technique effect for technique scheme is analyzed as follows:
Receive conditioning signal, described conditioning signal comprises: to the adjustment information of light source attributes, described attribute comprises: color, brightness or colour temperature, determine the code signal that described conditioning signal is corresponding, described code signal comprises: start bit signal, data bit signal and middle stop bit signal, wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment, data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity, middle stop bit signal is used to indicate the termination of code signal, conducting and the cut-off of chopping switch is controlled according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch, thus regulate direction and regulated quantity by the start bit signal in code signal and data bit signal transmission, conducting and the cut-off of chopping switch is controlled according to code signal, make to comprise voltage signal corresponding to code signal by the voltage signal of chopping switch, by described voltage signal to follow-up light source drive transmission adjustment information, so that light source drive carries out the color of adjustment information instruction or the adjustment of brightness or colour temperature to light source.The mode of transmission of signal of the present invention is simple and accurate, and prime sends the communication between the chopping switch controller of signal and the driver of rear class Received signal strength, easily realizes commercial criterion.
Embodiment
Below, the realization of embodiment of the present invention light source control method, Apparatus and system is described with reference to the accompanying drawings.
Fig. 3 is a kind of light source control method schematic flow sheet of the embodiment of the present invention, and as shown in Figure 3, the method comprises:
Step 301: receive conditioning signal, described conditioning signal comprises: to the adjustment information of light source attributes; Described attribute comprises: color, brightness or colour temperature;
Step 302: determine the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal;
Step 303: the conducting and the cut-off that control chopping switch according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch.
In method shown in Fig. 3, after receiving conditioning signal, determine the code signal that conditioning signal is corresponding, direction and regulated quantity is regulated by the start bit signal in code signal and data bit signal transmission, conducting and the cut-off of chopping switch is controlled according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch, adjustment information is transmitted, so that light source drive carries out the color of adjustment information instruction or the adjustment of brightness or colour temperature to light source to follow-up light source drive by the described voltage signal carrying chopping voltage.
For step 301:
Described conditioning signal generally carries out the input of regulating command by the adjustment operation of user, and then according to the regulating command that the adjustment operation of user inputs, produce conditioning signal corresponding to circuit evolving by conditioning signal, described conditioning signal comprises: to the adjustment information of light source colour or brightness or colour temperature; Here, color, brightness and colour temperature etc. can be called the attribute of light source.And in this step, the adjustment information for a certain light source attributes is referred to for the adjustment information of light source attributes, such as, for the adjustment information of color, or the adjustment information of brightness for light source, or for the adjustment information of light source color temperature.
Wherein, described conditioning signal produces circuit and and/or color knob and/or color-temperature regulating knob can be adjusted to form by light-control knob, by light-control knob, adjust color knob and color-temperature regulating knob to produce the adjustment conditioning signal of brightness, the conditioning signal of adjustable colors respectively and regulate the conditioning signal of colour temperature, thus forming described conditioning signal; Or described conditioning signal produces circuit and can be realized by the light modulating device of remote controller class, by the operation of user for light modulating device, produce conditioning signal by described light modulating device; Or described conditioning signal also can be realized by digitial controller, the program inputted in digitial controller by user determines the required conditioning signal exported; Or described conditioning signal also can be realized by the standard interface signal of the light adjusting systems such as DALI, DMX, repeats no more here.
The conditioning signal that conditioning signal generation circuit produces correspond to adjustment luminance instructions or the adjustable colors instruction of user's input; Such as, the level signal of the conditioning signal of output to be scope be 1V ~ 10V, represents adjustment brightness when setting conditioning signal is the level signal within the scope of 1V ~ 5V, represents adjustable colors when conditioning signal is the level signal within the scope of 5V ~ 10V; Conditioning signal also can be digital signal, is distinguished and regulates brightness, adjustable colors and adjustment colour temperature etc., do not repeat here by different digital signals.
For step 302:
Wherein, determine described in this step that the code signal that described conditioning signal is corresponding can comprise:
1, compare adjustment information in the conditioning signal received and the current property value of light source, determine property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment and regulated quantity;
Wherein, can comprise in adjustment information: the attribute of desired adjustment and needed for the property value that is adjusted to; Thus, can be judged by the property value in adjustment information and the current property value of light source in this step, need adjustment light source being carried out to that direction; Such as, the light source attributes regulated is brightness, the brightness value of wishing is 3 grades of brightness, and the current brightness value of light source is: 1 grade of brightness (1 grade of brightness <, 3 grades of brightness), then by the comparison of two brightness values can adjusted direction be: increase brightness; And regulated quantity is: 2 grades.
2, according to the attribute preset and the corresponding relation between adjustment direction and start bit rule, find described attribute and regulate the start bit rule corresponding to direction; Described start bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle;
In actual applications, attribute can be pre-set and regulate the corresponding relation between direction and start bit rule; Such as: color, increase (intensification), start bit rule 1, color, reduction (shoaling), start bit rule 2, brightness, increase, start bit rule 3... etc.;
Continue, for the example in 1, in this step, will attribute be passed through: brightness, regulate direction: increase brightness, find corresponding start bit rule 3.
In embodiments of the present invention, using the chopping voltage between two adjacent zero-acrross ing moment as a chopping voltage.
It should be noted that, the phase angle of chopping voltage involved in the present invention is the phase angle in broad sense, can be, but not limited to be represented by following physical quantity:
Zero level time, i.e. duration of zero level in chopping voltage;
Or be the non-zero level time, i.e. duration of non-zero level in chopping voltage;
Or be chopped phase angle, i.e. the angle corresponding to the duration of zero level;
Or the copped wave angle of flow, is the angle corresponding to the duration of non-zero level;
Or be the ratio between zero level time and non-zero level time;
Or be the ratio between zero level time and the cycle of communication power supply;
Or be the ratio between non-zero level time and the cycle of communication power supply.
3, the signal of start bit described in code signal is determined according to this start bit rule;
Wherein, as shown in fig. 4 a, described code signal can be realized by the voltage signal of square, and its cycle can according to the AC voltage cycle of communication power supply.And the copped wave type of each chopping voltage indicated in the low and high level state of square wave and start bit rule and copped wave phase angular dependence (-dance), and described chopping voltage is obtained by the turn-on and turn-off of control chopping switch, therefore, the low and high level state of code signal is also namely relevant to the turn-on and turn-off of chopping switch.
Such as, can set in actual applications: the conducting of the corresponding chopping switch of high voltage of code signal, and the shutoff of the corresponding chopping switch of the low-voltage of code signal.Then, for each chopping voltage, then can determine that chopping switch conducting still turns off according to copped wave type and copped wave phase angle, also namely can determine the low and high level state of corresponding code signal.In actual applications, the corresponding relation between different copped wave type and the low and high level state of code signal can be preset, and then determine by copped wave phase angle the time that in code signal, low and high level continues respectively.
Accordingly, determine that the signal of start bit described in code signal can comprise according to start bit rule described in this step:
The initial time of code signal is determined according to the time receiving conditioning signal;
From initial time, in chopping voltage several interchange half period of start bit rule instruction, for each interchange half period, according to the time that the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal and low and high level continue respectively.
General, can the initial time of time as code signal of conditioning signal be received, or, also can add a time delay according to the time receiving conditioning signal, as the initial time of code signal; Preferably, can by receive conditioning signal time after, communication power supply provide first of alternating voltage (or is N number of, N independently sets) zero-acrross ing moment as the initial time of code signal.
And the conducting of the corresponding chopping switch of the high voltage of working as code signal, and during the shutoff of the corresponding chopping switch of the low-voltage of code signal, the time that the low and high level state of the described copped wave type according to corresponding chopping voltage and phase angle determination code signal and low and high level continue respectively can comprise:
According to the low and high level state of copped wave type determination code signal in the current interchange half period, according to the time that copped wave phase angle determination low and high level continues respectively.
Such as, when copped wave type is forward position copped wave, code signal low level before this in the interchange half period of correspondence, then becomes high level, such as, shown in Fig. 4 a; And copped wave type be rear along copped wave time, code signal high level before this in the interchange half period of correspondence, then becomes low level; And copped wave type be front and back along copped wave time, in the interchange half period that code signal is early corresponding, first low level, after transfer high level to, finally transfer low level to again.In actual applications, also can preset the corresponding relation between copped wave type and the above-mentioned low and high level state of code signal, then directly can obtain corresponding low and high level state according to copped wave type in this step.
And the low level duration can be determined according to copped wave phase angle, the copped wave phase angle of current chopping voltage is ω 1, then the time that this copped wave phase angle is corresponding in the cycle T of communication power supply is
here ω 1 belongs to angle system, and the half period as alternating voltage is T=20ms, and copped wave phase angle α is 30 °, then low level duration t=α * T/360 °.
Here, the high voltage of code signal also can the shutoff of corresponding chopping switch, and the conducting of the corresponding chopping switch of the low-voltage of code signal, the application does not limit, as long as can show corresponding relation between the two.
4, according to the corresponding relation between the regulated quantity preset and data bit rule, the data bit rule that described regulated quantity is corresponding is found; Described data bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle; Or described data bit rule comprises: the alternating voltage duration; Or described data bit rule comprises: the number of AC voltage cycle.
In this step, also can pre-set the corresponding relation between different regulated quantitys and different pieces of information position rule, then directly find corresponding data bit rule according to regulated quantity in this step.
Here, the alternating voltage duration refers to: control chopping switch conducting according to data bit signal, thus transmits the duration of alternating voltage to follow-up light source drive; Number and the alternating voltage duration of AC voltage cycle are similar, refer to according to the conducting of data bit signal control chopping switch, thus transmit the number of AC voltage cycle to follow-up light source drive.
Wherein, it should be noted that, is what to be determined by the zero-acrross ing moment of alternating voltage to the number definition of AC voltage cycle.Such as, can define: the alternating voltage between the zero-acrross ing moment of adjacent two alternating voltages is an AC voltage cycle; Or, can define: the alternating voltage between two zero-acrross ing moment in an alternating voltage zero-crossing moment of being separated by is an AC voltage cycle.Therefore, the number of AC voltage cycle involved in the present invention, also can substitute by the number of zero-acrross ing moment.
Now, the instruction of code signal starting point and middle stop is carried out by chopping voltage, the instruction regulating direction is carried out by start bit signal, the instruction of concrete regulated quantity is indicated by the duration of alternating voltage or the number of AC voltage cycle, thus whole carry out regulate information transmission process in, only need be realized by chopping voltage in start bit signal and middle stop bit signal, centre is still to light source drive transmission ac voltage signal, thus, the transmission time of chopping voltage is extremely short, greatly reduce the electromagnetic interference caused by the switch motion of chopping switch and the sudden change of chopping voltage, improve power factor.As shown in fig. 4c, in whole process, only need 4 chopping voltages can realize the transmission of corresponding adjustment information.
Here, namely the number of alternating voltage duration and AC voltage cycle also correspond to the duration of data bit signal.
5, data bit signal described in code signal is determined according to the data bit rule found.
Wherein, described data bit rule comprises: when the number of chopping voltage, the copped wave type of each chopping voltage and phase angle, the data bit rule that described basis finds determines that described in code signal, data bit signal comprises:
From the moment of start bit signal ended, in chopping voltage several interchange half period of data bit rule instruction, for each interchange half period, according to the time that the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal and low and high level continue respectively.
Here, the time that the low and high level state of the described copped wave type according to corresponding chopping voltage and phase angle determination code signal and low and high level continue respectively can describe with reference to the correspondence in 3, repeats no more here.
Or described data bit rule comprises: during the alternating voltage duration, determine that described in code signal, data bit signal comprises according to the data bit rule found:
From the moment of start bit signal ended, within the alternating voltage duration of data bit rule instruction, determine that the level of code signal is for level corresponding to chopping switch conducting.Such as, foregoing, level corresponding to chopping switch conducting is high level, then determine in this step that the level of code signal is high level; And if the level of code signal corresponding to chopping switch conducting is low level, then determine in this step that the level of code signal is low level.
Or described data bit rule comprises: the number of AC voltage cycle; The data bit rule that described basis finds determines that described in code signal, data bit signal comprises:
From the moment of start bit signal ended, in AC voltage cycle several AC voltage cycle of data bit rule instruction, determine that the level of code signal is for the level corresponding to chopping switch conducting.
6, obtain the middle stop bit rule preset, described middle stop bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle;
7, stop bit signal in described in code signal is determined according to stop bit rule in this.
Wherein, the realization of this step can comprise:
From the moment that data bit signal terminates, in chopping voltage several interchange half period of middle stop bit rule instruction, for each interchange half period, according to the time that the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal and low and high level continue respectively.
For step 303:
In actual applications, can arrange directly using the drive singal of code signal as chopping switch, control conducting and the cut-off of chopping switch; Now, the conducting of the corresponding chopping switch of high level of code signal, and the concrete magnitude of voltage of high level should be set to the magnitude of voltage that can control chopping switch conducting; And the cut-off of the corresponding chopping switch of the low level of code signal, this low level magnitude of voltage should be set to the magnitude of voltage that chopping switch can be made to end.
In addition, in actual applications, if code signal is not enough to the driving-energy of the conducting providing chopping switch, or the corresponding relation between the conducting of the low and high level that code signal is arranged and chopping switch turns off is incorrect, such as, the cut-off of the corresponding chopping switch of high level of code signal, and the conducting of the corresponding chopping switch of low level, so the realization of this step can comprise: drive singal code signal being converted to chopping switch, to control conducting and the cut-off of chopping switch.
Here conversion can comprise: power amplification circuit, and code signal is carried out power amplification, makes it be enough to drive chopping switch conducting; Or negative circuit, by anti-phase for code signal process, makes itself and the conducting of chopping switch turn off corresponding etc.
In addition, can further include in this step: when controlling conducting and the cut-off of chopping switch, in the t1 time after receiving conditioning signal in the t2 time, according to code signal, chopping switch is carried out to the control of described conducting and cut-off; T1 < t2, t1 > T/2, preferably, t1 is greater than T/2 much smaller than t2, t1, and T is the cycle of communication power supply, and t2 is the time interval that this receives conditioning signal and receives between conditioning signal next time; Receive in the time after conditioning signal in the t2 time outside the described t1 time, control chopping switch and be in conducting state.Such as, as shown in Figure 4 b, in the time period of mT, carry out the transmission of chopping voltage, then normally carry out the transmission of alternating voltage in the time period that NT is corresponding, thus the transmission time of chopping voltage is shorter, greatly reduce the electromagnetic interference caused by the switch motion of chopping switch and the sudden change of chopping voltage, improve power factor.
Corresponding with above Fig. 3, the embodiment of the present invention also provides another kind of light source control method, goes in light source drive, and as shown in Figure 5, the method comprises:
Step 501: receiving package is containing the voltage signal of chopping voltage;
Step 502: determine code signal from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal.
In this step, if directly using the drive singal of code signal as chopping switch in chopping switch controller, then determine from voltage signal that code signal can comprise:
According to the drive singal of voltage signal determination chopping switch, from drive singal, determine start bit signal, data bit signal and middle stop bit signal.
Wherein, the start bit rule identical with chopping switch controller, middle stop bit rule and data bit can be preset regular in light source drive, can determine start bit signal and middle stop bit signal by start bit rule and middle stop bit rule, then signal is between the two data bit signal.Or, also start bit signal and middle stop bit signal can be pre-set, by start bit signal with middle stop bit signal compared with comprising the drive singal of chopping voltage in drive singal, obtain the start bit signal in drive singal and middle stop bit signal, signal is between the two data bit signal.
Or, in this step, if using the drive singal as chopping switch after code signal carries out conversion process in chopping switch controller, then determine from voltage signal that code signal can comprise:
According to the drive singal of voltage signal determination chopping switch, inverse transformation is carried out to drive singal, obtain the inverse transformation signal of drive singal, from inverse transformation signal, determine start bit signal, data bit signal and middle stop bit signal.Specifically how to determine that start bit signal, data bit signal and middle stop bit signal are with reference to description above, do not repeat here.
Step 503: the corresponding attribute to light source controls according to described start bit signal and data bit signal.
The realization of this step can comprise:
Determine the data bit that start bit is regular and data bit signal the is corresponding rule that start bit signal is corresponding respectively;
Determine described start bit rule and the current value corresponding to data bit rule, export described current value to light source.
Can pre-set start bit rule and data is corresponding relation between rule and current value, then, in this step, directly search corresponding relation and can obtain described start bit rule and current value corresponding to data bit rule.
When control method shown in Fig. 5 is applied in light source drive, can be combined with the light source control method shown in Fig. 3, obtain the adjustment information of the light source attributes that chopping switch controller is come by the chopping voltage transmission in voltage signal, corresponding control and the adjustment carrying out light source.
Fig. 6 is the another kind of light source control method schematic flow sheet of the embodiment of the present invention, and the method goes in chopping switch controller, and as shown in Figure 6, the method comprises:
Step 601: receive conditioning signal, described conditioning signal comprises: to the adjustment information of light source colour and/or brightness and/or colour temperature;
Step 602: determine the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal;
Step 603: the conducting and the cut-off that control chopping switch according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch.
In method shown in Fig. 6, the adjustment information to light source colour and/or brightness and/or colour temperature is indicated according to the data bit signal in code signal, conducting and the cut-off of chopping switch is controlled according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch, by described chopping voltage to follow-up light source drive transmission adjustment information, so that light source drive carries out the light source colour of adjustment information instruction and/or the adjustment of brightness and/or colour temperature to light source.
For step 601:
Please refer to the description about step 301; The main distinction is: the conditioning signal in this step can comprise the attribute more than 1 simultaneously, but not single attribute.
For step 602:
Determine described in this step that the code signal that described conditioning signal is corresponding can comprise:
Obtain the start bit rule preset, described start bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle;
The signal of start bit described in code signal is determined according to this start bit rule;
Obtain the corresponding relation between conditioning signal and data bit rule preset, find the rule of the data bit corresponding to conditioning signal of reception, described data bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle;
Data bit rule according to finding determines data bit signal described in code signal;
Obtain the middle stop bit rule preset, described middle stop bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle;
Stop bit signal in described in code signal is determined according to stop bit rule in this.
Wherein, describedly determine that the signal of start bit described in code signal can comprise according to start bit rule:
The initial time of code signal is determined according to the time receiving conditioning signal;
From initial time, in chopping voltage several interchange half period of start bit rule instruction, for each interchange half period, according to the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal, and the time that low and high level continues respectively;
Determine that data bit signal described in code signal can comprise according to the data bit rule found:
From the moment of start bit signal ended, in chopping voltage several interchange half period of data bit rule instruction, for each interchange half period, according to the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal, and the time that low and high level continues respectively;
Determine that in described in code signal, stop bit signal can comprise according to stop bit rule in this:
From the moment that data bit signal terminates, in chopping voltage several interchange half period of middle stop bit rule instruction, for each interchange half period, according to the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal, and the time that low and high level continues respectively.
Specifically see the description about step 302, can not repeat here.
For step 603:
The conducting controlling chopping switch described in this step according to code signal also can comprise with cut-off:
Using this code signal directly as the drive singal of chopping switch, control conducting and the cut-off of chopping switch; Or,
Code signal is converted to the drive singal of chopping switch, controls conducting and the cut-off of chopping switch with the drive singal be converted to.
Specifically see the description about step 303, can not repeat here.
Corresponding with the method shown in Fig. 6, the embodiment of the present invention also provides another kind of light source control method, and the method is applicable in light source drive, and as shown in Figure 7, the method comprises:
Step 701: receiving package is containing the voltage signal of chopping voltage;
Step 702: determine code signal from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal.
In this step, if directly using the drive singal of code signal as chopping switch in chopping switch controller, then determine from voltage signal that code signal can comprise:
According to the drive singal of voltage signal determination chopping switch, from drive singal, determine start bit signal, data bit signal and middle stop bit signal.
Wherein, the start bit rule identical with chopping switch controller, middle stop bit rule and data bit can be preset regular in light source drive, can determine start bit signal and middle stop bit signal by start bit rule and middle stop bit rule, then signal is between the two data bit signal.Or, also different start bit signals and middle stop bit signal can be pre-set, by start bit signal with middle stop bit signal compared with comprising the drive singal of chopping voltage in drive singal, obtain the start bit signal in drive singal and middle stop bit signal, signal is between the two data bit signal.
Or, in this step, if using the drive singal as chopping switch after code signal carries out conversion process in chopping switch controller, then determine from voltage signal that code signal can comprise:
According to the drive singal of voltage signal determination chopping switch, inverse transformation is carried out to drive singal, obtain the inverse transformation signal of drive singal, from inverse transformation signal, determine start bit signal, data bit signal and middle stop bit signal.Specifically how to determine that start bit signal, data bit signal and middle stop bit signal are with reference to description above, do not repeat here.
Step 703: the adjustment according to described data bit signal, light source being carried out to color and/or brightness and/or colour temperature.
Wherein, the realization of this step can comprise:
Determine the data bit rule that data bit signal is corresponding;
Determine the current value corresponding to data bit rule, export described current value to light source.
When control method shown in Fig. 7 is applied in light source drive, can be combined with the light source control method shown in Fig. 6, obtain the adjustment information of the light source attributes that chopping switch controller is come by the chopping voltage transmission in voltage signal, corresponding control and the adjustment carrying out light source.
Corresponding with above-mentioned Fig. 3, the embodiment of the present invention provides a kind of light source control device, and this device can be arranged in chopping switch controller or as described chopping switch controller, carries out the control of chopping switch, and as shown in Figure 8, this device comprises:
First receiving element 810, for receiving conditioning signal, described conditioning signal comprises: to the adjustment information of light source attributes; Described attribute comprises: color, brightness or colour temperature;
First determining unit 820, for determining the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal;
First control unit 830, for controlling conducting and the cut-off of chopping switch according to code signal, makes to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch.
Preferably, the first determining unit 820 can comprise:
Relatively subelement, for comparing adjustment information in the conditioning signal that the receives property value current with light source, determines light source to be adjusted to from current property value the property value that adjustment information indicates, the adjustment direction of this adjustment and regulated quantity;
First searches subelement, for according to the attribute preset and the corresponding relation between adjustment direction and start bit rule, finds described attribute and regulates the start bit rule corresponding to direction; Described start bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle;
First determines subelement, for determining the signal of start bit described in code signal according to this start bit rule;
Second searches subelement, for according to the corresponding relation between the regulated quantity preset and data bit rule, finds the data bit rule that described regulated quantity is corresponding; Described data bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle; Or described data bit rule comprises: the alternating voltage duration; Or described data bit rule comprises: the number of AC voltage cycle;
Second determines subelement, for determining data bit signal described in code signal according to the data bit rule found;
First obtain subelement, for obtain default in stop bit rule, described middle stop bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle;
3rd determines subelement, for determining stop bit signal in described in code signal according to stop bit rule in this.
Preferably, first determines that subelement can comprise:
First determination module, for determining the initial time of code signal according to the time receiving conditioning signal;
Second determination module, for from initial time, in chopping voltage several interchange half period of start bit rule instruction, for each interchange half period, according to the time that the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal and low and high level continue respectively;
3rd determines that subelement specifically may be used for:
From the moment that data bit signal terminates, in chopping voltage several interchange half period of middle stop bit rule instruction, for each interchange half period, according to the time that the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal and low and high level continue respectively.
Preferably, described data bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle; Second determines that subelement specifically may be used for: from the moment of start bit signal ended, in chopping voltage several interchange half period of data bit rule instruction, for each interchange half period, according to the time that the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal and low and high level continue respectively;
Or described data bit rule comprises: the alternating voltage duration; Second determines that subelement specifically may be used for: from the moment of start bit signal ended, within the alternating voltage duration of data bit rule instruction, determine the level of code signal for: control the level corresponding to chopping switch conducting;
Or described data bit rule comprises: the number of AC voltage cycle; Second determines that subelement specifically may be used for: from the moment of start bit signal ended, in AC voltage cycle several AC voltage cycle of data bit rule instruction, determine the level of code signal for: control the level corresponding to chopping switch conducting.
Preferably, the first control unit 830 specifically may be used for:
Using this code signal directly as the drive singal of chopping switch, to control conducting and the cut-off of chopping switch; Or,
Code signal is converted to the drive singal of chopping switch, is controlled conducting and the cut-off of chopping switch by the drive singal be converted to.
Preferably, the first control unit 830 can also be used for: when controlling conducting and the cut-off of chopping switch according to code signal, according to code signal, chopping switch is carried out to the control of described conducting and cut-off in the t1 time after receiving conditioning signal in the t2 time; T1 < t2, t1 > T/2, T is the cycle of communication power supply, and t2 is the time interval that this receives conditioning signal and receives between conditioning signal next time.
Preferably, the first control unit 830 can also be used for: receive in the time after conditioning signal in the t2 time outside the described t1 time, controls chopping switch and is in conducting state.
Corresponding with light source control method shown in Fig. 5, the embodiment of the present invention also provides a kind of light source control device, and this device can be arranged in light source drive or carry out control and the adjustment of light source as light source drive, and as shown in Figure 9, this device comprises:
Second receiving element 910, for the voltage signal of receiving package containing chopping voltage;
Second determining unit 920, for determining code signal from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal;
Second control unit 930, for according to described start bit signal and data bit signal, the corresponding attribute to light source controls, described attribute comprises color, brightness or colour temperature.
Preferably, the second control unit 930 can comprise:
4th determines subelement, for the data bit that start bit is regular and data bit signal the is corresponding rule determining that start bit signal is corresponding respectively;
First exports subelement, for determining the current value corresponding to described start bit rule and data bit rule, exports described current value to light source.
As shown in Figure 10, the embodiment of the present invention also provides a kind of light-source control system, comprising:
First chopping switch controller 1010, for receiving conditioning signal, described conditioning signal comprises: to the adjustment information of light source attributes; Described attribute comprises: color, brightness or colour temperature; Determine the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal; Control conducting and the cut-off of chopping switch according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch;
First light source drive 1020, for the voltage signal of receiving package containing chopping voltage; Code signal is determined from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, is also used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, the adjustment direction of this adjustment; Data bit signal is used to indicate property value light source being adjusted to the instruction of adjustment information from current property value, required regulated quantity; Middle stop bit signal is used to indicate the termination of code signal; According to described start bit signal and data bit signal, the corresponding attribute to light source controls, and described attribute comprises color, brightness or colour temperature.
Apparatus and system shown in Fig. 8 ~ 10, direction and regulated quantity is regulated by the start bit signal in code signal and data bit signal transmission, conducting and the cut-off of chopping switch is controlled according to code signal, make to comprise voltage signal corresponding to code signal by the voltage signal of chopping switch, by described voltage signal to follow-up light source drive transmission adjustment information, so that light source drive carries out the color of adjustment information instruction or the adjustment of brightness or colour temperature to light source.
Corresponding with the method shown in Fig. 6, the embodiment of the present invention also provides a kind of light source control device, and can be arranged in chopping switch controller or carry out the control of chopping switch as chopping switch controller, as shown in figure 11, this device comprises:
3rd receiving element 1110, for receiving conditioning signal, described conditioning signal comprises: to the adjustment information of light source colour and/or brightness and/or colour temperature;
3rd determining unit 1120, for determining the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal;
3rd control unit 1130, for controlling conducting and the cut-off of chopping switch according to code signal, makes to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch.
Preferably, the 3rd determining unit 1130 can comprise:
Second obtains subelement, and for obtaining default start bit rule, described start bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle;
5th determines subelement, for determining the signal of start bit described in code signal according to this start bit rule;
3rd searches subelement, for obtaining the corresponding relation between default conditioning signal and data bit rule, find the rule of the data bit corresponding to conditioning signal of reception, described data bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle;
6th determines subelement, for determining data bit signal described in code signal according to the data bit rule found;
3rd obtain subelement, for obtain default in stop bit rule, described middle stop bit rule comprises: the number of chopping voltage, the copped wave type of each chopping voltage and phase angle;
7th determines subelement, for determining stop bit signal in described in code signal according to stop bit rule in this.
Preferably, the 5th determines that subelement can comprise:
3rd determination module, for determining the initial time of code signal according to the time receiving conditioning signal;
4th determination module, for from initial time, in chopping voltage several interchange half period of start bit rule instruction, for each interchange half period, according to the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal, and the time that low and high level continues respectively;
6th determine subelement specifically for: from the moment of start bit signal ended, in chopping voltage several interchange half period of data bit rule instruction, for each interchange half period, according to the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal, and the time that low and high level continues respectively;
7th determine subelement specifically for: from the moment that data bit signal terminates, in chopping voltage several interchange half period of middle stop bit rule instruction, for each interchange half period, according to the copped wave type of corresponding chopping voltage and the low and high level state of phase angle determination code signal, and the time that low and high level continues respectively.
Preferably, the 3rd control unit 1130 specifically may be used for: using this code signal directly as the drive singal of chopping switch, controls conducting and the cut-off of chopping switch; Or, code signal is converted to the drive singal of chopping switch, controls conducting and the cut-off of chopping switch with the drive singal be converted to.
Preferably, the 3rd control unit 1130 can also be used for: when controlling conducting and the cut-off of chopping switch according to code signal, according to code signal, chopping switch is carried out to the control of described conducting and cut-off in the t1 time after receiving conditioning signal in the t2 time; T1 < t2, t1 > T/2, T is the cycle of communication power supply, and t2 is the time interval that this receives conditioning signal and receives between conditioning signal next time.
Preferably, the 3rd control unit 1130 can also be used for: receive in the time after conditioning signal in the t2 time outside the described t1 time, controls chopping switch and is in conducting state.
Corresponding with method shown in Fig. 7, the embodiment of the present invention provides a kind of light source control device, and this device can be arranged in light source drive or directly as light source drive carry out control and the adjustment of light source, and as shown in figure 12, this device can comprise:
4th receiving element 1210, for the voltage signal of receiving package containing chopping voltage;
4th determining unit 1220, for determining code signal from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal;
4th control unit 1230, for carrying out the adjustment of color and/or brightness and/or colour temperature to light source according to described data bit signal.
Preferably, the 4th determining unit 1230 can comprise:
8th determines subelement, for determining the data bit rule that data bit signal is corresponding;
Second exports subelement, for determining the current value corresponding to data bit rule, exports described current value to light source.
Preferably, the embodiment of the present invention also provides another kind of light-source control system, and as shown in figure 13, this system comprises:
Second chopping switch controller 1310, for receiving conditioning signal, described conditioning signal comprises: to the adjustment information of light source colour and/or brightness and/or colour temperature; Determine the code signal that described conditioning signal is corresponding; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal; Control conducting and the cut-off of chopping switch according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch;
Secondary light source driver 1320, for the voltage signal of receiving package containing chopping voltage; Code signal is determined from voltage signal; Described code signal comprises: start bit signal, data bit signal and middle stop bit signal; Wherein, start bit signal is used to indicate the beginning of code signal, and data bit signal is used to indicate the adjustment information to light source colour and/or brightness and/or colour temperature, and middle stop bit signal is used to indicate the termination of code signal; According to described data bit signal, light source is carried out to the adjustment of color and/or brightness and/or colour temperature.
Apparatus and system shown in Figure 11 ~ 13, the adjustment information to light source colour and/or brightness and/or colour temperature is indicated according to the data bit signal in code signal, conducting and the cut-off of chopping switch is controlled according to code signal, make to comprise chopping voltage corresponding to code signal by the voltage signal of chopping switch, by described chopping voltage to follow-up light source drive transmission adjustment information, so that light source drive carries out the light source colour of adjustment information instruction and/or the adjustment of brightness and/or colour temperature to light source.
One of ordinary skill in the art will appreciate that, the process realizing the method for above-described embodiment can have been come by the hardware that program command is relevant, described program can be stored in read/write memory medium, and this program performs the corresponding step in said method when performing.Described storage medium can be as: ROM/RAM, magnetic disc, CD etc.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.