CN103699462A - Single chip microprocessor system with reliability design - Google Patents
Single chip microprocessor system with reliability design Download PDFInfo
- Publication number
- CN103699462A CN103699462A CN201410006579.2A CN201410006579A CN103699462A CN 103699462 A CN103699462 A CN 103699462A CN 201410006579 A CN201410006579 A CN 201410006579A CN 103699462 A CN103699462 A CN 103699462A
- Authority
- CN
- China
- Prior art keywords
- central processing
- processing unit
- scm
- single chip
- chip microcomputer
- 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
Links
Images
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The invention relates to a single chip microprocessor system with reliability design. The single chip microprocessor system comprises a first central processor, a second central processor, a random access storage device and a read-only memory, wherein when the first central processor is malfunctioned, the first central processor is isolated, and the task processed by the first central processor is changed to be processed by the second central processor. The single chip microprocessor with the reliability design is provided with the two central processors, when one central processor is malfunctioned, the other central processor can be used, so that the reliability is greatly improved; moreover, a charging control chip also can be used for processing partial tasks when the charging is not needed, so that the performance of the single chip microprocessor can be improved, and the cost is reduced.
Description
Technical field
The present invention relates to a kind of Single Chip Microcomputer (SCM) system, more specifically, relate to a kind of Single Chip Microcomputer (SCM) system with reliability design.
Background technology
Single-chip microcomputer is a kind of integrated circuit (IC) chip, to adopt very large scale integration technology the central processing unit with data-handling capacity, the functions (may also comprise the circuit such as display driver circuit, pulse-width modulation circuit, analog multiplexer, A/D converter) such as random access memory, ROM (read-only memory), multiple I/O mouth and interrupt system, timer/counter are integrated into the little and perfect microcomputer system forming on a silicon chip, in industrial control field widespread use.From the eighties in last century, by 4,8 single-chip microcomputers at that time, develop into the high-speed microprocessor of present 300M.At present, single-chip microcomputer has been widely used in the fields such as household electrical appliance, industrial automation, Aero-Space and automotive electronics.
Yet, in some cases, such as in rugged surroundings, the reliability of Single Chip Microcomputer (SCM) system is had to higher requirement, especially when processing important event, can not be interrupted work, need to there is reliability design, such as reliability designs such as hardware redundancies.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of Single Chip Microcomputer (SCM) system with reliability design.
The Single Chip Microcomputer (SCM) system with reliability design provided by the invention, concrete technical scheme is as follows:
A kind of Single Chip Microcomputer (SCM) system with reliability design, comprise the first central processing unit, the second central processing unit, random access memory and ROM (read-only memory), wherein, when the first central processing unit breaks down, isolation the first central processing unit the task that the first central processing unit is processed switch to by the second central processing unit to be processed.
Preferably, while normally working, described the first central processing unit and described the second central processing unit are worked simultaneously and process respectively different tasks; Described Single Chip Microcomputer (SCM) system also comprises detection commutation circuit, whether described detection commutation circuit breaks down for detection of described the first central processing unit, if described detection commutation circuit is determined when the first central processing unit breaks down, described detection commutation circuit is isolated described the first central processing unit and the task of the first central processing unit processing is switched to by the second central processing unit and processed, and by the second central processing unit, processes all tasks.
Preferably, described Single Chip Microcomputer (SCM) system is by external power supply or rechargeable battery powered, and described Single Chip Microcomputer (SCM) system also comprises electrical measurement unit and charge controlling chip, when described external power supply is powered to Single Chip Microcomputer (SCM) system, described rechargeable battery is charged to described rechargeable battery by described external power supply under the control of charge controlling chip, and when described external power supply disconnects, described rechargeable battery is powered to Single Chip Microcomputer (SCM) system, described electrical measurement unit is for measuring the electric weight of described rechargeable battery, after processing at the first central processing unit of task switches to and is processed by the second central processing unit, described detection commutation circuit and described electrical measurement unit communications are also obtained the electric weight of described rechargeable battery, if the electric weight of described rechargeable battery is greater than first threshold, described detection commutation circuit isolate being connected of described charge controlling chip and rechargeable battery and task that the second central processing unit is processed in part task switch to by described charge controlling chip and process, be that described the second central processing unit and described charge controlling chip are worked simultaneously and process respectively different tasks, after this, when described electrical measurement unit inspection is less than Second Threshold to the electric weight of described rechargeable battery, send look-at-me to described detection commutation circuit, the task that described detection commutation circuit is processed described charge controlling chip switches to by the second central processing unit to be processed, by the second central processing unit, process all tasks, and described detection commutation circuit is recovered being connected of described charge controlling chip and rechargeable battery, wherein Second Threshold is less than first threshold.
Preferably, described the first central processing unit sends continuous impulse to described detection commutation circuit when work, and while not receiving yet next pulse after being greater than Preset Time, described detection commutation circuit determines that the first central processing unit breaks down.
Preferably, when described the first central processing unit and described the second central processing unit are worked simultaneously and process respectively different tasks, or when described the second central processing unit and described charge controlling chip are worked simultaneously and process respectively different tasks, described random access memory is that described the first central processing unit and described the second central processing unit or described the second central processing unit and described charge controlling chip are shared, and at described first central processing unit of the moment, in described the second central processing unit or described charge controlling chip, only has a described random access memory of access.
Preferably, described random access memory comprises arbitration circuit.
Preferably, described random access memory is dual-port random access memory.
Preferably, two of described dual-port random access memory ports connect respectively the first central processing unit and described the second central processing unit.
Preferably, part task in the task that described detection commutation circuit is processed the second central processing unit switches to while being processed by described charge controlling chip, and described detection commutation circuit is connected described dual-port random access memory port with the first central processing unit switches to described charge controlling chip and is connected.
The beneficial effect with the Single Chip Microcomputer (SCM) system of reliability design provided by the invention is: configured two central processing units, one is broken down and can take over processing by another, reliability strengthens, and, when without charging, charge controlling chip also can be taken over the processing of part task, has not only improved the performance of Single Chip Microcomputer (SCM) system but also reduced cost.
Accompanying drawing explanation
Fig. 1 is the schematic diagram with the Single Chip Microcomputer (SCM) system of reliability design provided by the present invention;
Reference numeral 101-the first central processing unit wherein; 102-the second central processing unit; 103-random access memory; 104-ROM (read-only memory); 105-detects commutation circuit; 201-electrical measurement unit; 202-charge controlling chip.
Embodiment
Now by reference to the accompanying drawings the present invention is described further.
As Fig. 1 shows the schematic diagram with the Single Chip Microcomputer (SCM) system of reliability design provided by the present invention.A kind of Single Chip Microcomputer (SCM) system with reliability design, comprise the first central processing unit 101, the second central processing unit 102, random access memory 103 and ROM (read-only memory) 104, wherein, when the first central processing unit 101 breaks down, isolation the first central processing unit 101 task that the first central processing unit 101 is processed switch to by the second central processing unit 102 to be processed.
Preferably, while normally working, described the first central processing unit 101 and described the second central processing unit 102 are worked simultaneously and process respectively different tasks; Described Single Chip Microcomputer (SCM) system also comprises detection commutation circuit 105, whether described detection commutation circuit 105 breaks down for detection of described the first central processing unit 101, if described detection commutation circuit 105 is determined when the first central processing unit 101 breaks down, described detection commutation circuit 105 described the first central processing units 101 of isolation and the task that the first central processing unit 101 is processed switch to by the second central processing unit 102 to be processed, and by the second central processing unit 102, processes all tasks.
Preferably, described Single Chip Microcomputer (SCM) system is by external power supply or rechargeable battery powered, and described Single Chip Microcomputer (SCM) system also comprises electrical measurement unit 201 and charge controlling chip 202; When described external power supply is powered to Single Chip Microcomputer (SCM) system, described rechargeable battery is charged to described rechargeable battery by described external power supply under the control of charge controlling chip 202, and when described external power supply disconnects, described rechargeable battery is powered to Single Chip Microcomputer (SCM) system; described electrical measurement unit 201 is for measuring the electric weight of described rechargeable battery, after processing at the first central processing unit 101 of task switches to and is processed by the second central processing unit 102, described detection commutation circuit 105 and 201 communications of described electrical measurement unit are also obtained the electric weight of described rechargeable battery, if the electric weight of described rechargeable battery is greater than first threshold, the part task in being connected and the second central processing unit 102 being processed of the task of the described charge controlling chip 202 of described detection commutation circuit 105 isolation and rechargeable battery switches to by described charge controlling chip 202 processing, be that described the second central processing unit 102 and described charge controlling chip 202 are worked simultaneously and process respectively different tasks, after this, the electric weight that described rechargeable battery detected when described electrical measurement unit 201 is less than Second Threshold, send look-at-me to described detection commutation circuit 105, the task that described detection commutation circuit 105 is processed described charge controlling chip 202 switches to by the second central processing unit 102 and processes, by the second central processing unit 102, process all tasks, and the described charge controlling chip 202 of described detection commutation circuit 105 recovery is connected with rechargeable battery, wherein Second Threshold is less than first threshold.
The present invention, by two central processing units of configuration, if one of them breaks down, can take over processing by another, has greatly strengthened reliability, and central processing unit can be worked simultaneously but process different tasks, both can be the task of processing different peripheral, such as a central processing unit is responsible for processing vedio data, and another central processing unit is responsible for processing audio data, also can be to process task of different nature, such as a central processing unit is responsible for the tasks such as storage of deal with data, and another central processing unit is responsible for real time signal processing, in the present invention, when a central processing unit breaks down as the first central processing unit 101, can process all tasks by the second central processing unit 102 burdens, in addition, when the electric weight of rechargeable battery is greater than first threshold without charging, charge controlling chip is also used as central processing unit, share the processing of part task, like this, not only improve the performance of Single Chip Microcomputer (SCM) system but also reduced cost, and if electrical measurement unit 201 detects the electric weight of described rechargeable battery, to be less than Second Threshold be that electric weight is lower time (this situation is the situation that there is no external power supply), send look-at-me to described detection commutation circuit 105, and described charge controlling chip 202 is switched to, rechargeable battery is charged, the use of look-at-me makes to inquire about in real time or discontinuously the electric weight of battery without detecting commutation circuit 105, thereby can relatively reduce the power consumption of system.First threshold can be for example rechargeable battery Full Charge Capacity 60%, Second Threshold can be for example rechargeable battery Full Charge Capacity 30%, by setting respectively such two threshold values of first threshold and Second Threshold, in the time of can avoiding single threshold value, the electric weight of rechargeable battery just approaches this single threshold value and charge controlling chip 202 is switched repeatedly and causes system to be absorbed in endless loop or cause hardware damage.
Preferably, described the first central processing unit 101 sends continuous impulse to described detection commutation circuit 105 when work, and while not receiving yet next pulse after being greater than Preset Time, described detection commutation circuit 105 determines that the first central processing unit 101 breaks down.
Preferably, when described the first central processing unit 101 and described the second central processing unit 102 are worked simultaneously and process respectively different tasks, or when described the second central processing unit 102 and described charge controlling chip 202 are worked simultaneously and process respectively different tasks, described random access memory 103 is that described the first central processing unit 101 and described the second central processing unit 102 or described the second central processing unit 102 and described charge controlling chip 202 are shared, and at a moment first central processing unit 101, in described the second central processing unit 102 or described charge controlling chip 202, only has a described random access memory 103 of access.
Preferably, described random access memory 103 comprises arbitration circuit.Arbitration circuit can be so that only have a described random access memory 103 of access in a moment first central processing unit 101, described the second central processing unit 102 or described charge controlling chip 202, thereby prevent conflict and produce wrong data.
Preferably, described random access memory 103 is dual-port random access memory.Dual-port random access memory is a kind of special data-storing chip, there is two covers completely independently data line, address wire, read-write control line, allow two CPU (central processing unit) to carry out access to the same unit of dual-port random access memory, there is completely independently interrupt logic of two covers, realize the control signal of shaking hands between two CPU (central processing unit), guarantee that two CPU (central processing unit) carry out the correctness of read-write operation to same unit simultaneously.
Preferably, two of described dual-port random access memory ports connect respectively the first central processing unit 101 and described the second central processing unit 102.
Preferably, part task in the task that described detection commutation circuit 105 is processed the second central processing unit 102 switches to while being processed by described charge controlling chip 202, and described detection commutation circuit 105 is connected described dual-port random access memory 103 port with the first central processing unit 101 switches to described charge controlling chip 202 and is connected.
In the Single Chip Microcomputer (SCM) system with reliability design provided by the invention, two central processing units have been configured, one is broken down and can take over processing by another, reliability strengthens, and, when without charging, charge controlling chip also can be taken over the processing of part task, has not only improved the performance of Single Chip Microcomputer (SCM) system but also reduced cost.
Certainly, the above is only preferred embodiment of the present invention, and the present invention is not limited to above-described embodiment and implementation method.The practitioner of correlative technology field can carry out different variations and enforcement in the scope of technological thought license of the present invention, the equivalence of doing according to structure, feature and principle described in patent claim of the present invention therefore all changes or modifies, and is included in patent claim of the present invention.
Claims (9)
1. a Single Chip Microcomputer (SCM) system with reliability design, comprise the first central processing unit, the second central processing unit, random access memory and ROM (read-only memory), it is characterized in that: when the first central processing unit breaks down, isolation the first central processing unit the task that the first central processing unit is processed switch to by the second central processing unit to be processed.
2. the Single Chip Microcomputer (SCM) system with reliability design as claimed in claim 1, is characterized in that: while normally working, described the first central processing unit and described the second central processing unit are worked simultaneously and process respectively different tasks; Described Single Chip Microcomputer (SCM) system also comprises detection commutation circuit, whether described detection commutation circuit breaks down for detection of described the first central processing unit, if described detection commutation circuit is determined when the first central processing unit breaks down, described detection commutation circuit is isolated described the first central processing unit and the task of the first central processing unit processing is switched to by the second central processing unit and processed, and by the second central processing unit, processes all tasks.
3. the Single Chip Microcomputer (SCM) system with reliability design as claimed in claim 2, is characterized in that: described Single Chip Microcomputer (SCM) system is by external power supply or rechargeable battery powered, and described Single Chip Microcomputer (SCM) system also comprises electrical measurement unit and charge controlling chip, when described external power supply is powered to Single Chip Microcomputer (SCM) system, described rechargeable battery is charged to described rechargeable battery by described external power supply under the control of charge controlling chip, and when described external power supply disconnects, described rechargeable battery is powered to Single Chip Microcomputer (SCM) system, described electrical measurement unit is for measuring the electric weight of described rechargeable battery, after processing at the first central processing unit of task switches to and is processed by the second central processing unit, described detection commutation circuit and described electrical measurement unit communications are also obtained the electric weight of described rechargeable battery, if the electric weight of described rechargeable battery is greater than first threshold, described detection commutation circuit isolate being connected of described charge controlling chip and rechargeable battery and task that the second central processing unit is processed in part task switch to by described charge controlling chip and process, be that described the second central processing unit and described charge controlling chip are worked simultaneously and process respectively different tasks, after this, when described electrical measurement unit inspection is less than Second Threshold to the electric weight of described rechargeable battery, send look-at-me to described detection commutation circuit, the task that described detection commutation circuit is processed described charge controlling chip switches to by the second central processing unit to be processed, by the second central processing unit, process all tasks, and described detection commutation circuit is recovered being connected of described charge controlling chip and rechargeable battery, wherein Second Threshold is less than first threshold.
4. the Single Chip Microcomputer (SCM) system with reliability design as claimed in claim 3, it is characterized in that: described the first central processing unit sends continuous impulse to described detection commutation circuit when work, while not receiving yet next pulse after being greater than Preset Time, described detection commutation circuit determines that the first central processing unit breaks down.
5. the Single Chip Microcomputer (SCM) system with reliability design as claimed in claim 3, it is characterized in that: when described the first central processing unit and described the second central processing unit are worked simultaneously and process respectively different tasks, or when described the second central processing unit and described charge controlling chip are worked simultaneously and process respectively different tasks, described random access memory is that described the first central processing unit and described the second central processing unit or described the second central processing unit and described charge controlling chip are shared, and at described first central processing unit of the moment, in described the second central processing unit or described charge controlling chip, only has a described random access memory of access.
6. the Single Chip Microcomputer (SCM) system with reliability design as claimed in claim 1, is characterized in that: described random access memory comprises arbitration circuit.
7. the Single Chip Microcomputer (SCM) system with reliability design as claimed in claim 3, is characterized in that: described random access memory is dual-port random access memory.
8. the Single Chip Microcomputer (SCM) system with reliability design as claimed in claim 7, is characterized in that: two ports of described dual-port random access memory connect respectively the first central processing unit and described the second central processing unit.
9. the Single Chip Microcomputer (SCM) system with reliability design as claimed in claim 8, it is characterized in that: the part task in the task that described detection commutation circuit is processed the second central processing unit switches to while being processed by described charge controlling chip, and described detection commutation circuit is connected described dual-port random access memory port with the first central processing unit switches to described charge controlling chip and is connected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410006579.2A CN103699462B (en) | 2014-01-08 | 2014-01-08 | Single chip microprocessor system with reliability design |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410006579.2A CN103699462B (en) | 2014-01-08 | 2014-01-08 | Single chip microprocessor system with reliability design |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103699462A true CN103699462A (en) | 2014-04-02 |
CN103699462B CN103699462B (en) | 2015-04-08 |
Family
ID=50361000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410006579.2A Expired - Fee Related CN103699462B (en) | 2014-01-08 | 2014-01-08 | Single chip microprocessor system with reliability design |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103699462B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105716694A (en) * | 2016-04-08 | 2016-06-29 | 沈阳市航宇星仪表有限责任公司 | Intelligent monitoring device for gas meter mainboard |
CN113342613A (en) * | 2021-06-25 | 2021-09-03 | 深圳市商汤科技有限公司 | Data processing apparatus, data processing method, computer device, and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000049792A1 (en) * | 1999-02-16 | 2000-08-24 | Eci Telecom Ltd. | System for hot standby of a telephone switching matrix |
CN1952821A (en) * | 2006-11-06 | 2007-04-25 | 中国科学院电工研究所 | Embedded real-time control system of industrial ethernet |
CN101089835A (en) * | 2007-05-30 | 2007-12-19 | 华为技术有限公司 | Control method, system and equipment of single serial port multi-CPU |
CN101452437A (en) * | 2007-12-03 | 2009-06-10 | 英业达股份有限公司 | Multiprocessor system and CPU switching method |
CN101634959A (en) * | 2009-08-21 | 2010-01-27 | 北京航空航天大学 | Dual redundant fault-tolerant system based on embedded type CPU, |
CN101714109A (en) * | 2009-11-24 | 2010-05-26 | 杭州华三通信技术有限公司 | Method and device for controlling mainboard of double CPU system |
CN101916218A (en) * | 2010-08-10 | 2010-12-15 | 西安电子科技大学 | Double-CPU redundancy control system based on analysis redundancy mechanism |
US20130339587A1 (en) * | 2011-09-23 | 2013-12-19 | Avalanche Technology, Inc. | Storage system employing mram and array of solid state disks with integrated switch |
-
2014
- 2014-01-08 CN CN201410006579.2A patent/CN103699462B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000049792A1 (en) * | 1999-02-16 | 2000-08-24 | Eci Telecom Ltd. | System for hot standby of a telephone switching matrix |
CN1952821A (en) * | 2006-11-06 | 2007-04-25 | 中国科学院电工研究所 | Embedded real-time control system of industrial ethernet |
CN101089835A (en) * | 2007-05-30 | 2007-12-19 | 华为技术有限公司 | Control method, system and equipment of single serial port multi-CPU |
CN101452437A (en) * | 2007-12-03 | 2009-06-10 | 英业达股份有限公司 | Multiprocessor system and CPU switching method |
CN101634959A (en) * | 2009-08-21 | 2010-01-27 | 北京航空航天大学 | Dual redundant fault-tolerant system based on embedded type CPU, |
CN101714109A (en) * | 2009-11-24 | 2010-05-26 | 杭州华三通信技术有限公司 | Method and device for controlling mainboard of double CPU system |
CN101916218A (en) * | 2010-08-10 | 2010-12-15 | 西安电子科技大学 | Double-CPU redundancy control system based on analysis redundancy mechanism |
US20130339587A1 (en) * | 2011-09-23 | 2013-12-19 | Avalanche Technology, Inc. | Storage system employing mram and array of solid state disks with integrated switch |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105716694A (en) * | 2016-04-08 | 2016-06-29 | 沈阳市航宇星仪表有限责任公司 | Intelligent monitoring device for gas meter mainboard |
CN113342613A (en) * | 2021-06-25 | 2021-09-03 | 深圳市商汤科技有限公司 | Data processing apparatus, data processing method, computer device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103699462B (en) | 2015-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2650752B1 (en) | Terminal device and power supply method for terminal device | |
CN206568163U (en) | A kind of detectable abnormal steering engine control device | |
CN102213953B (en) | Input module of plc | |
US20140278205A1 (en) | Embedded processor on an integrated mems sensor chip autonomously managing external sensor | |
US20130088237A1 (en) | Battery-monitoring device | |
US11632604B2 (en) | Sensor device and electronic device obtaining information from the sensor device | |
TW201440366A (en) | Power delivery including out-of-band communication | |
WO2016094432A4 (en) | Transitioning between two power states based on user-related signals | |
CN103699462A (en) | Single chip microprocessor system with reliability design | |
CN102156680A (en) | Host device with multiple connectors, data transmission method and protocol selecting device | |
CN103077140A (en) | Communication method and communication device for motion control card of robot and host | |
CN104363034B (en) | Method and device for unbinding wearable device | |
CN111347414B (en) | Robot shutdown control method and device and robot | |
TWI509418B (en) | A data transfer system and method of controlling the same | |
WO2019099539A3 (en) | Method and system for electronic vaping operations | |
CN201716721U (en) | Memory device with various connectors | |
US20230191607A1 (en) | Robot and control method therefor | |
Shrestha et al. | Wireless communication between FPGA and microcontroller | |
CN104778139A (en) | Microcontroller device and controlling method performed therein | |
JP6103638B2 (en) | Communications system | |
CN103424695B (en) | Air-conditioning stepping motor monitor controller and monitoring method | |
CN205262602U (en) | Vibrations detection device with adjustable threshold value | |
JP6107735B2 (en) | Battery management device | |
CN203981855U (en) | A kind of Intelligent battery data logging device | |
CN111016830B (en) | Voltage pulse error-proofing processing system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150408 Termination date: 20170108 |
|
CF01 | Termination of patent right due to non-payment of annual fee |