CN110262992A - A kind of control device - Google Patents

A kind of control device Download PDF

Info

Publication number
CN110262992A
CN110262992A CN201910549922.0A CN201910549922A CN110262992A CN 110262992 A CN110262992 A CN 110262992A CN 201910549922 A CN201910549922 A CN 201910549922A CN 110262992 A CN110262992 A CN 110262992A
Authority
CN
China
Prior art keywords
mosfet pipe
electronic equipment
interface
power supply
source
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.)
Granted
Application number
CN201910549922.0A
Other languages
Chinese (zh)
Other versions
CN110262992B (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.)
Wuxi Ruiqin Technology Co Ltd
Original Assignee
Wuxi Ruiqin Technology Co Ltd
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 Wuxi Ruiqin Technology Co Ltd filed Critical Wuxi Ruiqin Technology Co Ltd
Priority to CN201910549922.0A priority Critical patent/CN110262992B/en
Publication of CN110262992A publication Critical patent/CN110262992A/en
Application granted granted Critical
Publication of CN110262992B publication Critical patent/CN110262992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the invention discloses a kind of control device, control device includes controller, and first interface and second interface are provided on controller, and first interface connects the external interface of electronic equipment, and second interface connects the first power supply;It is in running order by second interface the first power supply of control if controller detects that external interface accesses external equipment by first interface when electronic equipment is in Transportation Model, so that electronic equipment is in user mode.In the embodiment of the present invention, if control device detects the external interface of external equipment access electronic equipment, the Transportation Model of electronic equipment can be released, without using external power supply to charge for electronic equipment, thus it is easy to operate, it is easy to implement;And due to usually carrying external equipment, such as mouse when electronic equipment factory, therefore, user uses external equipment controlling electronic devices normal boot-strap with can be convenient, so that the experience of user is preferable.

Description

A kind of control device
Technical field
The present invention relates to electronic technology field more particularly to a kind of control devices.
Background technique
With the development of science and technology, electronic equipment using more and more extensive, correspondingly, function possessed by electronic equipment It is more and more.In general, electronic equipment, usually can be by adjusting the software and/or hardware of electronic equipment before factory The operating mode of electronic equipment is set Transportation Model by configuration;In the transit mode, the built-in power of electronic equipment can be located In unactivated state, i.e. built-in power can not externally discharge, in this way, both can to avoid in transportational process since built-in power is put Dangerous influence caused by electricity, additionally it is possible to electric energy is saved, to user preferably to experience.Correspondingly, when user takes electronics After equipment, the Transportation Model of electronic equipment can be usually released using various ways, in this way, working as the operating mode of electronic equipment After being switched to user mode by Transportation Model, user can control power key and make electronic equipment normal boot-strap.
In a kind of existing implementation, user can be used charging unit and (for example fill after taking electronic equipment Electric appliance, charger baby etc.) it charges to electronic equipment;Correspondingly, if electronic equipment has detected that external power supply is electronic equipment In built-in power be powered, then built-in power can be activated, so that the operating mode of electronic equipment be cut by Transportation Model It is changed to user mode.However, this kind of implementation depends on external power supply, if external power supply, user is not present in current environment The Transportation Model of electronic equipment can not be released, so as to cause electronic equipment can not normal boot-strap, the experience of user is bad.
To sum up, a kind of control device is needed at present, needs to release electronics using external power supply in the prior art to solve The bad technical problem of user experience caused by the Transportation Model of equipment.
Summary of the invention
The embodiment of the present invention provides a kind of control device, needs to release electricity using external power supply in the prior art to solve The bad technical problem of user experience caused by the Transportation Model of sub- equipment.
In a first aspect, a kind of control device provided in an embodiment of the present invention, the control device include controller, the control First interface and second interface are provided on device processed, the external interface of the first interface connection electronic equipment, described second connects Mouth connects the first power supply of the electronic equipment;
The controller is used for when the electronic equipment is in Transportation Model, if being detected by the first interface The external interface accesses external equipment, then in running order by second interface control first power supply, so that The electronic equipment is in user mode;Wherein, when the electronic equipment is in Transportation Model, first power supply is in not work Make state.
It, can be with if control device detects the external interface of external equipment access electronic equipment in above-mentioned design The Transportation Model for releasing electronic equipment, without using external power supply to charge for electronic equipment, thus it is easy to operate, it is convenient for It realizes;And due to usually carrying external equipment, such as mouse when electronic equipment factory, therefore, user obtains in which can be convenient External equipment, and then electronic equipment normal boot-strap can be made by the external interface that external equipment is accessed electronic equipment, from And the experience of user is preferable.
In a kind of possible design, the control device further includes second source, the default electricity of second source output Signal;Third interface is additionally provided on the controller, the third interface connects the second source;The controller passes through The first interface obtains the first electric signal, and obtains the default electric signal by the third interface, if detecting described The difference of first electric signal and the default electric signal is greater than the first preset threshold, it is determined that the external interface access is external to be set It is standby.
In above-mentioned design, when external equipment accesses external interface, the electric signal at external interface can usually be drawn It is low, therefore, by the way that first interface and third interface are separately connected external interface and second source, control device can be made logical It crosses first interface and gets the first electric signal, and the default electric signal provided to second source is obtained by third interface, in this way, Control device can determine whether that external equipment accesses external interface by the first electric signal of comparison and default electric signal, So that control process more flexibility, improves the treatment effeciency of control process.
In a kind of possible design, power interface is additionally provided on the controller, the second source passes through first Power interface described in connection;The second source passes through described for when the electronic equipment is in Transportation Model One route is controller power supply.
In above-mentioned design, when electronic equipment is in Transportation Model, the first power supply is typically in off position, therefore, By the way that second source is arranged in control device, second source can be used for controller power supply, to realize the control of controller Process processed, and improve the accuracy of control.
In a kind of possible design, first switch is provided in the first line;The controller is also used to, in institute When stating electronic equipment and being in Transportation Model, controls the first switch and be in closed state;And it is in the electronic equipment When user mode, controls the first switch and be in an off state.
In above-mentioned design, by the way that first switch is arranged in control device, the work of control first switch can be passed through State controls the connection of second source and controller, and operation is relatively simple, and cost is relatively low;And after electronic equipment normal boot-strap, The connection that control device and second source are disconnected by first switch, can be to avoid control device to the normal operation of electronic equipment It interferes, improves the satisfaction of user.
In a kind of possible design, the first switch includes the first metal oxide semiconductor field effect transistor MOSFET pipe, the 2nd MOSFET pipe and the 3rd MOSFET pipe, the first MOSFET pipe, the 2nd MOSFET pipe are N-type MOSFET pipe, the 3rd MOSFET pipe are that p-type MOSFET is managed;Wherein, the drain electrode of the first MOSFET pipe, described second The drain electrode of MOSFET pipe and the source electrode of the 3rd MOSFET pipe are separately connected the second source;The first MOSFET pipe Grid connects first power supply, and the grid of the 2nd MOSFET pipe connects the drain electrode of the first MOSFET pipe, and described the The grid of three MOSFET pipes connects the drain electrode of the 2nd MOSFET pipe;The source electrode and described second of the first MOSFET pipe The source electrode of MOSFET pipe is grounded respectively, and the drain electrode of the 3rd MOSFET pipe connects the external interface;In specific implementation, in institute When stating electronic equipment and being in Transportation Model, the first MOSFET pipe is in off state, the 2nd MOSFET pipe and described 3rd MOSFET pipe is in the conductive state, and the second source is by the 2nd MOSFET pipe and the 3rd MOSFET pipe The external interface power supply.
In above-mentioned design, since the control mode of the conducting and cut-off of MOSFET pipe is relatively simple, by using The flexibility of control process can be improved as first switch in MOSFET pipe, and can reduce cost;And it is above-mentioned by being arranged The connection relationship of the first MOSFET pipe, the 2nd MOSFET pipe and the 3rd MOSFET pipe in design, can make first switch certainly It is dynamic to realize closure and off-state, it is closed first switch automatically when electronic equipment is in Transportation Model, when electronic equipment is in Automatically first switch is disconnected when user mode, in this way, the control process in the embodiment of the present invention can be made more flexible, user Experience it is more preferable.
In a kind of possible design, the second source also passes through external interface described in the second connection;Described Two power supplys are also used to when the electronic equipment is in Transportation Model, are external interface power supply by second route.
In above-mentioned design, when electronic equipment is in Transportation Model, the first power supply is typically in off position, therefore, It is external interface power supply by using second source, control device can be made accurately to detect whether external interface accesses external set It is standby, to improve the accuracy of control.
In a kind of possible design, second switch is provided on second route;The external interface is also connected with institute State the first power supply;The controller is also used to, and when the electronic equipment is in Transportation Model, is controlled the second switch and is in Closed state, so that the second source is external interface power supply;And user mode is in the electronic equipment When, it controls the second switch and is in an off state, so that first power supply is external interface power supply.
In above-mentioned design, by the way that second switch is arranged in control device, the work of control second switch can be passed through The connection of state control second source and external interface;In this way, being connected when electronic equipment is in travel position by second switch Second source and external interface are connect, second source can be made for external interface power supply, so that control device can be obtained accurately Electric signal at external interface, correspondingly, when electronic equipment is in User Status, by second switch disconnect second source with The connection of external interface can make the first power supply for external interface power supply, and can isolate control device and external interface, from And control device is avoided to interfere the process of user's normal use electronic equipment, improve the experience of user.
In a kind of possible design, the second switch includes the first MOSFET pipe, the 2nd MOSFET pipe It is managed with the 4th MOSFET, the 4th MOSFET pipe is that p-type MOSFET is managed;Wherein, the grid connection of the 4th MOSFET pipe The source electrode of the drain electrode of the 2nd MOSFET pipe, the 4th MOSFET pipe connects the second source, the 4th MOSFET The drain electrode of pipe connects the controller;In specific implementation, when the electronic equipment is in Transportation Model, the 4th MOSFET Manage it is in the conductive state, the second source by the 2nd MOSFET pipe and the 4th MOSFET pipe be the controller Power supply.
It may each comprise the first MOSFET pipe and the 2nd MOSFET in above-mentioned design, in first switch and the second switch Pipe, that is to say, that first switch and the connection that second switch can be managed by the first MOSFET and the realization of the 2nd MOSFET pipe controls Dynamic property, can be closed at first switch and the second switch when electronic equipment is in Transportation Model, use when electronic equipment is in First switch and the second switch can be simultaneously switched off when the mode of family, in this way, the flexibility of control can be improved, and can be reduced into This.
Second aspect, a kind of electronic equipment provided in an embodiment of the present invention, the electronic equipment include such as above-mentioned first party Any control device in face.
In a kind of possible design, external interface is provided on the electronic equipment, the external interface is general string Row bus USB interface.
These implementations or other implementations of the invention can more straightforward in the following description.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of structural schematic diagram of control device provided in an embodiment of the present invention;
Fig. 2 is a kind of hardware realization schematic diagram of control device provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Electronic equipment in the embodiment of the present invention can be the electronic equipment with display screen, such as laptop, flat Plate computer (ipad);Or may be the electronic equipment without display screen, such as projector, specifically without limitation.
By taking laptop as an example, in order to release the Transportation Model of laptop, in one possible implementation, User can execute operation of uncapping to laptop, for example open the screen of laptop after taking laptop Foreboard;Correspondingly, if laptop detects screen, foreboard is in the open state, can release Transportation Model.In this kind In implementation, user may not need the transport mould that can release laptop for laptop charging using external power supply Formula, however, this kind of implementation may cause the experience of user poor due to maloperation, for example, if worker is packing Since fault is so that screen foreboard is in micro- opening state during laptop, then the internal battery in laptop It is activated, so that internal battery is constantly in discharge condition to laptop during transportation, in this way, possible user takes The electricity of internal battery has gone to zero when laptop, so that the experience of user is bad.
Based on this, the embodiment of the present invention provides a kind of control device, while for releasing the Transportation Model of electronic equipment Improve the experience of user.
Fig. 1 is a kind of structural schematic diagram of control device provided in an embodiment of the present invention, as shown in Figure 1, control device can To include controller 100, first interface a can be set on controller 1001With second interface a2.Wherein, first interface a1It can To connect the external interface 201 on electronic equipment, external interface 201 can be the interface for being provided with power module, such as general Universal serial bus (Universal Serial Bus, USB) interface, display interface device, power interface etc., specifically without limitation;Phase Ying Di, second interface a2It can connect the first power supply 202 in electronic equipment, the first power supply 202 can be the interior of electronic equipment Set power supply, such as battery.
In the embodiment of the present invention, if electronic equipment is in Transportation Model, the first power supply 202 may be at the shape that do not work State, correspondingly, if electronic equipment is in user mode, the first power supply 202 needs in running order.In specific implementation, control Device 100 processed can pass through first interface a1Determine whether external interface 201 accesses external equipment, if external interface 201 connects for USB Mouthful, then external equipment can be any one in mobile hard disk, mouse, USB flash memory device.Further, however, it is determined that external to connect Mouth 201 accesses external equipments, then controller 100 can pass through second interface a2It is in running order to control the first power supply 202, such as This, the first power supply 202 can be power electronic equipment, so that electronic equipment is in user mode.
In one example, controller 100 is if it is determined that the access external equipment of external interface 201, then can be generated control letter Number, and then pass through second interface a2Send control signals to the first power supply 202;Correspondingly, the first power supply 202 receives control After signal, the working condition of the first power supply 202 can be switched to state of activation by unactivated state, so that the first power supply 202 can be power electronic equipment, at this point, electronic equipment can be with normal boot-strap if user clicks the power key of electronic equipment.
It, can if control device detects the external interface of external equipment access electronic equipment in the embodiment of the present invention To release the Transportation Model of electronic equipment, without using external power supply to charge for electronic equipment, thus it is easy to operate, just In realization;And due to usually carrying external equipment, such as mouse when electronic equipment factory, therefore, user obtains in which can be convenient External equipment is taken, and then electronic equipment normal boot-strap can be made by the external interface that external equipment is accessed electronic equipment, To which the experience of user is preferable.
It should be noted that Fig. 1 is only a kind of illustrative simple declaration, cited by control device 100 be only for Convenient for illustrating scheme, the restriction to scheme is not constituted, in specific implementation, control device can be set in electronic equipment Inside, or also can be set in the outside of electronic equipment, specifically it is not construed as limiting.
In one possible implementation, as shown in Figure 1, control device can also include second source 110, the second electricity Source 110 can export default electric signal;Wherein, default electric signal can be fixed voltage value, such as the predeterminated voltage of 3.3V, Or may be fixed current value, such as the predetermined current of 1.5A, specifically it is not construed as limiting.It should be noted that in electronics Equipment is in Transportation Model and when electronic equipment is in user mode, and second source 110 can export default electric signal.Phase Ying Di is also provided with third interface a on controller 1003, third interface a3It can connect second source 110.
In specific implementation, controller 100 can pass through first interface a1The first electric signal at external interface 201 is obtained, And third interface a can be passed through3Obtain the default electric signal that second source 110 exports;In general, if at external interface 201 Access external equipment, then the first electric signal at external interface 201 can be pulled low (such as voltage value by 3V down for 1.5V, Or current value by 1.5A down for 0.5A);Therefore, if controller 100 detects the difference of the first electric signal Yu default electric signal Value is greater than the first preset threshold, then access external equipment at external interface 201 can be determined, in this way, controller 100 can pass through Second interface a2It is in running order to control the first power supply 202.Wherein, the first preset threshold can be by those skilled in the art's root It is configured, or can also be configured according to actual needs according to experience, is specifically not construed as limiting.
In the embodiment of the present invention, if external interface accesses external equipment, the electric signal at external interface usually can be by It drags down, therefore, by the way that first interface and third interface are separately connected external interface and second source, control device can be made The first electric signal is got by first interface, and the default electric signal provided to second source is obtained by third interface, such as This, control device can determine whether that external equipment accesses external connect by the first electric signal of comparison and default electric signal Mouthful, so that control process more flexibility, improves the treatment effeciency of control process.
In one possible implementation, as shown in Figure 1, being also provided with power interface b on controller 100, electricity Source interface b can pass through first line l1Connect second source 110.In this way, when electronic equipment is in Transportation Model, the second electricity The default electric signal that source 110 exports can pass through first line l1It is transmitted on controller 100, so as to realize second source The power supply of 110 pairs of controllers 100.In the embodiment of the present invention, when electronic equipment is in Transportation Model, the first power supply is typically in not Therefore by the way that second source is arranged in control device, second source can be used as controller power supply in working condition, thus It realizes the control process of controller, and improves the accuracy of control.
In one example, first line l1On first switch 101 can be set, be in Transportation Model in electronic equipment When, controller 100 can control first switch 101 and be in closed state;In this way, second source 110 can pass through first line l1It powers for controller 100, so that controller 100 may be implemented to the detection process for accessing external equipment at external interface 201. Correspondingly, when electronic equipment is in user mode, controller 100 can control first switch 101 and be in an off state;Such as This, is since second source 110 can not be the power supply of controller 100 (and the first power supply 202 also can not be that controller 100 is powered), because This, controller 100 can not work, so that controller 100 will not interfere the normal operation of electronic equipment.
In the embodiment of the present invention, the type of first switch 101 can there are many, specifically, first switch 101 can be Mechanical switch, such as button switch, toggle switch, thin film switch etc.;It or may be contact-making switch, for example a type contact is opened Pass, b type contact switch, c type contact switch etc.;It or can also be metal oxide semiconductor field effect transistor (Metal- Oxide-Semiconductor Field-Effect Transistor, MOSFET) pipe, specifically it is not construed as limiting.
In one example, first switch 101 can manage for MOSFET, due to the control of the conducting and cut-off of MOSFET pipe Mode is relatively simple, therefore the flexibility of control process can be improved as first switch 101 by using MOSFET pipe, and Cost can be reduced.
In the embodiment of the present invention, by the way that first switch is arranged in control device, the work of control first switch can be passed through Make the connection and disconnection of state control second source and controller, operation is relatively simple, and cost is relatively low, and can realize electronics Electricity is saved while the switching Transportation Model and user mode of equipment.Improve the satisfaction of user.
Further, as shown in Figure 1, second source 110 can pass through the second route l2It is connect with external interface 201, such as This, when electronic equipment is in Transportation Model, the default electric signal that second source 110 exports can pass through the second route l2Transmission To external interface 201, so as to realize power supply of the second source 110 to external interface 201.In the embodiment of the present invention, electricity When sub- equipment is in Transportation Model, the first power supply is typically in off position, is external connect by using second source therefore Confession electricity, can make control device accurately detect whether external interface accesses external equipment, to improve the accuracy of control.
In one example, the second route l2On second switch 102 can be set, be in Transportation Model in electronic equipment When, controller 100 can control second switch 101 and be in closed state, i.e. second source 110 can pass through the second route l2For External interface 201 is powered;In this way, if external equipment is accessed at external interface 201, due to the second route l2Conducting, therefore second Route l2On the first electric signal can be pulled low so that controller 100 can be detected accurately at external interface 201 is No access external equipment.Correspondingly, when electronic equipment is in user mode, controller 100 be can control at second switch 102 In off-state;In this way, second source 110 can not power for external interface 201, and since the first power supply 202 is in user mode When it is in running order, therefore the first power supply 202 can for external interface 201 power, so as to realize electronic equipment just Often operation.
In the embodiment of the present invention, by the way that second switch is arranged in control device, the work of control second switch can be passed through Make the connection of state control second source and external interface;In this way, passing through second switch when electronic equipment is in travel position Second source and external interface are connected, second source can be made for external interface power supply, so that control device can be obtained accurately The electric signal at external interface is taken, correspondingly, when electronic equipment is in User Status, second source is disconnected by second switch With the connection of external interface, the first power supply can be made for external interface power supply, and can isolate control device and external interface, To avoid control device from interfering the process of user's normal use electronic equipment, the experience of user is improved.
It should be noted that the type of first switch 101 and second switch 102 can be identical in the embodiment of the present invention, or Person can also be different, for example first switch 101 and second switch 102 can be mechanical switch, or can be that contact is opened Close, perhaps can be MOSFET pipe perhaps first switch 101 be mechanical switch, second switch 102 be MOSFET manage or First switch 101 is MOSFET pipe, second switch 102 is contact switch, is specifically not construed as limiting.
According to above content: the embodiment of the invention provides a kind of control device, the control device includes control Device is provided with first interface and second interface, the external interface of the first interface connection electronic equipment, institute on the controller It states second interface and connects the first power supply;When the electronic equipment is in Transportation Model, if the controller passes through described first Interface detects the external interface access external equipment, then controls first power supply by the second interface and be in work State, so that the electronic equipment is in user mode;Wherein, when the electronic equipment is in Transportation Model, first electricity Source is in off position.In the embodiment of the present invention, if control device detects the external of external equipment access electronic equipment Interface can then release the Transportation Model of electronic equipment, be that electronic equipment charges without using external power supply, to grasp Make simply, to be easy to implement;And due to usually carrying external equipment, such as mouse, therefore, Yong Huke when electronic equipment factory Easily to obtain external equipment, and then electronic equipment can be made by the external interface that external equipment is accessed electronic equipment Normal boot-strap, so that the experience of user is preferable.
Below from the control device in terms of hardware realization in the description embodiment of the present invention.
Fig. 2 is a kind of hardware realization schematic diagram of control device provided in an embodiment of the present invention, as shown in Fig. 2, control dress Set may include controller 100, N-type MOSFET pipe Q1, N-type MOSFET pipe Q2, p-type MOSFET pipe Q3With p-type MOSFET pipe Q4。 Wherein, controller 100 can be comparator, the output end a of controller 1001It can connect the first power supply 202, input terminal a2It can be with Connect second source 110, input terminal a3It can connect external interface 201, power end b can pass through p-type MOSFET pipe Q4Connection the Two power supplys 110;Correspondingly, the first power supply 202 can pass through N-type MOSFET pipe Q1, N-type MOSFET pipe Q2With p-type MOSFET pipe Q3 External interface 201 is connected, and the first power supply 202 can pass through N-type MOSFET pipe Q1, N-type MOSFET pipe Q2It is managed with p-type MOSFET Q4Connect controller 100.
In specific implementation, when electronic equipment is in Transportation Model, the first power supply 202 is in off position, in this way, N Type MOSFET pipe Q1Control terminal g at can be low level so that N-type MOSFET pipe Q1Cut-off;Correspondingly, N-type MOSFET Pipe Q1The end d connection second source 110 export default electric signal can make N-type MOSFET pipe Q2Control terminal g at for height Level, and N-type MOSFET pipe Q2The end d connection second source 110 export default electric signal can make N-type MOSFET manage Q2Conducting, in this way, c1Place is low level.Further, due to p-type MOSFET pipe Q3Control terminal g at and p-type MOSFET pipe Q4 Control terminal g at be low level, therefore, p-type MOSFET pipe Q3The end s connection second source 110 export default telecommunications Number it can make p-type MOSFET pipe Q3Conducting, p-type MOSFET pipe Q4The end s connection second source 110 export default telecommunications Number it can make p-type MOSFET pipe Q4Conducting.
It follows that when electronic equipment is in Transportation Model, N-type MOSFET pipe Q1In off state, N-type MOSFET Pipe Q2It is in the conductive state, p-type MOSFET pipe Q3It is in the conductive state, p-type MOSFET pipe Q4It is in the conductive state, in this way, N-type MOSFET pipe Q2The second source 110 of the end d connection can pass sequentially through the N-type MOSFET pipe Q of conducting2With p-type MOSFET pipe Q3 It powers for external interface 201, and N-type MOSFET pipe Q2The second source 110 of the end d connection can pass sequentially through the N-type of conducting MOSFET pipe Q2With p-type MOSFET pipe Q4For the power supply of controller 100.In that case, since second source 110 can be outer The power supply of interface 201 is set, therefore, if accessing external equipment at external interface 201, the electric signal at external interface 201 can be drawn It is low, so that the input terminal a of controller 1002The electric signal detected is lower;Correspondingly, the input terminal a of controller 1001Inspection The electric signal measured is the default electric signal (fixed value) that second source 110 exports, i.e. the input terminal a of controller 1001It detects Electric signal and input terminal a2The difference between electric signal detected becomes larger, in this way, control letter can be generated in controller 100 Number, and output end a can be passed through1Be sent to the first power supply 202 so that the first power supply 202 is in running order, electronic equipment at Function is switched to user mode by Transportation Model.
Further, when electronic equipment is in user mode, the first power supply 202 may be at working condition, in this way, N Type MOSFET pipe Q1Control terminal g at can be high level, N-type MOSFET pipe Q1The end d connection second source 110 export Default electric signal can make N-type MOSFET pipe Q1Conducting, thus N-type MOSFET pipe Q2Control terminal g at can be low level, N Type MOSFET pipe Q2Cut-off.Further, N-type MOSFET pipe Q2The end d connection second source 110 export default electric signal It can make p-type MOSFET pipe Q3Control terminal g at and p-type MOSFET pipe Q4Control terminal g at be high level, therefore, p-type MOSFET pipe Q3With p-type MOSFET pipe Q4Cut-off.
It follows that when electronic equipment is in user mode, N-type MOSFET pipe Q1It is in the conductive state, N-type MOSFET Pipe Q2, p-type MOSFET pipe Q3With p-type MOSFET pipe Q4It is in off state, in this way, N-type MOSFET pipe Q2The end d connection Second source 110 can not pass through the N-type MOSFET pipe Q of cut-off2With p-type MOSFET pipe Q3For the power supply of external interface 201;Namely It says, when electronic equipment is in user mode, control device can be isolated with external interface 201, and the first power supply 202 can lead to Chip U is crossed for external interface power supply, so that control device will not influence the normal work of the first power supply 202 in electronic equipment. Correspondingly, N-type MOSFET pipe Q2The end d connection second source 110 can not pass through the N-type MOSFET pipe Q of cut-off2And p-type MOSFET pipe Q4For the power supply of controller 100;That is, when electronic equipment is in user mode, second source 110 and control Device 100 is isolated, and the power end b of controller 100 is only connect with second source 110, i.e., controller 100 may be at the shape that do not work State, it follows that when electronic equipment is in user mode, even if external equipment is accessed external port 201, controller by user 100 will not send control signal to the first power supply 202.
The embodiment of the invention provides a kind of control device, the control device includes controller, is set on the controller It is equipped with first interface and second interface, the external interface of the first interface connection electronic equipment, the second interface connection the One power supply;When the electronic equipment is in Transportation Model, if the controller is detected outside described by the first interface Set interface access external equipment, then it is in running order by second interface control first power supply, so that the electricity Sub- equipment is in user mode;Wherein, when the electronic equipment is in Transportation Model, first power supply is in the shape that do not work State.In the embodiment of the present invention, if control device detects the external interface of external equipment access electronic equipment, it can release The Transportation Model of electronic equipment, without using external power supply to charge for electronic equipment, thus it is easy to operate, convenient for real It is existing;And due to usually carrying external equipment, such as mouse when electronic equipment factory, therefore, user obtains outer in which can be convenient Equipment is connect, and then electronic equipment normal boot-strap can be made by the external interface that external equipment is accessed electronic equipment, thus The experience of user is preferable.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of control device, which is characterized in that the control device includes controller, and first is provided on the controller and is connect Mouth and second interface, the external interface of the first interface connection electronic equipment, the second interface connect the electronic equipment The first power supply;
The controller is used for when the electronic equipment is in Transportation Model, if being detected by the first interface described External interface accesses external equipment, then in running order by second interface control first power supply, so that described Electronic equipment is in user mode;
Wherein, when the electronic equipment is in Transportation Model, first power supply is in off position.
2. control device according to claim 1, which is characterized in that the control device further includes second source, described Second source exports default electric signal;Third interface, the third interface connection described second are additionally provided on the controller Power supply;
The controller detects the external interface by the first interface and accesses external equipment, comprising:
The controller obtains the first electric signal by the first interface, and obtains the default electricity by the third interface Signal, if detecting, the difference of first electric signal and the default electric signal is greater than the first preset threshold, it is determined that described External interface accesses external equipment.
3. control device according to claim 2, which is characterized in that be additionally provided with power interface, institute on the controller It states second source and the power interface is connected by first line;
The second source, for being the control by the first line when the electronic equipment is in Transportation Model Device power supply.
4. control device according to claim 3, which is characterized in that be provided with first switch in the first line;
The controller is also used to, and when the electronic equipment is in Transportation Model, is controlled the first switch and is in closed form State;And it when the electronic equipment is in user mode, controls the first switch and is in an off state.
5. control device according to claim 4, which is characterized in that the first switch includes the first metal oxide half Conductor field effect transistor MOSFET pipe, the 2nd MOSFET pipe and the 3rd MOSFET pipe, the first MOSFET pipe, described second MOSFET pipe is that N-type MOSFET is managed, and the 3rd MOSFET pipe is that p-type MOSFET is managed;
The source electrode of the drain electrode of the first MOSFET pipe, the drain electrode of the 2nd MOSFET pipe and the 3rd MOSFET pipe is distinguished Connect the second source;The grid of the first MOSFET pipe connects first power supply, the grid of the 2nd MOSFET pipe Pole connects the drain electrode of the first MOSFET pipe, and the grid of the 3rd MOSFET pipe connects the leakage of the 2nd MOSFET pipe Pole;The source electrode of the first MOSFET pipe and the source electrode of the 2nd MOSFET pipe are grounded respectively, the 3rd MOSFET pipe Drain electrode connects the external interface;
When the electronic equipment is in Transportation Model, the first MOSFET pipe is in off state, the 2nd MOSFET Pipe and the 3rd MOSFET pipe are in the conductive state, and the second source passes through the 2nd MOSFET pipe and the third MOSFET pipe is that the external interface is powered.
6. control device according to claim 5, which is characterized in that the second source also passes through the second connection institute State external interface;
The second source is also used to when the electronic equipment is in Transportation Model, is described outer by second route Set interface power supply.
7. control device according to claim 6, which is characterized in that be provided with second switch on second route;Institute It states external interface and is also connected with first power supply;
The controller is also used to, and when the electronic equipment is in Transportation Model, is controlled the second switch and is in closed form State, so that the second source is external interface power supply;And when the electronic equipment is in user mode, control The second switch is in an off state, so that first power supply is external interface power supply.
8. control device according to claim 7, which is characterized in that the second switch includes the first MOSFET Pipe, the 2nd MOSFET pipe and the 4th MOSFET pipe, the 4th MOSFET pipe are that p-type MOSFET is managed;
The grid of the 4th MOSFET pipe connects the drain electrode of the 2nd MOSFET pipe, and the source electrode of the 4th MOSFET pipe connects The second source is connect, the drain electrode of the 4th MOSFET pipe connects the controller;
When the electronic equipment is in Transportation Model, the 4th MOSFET pipe is in the conductive state, and the second source is logical It crosses the 2nd MOSFET pipe and the 4th MOSFET pipe is that the controller is powered.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes such as control described in any item of the claim 1 to 8 Device processed.
10. electronic equipment according to claim 9, which is characterized in that be provided with external interface, institute on the electronic equipment Stating external interface is general-purpose serial bus USB interface.
CN201910549922.0A 2019-06-24 2019-06-24 Control device Active CN110262992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910549922.0A CN110262992B (en) 2019-06-24 2019-06-24 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910549922.0A CN110262992B (en) 2019-06-24 2019-06-24 Control device

Publications (2)

Publication Number Publication Date
CN110262992A true CN110262992A (en) 2019-09-20
CN110262992B CN110262992B (en) 2020-12-04

Family

ID=67920928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910549922.0A Active CN110262992B (en) 2019-06-24 2019-06-24 Control device

Country Status (1)

Country Link
CN (1) CN110262992B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266587A (en) * 2008-04-22 2008-09-17 惠州市德赛汽车电子有限公司 USB equipment detection circuit
US8473153B1 (en) * 2011-12-22 2013-06-25 Honda Motor Co., Ltd. Key fob battery life preservation system and method
CN103869927A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
WO2014198231A1 (en) * 2013-06-14 2014-12-18 Mediatek Inc. Method for reading, writing, or updating information for battery cell via connecting interface between portable device and battery pack including battery cell so as to obtain precise information
CN105375549A (en) * 2014-08-14 2016-03-02 联发科技股份有限公司 Method and system for controlling a state of a battery, and battery
CN205121472U (en) * 2015-11-19 2016-03-30 合肥联宝信息技术有限公司 Electronic equipment
CN109546743A (en) * 2018-11-16 2019-03-29 北汽福田汽车股份有限公司 The power control and board information terminal and vehicle of board information terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266587A (en) * 2008-04-22 2008-09-17 惠州市德赛汽车电子有限公司 USB equipment detection circuit
US8473153B1 (en) * 2011-12-22 2013-06-25 Honda Motor Co., Ltd. Key fob battery life preservation system and method
CN103869927A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
WO2014198231A1 (en) * 2013-06-14 2014-12-18 Mediatek Inc. Method for reading, writing, or updating information for battery cell via connecting interface between portable device and battery pack including battery cell so as to obtain precise information
CN105375549A (en) * 2014-08-14 2016-03-02 联发科技股份有限公司 Method and system for controlling a state of a battery, and battery
CN205121472U (en) * 2015-11-19 2016-03-30 合肥联宝信息技术有限公司 Electronic equipment
CN109546743A (en) * 2018-11-16 2019-03-29 北汽福田汽车股份有限公司 The power control and board information terminal and vehicle of board information terminal

Also Published As

Publication number Publication date
CN110262992B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
WO2018072209A1 (en) Charging method and electronic device
JP5896567B2 (en) System and method for providing power in response to a connection event
CN105896655B (en) Method for charging for electronic equipment and electronic equipment
CN109802457A (en) A kind of electronic equipment and its charging method
CN103887852A (en) Charging method and charging device
CN106130124A (en) A kind of method, system and terminal realizing multiple fast charge protocol compatibility
CN105762883A (en) Method for charging electronic equipment, and electronic equipment
CN105549708B (en) A kind of method of supplying power to and the first electronic equipment
CN208654789U (en) A kind of USB interface control device and system
CN102201697B (en) Internet device and charging inlet automatic switching method, device and circuit
CN110262992A (en) A kind of control device
CN104953647B (en) Mobile terminal and its charging method
CN103997101B (en) A kind of charging circuit and a kind of electronic equipment
CN106487061B (en) Charging circuit and method
CN109753470A (en) A kind of control method, micro-control unit and computer storage medium
CN109066906B (en) Charging circuit and integral type head-mounted apparatus
CN207475279U (en) Energy-efficient emergency power supply control switching circuit
CN105490319A (en) Information processing method and electronic equipment
CN106981908B (en) A kind of battery charge controller and terminal device
CN112234683A (en) Charging control method of electronic equipment and electronic equipment
CN206193467U (en) Intelligent control switch
CN105896662A (en) Single-port mobile power control circuit and control method thereof
CN106597189B (en) A kind of test method and device of USB port short circuit
CN105743180A (en) Method for charging electronic equipment, and electronic equipment
CN105762884A (en) Method for charging electronic equipment, and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant