CN207528825U - A kind of state detection circuit and system - Google Patents
A kind of state detection circuit and system Download PDFInfo
- Publication number
- CN207528825U CN207528825U CN201720405775.6U CN201720405775U CN207528825U CN 207528825 U CN207528825 U CN 207528825U CN 201720405775 U CN201720405775 U CN 201720405775U CN 207528825 U CN207528825 U CN 207528825U
- Authority
- CN
- China
- Prior art keywords
- detection circuit
- electronic switch
- connect
- output
- pull
- 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
- Control Of Direct Current Motors (AREA)
Abstract
The utility model provides a kind of state detection circuit and system, applied to the device to be detected for including the first electronic switch and the second electronic switch.The state detection circuit includes the first detection circuit, the second detection circuit, output circuit and microcontroller.The input terminal of first detection circuit is connect with first electronic switch, output terminal is connect with the input terminal of the output circuit.The input terminal of second detection circuit is connect with second electronic switch, output terminal is connect with the input terminal of the output circuit, and the output terminal of the output circuit is connect with the microcontroller.By above-mentioned setting, the signal received can be terminated according to the microcontroller to judge the open and-shut mode of first electronic switch and second electronic switch, further to judge the operating status of the device to be detected.
Description
Technical field
The utility model is related to field of electric control, in particular to a kind of state detection circuit and system.
Background technology
At present, most of projection products are all manual camera lens slide design or the design of automatic lens slide.Wherein, certainly
In the projection products of dynamic slide design, lack the detection to camera lens slide operating status, be to lead to not judgement camera lens slide
It is no to open in place or close in place, so as to influence using effect.
Utility model content
In view of this, the purpose of the utility model embodiment is, provides a kind of state detection circuit and system to solve
The above problem.
The utility model embodiment provides a kind of state detection circuit, applied to including the first electronic switch and the second electronics
The device to be detected of switch, the state detection circuit include the first detection circuit, the second detection circuit, output circuit and micro-
Controller, the input terminal of first detection circuit is connect with first electronic switch, output terminal and the output circuit
Input terminal connects, and the input terminal of second detection circuit is connect with second electronic switch, output terminal and the output are electric
The input terminal connection on road, the output terminal of the output circuit are connect with the microcontroller;
First detection circuit is in opening state receiving the device to be detected in first electronic switch
First input signal of lower generation, and second detection circuit is receiving the device to be detected in second electronic cutting
It is defeated to microcontroller transmission first by the output circuit after closing the first input signal generated under opening state
Go out signal;
First detection circuit is in closed state receiving the device to be detected in first electronic switch
Second input signal of lower generation or second detection circuit are receiving the device to be detected in second electronic cutting
It is defeated to microcontroller transmission second by the output circuit after closing the second input signal generated under closed state
Go out signal.
Further, first input signal is high level, and first output signal is high level, and described second is defeated
Enter signal for low level, second output signal is low level.
Further, first detection circuit include the first diode, the anode of first diode with it is described defeated
Go out the input terminal connection of circuit, cathode is connect with first electronic switch;
Second detection circuit includes the second diode, and the anode of second diode is defeated with the output circuit
Enter end connection, cathode is connect with second electronic switch.
Further, first detection circuit further includes the first pull-up resistor, one end of first pull-up resistor with
Power supply connection, the other end are connected between first diode and first electronic switch;
Second detection circuit further includes the second pull-up resistor, one end of second pull-up resistor connect with power supply,
The other end is connected between second diode and second electronic switch.
Further, the output circuit includes current-limiting resistance, and one end of the current-limiting resistance connects with the microcontroller
It connects, anode of the other end respectively with first diode and second diode is connect.
Further, the output circuit further includes third pull-up resistor, one end of the third pull-up resistor with it is described
The connection of one end far from the microcontroller, the other end and the power supply of current-limiting resistance connect.
Further, the output circuit further includes pull down resistor, one end of the pull down resistor and the microcontroller
Connection, the other end are connected to ground.
Further, the electricity that first pull-up resistor, second pull-up resistor are connected with the third pull-up resistor
Source is 3.3V.
Another embodiment of the utility model provides a kind of condition detecting system, applied to including the first electronic switch and second
The device to be detected of electronic switch, the condition detecting system include circuit for controlling motor, driving motor and above-mentioned state
Detection circuit, the state detection circuit are connect by the circuit for controlling motor with the driving motor.
Compared to existing technologies, the utility model has the advantages that:
State detection circuit provided by the utility model and system, by the first detection circuit and the second detection circuit to divide
Do not detect the state of the first electronic switch that device to be detected included and the second electronic switch, according to the testing result of the two with
Judge that device to be detected is presently in state jointly.And the state of device to be detected is sent to microcontroller, so that microcontroller
Device by circuit for controlling motor with control driving motor carry out corresponding actions.By above-mentioned setting, the shape of detection device can be treated
State is accurately judged, to carry out corresponding actions using microcontroller control driving motor, driving motor control is improved with this
Stability and safety.
Description of the drawings
It, below will be to use required in embodiment in order to illustrate more clearly of the technical solution of the utility model embodiment
Attached drawing be briefly described.It should be appreciated that the following drawings illustrates only some embodiments of the utility model, therefore should not be by
Regard the restriction to range as, for those of ordinary skill in the art, without creative efforts, may be used also
To obtain other relevant attached drawings according to these attached drawings.
Fig. 1 is the schematic block diagram of a kind of state detection circuit that the utility model embodiment provides.
Fig. 2 is the circuit diagram of the first detection circuit that the utility model embodiment provides and the second detection circuit.
Fig. 3 is the circuit diagram of output circuit that the utility model embodiment provides.
Fig. 4 is the circuit diagram of state detection circuit that the utility model embodiment provides.
Fig. 5 is the schematic block diagram of a kind of condition detecting system that the utility model embodiment provides.
Icon:10- condition detecting systems;100- state detection circuits;The first detection circuits of 110-;R1- first pulls up electricity
Resistance;The second pull-up resistors of R2-;The first diodes of D1-;The second diodes of D2-;The second detection circuits of 120-;R3- current-limiting resistances;
R4- third pull-up resistors;R5- pull down resistors;130- output circuits;140- microcontrollers;200- circuit for controlling motor;300- drives
Dynamic motor.
Specific embodiment
The following is a combination of the drawings in the embodiments of the present utility model, and the technical scheme in the embodiment of the utility model is carried out
Clearly and completely describe.Obviously, the described embodiments are only a part of the embodiments of the utility model rather than whole
Embodiment.The component of the utility model embodiment being usually described and illustrated herein in the accompanying drawings can be with a variety of different configurations
To arrange and design.Therefore, below the detailed description of the embodiment of the utility model provided in the accompanying drawings is not intended to limit
The claimed the scope of the utility model of system, but it is merely representative of the selected embodiment of the utility model.It is new based on this practicality
The embodiment of type, those skilled in the art's all other embodiments obtained under the premise of creative work is not made,
It shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need to that it is further defined and explained in subsequent attached drawing.
Referring to Fig. 1, a kind of schematic structure frame of the state detection circuit 100 provided for the utility model embodiment
Figure.The state detection circuit 100 includes the first detection circuit 110, the second detection circuit 120, output circuit 130 and micro-
Controller 140.The state detection circuit 100 includes the to be detected of the first electronic switch and the second electronic switch for detecting
The operating status and location information of device.
The input terminal of first detection circuit 110 is connect with first electronic switch, output terminal and the output are electric
The input terminal connection on road 130.The input terminal of second detection circuit 120 is connect with second electronic switch, output terminal with
The input terminal connection of the output circuit 130, the output terminal of the output circuit 130 are connect with the microcontroller 140.
First detection circuit 110 is in open shape receiving the device to be detected in first electronic switch
The first input signal generated under state, and second detection circuit 120 is receiving the device to be detected described second
After electronic switch is in the first input signal generated under opening state, by the output circuit 130 to the microcontroller
140 send the first output signal.
First detection circuit 110 is in closed form receiving the device to be detected in first electronic switch
The second input signal or second detection circuit 120 generated under state is receiving the device to be detected in the described second electricity
After sub switch is in the second input signal generated under closed state, by the output circuit 130 to the microcontroller 140
Send the second output signal.
Pass through above-mentioned setting so that the state detection circuit 100 can to the operating status of the device to be detected into
Row detection.By by after first detection circuit 110 and 120 parallel connection of the second detection circuit, with the output circuit
130 connections.With reference to the testing result of both first detection circuit 110 and second detection circuit 120 with described in judging
The operating status of device to be detected.
Wherein, first detection circuit 110 and second detection circuit 120 can be it is identical can also be different
, as long as the state detection circuit 100 can be made to realize the condition monitoring to the device to be detected, do not do herein
Concrete restriction.
In the present embodiment, the device to be detected is the camera lens slide of projection device, and the camera lens slide includes first
Electronic switch and the second electronic switch.The one end of first electronic switch far from first detection circuit 110 is connected to ground,
The one end of second electronic switch far from second detection circuit 120 is connected to ground.
The state detection circuit 100 can be according to first electronic switch and the opening and closing shape of second electronic switch
State to judge the location of described camera lens slide and state, such as the camera lens slide be in opening and closing completely, open completely,
Closing the states such as still opening.
Optionally, the camera lens slide is in the first input signal opened or just generated in a closed condition
Level signal, the level signal can be low level signal, or high level signal.In the present embodiment, the mirror
It is high level signal that head slide, which is in the first input signal opened or just generated in a closed condition,.The camera lens is slided
The second input signal that door generates under opening or completely closed state completely is low level signal.Also, the camera lens
Slide be in opening or just in off position when, first electronic switch and second electronic switch are open shape
State.When the camera lens slide is in full open position, first electronic switch is in closed state.At the camera lens slide
Second electronic switch described in when completely closing is in closed state.
The camera lens slide be in opening or just in off position when, first detection circuit 110 receives institute
State the high level signal that camera lens slide is generated in the case where first electronic switch is in opening state, and second detection circuit
120 receive the camera lens slide after the high level signal generated under second electronic switch is in opening state, described
First detection circuit 110 and second detection circuit 120 are sent by the output circuit 130 to the microcontroller 140
High level signal.
When the camera lens slide is in and opens completely, first detection circuit 110 receives the camera lens slide and exists
After first electronic switch is in the low level signal generated under closed state, first detection circuit 110 is by described
Output circuit 130 sends low level signal to the microcontroller 140.
When the camera lens slide is in and completely closes, second detection circuit 120 receives the camera lens slide and exists
After second electronic switch is in the low level signal generated under closed state, second detection circuit 120 is by described
Output circuit 130 sends low level signal to the microcontroller 140.
Referring to Fig. 2, first detection circuit 110 includes the first diode D1, the anode of the first diode D1
It is connect with the input terminal of the output circuit 130, cathode is connect with first electronic switch.Second detection circuit 120
Anode including the second diode D2, the second diode D2 is connect with the input terminal of the output circuit 130, cathode with
The second electronic switch connection.
The camera lens slide be in opening or just in off position when, first electronic switch and described the
Two electronic switches are in opening state.The negative pole end of the first diode D1 and the second diode D2 are high level,
Then the first diode D1 and the second diode D2 cut-offs.At this point, the output circuit 130 is to the microcontroller
140 send high level signal.
When the camera lens slide is in full open position, first electronic switch is closed, and described
The negative pole end of one diode D1 is grounded after being connect with first electronic switch, the negative pole end level of the first diode D1
It is pulled low, then the first diode D1 conductings.At this point, the output circuit 130 sends low level to the microcontroller 140
Signal.
When the camera lens slide is in the completely closed state, second electronic switch is closed, and described
The negative pole end of two diode D2 is grounded after being connect with second electronic switch, the negative pole end level of the second diode D2
It is pulled low, then the second diode D2 conductings.At this point, the output circuit 130 sends low level to the microcontroller 140
Signal.
Optionally, first detection circuit 110 further includes the first pull-up resistor R1, and the one of the first pull-up resistor R1
End and power supply connection, the other end are connected between the first diode D1 and first electronic switch.Second detection
Circuit 120 further includes the second pull-up resistor R2, and one end of the second pull-up resistor R2 is connect with power supply, the other end is connected to institute
It states between the second diode D2 and second electronic switch.By setting the first pull-up resistor R1 and the second pull-up resistor
R2 when can effectively avoid the camera lens slide and breaking down, such as has object to be jammed, the first diode D1 at slide
And/or second diode D2 both ends voltage difference it is excessive, and damage the first diode D1 and/or the second diode D2.
Wherein, the resistance value of the first pull-up resistor R1 and the second pull-up resistor R2 can be identical, can also
It is different, the resistance value of the first pull-up resistor R1 and the second pull-up resistor R2 can be configured according to actual conditions.
In the present embodiment, the resistance value of the first pull-up resistor R1 and the second pull-up resistor R2 are disposed as 10k Ω.Described
The voltage value of power supply that one pull-up resistor R1 and the second pull-up resistor R2 are connected can be but not limited to 3.3V, 5V or
12V.In the present embodiment, the voltage value of the power supply is 3.3V.
Fig. 3 and Fig. 4 are please referred to, the output circuit 130 includes current-limiting resistance R3, one end of the current-limiting resistance R3
Connect with the microcontroller 140, the other end respectively with the anode of the first diode D1 and the second diode D2
Anode connects.The resistance value of the current-limiting resistance R3 can be configured according to actual conditions, be not particularly limited herein.
The output circuit 130 further includes one end of third pull-up resistor R4, the third pull-up resistor R4 and the limit
The connection of one end far from the microcontroller 140, the other end and the power supply of leakage resistance R3 connects.In the present embodiment, described
The resistance value of three pull-up resistor R4 is 10k Ω, and the voltage value of power supply that the third pull-up resistor R4 is connected is 3.3V.
Optionally, the output circuit 130 further includes one end of pull down resistor R5, the pull down resistor R5 and the micro-control
Device 140 processed connects, the other end is connected to ground.The resistance value of the pull down resistor R5 can be configured according to actual conditions, herein not
Do concrete restriction.By setting the pull down resistor R5, when effectively avoiding device failure to be detected, the voltage mistake of generation
Greatly, the microcontroller 140 being connect with first detection circuit 110 and second detection circuit 120 is in turn resulted in because of voltage
The problem of excessive damage.
Referring to Fig. 5, the utility model embodiment also provides a kind of condition detecting system 10, the condition detecting system 10
For detecting the operating status for the device to be detected for including the first electronic switch and the second electronic switch.The condition detecting system
10 include circuit for controlling motor 200, driving motor 300 and above-mentioned state detection circuit 100.The state detection circuit
100 are connect by the circuit for controlling motor 200 with the driving motor 300.
The microcontroller 140 can be but not limited to central processing unit, microcontroller, programmable gate array or number
Signal processor is configured according to actual demand, is not specifically limited herein.
When the camera lens slide, which is in, is opening or closing state, first detection circuit 110 receives described
The high level signal that camera lens slide is generated in the case where first electronic switch is in opening state, and second detection circuit
120 receive the camera lens slide after the high level signal generated under second electronic switch is in opening state, described
First detection circuit 110 and second detection circuit 120 are sent by the output circuit 130 to the microcontroller 140
High level signal.After the microcontroller 140 receives the high level signal, by the circuit for controlling motor 200 to control
The driving motor 300 remains in operation.
When the camera lens slide is in and opens completely, first detection circuit 110 receives the camera lens slide and exists
After first electronic switch is in the low level signal generated under closed state, first detection circuit 110 is by described
Output circuit 130 sends low level signal to the microcontroller 140.The microcontroller 140 receives the low level signal
Afterwards, by the circuit for controlling motor 200 the driving motor 300 to be controlled to shut down.
When the camera lens slide is in and completely closes, second detection circuit 120 receives the camera lens slide and exists
After second electronic switch is in the low level signal generated under closed state, second detection circuit 120 is by described
Output circuit 130 sends low level signal to the microcontroller 140.The microcontroller 140 receives the low level signal
Afterwards, by the circuit for controlling motor 200 the driving motor 300 to be controlled to shut down.
In conclusion state detection circuit provided by the utility model and system, pass through the first detection circuit 110 and second
The first electronic switch and the shape of the second electronic switch that detection circuit 120 is included with the camera lens slide of detection of projection devices respectively
State, according to the testing result of the two to judge that camera lens slide is presently in state jointly.And the state of camera lens slide is sent to
Microcontroller 140 so that microcontroller 140 by circuit for controlling motor 200 with control driving motor 300 carry out corresponding actions.
By above-mentioned setting, can prevent when camera lens slide is opened or completely closed completely, driving motor 300 is still operated and led
Machine idle running fever is sent a telegraph, stability and the safety of the control of driving motor 300 can be improved.
In the description of the present invention, it should also be noted that, unless otherwise clearly defined and limited, term " is set
Put ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected or be integrally connected.It can
To be mechanical connection or be electrically connected.It can be directly connected, can also be indirectly connected by intermediary, Ke Yishi
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in utility model.
In the description of the present invention, it should be noted that term the instructions such as " on ", " under " orientation or position relationship
For be based on orientation shown in the drawings or position relationship or the utility model product using when the orientation or position usually put
Relationship is for only for ease of description the utility model and simplifies description rather than instruction or imply that signified device or element must
There must be specific orientation, with specific azimuth configuration and operation, therefore it is not intended that limitation to the utility model.This
Outside, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
The above descriptions are merely preferred embodiments of the present invention, is not intended to limit the utility model, for this
For the technical staff in field, various modifications and changes may be made to the present invention.It is all in the spirit and principles of the utility model
Within, any modification, equivalent replacement, improvement and so on should be included within the scope of protection of this utility model.
Claims (9)
1. a kind of state detection circuit, which is characterized in that applied to be checked including the first electronic switch and the second electronic switch
Device is surveyed, the state detection circuit includes the first detection circuit, the second detection circuit, output circuit and microcontroller, institute
The input terminal for stating the first detection circuit is connect with first electronic switch, the input terminal of output terminal and the output circuit connects
It connects, the input terminal of second detection circuit is connect with second electronic switch, the input of output terminal and the output circuit
End connection, the output terminal of the output circuit are connect with the microcontroller;
First detection circuit is produced receiving the device to be detected in the case where first electronic switch is in opening state
The first raw input signal, and second detection circuit is receiving the device to be detected at second electronic switch
After the first input signal generated under opening state, the first output is sent to the microcontroller by the output circuit and is believed
Number;
First detection circuit is produced receiving the device to be detected in the case where first electronic switch is in closed state
The second raw input signal or second detection circuit are receiving the device to be detected at second electronic switch
After the second input signal generated under closed state, the second output is sent to the microcontroller by the output circuit and is believed
Number.
2. state detection circuit according to claim 1, which is characterized in that first input signal be high level, institute
The first output signal is stated as high level, second input signal is low level, and second output signal is low level.
3. state detection circuit according to claim 1, which is characterized in that first detection circuit includes the one or two pole
Pipe, the anode of first diode is connect with the input terminal of the output circuit, cathode is connect with first electronic switch;
Second detection circuit includes the second diode, the anode of second diode and the input terminal of the output circuit
Connection, cathode are connect with second electronic switch.
4. state detection circuit according to claim 3, which is characterized in that first detection circuit is further included on first
Pull-up resistor, one end of first pull-up resistor is connect with power supply, the other end is connected to first diode and described first
Between electronic switch;
Second detection circuit further includes the second pull-up resistor, and one end of second pull-up resistor connect with power supply, is another
End is connected between second diode and second electronic switch.
5. state detection circuit according to claim 4, which is characterized in that the output circuit includes current-limiting resistance, institute
The one end for stating current-limiting resistance is connect with the microcontroller, the other end respectively with first diode and second diode
Anode connection.
6. state detection circuit according to claim 5, which is characterized in that the output circuit further includes third pull-up electricity
Resistance, one end of the third pull-up resistor is connect with one end far from the microcontroller of the current-limiting resistance, the other end and
Power supply connects.
7. state detection circuit according to claim 6, which is characterized in that the output circuit further includes pull down resistor,
One end of the pull down resistor is connect with the microcontroller, the other end is connected to ground.
8. state detection circuit according to claim 7, which is characterized in that first pull-up resistor, on described second
The power supply that pull-up resistor is connected with the third pull-up resistor is 3.3V.
9. a kind of condition detecting system, which is characterized in that applied to be checked including the first electronic switch and the second electronic switch
Device is surveyed, the condition detecting system is included described in circuit for controlling motor, driving motor and claim 1-8 any one
State detection circuit, the state detection circuit are connect by the circuit for controlling motor with the driving motor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720405775.6U CN207528825U (en) | 2017-04-18 | 2017-04-18 | A kind of state detection circuit and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720405775.6U CN207528825U (en) | 2017-04-18 | 2017-04-18 | A kind of state detection circuit and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207528825U true CN207528825U (en) | 2018-06-22 |
Family
ID=62575227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720405775.6U Active CN207528825U (en) | 2017-04-18 | 2017-04-18 | A kind of state detection circuit and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207528825U (en) |
-
2017
- 2017-04-18 CN CN201720405775.6U patent/CN207528825U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109103842B (en) | Overcurrent protection driving circuit and display device | |
CN107143223B (en) | Electronic lock detection circuit and electric automobile | |
CN104682792A (en) | Direct current motor control circuit | |
CN106357258B (en) | The driving circuit of switching device for electrical power control | |
CN209514003U (en) | Relay contact state detection circuit and its condition detecting system, electric car | |
CN102751714A (en) | Overvoltage protection circuit and current sampling device | |
CN208849444U (en) | A kind of thermal-shutdown circuit | |
CN109633509A (en) | Diagnostic system of motor fault, method and readable storage medium storing program for executing | |
CN107870846A (en) | Fault element indicating means, equipment and system | |
CN105946584A (en) | Adhesion detection protective circuit for automobile battery relays | |
CN110843529A (en) | High-voltage interlocking fault self-diagnosis circuit, control method and new energy automobile | |
CN207528825U (en) | A kind of state detection circuit and system | |
CN207106198U (en) | Feedback circuit, charging equipment and electric car | |
WO2015180511A1 (en) | Contactor driving circuit | |
CN103368142A (en) | Direct-current motor stalling protection circuit and search light | |
CN205836554U (en) | A kind of automobile batteries relay adhesion detection protection circuit | |
CN205792509U (en) | A kind of electronic type proximity switch | |
CN107908176A (en) | Entire car controller drives mouth detection device and its detection method | |
CN202213535U (en) | Rear view mirror folding controller | |
CN208174704U (en) | A kind of exception protection circuit and electronic equipment | |
CN208986852U (en) | One kind preventing brushless motor common conduct circuit | |
CN206272215U (en) | A kind of overload protecting circuit | |
CN105720957B (en) | Control line power-up state generation circuit | |
CN207232255U (en) | Phase angle on-off controller | |
CN212774886U (en) | Fan detection circuit and heating equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 610000 Tianfu Software Park Area A, 1129 Century City Road, Chengdu High-tech Zone, Sichuan Province Patentee after: Chengdu Jimi Technology Co., Ltd. Address before: No. 1129 Tianfu Software Park A District Century City high tech Zone of Chengdu City, Sichuan Province Road 610000 7 5 storey building No. 501 Patentee before: CHENGDU XGIMI TECHNOLOGY CO., LTD. |