CN101677409B - State detector for video unit and method for detecting state - Google Patents

State detector for video unit and method for detecting state Download PDF

Info

Publication number
CN101677409B
CN101677409B CN2008102129702A CN200810212970A CN101677409B CN 101677409 B CN101677409 B CN 101677409B CN 2008102129702 A CN2008102129702 A CN 2008102129702A CN 200810212970 A CN200810212970 A CN 200810212970A CN 101677409 B CN101677409 B CN 101677409B
Authority
CN
China
Prior art keywords
detection device
colorimetric detection
input signal
state
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008102129702A
Other languages
Chinese (zh)
Other versions
CN101677409A (en
Inventor
林信一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Novatek Microelectronics Corp
Original Assignee
Novatek Microelectronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Novatek Microelectronics Corp filed Critical Novatek Microelectronics Corp
Priority to CN2008102129702A priority Critical patent/CN101677409B/en
Publication of CN101677409A publication Critical patent/CN101677409A/en
Application granted granted Critical
Publication of CN101677409B publication Critical patent/CN101677409B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a state detector for a video unit and a method for detecting the state. The state detector comprises a first chroma detector, a second chroma detector and a controller, wherein, the first chroma detector and the second chroma detector are operated in a first state among various states; the first chorma detector (the second chorma detector) uses different parameters to treat input signals in the various states, and various states are different formats relating to the input signals. A member in the second chorma for treating the input signals is identical to that in the first chroma detector for treating the input signals. When the second chroma detector can not normally treat the input signals, the state of the first chorma detector is maintained in the first state, and the controller controls the second chroma detector to switch between the various states, so that the second chorma detector is in a second state in which the input signals can be normally treated, thereto the first chroma detector is switched from the former first state to a second state. Thus the quality of display pictures can be improved.

Description

The state detector of video-unit and condition detection method thereof
Technical field
The present invention relates to a kind of video-unit, and be particularly related to the employed state inspection of a kind of video-unit.
Background technology
Institute is known like industry, and in the field of video-unit, before carrying out the picture signal processing, the phase place of necessary first lock image signal (Video Signal) can be carried out correct processing to picture signal.
In order to represent the phase place of entrained color information, picture signal can be carried a color pulse (Color Burst) signal in addition, decodes for video-unit; Therefore, colorimetric detection device (Chroma Detector) is to be used for detecting aforesaid color pulse signal, and the phase place with the locking color so can decode correct color information thereafter.
Yet, in video-unit, only dispose a colorimetric detection device usually; Whether this colorimetric detection device is used for input signal is handled producing the output signal, and can detect phase of input signals and can be locked.When signal source changed, for example input signal may cause phase of input signals to be locked by the colorimetric detection device when NTSC (National Television System Committee) specification becomes PAL (Phase Alternating Line) specification.
In view of this; When the colorimetric detection device detects phase of input signals and can't be locked; The controller of video-unit then can be according to finite state machine (Finite State Machine; Be called for short FSM) over and over again switch the mode of operation of colorimetric detection device, can normally lock phase of input signals up to the colorimetric detection device.
Generally speaking, controller need spend considerable time according to the mode of operation that FSM switches the colorimetric detection device.And when the mode of operation of controller conversion colorimetric detection device, the colorimetric detection device also can't normally be handled input signal, therefore can make display frame generation transient state problem.
Moreover, when the strength reduction of input signal, and need not change colorimetric detection device mode of operation.But the colourity controller of known technology easily with its erroneous judgement for can't normally lock phase of input signals, and then switch its mode of operation, so can make display frame the situation of mess code occur equally with locking phase again.
Summary of the invention
The present invention provides a kind of state detector of video-unit, can improve the transient state problem of display frame.
The present invention provides a kind of condition detection method of video-unit, can improve quality of display pictures.
The present invention provides a kind of condition detection method of video-unit, can alleviate the interference that the colorimetric detection device causes display frame when switch mode.
The present invention proposes a kind of state detector of video-unit, comprises the first colorimetric detection device, second colorimetric detection device and the controller.The first colorimetric detection device operates in first state of various states, in order to input signal is handled, uses producing the output signal.Wherein this first colorimetric detection device uses different parameters to handle this input signal in said various states, and said various states is the different-format that is relevant to this input signal.Whether the second colorimetric detection device operates in first state of above-mentioned various states, can this input signal of normal process in order to detect.Wherein this second colorimetric detection device uses different parameters to handle this input signal in said various states.Controller couples the first colorimetric detection device and the second colorimetric detection device, and this controller is set the mode of operation of this first colorimetric detection device and this second colorimetric detection device.When the second colorimetric detection device can't the normal process input signal; This controller is kept the state of the said first colorimetric detection device at said first state; And controller switches in above-mentioned various states according to the finite states machine control second colorimetric detection device; Make the second colorimetric detection device operate in second state of ability normal process input signal, and according to this first colorimetric detection device is switched to second state that operates in from this original first state.
In one embodiment of this invention, the above-mentioned first colorimetric detection device can comprise sampler, band pass filter, multiplier, chrominance demodulation system device, low pass filter, automatic gain controller and filter.Sampler can be taken a sample to input signal according to first parameter.Band pass filter couples sampler, in order to input signal is carried out bandpass filtering treatment.Multiplier couples band pass filter, can carry out multiplying to input signal according to yield value.Chrominance demodulation system device couples multiplier, handles in order to input signal is carried out chrominance demodulation system.Low pass filter coupled chrominance demodulation system device can be in order to carry out low-pass filtering treatment to input signal.Automatic gain controller couples low pass filter, can produce above-mentioned yield value according to input signal.Filter couples low pass filter and sampler, can carry out Filtering Processing to input signal according to second parameter, and produces above-mentioned first parameter, and wherein said second parameter is decided according to the mode of operation of the said first colorimetric detection device.
In one embodiment of this invention, the above-mentioned second colorimetric detection device can have identical components with the first colorimetric detection utensil.In another embodiment, the second colorimetric detection device can also comprise phase detectors.Whether phase detectors couple low pass filter, can be locked in order to detect phase of input signals.
In one embodiment of this invention, state detector also comprises clamp and gain control circuit.Clamp and gain control circuit couple the first colorimetric detection device and the second colorimetric detection device, in order to the deviant and the yield value of adjustment input signal, and adjusted input signal are exported to the first colorimetric detection device and the second colorimetric detection device.
In one embodiment of this invention, state detector also comprises horizontal sync detector.Horizontal sync detector couples controller, and the mode of operation of the control signal decision horizontal sync detector that can export according to controller is handled in order to input signal is carried out horizontal synchronization, and detects whether horizontal synchronization of input signal.In another embodiment, state detector also comprises the vertical synchronization detector.The vertical synchronization detector couples this controller, and the mode of operation of this vertical synchronization detector of control signal decision of exporting according to this controller is handled in order to this input signal is carried out vertical synchronization, and detects the whether vertical synchronization of this input signal.
In one embodiment of this invention, state detector also comprises brightness/chroma separator.Brightness/chroma separator couples the first colorimetric detection device, in order to the output signal is carried out brightness/chroma separating treatment.In another embodiment, state detector also comprises output device.Output device couples the first colorimetric detection device, in order to export above-mentioned output signal.
From another viewpoint, the present invention provides a kind of condition detection method of video-unit.This video-unit comprises the first colorimetric detection device and the second colorimetric detection device.Above-mentioned condition detection method comprises sets first state that the first colorimetric detection device operates in various states, uses input signal is handled, and produce the output signal.Wherein this first colorimetric detection device uses different parameters to handle this input signal in said various states, and said various states is the different-format that is relevant to this input signal.In addition, when detecting the second colorimetric detection device and operating in first state of above-mentioned various states, whether can the normal process input signal.Wherein this second colorimetric detection device uses different parameters to handle this input signal in said various states, and the member of this input signal of processing is same as the member of handling this input signal in this first colorimetric detection device in this second colorimetric detection device.When the second colorimetric detection device can't the normal process input signal; The state of keeping the said first colorimetric detection device is at said first state and control the second colorimetric detection device and in above-mentioned various states, switch, make the second colorimetric detection device operate in can the normal process input signal second state.In addition, the first colorimetric detection device is set at second state that operates in.
From another angle, the present invention provides a kind of condition detection method of video-unit.This video-unit comprises the first colorimetric detection device and the second colorimetric detection device, and the first colorimetric detection device operates in one first state of various states so that input signal is handled, and uses to produce the output signal.When above-mentioned condition detection method comprises that detecting the second colorimetric detection device operates in this first state identical with the first colorimetric detection device, whether can the normal process input signal.The member of wherein handling this input signal in this second colorimetric detection device is same as the member of handling this input signal in this first colorimetric detection device; This first colorimetric detection device uses different parameters to handle this input signal with this second colorimetric detection device in said various states, and said various states is the different-format that is relevant to this input signal.When the second colorimetric detection device can't the normal process input signal; Keep the mode of operation of the first colorimetric detection device and control the second colorimetric detection device and in various states, switch, use a normal condition that obtains second colorimetric detection device ability normal process input signal.The first colorimetric detection device is set at operates in above-mentioned normal condition.
The present invention operates in the first colorimetric detection device and the second colorimetric detection device first state of various states.When detecting the second colorimetric detection device can't the normal process input signal time; Controlling the second colorimetric detection device switches in above-mentioned various states; Make the second colorimetric detection device operate in second state of ability normal process input signal, and according to this first colorimetric detection device is set at second state that operates in.Can improve the transient state problem of display frame thus.
For letting the above-mentioned feature and advantage of the present invention can be more obviously understandable, hereinafter is special lifts several embodiment, and conjunction with figs., elaborates as follows.
Description of drawings
Fig. 1 is the calcspar according to the state detector of a kind of video-unit of one embodiment of the invention.
Fig. 2 is the calcspar according to a kind of colorimetric detection device of one embodiment of the invention.
Fig. 3 is the flow chart according to a kind of condition detection method of one embodiment of the invention.
Fig. 4 is the sketch map according to a kind of FSM of another embodiment of the present invention.
Fig. 5 is the flow chart according to a kind of condition detection method of another embodiment of the present invention.
[main element symbol description]
10: state detector
21,22: the colorimetric detection device
30: controller
40: horizontal sync detector
50: the vertical synchronization detector
60: clamp and gain control circuit
70: brightness/chroma separator
80: output device
201: sampler
202: band pass filter
203: multiplier
204: chrominance demodulation system device
205: low pass filter
206: phase detectors
207: automatic gain controller
208: filter
Gain: yield value
Cdto_inc: sampling parameters
Cdto: filtering parameter
VS1~VS8, R1~R5, S1~S4, CS1~CS6: signal
A: digital signal
Start, NTSC, NTSC443, PAL60, PALM, PALI, PALCN, NTSC50, SECAM: state
S301~S304: each step of the condition detection method of an embodiment
S501~S512: each step of the condition detection method of another embodiment
Embodiment
Therefore only dispose single colorimetric detection device in the known video-unit, when controller during according to the mode of operation of FSM conversion colorimetric detection over and over again device, the colorimetric detection device just can't the normal process input signal, and causes display frame transition effect to occur.In view of this, embodiments of the invention utilize the first colorimetric detection device and the second colorimetric detection device to improve the problems referred to above.
In brief, the present invention is set in the same operation state with the first colorimetric detection device and the second colorimetric detection device.The first colorimetric detection device is in order to continue to handle input signal, and whether the second colorimetric detection device then can the normal process input signal under present state in order to detect.When the second colorimetric detection device can't the normal process input signal; Then controlling the second colorimetric detection device switches in various states; Make the second colorimetric detection device finally can operate in the normal condition of an ability normal process input signal, and the first colorimetric detection device is set at operates in above-mentioned normal condition according to this.
Note that at this because the second colorimetric detection device when in various states, switching, the first colorimetric detection device still can carry out signal processing constantly under initial condition, therefore can improve the transient state problem of display frame.Below cooperate diagram to do more specifically explanation.
Fig. 1 is the calcspar according to the state detector of a kind of video-unit of one embodiment of the invention.Please with reference to Fig. 1; In the present embodiment, state detector 10 can comprise colorimetric detection device 21,22, controller 30, horizontal synchronization (Horizontal Sync) detector 40, vertical synchronization (Vertical Sync) detector 50, clamp (Clamp) and gain control circuit 60, brightness/chroma separator (Y/C Separator) 70 and output device 80.Clamp and gain control circuit 60 couple colorimetric detection device 21,22, horizontal sync detector 40 and vertical synchronization detector 50.Controller 30 couples colorimetric detection device 21,22, horizontal sync detector 40 and vertical synchronization detector 50.Brightness/chroma separator 70 couples colorimetric detection device 21 and output device 80.Vertical synchronization detector 50 couples horizontal sync detector 40 and output device 80.Below each element is done detailed explanation.
Clamp and gain control circuit 60 can be used to adjust skew (Offset) value and gain (Gain) value of input signal VS1; Make signal maintain a fixed reference and the amplitude of signal is remained in the fixed range; Use and produce signal VS2, VS5; And in the present embodiment, input signal VS1 is a vision signal.The benefit of this practice is to be convenient to back-end circuit and carries out signal processing.In addition, clamp and gain control circuit 60 can offer colorimetric detection device 21,22 with signal VS2, and signal VS5 is offered horizontal sync detector 40.
Colorimetric detection device 21 can be used to processing signals VS2 and provides signal VS3 to brightness/chroma separator 70 according to this.In addition, whether the color phase place (Phase) that colorimetric detection device 21 also can be used to detection signal VS2 can correctly be locked, and produces signal R3 according to this to controller 30.When signal R3 is high logic level, represent the phase place of colourity detector 21 lockable signal VS2; Otherwise, when signal R3 is low logic level, represent the phase place that colourity detector 21 can't locking signal VS2.
In like manner, whether the phase place that colorimetric detection device 22 also can be used to detection signal VS2 is locked, and provides signal R4 to controller 30 according to this.When signal R4 is high logic level, represent the phase place of colourity detector 22 lockable signal VS2; Otherwise, when signal R4 is low logic level, represent the phase place that colourity detector 22 can't locking signal VS2.
Horizontal sync detector 40 can be used to that signal VS5 is carried out horizontal synchronization and handles, and provides signal VS6 to vertical synchronization detector 50 according to this.In addition, horizontal sync detector 40 also can be in order to whether horizontal synchronization of detection signal VS6, and uses and provide signal R1 to controller 30.When signal R1 was high logic level, representation signal VS6 was horizontal synchronization; Otherwise, when signal R1 is low logic level, not horizontal synchronization of representation signal VS6.
Vertical synchronization detector 50 can be used to that signal VS6 is carried out vertical synchronization and handles, and provides signal VS7 to output device 80 according to this.In addition, vertical synchronization detector 50 also can be in order to whether vertical synchronization of detection signal VS7, and provides signal R2 to controller 30 according to this.When signal R2 was high logic level, representation signal VS7 was vertical synchronization; Otherwise, when signal R2 is low logic level, not vertical synchronization of representation signal VS7.Moreover vertical synchronization detector 50 also can be in order to vertical line (Vertical Line) quantity of detection signal VS6, and provide signal R5 to controller 30 according to this.For instance, when signal R5 was high logic level, the vertical line quantity of representation signal VS6 was 625; Otherwise when signal R5 was low logic level, the vertical line quantity of representation signal VS6 was 525.
Accept above-mentioned; Controller 30 can be used to receive signal R1~R5 that colorimetric detection device 21,22, horizontal sync detector 40 and vertical synchronization detector 50 are exported, and exports signal S1~S4 according to this and give colorimetric detection device 21,22, horizontal sync detector 40 and vertical synchronization detector 50.More particularly, the mode of operation of controller 30 signal S1 capable of using~S4 control colorimetric detection device 21,22, horizontal sync detector 40 and vertical synchronization detector 50.Colorimetric detection device 21,22, horizontal sync detector 40 and vertical synchronization detector 50 can adopt different parameters to operate along with its mode of operation is different.
On the other hand, brightness/chroma separator 70 can be in order to carrying out brightness/chroma separating treatment to signal VS3, and provide signal VS4 to output device 80 according to this.Output device 80 can receive signal VS4, VS7, and provides signal VS8 to back-end device (not illustrating) according to this.
In the present embodiment, colorimetric detection device 21,22 can have identical components.Below provide a kind of execution mode of colorimetric detection device to supply those skilled in the art to consider and examine.
Fig. 2 is the calcspar according to a kind of colorimetric detection device of one embodiment of the invention.Please merge with reference to Fig. 1 and Fig. 2, because colorimetric detection device 21,22 has identical components, be that example describes with colorimetric detection device 21 only at this.Colorimetric detection device 21 can comprise sampler (Sampler) 201, band pass filter (Band-pass Filter) 202, multiplier (Multiplier) 203, chrominance demodulation system device (Chroma Demodulator) 204, low pass filter (Low-pass Filter) 205, phase detectors (Phase Detector) 206, automatic gain controller (Auto Gain Controller is called for short AGC) 207 and filter 208.
In the present embodiment, sampler 201 couples band pass filter 202 and filter 208.Multiplier 203 couples band pass filter 202, chrominance demodulation system device 204 and AGC 207.Low pass filter 205 couples chrominance demodulation system device 204, phase detectors 206 and AGC 207.
Hold above-mentionedly, sampler 201 can be taken a sample to signal VS2 according to sampling parameters cdto_inc, and produces sampled signal CS1 according to this.Band pass filter 202 can be in order to carry out bandpass filtering treatment to sampled signal CS1; (please note roughly the chroma information among the sampled signal CS1 is leached at this; This moment, chroma information still included the part monochrome information; Therefore need brightness chroma separator 70 thereafter carrying out complete brightness chroma separates), and produce signal CS2 according to this, be beneficial to chroma phase-detection thereafter.
Then; Multiplier 203 carries out multiplying according to yield value gain to signal CS2; And produce signal CS3 according to this; This is because the amplitude of general color pulse is less, and therefore convenient the gain with one with multiplier 203 carries out amplitude adjustment, so that the adjusted color pulse of amplitude is easier to handle.
Afterwards, chrominance demodulation system device 204 is used for carrying out the rectification operation of signal with low pass filter 205, and institute is known like industry; Color information generally all is to utilize sine/cosine function to modulate; Therefore, in rectification, can be multiplied by a sine/cosine function earlier; Signal is divided into low frequency and two frequencys multiplication, carry out rectification.And chrominance demodulation system device 204 is to be used for carrying out aforesaid operation, and signal CS3 is multiplied by a sine/cosine signals, to produce signal CS4.And low pass filter 205 thereafter can be in order to carrying out low-pass filtering treatment to signal CS4, with aforesaid two frequency-doubled signal filterings, to obtain the signal CS5 of rectification.For instance, chrominance signal generally transmits through the U/V signal, and wherein, the U/V signal can carry out the right angle modulation through sine/cosine function respectively, therefore, in rectification, just will utilize aforesaid method, respectively the U/V Signal Separation is come.
Accept above-mentioned, AGC 207 just among the basis signal CS5 amplitude of color pulse produce yield value gain, and yield value gain is fed back to multiplier 203, to carry out aforesaid amplitude adjustment.And phase detectors 206 be used for the phase place of color pulse among the detection signal CS5 whether can be by correct locking, and provide signal R3 according to this to controller 30; In addition, phase detectors 206 also detect a phase error CS6, and this phase error CS6 is sent to filter 208.208 pairs of phase errors of filter average calculating (that is LPF); And according to the pairing desirable sampling parameters cdto_inc of state of living at that time; Draw the sampling parameters cdto_inc after the compensation; And it is fed back to sampler 201, so that sampler 201 can be taken a sample according to the sampling parameters cdto_inc after the compensation.In addition, the picture signal output after filter 208 will be handled is in addition carried out meticulousr Y/C separation for thereafter brightness chroma separator 70.
Note that in the present embodiment that at this filtering parameter cdto determines according to the mode of operation of colorimetric detection device 21, that is, the desirable filtering parameter cdto that different operating states is corresponding different; For instance, NTSC specification and PAL specification just have the different filtering parameter.
According to the disclosed content of Fig. 2, those skilled in the art should analogize the execution mode of colorimetric detection device 22 according to this.What deserves to be mentioned is that because embodiments of the invention utilize colorimetric detection device 21 to carry out signal processing, and colorimetric detection device 22 is used for carrying out the detection of phase locking.Therefore controller 30 mainly is to determine whether changing mode of operation according to the signal R4 that phase detectors 206 in the colorimetric detection device 22 are produced, but not signal R3.Therefore, the signal R3 that colorimetric detection device 21 is exported is used for as reference, but not is used as the foundation that controller 30 changes mode of operation veritably, and in other words, in the present embodiment, signal R3 is the signal of a selectivity (Optional).
Identical ground; Because the present invention utilizes colorimetric detection device 21 to carry out real running; And colorimetric detection device 22 is used for carrying out the detection of phase locking, and therefore, the signal VS3 that the filter 208 of colorimetric detection device 22 is produced not is the usefulness of real conduct signal processing thereafter; In other words, the filter 208 of colorimetric detection device 22 can not couple brightness/chroma separator 70.Below cooperate flow chart to do further explanation.
Fig. 3 is the flow chart according to a kind of condition detection method of one embodiment of the invention.Please merge with reference to Fig. 1 and Fig. 3, at first can be by step S301, controller 30 is set first state that colorimetric detection device 21 operates in various states through signal S3, so 21 of colorimetric detection devices can handle signal VS2, and produces signal VS3 according to this.Then by step S302, when detecting colorimetric detection device 22 and operating in first state of above-mentioned various states, whether can normal process signal VS2 (as previously mentioned, but whether colorimetric detection device 22 detected phase can correctly lock), and produce signal R4 according to this.That is to say, in step S302, in the time of can detecting colorimetric detection device 22 and operate in colorimetric detection device 21 equal state, whether can normal process signal VS2.
Then, but whether controller 30 basis signal R4 determine execution in step S303.When colorimetric detection device 22 can't normal process signal VS2; Signal R4 is a low logic level; Follow execution in step S303; 30 of controllers are controlled colorimetric detection device 22 through signal S4 and in above-mentioned various states, are switched, and operate in second state of ability normal process signal VS2 up to colorimetric detection device 22.What deserves to be mentioned is that in step S303, controller 30 can not change the mode of operation of colorimetric detection device 21, make colorimetric detection device 21 can keep the origin operation state continuance signal VS2 is handled, and provide signal VS3 according to this to brightness/chroma separator 70.Therefore step S303 can't cause interference to display frame.
Because colorimetric detection device 21,22 has similar member, but and colorimetric detection device 22 normal process signal VS2 when operating in second state, but so colorimetric detection device 21 also normal process signal VS2 when operating in second state.So can be by step S304, controller 30 can be set at second state that operates in colorimetric detection device 21 through signal S3.Thus, 30 need of controller switch a next state to colourity detector 21, just can colorimetric detection device 21 be adjusted to normal condition.Therefore, can reduce colorimetric detection device 21 when switching state to interference that display frame caused.Present embodiment and the known transient state situation that can alleviate display frame in comparison.
What deserves to be mentioned is; Though the state detector and the condition detection method thereof of video-unit have been depicted a possible type in the foregoing description; But those skilled in the art should know; Each manufacturer is all different for the design of the state detector of video-unit and condition detection method thereof, and therefore application of the present invention is when being not limited in the possible type of this kind.In other words, so long as the first colorimetric detection device and the second colorimetric detection device are operated in equal state.When detecting the second colorimetric detection device can't the normal process input signal time; Controlling the second colorimetric detection device switches in above-mentioned various states; Make the second colorimetric detection device operate in the normal condition of ability normal process input signal; And the first colorimetric detection device is set at operates in normal condition according to this, just be to have met spirit of the present invention place.Below lift several embodiment again so that those skilled in the art can further understand spirit of the present invention, and embodiment of the present invention.
Please refer again to Fig. 1, in the foregoing description, though colorimetric detection device 21,22 adopts identical components, it only is a kind of selection embodiment, and the present invention is not as limit.
Please continue with reference to Fig. 1, in the foregoing description, though controller 30 only basis signal R4 determine whether the state of colourity detector 22 is switched, the present invention is not as limit.In other embodiments, controller 30 can be used the mode of operation of each element of control in the lump with reference to the back-signalling of each element.For instance, Fig. 4 is the sketch map according to a kind of FSM of another embodiment of the present invention.Please merge with reference to Fig. 1 and Fig. 4, in the present embodiment, FSM has 9 kinds of states, is respectively start, NTSC, NTSC443, PAL60, PALM, PALI, PALCN, NTSC50 and SECAM.What deserves to be mentioned is that above-mentioned each state all has corresponding signal S1~S4.In more detail, along with the difference of above-mentioned various states, controller 30 can provide corresponding signal S1~S4 to colorimetric detection device 21,22, horizontal sync detector 40 and vertical synchronization detector 50.Below judgment mode that each state is switched do detailed explanation.
At state start:When controller 30 receives signal R5 when being high logic level (1), then can skip to state PALI.When controller 30 receives signal R5 when being low logic level (0), then can skip to N state TSC.
At N state TSC:When controller 30 receives signal R5=1, then can skip to state PALI.When controller 30 receives A=0, then can skip to N state TSC33.When controller 30 receives A=1, then can maintain previous status (NTSC).In the present embodiment, A=R1&R2&R4, more particularly, when signal R1, R2, R4 were all high logic level (1), A just can be a high logic level (1).
At N state TSC443:When controller 30 receives signal R5=1, then can skip to state PALI.When controller 30 receives A=0, then can skip to state PAL60.When controller 30 receives A=1, then can maintain previous status (NTSC443).
At state PAL60:When controller 30 receives signal R5=1, then can skip to state PALI.When controller 30 receives A=0, then can skip to state PALM.When controller 30 receives A=1, then can maintain previous status (PAL60).
At state PALM:When controller 30 receives signal R5=1, then can skip to state PALI.When controller 30 receives A=0, then can skip to N state TSC.When controller 30 receives A=1, then can maintain previous status (PALM).
At state PALI:When controller 30 receives signal R5=0, then can skip to N state TSC.When controller 30 receives A=0, then can skip to state PLACN.When controller 30 receives A=1, then can maintain previous status (PALI).
At state PLACN:When controller 30 receives signal R5=0, then can skip to N state TSC.When controller 30 receives A=0, then can skip to N state TSC50.When controller 30 receives A=1, then can maintain previous status (PLACN).
At N state TSC50:When controller 30 receives signal R5=0, then can skip to N state TSC.When controller 30 receives A=0, then can skip to state SECAM.When controller 30 receives A=1, then can maintain previous status (NTSC50).
At state SECAM:When controller 30 receives signal R5=0, then can skip to N state TSC.When controller 30 receives A=0, then can skip to state PALI.When controller 30 receives A=1, then can maintain previous status (SECAM).
Fig. 5 is the flow chart according to a kind of condition detection method of another embodiment of the present invention.Please merge with reference to Fig. 1, Fig. 4 and Fig. 5, at first can be by step S501, by controller 30 initializing signal S1, S2, S3, S4 and CNT, wherein CNT is a count value.Then can be by step S502, by timer (not illustrating) timing length T1, during T1 for example can be 20ms.But then execution in step S503, whether controller 30 inspection signal R5 change, and for instance, when signal R5 becomes 1 or become 0 by 1 by 0, then representation signal R5 changes, therefore execution in step S511 then.In step S511, the state that controller 30 meetings are switched according to the FSM desire of Fig. 4, corresponding setting signal S1~S4.
On the other hand, when signal R5 does not change, execution in step S504 then, whether controller 30 inspection A are 1 (whether R1&R2&R4 is high logic level), if execution in step S505 then; Anti-then execution in step S512.In step S512, controller 30 can be according to the state that FSM switched to of Fig. 4, the corresponding setting signal S4 and (Reset) CNT that resets.What deserves to be mentioned is that step S512 only can change the pattern of colorimetric detection device 22, can't change the pattern of colorimetric detection device 21, so colorimetric detection device 21 is still sustainable that signal VS2 is handled, display frame also can not be affected.
In addition, at step S505,30 of controllers can be to CNT+1.Then again by step S506, controller 30 can check whether CNT equals threshold value TH, if execution in step S507 then; The anti-step S502 that then gets back to.What deserves to be mentioned is that those skilled in the art can define threshold value TH voluntarily according to its demand, the threshold value TH big representative state of healing must just be understood execution in step S507 at the high stable state; Little representative state is in low stable state also execution in step S507 but anti-threshold value TH is healed.From another angle, the usefulness of step S506 is intended to confirm whether present state is stable.
In step S507, controller 30 can be according to the state that FSM switched to of Fig. 4, corresponding setting signal S1~S3.Then by step S508, after timer timing length T2, execution in step S509 again, during T2 for example also can be 20ms.In step S509, whether controller 30 inspection signal R5 change, if then skip to step S511; Otherwise, execution in step S510 then.In step S510, controller 30 can check whether A is 1, if then skip to step S508; Otherwise, then skip to step S512.Also can reach the effect similar thus with the foregoing description.
FSM and each step of Fig. 5 of it should be noted that Fig. 4 only are a kind of selection embodiment, and the present invention is not as limit.Those skilled in the art are when changing the FSM of Fig. 4 and each step of Fig. 5 according to its demand.
In sum, the present invention operates in equal state with the first colorimetric detection device and the second colorimetric detection device.When detecting the second colorimetric detection device can't the normal process input signal time; Controlling the second colorimetric detection device switches in various states; Make the second colorimetric detection device operate in can normal process the normal condition of input signal, and the first colorimetric detection device is set at operates in above-mentioned normal condition according to this.Can improve the transient state problem of display frame thus.
Though the present invention with several embodiment openly as above; Right its is not that those skilled in the art are not breaking away from the spirit and scope of the present invention in order to qualification the present invention; When can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking the appended claims person of defining.

Claims (11)

1. the state detector of a video-unit comprises:
One first colorimetric detection device; Operate in one first state of various states; In order to an input signal is handled; Use producing an output signal, wherein this first colorimetric detection device uses different parameters to handle this input signal in said various states, and said various states is the different-format that is relevant to this input signal;
One second colorimetric detection device; Operate in this first state of these states; Can this input signal of normal process in order to whether to detect; Wherein this second colorimetric detection device uses different parameters to handle this input signal in said various states, and the member of this input signal of processing is same as the member of handling this input signal in this first colorimetric detection device in this second colorimetric detection device; And
One controller; Couple this first colorimetric detection device and this second colorimetric detection device; This controller is set the mode of operation of this first colorimetric detection device and this second colorimetric detection device; Wherein when this second colorimetric detection device can't this input signal of normal process, this controller was kept the state of the said first colorimetric detection device at said first state, and this controller switches in these states according to this second colorimetric detection device of finite states machine control; Make this second colorimetric detection device operate in one second state of this input signal of ability normal process, and according to this this first colorimetric detection device is switched to this second state that operates in from this original first state.
2. state detector as claimed in claim 1, wherein this first colorimetric detection device and this second colorimetric detection utensil have identical functions and running.
3. state detector as claimed in claim 1, wherein this first colorimetric detection device comprises:
One sampler is taken a sample to this input signal according to one first parameter;
One band pass filter couples this sampler, in order to this input signal is carried out bandpass filtering treatment;
One multiplier couples this band pass filter, according to a yield value this input signal is carried out multiplying;
One colourity demodulator couples this multiplier, handles in order to this input signal is carried out chrominance demodulation system;
One low pass filter couples this chrominance demodulation system device, in order to this input signal is carried out low-pass filtering treatment;
One automatic gain controller couples this low pass filter, produces this yield value according to this input signal; And
One filter couples this low pass filter and this sampler, according to one second parameter this input signal is carried out Filtering Processing, and produces this first parameter, and wherein said second parameter is decided according to the mode of operation of the said first colorimetric detection device.
4. state detector as claimed in claim 1, wherein this second colorimetric detection device comprises:
One sampler is taken a sample to this input signal according to one first parameter;
One band pass filter couples this sampler, in order to this input signal is carried out bandpass filtering treatment;
One multiplier couples this band pass filter, according to a yield value this input signal is carried out multiplying;
One colourity demodulator couples this multiplier, handles in order to this input signal is carried out chrominance demodulation system;
One low pass filter couples this chrominance demodulation system device, in order to this input signal is carried out low-pass filtering treatment;
One automatic gain controller couples this low pass filter, produces this yield value according to this input signal;
Whether one phase detectors couple this low pass filter, can be locked in order to detect this phase of input signals; And
One filter couples these phase detectors and this sampler, according to one second parameter this input signal is carried out Filtering Processing, and produces this first parameter, and wherein said second parameter is decided according to the mode of operation of the said second colorimetric detection device.
5. state detector as claimed in claim 1 also comprises:
One clamp and gain control circuit couple this first colorimetric detection device and this second colorimetric detection device, in order to deviant and the yield value of adjusting this input signal, and adjusted this input signal are exported to this first colorimetric detection device and this second colorimetric detection device.
6. state detector as claimed in claim 1 also comprises:
One horizontal sync detector couples this controller, and the mode of operation of this horizontal sync detector of control signal decision of exporting according to this controller is handled in order to this input signal is carried out horizontal synchronization, and detects the whether horizontal synchronization of this input signal.
7. state detector as claimed in claim 1 also comprises:
One vertical synchronization detector couples this controller, and the mode of operation of this vertical synchronization detector of control signal decision of exporting according to this controller is handled in order to this input signal is carried out vertical synchronization, and detects the whether vertical synchronization of this input signal.
8. state detector as claimed in claim 1 also comprises:
One brightness/chroma separator couples this first colorimetric detection device, in order to this output signal is carried out brightness/chroma separating treatment, handles the back signal to produce one.
9. state detector as claimed in claim 8 also comprises:
One output device couples this brightness/chroma separator, should handle the back signal in order to output.
10. the condition detection method of a video-unit, this video-unit comprises one first colorimetric detection device and one second colorimetric detection device, this condition detection method comprises:
Set one first state that this first colorimetric detection device operates in various states; Use an input signal is handled; And produce one output signal; Wherein this first colorimetric detection device uses different parameters to handle this input signal in said various states, and said various states is the different-format that is relevant to this input signal;
When detecting this second colorimetric detection device and operating in this first state of these states; Whether can this input signal of normal process; Wherein this second colorimetric detection device uses different parameters to handle this input signal in said various states, and the member of this input signal of processing is same as the member of handling this input signal in this first colorimetric detection device in this second colorimetric detection device;
When this second colorimetric detection device can't this input signal of normal process; The state of keeping the said first colorimetric detection device is at said first state and control this second colorimetric detection device and in these states, switch, make this second colorimetric detection device operate in can this input signal of normal process one second state; And
This first colorimetric detection device is switched to this second state to be operated.
11. the condition detection method of a video-unit; This video-unit comprises one first colorimetric detection device and one second colorimetric detection device; This first colorimetric detection device operates in one first state of various states so that an input signal is handled; Use producing an output signal, this condition detection method comprises:
When detecting this second colorimetric detection device and operating in this first state identical with this first colorimetric detection device; Whether can this input signal of normal process; The member of wherein handling this input signal in this second colorimetric detection device is same as the member of handling this input signal in this first colorimetric detection device; This first colorimetric detection device uses different parameters to handle this input signal with this second colorimetric detection device in said various states, and said various states is the different-format that is relevant to this input signal;
When this second colorimetric detection device can't this input signal of normal process; Keep the mode of operation of this first colorimetric detection device and control this second colorimetric detection device and in various states, switch, use a normal condition that obtains this this input signal of second colorimetric detection device ability normal process; And
This first colorimetric detection device is switched to this normal condition, to operate.
CN2008102129702A 2008-09-17 2008-09-17 State detector for video unit and method for detecting state Expired - Fee Related CN101677409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102129702A CN101677409B (en) 2008-09-17 2008-09-17 State detector for video unit and method for detecting state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102129702A CN101677409B (en) 2008-09-17 2008-09-17 State detector for video unit and method for detecting state

Publications (2)

Publication Number Publication Date
CN101677409A CN101677409A (en) 2010-03-24
CN101677409B true CN101677409B (en) 2012-03-21

Family

ID=42029786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102129702A Expired - Fee Related CN101677409B (en) 2008-09-17 2008-09-17 State detector for video unit and method for detecting state

Country Status (1)

Country Link
CN (1) CN101677409B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9094246B1 (en) * 2014-04-14 2015-07-28 Analog Devices Global Pure differential signal based MIPI DSI/CSI-2 receiver systems

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1468005A (en) * 2002-05-29 2004-01-14 ���ǵ�����ʽ���� Apparatus and method for compensating a color carrier of an image signal
US7330217B1 (en) * 2004-10-20 2008-02-12 Cirrus Logic, Inc. Chroma phase error correction circuitry and methods and systems utilizing the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1468005A (en) * 2002-05-29 2004-01-14 ���ǵ�����ʽ���� Apparatus and method for compensating a color carrier of an image signal
US7330217B1 (en) * 2004-10-20 2008-02-12 Cirrus Logic, Inc. Chroma phase error correction circuitry and methods and systems utilizing the same

Also Published As

Publication number Publication date
CN101677409A (en) 2010-03-24

Similar Documents

Publication Publication Date Title
CN101677409B (en) State detector for video unit and method for detecting state
CA2352730A1 (en) Apparatus and method for yc separation and three-line correlation detection
TWI392376B (en) State detector of video device and state detection method thereof
EP0221734B1 (en) Dot interference detector
JP2007074319A (en) Automatic color burst detector
JP2910883B2 (en) Video signal processing device
JP3920692B2 (en) Automatic gain control circuit
US6876358B2 (en) Multi-sync display apparatus
JP3473390B2 (en) Screen size adjustment device
JP3241539B2 (en) Video signal processing circuit
WO2004093442A1 (en) Automatic gain control circuit
KR0164510B1 (en) Output image signal transformation and method of composite image apparatus
JP3144226B2 (en) Screen size adjustment device and aspect detection method
SU1188904A1 (en) Device for correcting definition and sharpness of television pictures
KR100738347B1 (en) Method for processing component input signal in pc mode of television
JPH0410794A (en) Picture quality correcting circuit
JPH01160196A (en) Color video signal processor
KR920004125B1 (en) Television circuit for y/c signals
JP2002191057A (en) Automatic digital color saturation controller
JPS6348991A (en) Chrominance signal processor
JPH08307796A (en) Confirmation signal identification circuit in television identification control signal
JPS63142780A (en) Character signal generating device
JPH06245165A (en) Control system for pattern size
JPH04196698A (en) Color edge correcting circuit
JPH0366279A (en) Moving signal detector

Legal Events

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

Granted publication date: 20120321

Termination date: 20150917

EXPY Termination of patent right or utility model