CN104501943B - The self-checking unit of light sensor and self checking method in air-conditioner and air-conditioner - Google Patents
The self-checking unit of light sensor and self checking method in air-conditioner and air-conditioner Download PDFInfo
- Publication number
- CN104501943B CN104501943B CN201410743087.1A CN201410743087A CN104501943B CN 104501943 B CN104501943 B CN 104501943B CN 201410743087 A CN201410743087 A CN 201410743087A CN 104501943 B CN104501943 B CN 104501943B
- Authority
- CN
- China
- Prior art keywords
- light sensor
- switch
- resistance
- detection voltage
- self
- 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.)
- Active
Links
Landscapes
- Air Conditioning Control Device (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
The invention discloses self-checking unit and the self checking method of light sensor in a kind of air-conditioner and air-conditioner, self-checking unit includes: the light sensor that one end is connected with power supply;The first switch that one end is connected with the other end of light sensor;The first resistance that the other end of one end ground connection and the other end and the first switch is connected;The second switch that one end is connected with the other end of light sensor;The second resistance that one end ground connection and the other end are connected with the other end of second switch;The controller being connected with the other end controlling end, the control end of second switch and light sensor of the first switch, controller controls the first switch Guan Bi and second switch disconnects, and obtain the first detection voltage, first detection voltage meet pre-conditioned after, control second switch Guan Bi and first to switch off, and obtain the second detection voltage, judge whether light sensor breaks down according to the second detection voltage.Thus, by the self-inspection on hardware, effectively judge whether light sensor breaks down.
Description
Technical field
The present invention relates to technical field of electric appliances, particularly to the self-checking unit of light sensor, a kind of air-conditioning in a kind of air-conditioner
The self checking method of light sensor in device and a kind of air-conditioner.
Background technology
Light sensor is widely used in mobile phone regulating the brightness of display screen.Along with household electric appliances progressively carrying functionally
Rising, light sensor is applied in household electrical appliances the most therewith.Although photosensitive function is an additional function, if but light sensor
Device breaks down and may result in appliance system operation exception, and such as, light sensor is at work it may happen that puncture short is existing
As, now properly functioning will result in of household electrical appliances is directly affected.But, correlation technique cannot judge that light sensor is the most former
Barrier.
Summary of the invention
It is contemplated that one of technical problem solved the most to a certain extent in correlation technique.To this end, the first of the present invention
Individual purpose is to propose the self-checking unit of light sensor in a kind of air-conditioner, can effectively judge light sensor by self-inspection
Whether break down.
Second object of the present invention is to propose a kind of air-conditioner.Third object of the present invention is to propose a kind of air-conditioner
The self checking method of middle light sensor.
The self-checking unit of light sensor in the air-conditioner of the proposition of embodiment according to a first aspect of the present invention, including: photosensitive biography
Sensor, one end of described light sensor is connected with power supply;First switch, one end of described first switch and described photosensitive biography
The other end of sensor is connected;First resistance, one end ground connection of described first resistance, the other end of described first resistance is with described
The other end of the first switch is connected;Second switch, one end of described second switch is connected with the other end of described light sensor;
Second resistance, one end ground connection of described second resistance, the other end of described second resistance and the other end phase of described second switch
Even, wherein, the resistance value of described first resistance is more than the resistance value of described second resistance;3rd resistance, described 3rd resistance
One end be connected with the other end of described light sensor;Controller, described controller has the first control end, the second control
End and test side, described first controls end is connected with the control end of described first switch, and described second controls end and described second
The control end of switch is connected, and described test side is connected with the other end of described 3rd resistance, and described controller controls described first
Switch Guan Bi and described second switch disconnect, and obtain the first detection voltage by described test side, and examine described first
Survey voltage meet pre-conditioned after, described controller controls described second switch Guan Bi and described first switches off, and leads to
Cross described test side and obtain the second detection voltage, and judge whether described light sensor goes out according to described second detection voltage
Existing fault.
The self-checking unit of light sensor in the air-conditioner proposed according to embodiments of the present invention, controls the first switch by controller
Guan Bi and second switch disconnect, and pass through test side acquisition the first detection voltage, and meet default bar at the first detection voltage
After part, control second switch Guan Bi and first by controller and switch off, and obtain the second detection voltage by test side,
And judge whether light sensor breaks down according to the second detection voltage, thus, by the self-inspection on hardware, effectively sentence
Whether disconnected light sensor breaks down such as internal breakdown short trouble.
According to one embodiment of present invention, when described first detection voltage is predeterminated voltage and lasting Preset Time, it is judged that
Meet described pre-conditioned.Wherein, described Preset Time by timer time obtain.
Further, according to one embodiment of present invention, if described second detection voltage is equal to described predeterminated voltage, then
Judge that described light sensor breaks down.
Further, according to another embodiment of the invention, described controller is additionally operable to judging described light sensor
After breaking down, close described light sensor, and control described first switch Guan Bi and the disconnection of described second switch, and
The 3rd detection voltage is obtained by described test side, and when described 3rd detection voltage is not described predeterminated voltage, again
Open described light sensor.
Thus, close light sensor when light sensor breaks down in time, thus ensure that system is properly functioning.Further,
After closing light sensor, further determine whether to reopen light sensor, thus avoid external disturbance such as high light
The erroneous judgement that interference causes, promotes the reliability of self-checking unit.
According to the second aspect of the invention embodiment propose air-conditioner, including: in described air-conditioner light sensor from
Checking device.
The air-conditioner proposed according to embodiments of the present invention, by the self-checking unit of light sensor in air-conditioner, it is possible to effectively sentence
Whether disconnected light sensor breaks down such as internal breakdown short trouble, it is ensured that system is properly functioning.
The self checking method of light sensor, described air-conditioner bag in the air-conditioner that embodiment proposes according to the third aspect of the invention we
Include the light sensor that one end is connected with power supply, the first switch that one end is connected with the other end of described light sensor, one end
The first resistance that ground connection and the other end are connected with the other end of described first switch, one end and the other end of described light sensor
The second switch being connected, the second resistance that one end ground connection and the other end are connected with the other end of described second switch, wherein, institute
Stating the resistance value resistance value more than described second resistance of the first resistance, one end is connected with the other end of described light sensor
Described 3rd resistance, described self checking method comprises the following steps: control described first switch Guan Bi and described second switch disconnects,
And obtain the first detection voltage;Described first detect voltage meet pre-conditioned after, control described second switch Guan Bi and
Described first switches off, and obtains the second detection voltage;Judge that described light sensor is according to described second detection voltage
No break down.
The self checking method of light sensor in the air-conditioner proposed according to embodiments of the present invention, first controls the first switch Guan Bi and the
Two switch off, and obtain the first detection voltage, and the first detection voltage meet pre-conditioned after, then control second switch
Guan Bi and first switches off, and obtains the second detection voltage, judges whether light sensor goes out according to the second detection voltage afterwards
Existing fault, thus, by the self-inspection on hardware, effectively judge whether light sensor breaks down such as internal breakdown
Short trouble.
According to one embodiment of present invention, described first detection voltage meets pre-conditioned specifically including: when described first examines
When survey voltage is predeterminated voltage and lasting Preset Time, it is judged that meet described pre-conditioned.Wherein, described Preset Time passes through
Obtain during timer.
Further, according to one embodiment of present invention, described according to described second detection voltage judge described light sensor
Whether device breaks down specifically includes: if described second detection voltage is equal to described predeterminated voltage, then judge described photosensitive biography
Sensor breaks down.
Further, according to another embodiment of the invention, after judging that described light sensor breaks down, institute
State self checking method also to include: close described light sensor, and control described first switch Guan Bi and the disconnection of described second switch;
Obtain the 3rd detection voltage, when described 3rd detection voltage is not described predeterminated voltage, reopen described light sensor.
Thus, close light sensor when light sensor breaks down in time, thus ensure that system is properly functioning.Further,
After closing light sensor, further determine whether to reopen light sensor, thus avoid external disturbance such as high light
The erroneous judgement that interference causes, promotes the reliability of self-checking unit.
Accompanying drawing explanation
Fig. 1 is the circuit theory schematic diagram of the self-checking unit of light sensor in air-conditioner according to an embodiment of the invention;
Fig. 2 is the circuit theory schematic diagram of the self-checking unit of light sensor in air-conditioner in accordance with another embodiment of the present invention;
Fig. 3 is the flow chart of the self checking method of light sensor in air-conditioner according to an embodiment of the invention;
Fig. 4 is the flow chart of the self checking method of light sensor in the air-conditioner according to one specific embodiment of the present invention;And
Fig. 5 is the flow chart of the self checking method of light sensor in the air-conditioner according to another specific embodiment of the present invention.
Reference:
Light sensor 10, first switchs Q1, the first resistance R1, second switch Q2, the second resistance R2, the 3rd resistance
R3, controller 20 and timer 30, first controls end a1, the second control end a2 and test side a3.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most identical
Or similar label represents same or similar element or has the element of same or like function.Retouch below with reference to accompanying drawing
The embodiment stated is exemplary, it is intended to is used for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the self-checking unit of light sensor in the air-conditioner of the embodiment of the present invention and air-conditioner is described and from procuratorial organ
Method.
Fig. 1 is the circuit theory schematic diagram of the self-checking unit of light sensor in air-conditioner according to an embodiment of the invention.
As described in Figure 1, in this air-conditioner, the self-checking unit of light sensor includes: light sensor 10, first switch Q1, the
One resistance R1, second switch Q2, the second resistance R2, the 3rd resistance R3 and controller 20.
Wherein, one end of light sensor 10 is connected with power supply VCC, and such as the example of Fig. 1, light sensor 10 can be
Light sensitive diode, one end of light sensor 10 can be the anode of light sensor 10, and light sensor 10 is by perception ring
Environmental light intensity, converts light signals into the signal of telecommunication.
One end of first switch Q1 is connected with the other end of light sensor 10, such as the example of Fig. 1, light sensor 10
The negative electrode that the other end is light sensor 10;One end ground connection of the first resistance R1, the other end of the first resistance R1 and
The other end of one switch Q1 is connected;One end of second switch Q2 is connected with the other end of light sensor 10;Second resistance
One end ground connection of R2, the other end of the second resistance R2 is connected with the other end of second switch Q2, the resistance of the first resistance R1
The value resistance value more than the second resistance R2;One end of 3rd resistance R3 is connected with the other end of light sensor.It is to say,
One end of two switches (i.e. Q1 and Q2) is all connected with light sensor 10, and the other end connects the electricity of different resistance values respectively
Resistance (i.e. R1 and R2), wherein, the first resistance R1 is divider resistance during system worked well, the electricity of the first resistance R1
Resistance determines according to the light intensity of household electrical appliances actual application environment, usually, and the electricity of the overall applied environment on the weak side of light intensity
Resistance is more than the resistance value of light intensity the strongest overall applied environment, such as, applies the resistance at the first indoor resistance R1
Value is more than the resistance value applied at the first outdoor resistance R1;Second resistance R2 is divider resistance during self-inspection, the second resistance
The resistance value of R2 is relevant to the saturated characteristic of the light intensity of household electrical appliances actual application environment and light sensor 10.
Controller 20 has the first control end a1, the second control end a2 and test side a3, and first controls end a1 and first switch
The control end of Q1 is connected, and the second control end controlling end a2 and second switch Q2 is connected, test side a3 and the 3rd resistance R3
The other end be connected, controller 20 controls the first switch Q1 Guan Bi and second switch Q2 disconnects, and is obtained by test side a3
Take the first detection voltage, and the first detection voltage meet pre-conditioned after, controller 20 controls second switch Q2 and closes
Close and the first switch Q1 disconnects, and obtain the second detection voltage by test side a3, and judge according to the second detection voltage
Whether light sensor 10 breaks down.It is to say, controller 20 is for obtaining the signal of telecommunication of light sensor 10 output,
Control the first switch Q1 and the Guan Bi of second switch Q2 and disconnection simultaneously, and sentence according to the signal of telecommunication obtained under self-inspection state
Whether disconnected light sensor 10 breaks down.
It should be noted that the first switch Q1 and second switch Q2 can be NPN type triode, naturally it is also possible to for PNP
Type.As is shown in fig. 1, as a example by NPN type triode, one end of the first switch Q1 and second switch Q2 is colelctor electrode,
The other end of the first switch Q1 and second switch Q2 is emitter stage, and the control end of the first switch Q1 and second switch Q2 is
Base stage.
In embodiments of the present invention, controller 20 is controlled by controlling the base voltage of the first switch Q1 and second switch Q2
Make its conducting and close, when controller 20 controls the first switch Q1 Guan Bi and second switch Q2 disconnects, light sensor
10 are connected by the first switch Q1 and the first resistance R1, and have first between light sensor 10 and the first switch Q1
Node, and at primary nodal point, form dividing potential drop, this partial pressure value inputs controller 20 by the 3rd resistance R3, and controller 20 leads to
Cross test side a3 and obtain the first detection voltage;When second switch Q2 Guan Bi and the first switch Q1 disconnect, light sensor
10 are connected by second switch Q2 and the second resistance R2, and have second between light sensor 10 and second switch Q2
Node, forms dividing potential drop at secondary nodal point, and this partial pressure value inputs controller 20 also by the 3rd resistance R3, and controller 20 leads to
Cross test side a3 and obtain the second detection voltage, so, according to the saturated characteristic of light sensor 10, detect voltage first
Meet pre-conditioned after, controller 20 further according to second detection voltage judge whether light sensor 10 breaks down.
Thus, in the air-conditioner that the embodiment of the present invention proposes, the self-checking unit of light sensor, by the self-inspection on hardware, has
Effect judges whether light sensor 10 breaks down breakdown short trouble inside such as.
Specifically, according to one embodiment of present invention, when the first detection voltage is predeterminated voltage and lasting Preset Time,
Judgement meets pre-conditioned.Wherein, obtain when Preset Time is by timer, such as the example of Fig. 2, photosensitive in air-conditioner
The self-checking unit of sensor also includes that timer 30, timer 30 are connected with controller 20.Certainly, timer 30 also may be used
Integrally disposed with controller 20.
If it is to say, controller 20 detects that the first detection voltage is predeterminated voltage, then control timer and start timing.
In preset time T S, if the first detection voltage changes such as reduce, then controller 20 controls timer clearing,
Waiting reclocking, controller 20 rejudges whether the first detection voltage is predeterminated voltage;If the first detection voltage is always
For predeterminated voltage, then judgement meets pre-conditioned, and controller 20 controls self-checking unit and enters self-inspection state.
A concrete example according to the present invention, predeterminated voltage can be the voltage of power supply VCC.Specifically, light sensor
10 if it occur that short trouble, then the first detection voltage that controller 20 obtains will be the voltage of power supply VCC always, and such as
Really light sensor 10 be normally operated in bright and clear in the environment of, controller 20 obtain first detection electricity be likely to as electricity
The voltage of source VCC.Based on this, when controller 20 detects voltage that the first detection voltage is power supply VCC and persistently presets
Time, then explanation light sensor 10 is it may happen that fault, enters self-inspection state to determine whether that light sensor 10 is
No break down.
Further, according to one embodiment of present invention, if the second detection voltage is equal to predeterminated voltage, then judge photosensitive
Sensor experiences failure.
Wherein it is desired to explanation, light sensor 10 has following saturated characteristic: the saturation value of light sensor 10 can
Resistance value according to divider resistance (R1 and R2 in such as the present embodiment) changes, and the resistance value of divider resistance is the least, light
The intensity of illumination required when reaching saturated of dependent sensor 10 is the highest, and light sensor 10 is less susceptible to export high electricity because of saturated
Flat.As an example it is assumed that the maximum light intensity of a certain applied environment is Nlux, if some divider resistance is (such as originally
The second resistance R2 in embodiment) make light sensor 10 reach required intensity of illumination more than Nlux, then, judging
When whether light sensor 10 breaks down, only need to be replaced by this divider resistance, if light sensor 10 is working properly,
After then changing this divider resistance, light sensor 10 is not up to saturated, and then the dividing potential drop at secondary nodal point will not be high level.
It is to say, the first detection voltage for a long time equal to predeterminated voltage exist two kinds may: a kind of current environment that is probably
Light is the brightest, makes light sensor 10 be fully achieved saturation;Alternatively possible is that the internal generation of light sensor 10 is short
Road fault.In order to distinguish both may, utilize the saturated characteristic of light sensor 10, self-checking unit meet pre-conditioned
And after entering self-inspection state, controller 20 controls the first switch Q1 and turns off, and control second switch Q2 conducting, photosensitive biography
Sensor 10 is connected by second switch Q2 and the second resistance R2, owing to the resistance value of the second resistance R2 is far below the first resistance
The resistance value of R1, so light sensor 10 just occurs saturated under more than Nlux intensity of illumination.Now, controller 20
Obtain the branch pressure voltage that is second at secondary nodal point and detect voltage, and judge that the second detection voltage is relative to the first detection voltage i.e.
Predeterminated voltage has unchanged, if the i.e. second detection voltage that changes is less than predeterminated voltage, then controller 20 judges light sensor
Device 10 is normal;If unchanged i.e. second detection voltage is less than predeterminated voltage, then controller 20 judges light sensor 10
Raw short trouble.
Further, controller 20 is additionally operable to after judging that light sensor 10 breaks down, and closes light sensor
10, and control the first switch Q1 Guan Bi and second switch Q2 disconnection, and obtain the 3rd detection voltage by test side a3,
And when the 3rd detection voltage is not predeterminated voltage, reopen light sensor 10.
It is to say, after judging that light sensor 10 breaks down, controller 20 cuts out light sensor 10, i.e. closes
The quick function of black out, meanwhile, controls the first switch Q1 Guan Bi and second switch Q2 disconnects.During stopping photosensitive function,
Controller 20 obtains the current voltage that is the 3rd of primary nodal point and detects voltage, if the 3rd detection voltage is less than predeterminated voltage such as
The voltage of power supply VCC, then controller 20 reopens photosensitive function.
Thus, close light sensor when light sensor 10 breaks down in time, thus ensure that system is properly functioning.And
And, after closing light sensor 10, further determine whether to reopen light sensor 10, thus avoid outside dry
Disturb such as high light and disturb the erroneous judgement caused, promote the reliability of self-checking unit.
The face embodiment of the present invention also proposed a kind of air-conditioner, including: light sensor in the air-conditioner of above-described embodiment
Self-checking unit.
The air-conditioner proposed according to embodiments of the present invention, by the self-checking unit of light sensor in air-conditioner, it is possible to effectively sentence
Whether disconnected light sensor breaks down such as internal breakdown short trouble, it is ensured that system is properly functioning.
Based on above-described embodiment, the embodiment of the present invention also proposed the self checking method of light sensor in a kind of air-conditioner.
Fig. 3 is the flow chart of the self checking method of light sensor in air-conditioner according to an embodiment of the invention.Air-conditioner bag
Include the light sensor that one end is connected with power supply, the first switch that one end is connected with the other end of light sensor, one end ground connection
And the first resistance that the other end of the other end and the first switch is connected, what one end was connected with the other end of light sensor second opens
Closing, the second resistance that one end ground connection and the other end are connected with the other end of second switch, wherein, the resistance value of the first resistance is big
In the resistance value of the second resistance, the 3rd resistance that one end is connected with the other end of light sensor.As it is shown on figure 3, this air-conditioning
In device, the self checking method of light sensor comprises the following steps:
S1: control the first switch Guan Bi and second switch disconnects, and obtain the first detection voltage.
It is to say, when controlling the first switch Guan Bi and second switch disconnects, light sensor passes through the first switch with first
Resistance is connected, and has primary nodal point between light sensor and the first switch, and forms dividing potential drop, this point at primary nodal point
Pressure value is the first detection voltage.
S2: the first detection voltage meet pre-conditioned after, control second switch Guan Bi and first switch off, and obtaining
Second detection voltage.
It is to say, when controlling second switch Guan Bi and first and switching off, light sensor passes through second switch and second
Resistance is connected, and has secondary nodal point between light sensor and second switch, and forms dividing potential drop, this point at secondary nodal point
Pressure value is the second detection voltage.
S3: judge whether light sensor breaks down according to the second detection voltage.
It is to say, according to the saturated characteristic of light sensor, the first detection voltage meet pre-conditioned after, one can be entered
Walk and judge whether light sensor breaks down according to the second detection voltage.
Thus, the self checking method of light sensor in the air-conditioner that the embodiment of the present invention proposes, first control the first switch Guan Bi and
Second switch disconnects, and obtains the first detection voltage, and the first detection voltage meet pre-conditioned after, then control second and open
Close Guan Bi and first to switch off, obtain the second detection voltage, whether judge light sensor according to the second detection voltage afterwards
Break down, thus, by the self-inspection on hardware, effectively judge whether light sensor breaks down such as internal breakdown
Short trouble.
According to one embodiment of present invention, the first detection voltage meets pre-conditioned specifically including: when the first detection voltage is
When predeterminated voltage and lasting Preset Time, it is judged that meet pre-conditioned.Wherein, Preset Time by timer time obtain.
It is to say, if be detected that the first detection voltage is predeterminated voltage, then controls timer and start timing.When default
Between in TS, if the first detection voltage changes such as reduce, then control timer and reset, wait reclocking, again
Judge whether the first detection voltage is predeterminated voltage;If the first detection voltage is predeterminated voltage always, then judges to meet and preset
Condition, controls self-checking unit and enters self-inspection state.
A concrete example according to the present invention, predeterminated voltage can be the voltage of power supply.Specifically, if light sensor
Be short-circuited fault, then the first detection voltage obtained will be the voltage of power supply always, and if light sensor normally works
In the environment of bright and clear, the first detection electricity of acquisition is likely to the voltage into power supply.Based on this, when the first inspection being detected
Surveying voltage is the voltage of power supply and lasting Preset Time, then explanation light sensor is it may happen that fault, enter self-inspection state with
Determine whether whether light sensor breaks down.
Further, according to one embodiment of present invention, judge whether light sensor event occurs according to the second detection voltage
Barrier specifically includes: if the second detection voltage is equal to predeterminated voltage, then judge that light sensor breaks down.
Wherein it is desired to explanation, light sensor has following saturated characteristic: the saturation value of light sensor can be according to dividing
The resistance value of piezoresistance (the first resistance in such as the present embodiment and the second resistance) changes, and the resistance value of divider resistance is the least,
Intensity of illumination required when light sensor reaches saturated is the highest, and light sensor is less susceptible to export high level because of saturated.
As an example it is assumed that the maximum light intensity of a certain applied environment is Nlux, if some divider resistance (such as this enforcement
The second resistance in example) make light sensor reach required intensity of illumination more than Nlux, then, judging light sensor
When whether breaking down, only need to be replaced by this divider resistance, if light sensor is working properly, then change this divider resistance
Rear light sensor is not up to saturated, and then the dividing potential drop at secondary nodal point will not be high level.
It is to say, the first detection voltage for a long time equal to predeterminated voltage exist two kinds may: a kind of current environment that is probably
Light is the brightest, makes light sensor be fully achieved saturation;Alternatively possible is light sensor short circuit occurred inside fault.
In order to distinguish both may, utilize the saturated characteristic of light sensor, self-checking unit enters self-inspection meeting pre-conditioned
After state, controlling the first switch OFF, and control second switch conducting, light sensor passes through second switch and the second resistance
It is connected, owing to the resistance value of the second resistance is far below the resistance value of the first resistance, so light sensor is in more than Nlux illumination
Just occur saturated under intensity.Now, obtain the branch pressure voltage that is second at secondary nodal point and detect voltage, and judge the second detection
Voltage has unchanged relative to the first detection voltage i.e. predeterminated voltage, if the i.e. second detection voltage that changes is less than predeterminated voltage,
Then judge that light sensor is normal;If unchanged i.e. second detection voltage is less than predeterminated voltage, then judge that light sensor is sent out
Raw short trouble.
Specifically, in conjunction with the embodiment of Fig. 4, the self checking method of light sensor in the air-conditioner of one embodiment of the invention
Specifically include following steps:
S100: air-conditioner works on power.
S110: judge whether the first detection voltage is predeterminated voltage.If it is, perform step S120;If it is not, then hold
Row step S170.
S120: timer starts timing.
S130: judge whether the first detection voltage is continuously predeterminated voltage in preset time T S.If it is, execution step
S140;If it is not, then perform step S230.
S140: suspend all photosensitive functions, the state keeping system present is constant.
S150: control the first switch Q1 and turn off and second switch Q2 conducting.
It is to say, light sensor will be switched off and the connection of the first resistance, and with the second resistant series.
S160: judge whether the second detection voltage is predeterminated voltage.If it is, perform step S180;If it is not, then hold
Row step S170.
S170: continue on photosensitive function.
S180: control all photosensitive functions and close.
S230: timer resets.Step S110 is entered after clearing.
Further, according to another embodiment of the invention, after judging that light sensor breaks down, from procuratorial organ
Method also includes: closes light sensor, and controls the first switch Guan Bi and second switch disconnection;Obtain the 3rd detection voltage,
When the 3rd detection voltage is not predeterminated voltage, reopen light sensor.
It is to say, after judging that light sensor breaks down, close light sensor, i.e. close photosensitive function, with
Time, control the first switch Guan Bi and second switch disconnects.During stopping photosensitive function, obtain the current electricity of primary nodal point
Pressure the i.e. the 3rd detection voltage, if the 3rd detection voltage is less than the voltage of predeterminated voltage such as power supply, then controller reopens
Photosensitive function.
Specifically, in conjunction with the embodiment of Fig. 5, after step S180, light in the air-conditioner of another embodiment of the present invention
The self checking method of dependent sensor also includes that the following reply avoiding erroneous judgement judges step:
S180: control all photosensitive functions and close.
S190: control the first switch conduction and second switch turns off.
It is to say, light sensor will be switched off and the connection of the second resistance, and with the first resistant series of system worked well.
S200: in the photosensitive function down periods, it is judged that whether the 3rd detection voltage is predeterminated voltage.If it is, return step
Rapid S210;If it is not, then perform step S180.
S210: reopen photosensitive function, enters step S110 after unlatching.
Thus, close light sensor when light sensor breaks down in time, thus ensure that system is properly functioning.Further,
After closing light sensor, further determine whether to reopen light sensor, thus avoid external disturbance such as high light
The erroneous judgement that interference causes, promotes the reliability of self-checking unit.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " concrete example ",
Or specific features, structure, material or the feature bag that the description of " some examples " etc. means to combine this embodiment or example describes
It is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term necessarily
It is directed to identical embodiment or example.And, the specific features of description, structure, material or feature can be arbitrary
Individual or multiple embodiment or example combine in an appropriate manner.Additionally, in the case of the most conflicting, the skill of this area
The feature of the different embodiments described in this specification or example and different embodiment or example can be combined by art personnel
And combination.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance or
The implicit quantity indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or hidden
At least one this feature is included containing ground.In describing the invention, " multiple " are meant that at least two, such as two, three
Individual etc., unless otherwise expressly limited specifically.
In flow chart or at this, any process described otherwise above or method description are construed as, and represent and include one
Or the module of code, fragment or the part of the executable instruction of the more step for realizing specific logical function or process,
And the scope of the preferred embodiment of the present invention includes other realization, wherein can not press order that is shown or that discuss,
Including according to involved function by basic mode simultaneously or in the opposite order, performing function, this should be by the present invention's
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as reality
The sequencing list of the executable instruction of existing logic function, may be embodied in any computer-readable medium, for instruction
Execution system, device or equipment (system such as computer based system, including processor or other can perform from instruction
System, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set
Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate
Or transmission procedure for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and uses
Device.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have one or more cloth
The electrical connection section (electronic installation) of line, portable computer diskette box (magnetic device), random access memory (RAM), only
Reading memorizer (ROM), erasable read only memory (EPROM or flash memory) of editing, fiber device, and
Portable optic disk read only memory (CDROM).It addition, computer-readable medium can even is that can print thereon described
The paper of program or other suitable media, because then can carry out such as by paper or other media are carried out optical scanning
Edit, interpret or be processed to electronically obtain described program with other suitable methods if desired, then stored
In computer storage.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.In above-mentioned reality
Execute in mode, software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage or
Firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under
Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function
Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), existing
Field programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can
Completing instructing relevant hardware by program, described program can be stored in a kind of computer-readable recording medium,
This program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to be each
Individual unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated module was both
Can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.If described integrated module with
The form of software function module realizes and as independent production marketing or when using, it is also possible to be stored in a computer-readable
Take in storage medium.
Storage medium mentioned above can be read only memory, disk or CD etc..Although above it has been shown and described that
Embodiments of the invention, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as limitation of the present invention,
Above-described embodiment can be changed, revises, replace and modification by those of ordinary skill in the art within the scope of the invention.
Claims (11)
1. the self-checking unit of light sensor in an air-conditioner, it is characterised in that including:
Light sensor, one end of described light sensor is connected with power supply;
First switch, one end of described first switch is connected with the other end of described light sensor;
First resistance, one end ground connection of described first resistance, the other end of described first resistance is connected with the other end of described first switch;
Second switch, one end of described second switch is connected with the other end of described light sensor;
Second resistance, one end ground connection of described second resistance, the other end of described second resistance is connected with the other end of described second switch, and wherein, the resistance value of described first resistance is more than the resistance value of described second resistance;
3rd resistance, described one end of 3rd resistance is connected with the other end of described light sensor;
Controller, described controller has the first control end, second controls end and test side, described first controls end is connected with the control end of described first switch, described second controls end is connected with the control end of described second switch, described test side is connected with the other end of described 3rd resistance, described controller controls described first switch Guan Bi and described second switch disconnects, and obtain the first detection voltage by described test side, and described first detect voltage meet pre-conditioned after, described controller controls described second switch Guan Bi and described first and switches off, and obtain the second detection voltage by described test side, and judge whether described light sensor breaks down according to described second detection voltage.
2. the self-checking unit of light sensor in air-conditioner as claimed in claim 1, it is characterised in that when described first detection voltage is predeterminated voltage and lasting Preset Time, it is judged that described first detection voltage meets described pre-conditioned.
3. the self-checking unit of light sensor in air-conditioner as claimed in claim 2, it is characterised in that if described second detection voltage is equal to described predeterminated voltage, then judge that described light sensor breaks down.
4. the self-checking unit of light sensor in air-conditioner as claimed in claim 3, it is characterized in that, described controller is additionally operable to after judging that described light sensor breaks down, close described light sensor, and control described first switch Guan Bi and the disconnection of described second switch, and obtain the 3rd detection voltage by described test side, and when described 3rd detection voltage is not described predeterminated voltage, reopen described light sensor.
5. the self-checking unit of light sensor in air-conditioner as claimed in claim 2, it is characterised in that obtain when described Preset Time is by timer.
6. an air-conditioner, it is characterised in that including:
The self-checking unit of light sensor in air-conditioner as described in any one of claim 1-5.
7. the self checking method of light sensor in an air-conditioner, it is characterized in that, described air-conditioner includes the light sensor that one end is connected with power supply, the first switch that one end is connected with the other end of described light sensor, the first resistance that one end ground connection and the other end are connected with the other end of described first switch, the second switch that one end is connected with the other end of described light sensor, the second resistance that one end ground connection and the other end are connected with the other end of described second switch, wherein, the resistance value of described first resistance is more than the resistance value of described second resistance, the 3rd resistance that one end is connected with the other end of described light sensor, described self checking method comprises the following steps:
Control described first switch Guan Bi and described second switch disconnects, and obtain the first detection voltage;
Described first detect voltage meet pre-conditioned after, control described second switch Guan Bi and described first switch off, and obtaining the second detection voltage;
Judge whether described light sensor breaks down according to described second detection voltage.
8. the self checking method of light sensor in air-conditioner as claimed in claim 7, it is characterised in that described first detection voltage meets pre-conditioned specifically including:
When described first detection voltage is predeterminated voltage and lasting Preset Time, it is judged that described first detection voltage meets described pre-conditioned.
9. the self checking method of light sensor in air-conditioner as claimed in claim 8, it is characterised in that described judge whether described light sensor breaks down according to described second detection voltage and specifically include:
If described second detection voltage is equal to described predeterminated voltage, then judge that described light sensor breaks down.
10. the self checking method of light sensor in air-conditioner as claimed in claim 9, it is characterised in that after judging that described light sensor breaks down, described self checking method also includes:
Close described light sensor, and control described first switch Guan Bi and the disconnection of described second switch;
Obtain the 3rd detection voltage, when described 3rd detection voltage is not described predeterminated voltage, reopen described light sensor.
The self checking method of light sensor in 11. air-conditioners as claimed in claim 8, it is characterised in that obtain when described Preset Time is by timer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410743087.1A CN104501943B (en) | 2014-12-05 | 2014-12-05 | The self-checking unit of light sensor and self checking method in air-conditioner and air-conditioner |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410743087.1A CN104501943B (en) | 2014-12-05 | 2014-12-05 | The self-checking unit of light sensor and self checking method in air-conditioner and air-conditioner |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104501943A CN104501943A (en) | 2015-04-08 |
CN104501943B true CN104501943B (en) | 2016-10-26 |
Family
ID=52943366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410743087.1A Active CN104501943B (en) | 2014-12-05 | 2014-12-05 | The self-checking unit of light sensor and self checking method in air-conditioner and air-conditioner |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104501943B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112596508B (en) * | 2019-08-29 | 2022-04-12 | 美智纵横科技有限责任公司 | Control method and device of sensor and storage medium |
CN110501088B (en) * | 2019-08-30 | 2021-09-17 | Oppo(重庆)智能科技有限公司 | Temperature detection device and method and electronic equipment |
CN110827493B (en) * | 2019-11-26 | 2022-03-25 | 珠海优特物联科技有限公司 | Anti-theft system |
CN114484732B (en) * | 2022-01-14 | 2023-06-02 | 南京信息工程大学 | Air conditioning unit sensor fault diagnosis method based on voting network |
CN116466268B (en) * | 2023-06-19 | 2024-06-07 | 力高(山东)新能源技术股份有限公司 | Fault detection method, system and equipment for photosensitive sensor |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6096040A (en) * | 1983-10-31 | 1985-05-29 | Toshiba Corp | Trouble diagnosing system for optical transmitter |
JPS63186110A (en) * | 1987-01-29 | 1988-08-01 | Shimizu Teruhisa | Self-diagnostic device for analog input device |
CN100376209C (en) * | 2005-03-10 | 2008-03-26 | 深圳迈瑞生物医疗电子股份有限公司 | Method and device for diagnosing failure of blood oxygen sensor |
-
2014
- 2014-12-05 CN CN201410743087.1A patent/CN104501943B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104501943A (en) | 2015-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104501943B (en) | The self-checking unit of light sensor and self checking method in air-conditioner and air-conditioner | |
US11417252B2 (en) | Open circuit detection method and LED display device | |
CN105325062B (en) | LED driver with resultant fault protection | |
CN203455433U (en) | Air conditioner fault detection device and air conditioner fault detection system comprising same | |
CN103994539A (en) | Heating and ventilation device with work mode automatically switched and control method thereof | |
CN104834497A (en) | On screen display control method and controller | |
CN104880602A (en) | Air conditioner, and detection method and apparatus for electric heater of air conditioner | |
CN110728938A (en) | Display control system and display screen | |
CN106954033A (en) | Projector equipment and its control method | |
CN106385750B (en) | A kind of medical halogen shadowless lamp intelligence control system | |
CN206341447U (en) | Self-checking circuit for LED load drive system | |
CN102539893B (en) | Fault detecting method for output driving load of whole automobile controller and whole automobile controller | |
EP2417835A1 (en) | Message controllable lamp | |
CN104422562A (en) | Electric pressure cooker and failure detecting device and method thereof | |
CN104814707A (en) | Embedded type dish washing machine and running state prompting method and device thereof | |
CN105848393A (en) | Fault detection apparatus and method | |
CN104501851A (en) | Self-checking circuit, self-checking method and self-checking system for photosensitive element as well as air conditioner | |
CN105404029B (en) | The method for predicting the measure and control device liquid crystal display panel service life | |
CN207166829U (en) | A kind of control circuit and electric equipment of electric equipment indicator lamp | |
KR102706333B1 (en) | Monitoring system of led display device based on big data using test signal | |
CN207516929U (en) | Switching on and shutting down control circuit and mobile terminal | |
CN112114901B (en) | Standby control circuit, method, device and storage medium | |
CN108120224A (en) | A kind of fault cues method, apparatus and refrigerator based on LED illumination lamp | |
CN207782765U (en) | Key detection circuit integrated with ambient brightness detection | |
CN107610628B (en) | LED display unit board detection device and method |
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 |