CN107422668A - Chip circuit, the control method of chip circuit and electronic equipment - Google Patents

Chip circuit, the control method of chip circuit and electronic equipment Download PDF

Info

Publication number
CN107422668A
CN107422668A CN201710496174.5A CN201710496174A CN107422668A CN 107422668 A CN107422668 A CN 107422668A CN 201710496174 A CN201710496174 A CN 201710496174A CN 107422668 A CN107422668 A CN 107422668A
Authority
CN
China
Prior art keywords
signal
output
output part
signal output
main control
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
CN201710496174.5A
Other languages
Chinese (zh)
Other versions
CN107422668B (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.)
SHENZHEN LUHAI ELECTRONICS Co.,Ltd.
Original Assignee
Shanghai Yude 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 Shanghai Yude Technology Co Ltd filed Critical Shanghai Yude Technology Co Ltd
Priority to CN201710496174.5A priority Critical patent/CN107422668B/en
Publication of CN107422668A publication Critical patent/CN107422668A/en
Application granted granted Critical
Publication of CN107422668B publication Critical patent/CN107422668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • G05B19/0425Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21152If output defect, switch it off

Abstract

The invention discloses chip circuit, the control method of chip circuit and electronic equipment.The output state of the signal output part of chip circuit detection main control chip, in the output failure of signal output part, the signal output part that failure is taken over by standby output end continues corresponding signal output, maintain the normal output of all signals of main control chip, avoid causes module integrally unavailable because of the failure of some pin pin, the fault-tolerant ability of module is improved, extends the service life of module.

Description

Chip circuit, the control method of chip circuit and electronic equipment
Technical field
The present invention relates to field of circuit technology, more particularly to the control method of chip circuit, chip circuit and electronics to set It is standby.
Background technology
There is the situation of pin pin open circuit in use or debugging process in the module of electric terminal, once module One pin pin is out of joint, then this module is eliminated, and in the case of usual debugging, the appearance of these problems can be led Cause module to scrap, for manufacturer for, it is undoubtedly a kind of to waste.In terminal user on hand, in the finished product of electric terminal Module occur pin pin open circuit situation, then the electric terminal, such as mobile phone or flat board are equivalent to reuse, Need to be repaired or replaced.Particularly with electric terminal, display screen and the normal whole installation of Trackpad are touch display screen, if The open circuit of the pin pin of display screen or Trackpad, then mean that touch display screen is integrally out of joint, and electric terminal needs entirety more Touch display screen is changed, and price is costly.
The content of the invention
The embodiment of the present invention provides chip circuit, the control method and electronic equipment of chip circuit, it is possible to achieve pin pin Recover normal output in the case of open circuit, extend the service life of module.
First aspect provides a kind of chip circuit, including:Main control chip, signal detection component and switching switch;
The test side of the signal detection component is connected with least one signal output part of the main control chip, with detection The output signal of connected signal output part;The detection output of the signal detection component and a letter of the main control chip Number input is connected;
The not moved end of the switching switch is connected with the standby output end of the main control chip;The switching switchs each Moved end is connected with a signal output part respectively;The control terminal phase of the controlled end and the main control chip of the switching switch Even;
When detecting the output failure of the signal output part, the main control chip control switching switch connects the letter Number moved end corresponding to output end and not moved end, and export to export corresponding to the signal output part by the standby output end and believe Number.
Wherein, the switching switch is single pole multiple throw, the not moved end of the single pole multiple throw and the master control core The standby output end of piece is connected, and each moved end of the single pole multiple throw is connected with a signal output part respectively.
Wherein, the output signal of the signal output part is high level signal or low level signal;It is corresponding, it is described standby The output signal of output end is low level signal or high level signal;
Corresponding switching switch is also in series with NOT gate.
Wherein, the switching switch is relay switch.
Wherein, the switching switch switchs for optical relay.
Wherein, the switching switch is triode.
Second aspect uses a kind of control method of chip circuit, for the chip circuit described in any one above, including:
The output state of the signal output part of main control chip is obtained, judges the signal output part with the presence or absence of output event Barrier;
If the signal output part has output failure, the exterior connection point and main control chip of the signal output part are turned on Standby output end, the output signal of the signal output part is exported by the standby output end.
Wherein, in addition to:
If the signal output part has output failure, output failure is reminded.
Wherein, it is buzzing prompting and/or voice reminder that the failure, which is reminded,.
The third aspect uses a kind of electronic equipment, including the chip circuit described in any one above.
The embodiments of the invention provide chip circuit, the control method of chip circuit and electronic equipment, detects master control core The output state of the signal output part of piece, in the output failure of signal output part, the letter of failure is taken over by standby output end Number output end continues corresponding signal output, maintains the normal output of all signals of main control chip, avoid because The failure of some pin pin and cause module integrally unavailable, improve the fault-tolerant ability of module, extend module use the longevity Life.
Brief description of the drawings
Fig. 1 is a kind of circuit theory diagrams of chip circuit in the embodiment of the present invention one;
Fig. 2 is a kind of method flow diagram of the control method of chip circuit in the embodiment of the present invention two.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of circuit theory diagrams for chip circuit that the embodiment of the present invention one provides, and the present embodiment is applicable to respectively The module of kind electronic equipment, such as display screen, Trackpad etc., as shown in figure 1, the chip circuit, including:Main control chip 101, letter Number detecting element 103 and switching switch 102;
The test side of signal detection component 103 is connected with least one signal output part of main control chip 101, to detect phase The output signal of signal output part even;The detection output of signal detection component 103 and a signal of main control chip 101 are defeated Enter end to be connected;
The not moved end of switching switch 102 is connected with the standby output end of main control chip 101;The each of switching switch 102 moves End is connected with a signal output part respectively;The controlled end of switching switch 102 is connected with the control terminal of main control chip 101;
When detecting the output failure of signal output part, the control switching of main control chip 101 switch 102 connects the signal output Moved end corresponding to end and not moved end, and output signal corresponding to the signal output part is exported by standby output end.
In this programme, by signal detection component 103 detect main control chip 101 at least one signal output part it is defeated Go out signal, in specific implementation process, according to the statistics to product bug one or more fault rates can be selected higher Signal output part is as detection object;If the disposal ability of main control chip 101 and the wiring space of circuit are enough, Ke Yixuan Select and signal detection is carried out to all signal output parts, to monitor the signal output state of main control chip 101.
For main control chip 101, except realizing the normal output needed for module function, it is also necessary to set a signal Input accesses testing result;Standby output end is set to take over output in some signal output part output abnormality;Control is set End controls the conducting state of standby output end output point corresponding with the signal output part of exception.
In Fig. 1, the standby output end of main control chip 101 is BACKUP, signal input part INPUT, and control terminal is OUTPUT, wherein receiving the signal output part of detection includes RST and EINT.As shown in figure 1, signal detection component 103 is to each The output result of signal output part is detected, and testing result is fed back to the signal input part progress shape of main control chip 101 The judgement of state, if the exception of some signal output part, the conducting of switching switch 102 is controlled by control terminal output control signal Output point corresponding to standby output end and abnormal signal output part, maintains the signal output described in module normal operation.
In specific implementation process, switching switch 102 can be selected as single pole multiple throw, the not moved end of single pole multiple throw It is connected with the standby output end of main control chip 101, each moved end of single pole multiple throw is connected with a signal output part respectively, When not detecting abnormal, single pole multiple throw maintains a normally open state, when the signal output for having a signal output part is abnormal When, the moved end that output point corresponding to the signal output part connects can be connected from different ends, be substituted and carried out by standby output end The output of the abnormal signal output part.Such as signal output part RST output signals under normal circumstances, work as signal detection component 103 when can not detect signal output part RST output, and main control chip 101 assert that signal output part RST is abnormal, now passes through Signal output part RST is corresponded to output point and standby output end by control terminal OUTPUT output controls instruction control switching switch 102 BACKUP is turned on, and carries out signal output by standby output end BACKUP substitution signal output ends RST, i.e. main control chip 101 controls Originally changed by the signal output part RST signals exported and exported by standby output end BACKUP.Alternatively, it is also possible to select single-pole single-throw(SPST Switch, concrete operating principle is similar with single pole multiple throw, now adjusts a single-pole single-throw switch (SPST) every time.If only one Standby output end, the exception of a signal output part can be received without influenceing normal use;If multiple standby output ends, It is corresponding to receive multiple signal output parts exceptions without influenceing normal use.
For some main control chips 101, the output signal of signal output part is high level signal or low level signal; Corresponding, the output signal of standby output end is low level signal or high level signal;
Corresponding switching switch 102 is also in series with NOT gate.
Some main control chips 101 fix some or some standby pin outputs in design, if desired now The opposite signal of level, NOT gate of directly connecting carry out the conversion of low and high level.
To be easy to control, switching switch 102 be relay switch, such as optical relay switchs.
Or switching switch 102 is triode, existing triode can have been realized miniature by microelectric technique Change, such as thin film transistor (TFT).
In summary, the present embodiment is by detecting the output state of the signal output part of main control chip, in signal output part Output failure when, the signal output part that failure is taken over by standby output end continues corresponding signal output, maintains The normal output of all signals of main control chip, avoid causes module integrally unavailable because of the failure of some pin pin, carries The high fault-tolerant ability of module, extend the service life of module.
Embodiment two
Fig. 2 is a kind of method flow diagram of the control method for chip circuit that the embodiment of the present invention two provides.The present embodiment Method include:
Step S101, the output state of the signal output part of main control chip is obtained, judges signal output part with the presence or absence of defeated It is out of order.
If step S102, signal output part has output failure, exterior connection point and the master of the signal output part are turned on The standby output end of chip is controlled, the output signal of the signal output part is exported by standby output end.
If step S103, signal output part has output failure, output failure is reminded.
It is buzzing prompting and/or voice reminder that failure, which is reminded, can specifically set different buzzing rhythm or voice content Remind and abnormal unlike signal output end occurs.
During the operation principle of the core content of the control method of chip circuit chip circuit described in previous embodiment Elaborate, be not described further herein.
In addition, the embodiment of the present invention also provides a kind of electronic equipment, the electronic equipment is included described in previous embodiment Chip circuit, the dynamic changing process of the chip circuit are carried out by the control method of the chip circuit described in previous embodiment Control.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to realized by hardware, but the former is more in many cases Good embodiment.Based on such understanding, what technical scheme substantially contributed to prior art in other words Part can be embodied in the form of software product, and the computer software product can be stored in computer-readable recording medium In, floppy disk, read-only storage (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are causing a computer to set Standby (can be personal computer, server, or network equipment etc.) performs the method described in each embodiment of the present invention.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. chip circuit, it is characterised in that including:Main control chip, signal detection component and switching switch;
    The test side of the signal detection component is connected with least one signal output part of the main control chip, is connected with detecting Signal output part output signal;The detection output of the signal detection component and a signal of the main control chip are defeated Enter end to be connected;
    The not moved end of the switching switch is connected with the standby output end of the main control chip;Each moved end of the switching switch It is connected respectively with a signal output part;The controlled end of the switching switch is connected with the control terminal of the main control chip;
    When detecting the output failure of the signal output part, it is defeated that the main control chip control switching switch connects the signal Go out moved end and not moved end, and output signal corresponding to the signal output part is exported by the standby output end corresponding to end.
  2. 2. chip circuit according to claim 1, it is characterised in that the switching switch is single pole multiple throw, described The not moved end of single pole multiple throw is connected with the standby output end of the main control chip, each moved end of the single pole multiple throw It is connected respectively with a signal output part.
  3. 3. chip circuit according to claim 1, it is characterised in that the output signal of the signal output part is high level Signal or low level signal;Corresponding, the output signal of the standby output end is low level signal or high level signal;
    Corresponding switching switch is also in series with NOT gate.
  4. 4. chip circuit according to claim 1, it is characterised in that the switching switch is relay switch.
  5. 5. chip circuit according to claim 4, it is characterised in that the switching switch switchs for optical relay.
  6. 6. chip circuit according to claim 1, it is characterised in that the switching switch is triode.
  7. A kind of 7. control method of chip circuit, for the chip circuit described in claim any one of 1-6, it is characterised in that Including:
    The output state of the signal output part of main control chip is obtained, judges the signal output part with the presence or absence of output failure;
    If output failure be present in the signal output part, turn on the signal output part exterior connection point and main control chip it is standby With output end, the output signal of the signal output part is exported by the standby output end.
  8. 8. control method according to claim 7, it is characterised in that also include:
    If the signal output part has output failure, output failure is reminded.
  9. 9. control method according to claim 8, it is characterised in that it is buzzing prompting and/or voice that the failure, which is reminded, Remind.
  10. 10. a kind of electronic equipment, it is characterised in that including the chip circuit described in claim any one of 1-6.
CN201710496174.5A 2017-06-26 2017-06-26 Chip circuit, control method of chip circuit, and electronic device Active CN107422668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710496174.5A CN107422668B (en) 2017-06-26 2017-06-26 Chip circuit, control method of chip circuit, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710496174.5A CN107422668B (en) 2017-06-26 2017-06-26 Chip circuit, control method of chip circuit, and electronic device

Publications (2)

Publication Number Publication Date
CN107422668A true CN107422668A (en) 2017-12-01
CN107422668B CN107422668B (en) 2020-07-31

Family

ID=60427402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710496174.5A Active CN107422668B (en) 2017-06-26 2017-06-26 Chip circuit, control method of chip circuit, and electronic device

Country Status (1)

Country Link
CN (1) CN107422668B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185696B1 (en) * 1996-07-29 2001-02-06 Micron Electronics, Inc. System for a primary BIOS ROM recovery in a dual BIOS ROM computer system
CN103795556A (en) * 2012-10-30 2014-05-14 华为技术有限公司 Failure processing method and network switch
CN204129622U (en) * 2014-10-31 2015-01-28 东莞嘉耀电子有限公司 A kind of video card
CN105320028A (en) * 2014-06-09 2016-02-10 矢崎总业株式会社 Load control backup signal generating circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185696B1 (en) * 1996-07-29 2001-02-06 Micron Electronics, Inc. System for a primary BIOS ROM recovery in a dual BIOS ROM computer system
CN103795556A (en) * 2012-10-30 2014-05-14 华为技术有限公司 Failure processing method and network switch
CN105320028A (en) * 2014-06-09 2016-02-10 矢崎总业株式会社 Load control backup signal generating circuit
CN204129622U (en) * 2014-10-31 2015-01-28 东莞嘉耀电子有限公司 A kind of video card

Also Published As

Publication number Publication date
CN107422668B (en) 2020-07-31

Similar Documents

Publication Publication Date Title
JP5351331B2 (en) Adapting active power sets using event triggers
US9886090B2 (en) Haptic notifications utilizing haptic input devices
KR101298558B1 (en) Method and system for switching main/standby boards
CN103748569B (en) The system and method without driving operation of USB device
US11144416B2 (en) Device fault processing method, apparatus, and system
CN103488498A (en) Computer booting method and computer
CN100362481C (en) Main-standby protection method for multi-processor device units
CN101171574A (en) Controller, mobile terminal apparatus, and program
CN111399879A (en) Firmware upgrading system and method of CP L D
JP6292032B2 (en) Base station equipment
JP4655718B2 (en) Computer system and control method thereof
CN109976926A (en) Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding
CN107422668A (en) Chip circuit, the control method of chip circuit and electronic equipment
CN100470493C (en) Automatic reset system and method
CN105141774B (en) It is a kind of to solve method and the mobile terminal that side switch corrosion cannot be started up
SE9604376D0 (en) Unit switching apparatus
US20160139645A1 (en) Computing system and power-on method and updating method
CN115098324A (en) Hard disk maintenance method, device, equipment and storage medium
CN104834574B (en) A kind of method and device solving system partitioning damage
CN114113855A (en) Electrostatic discharge detection processing method and device and terminal equipment
CN107861853A (en) Progress prompt method, terminal and computer-readable medium
CN110673793B (en) Storage device node event management method and system, electronic device and storage medium
JP2007028169A (en) Redundant structure system
CN108258757B (en) Control method and control equipment
KR101180164B1 (en) Method and apparatus for controlling reset according to power state

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200515

Address after: 750021 No.2 Shuangyong street, Xixia District, Yinchuan City, Ningxia Hui Autonomous Region

Applicant after: Zhao Chengzhi

Address before: 200233, Shanghai, Jinshan District Jinshan Industrial Zone, Ting Wei highway 65584, room 1309

Applicant before: SHANGHAI WIND TECHNOLOGIES Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200708

Address after: 518000 floor 6, building a, Xuexiang yiyuantong Industrial Park, Xuegang South Road, Bantian street, Longgang District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN LUHAI ELECTRONICS Co.,Ltd.

Address before: 750021 No.2 Shuangyong street, Xixia District, Yinchuan City, Ningxia Hui Autonomous Region

Applicant before: Zhao Chengzhi

GR01 Patent grant
GR01 Patent grant