CN101673135B - Output safety setting circuit based on ARM embedding system - Google Patents

Output safety setting circuit based on ARM embedding system Download PDF

Info

Publication number
CN101673135B
CN101673135B CN2009100950569A CN200910095056A CN101673135B CN 101673135 B CN101673135 B CN 101673135B CN 2009100950569 A CN2009100950569 A CN 2009100950569A CN 200910095056 A CN200910095056 A CN 200910095056A CN 101673135 B CN101673135 B CN 101673135B
Authority
CN
China
Prior art keywords
pin
chip
output
arm
chips
Prior art date
Application number
CN2009100950569A
Other languages
Chinese (zh)
Other versions
CN101673135A (en
Inventor
王剑平
张云生
黄红霞
张果
Original Assignee
昆明理工大学
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 昆明理工大学 filed Critical 昆明理工大学
Priority to CN2009100950569A priority Critical patent/CN101673135B/en
Publication of CN101673135A publication Critical patent/CN101673135A/en
Application granted granted Critical
Publication of CN101673135B publication Critical patent/CN101673135B/en

Links

Abstract

The invention provides an output safety setting circuit based on an ARM embedding system, which consists of a 74595 expanded circuit, a reset circuit, an ARM micro-controller system output circuit, and the like. The SFTCLK (pin 11) of the 74595 is connected with the GPC5 of an ARM microcontroller; the LCHCLK (pin 12) of the 74595 is connected with the GPC6 of the ARM microcontroller; the RST (pin 10) of 74595 is connected with the output nRESET (pin 2) of a reset chip; the OE (pin 13) of the 74595 is connected with the GPE6 of the ARM microcontroller; and the OE of the 74595 is pulled upwards by R9 simultaneously. The cascading method of the chip of the 74595 comprises the steps of connecting the SDI (pin 14) of the first 74595 chip with the SDO (pin 9) of the adjacent 74595 chip, leading the SDO (pin 9) of the first 74595 chip to be hung in the air, and connecting the SDI (pin 14) of the final 74595 chip with the GPC7 of the ARM microcontroller. The circuit leads the extended output of the 74595 chip to achieve a controllable output state, and can be controlled in the whole course during the electrification process of the system, and the method has greater application values for the application occasions in which the state needs to be controlled in the whole course.

Description

Output safety setting circuit based on the ARM embedded system

Technical field

The present invention relates to electronic information technical field, particularly based on the output safety setting circuit of ARM embedded system.

Background technology

In many Industry Control Application occasions, the embedded system output must meet security of operation and failure to safety principle.The output overall process that is system must be a safety state as can be known, also can guarantee to be output as safe condition when partial fault.At present very extensive based on the Embedded Application of ARM microcontroller, expand when the low-cost input and output of system is the problem that types of applications faces always.Using 74595 carries out discrete magnitude and exports always and be used widely, but owing to begin to carry out the blank runaway condition of about 100 milliseconds of reset times based on the embedded system of ARM microcontroller in system's instruction that powers on, the application of safety requirements is arranged is serious problem to this section out-of-control time to many.This output pin mainly due to arm processor is defaulted as high-impedance state, and after expansion 74595, because the output that 74595 RST and OE connect arm processor, or because the high-impedance state of acquiescence causes 74595 output state at random.

Summary of the invention

The object of the present invention is to provide a kind of output safety setting circuit, overcome the output set safety problem of the discrete magnitude output expansion of ARM microprocessor, be applicable to the occasion that the output safety state is had relatively high expectations based on the ARM micro controller system.

The present invention changes traditional method for designing, utilize the output signal of ARM and low level reset signal the controling and data signal of reset circuit as 74595 chips, RST 74595 receives the output of proprietary reset circuit and is defaulted as high-impedance state in conjunction with the output pin of arm processor, make 74595 output controlled, thereby reach the safe condition requirement of output in microprocessor internal state reset time.Simultaneously 74595 chips are carried out the cascade expansion, every 74595 exportable 8 road discrete magnitude signals, N sheet 74595 chip cascades then have N x 8 tunnel outputs, only need 4 tunnel outputs as the ARM micro controller system, reach the purpose that 4 tunnel outputs expand to N x 8 tunnel outputs like this.

The physical circuit design is as follows:

The present invention is made of 74595 expanded circuits, reset circuit, ARM micro controller system output circuit etc., 74595 SFTCLK (pin one 1) meets the GPC5 of ARM microcontroller, 74595 LCHCLK (pin one 2) meets the GPC6 of ARM microcontroller, 74595 RST (pin one 0) meets the chip output nRESET (pin two) that resets, 74595 OE (pin one 3) meets the GPE6 of ARM microcontroller, and 74595 OE is drawn on the R9 simultaneously.74595 chip cascade method is as follows: the SDO (pin 9) that the SDI of the 1st 74595 chips (pin one 4) is received adjacent 74595 chips, the SDO of the 1st 74595 chips (pin 9) is unsettled, and the SDI of last 1 74595 chip (pin one 4) meets the GPC7 of ARM microcontroller.

MR (pin 3) signal of chip MAX813 of resetting connects reset switch, is used for hand-reset.

The invention has the beneficial effects as follows:

The general input/output port of the S3C44B0X of employing SAMSUNG company of system or the LPC2300 series A RM micro controller system of NXP company, produce the output control signal of GPC5, GPC6, GPC7 and GPE6, adopt the chip generation reset signal nRESET of the MAXIM MAX813 of company chip or other and this chip compatibility.The MAX813 chip produced reset signal after system powered on, GPC5, GPC6, GPC7, GPE6 and nRESET work together to 74595 chips, multichannel output QA, the QB, QC, QD, QE, QF, QG and the QH output that make 74595 chips are at 0 stable state, after reset signal finishes, the ARM microcontroller begins execution command, can export at 0 or 1 state according to multichannel output QA, QB, QC, QD, QE, QF, QG and the QH output of command request 74595 chips.Make like this overall process that system begins from power on can guarantee that all multichannel output QA, QB, QC, QD, QE, QF, QG and the QH state of 74595 chips is controlled, promptly the output of system extension is controlled.

Before normally moving, the program that arrives after the ARM embedded system powers on during this period of time, can make discrete magnitude place security bit.Utilize the input/output signal of the reset signal of ARM embedded system and system to cooperate the output that makes serial parallel pio chip 74595 chips to place as can be known safe output state.Use 74595 chips and carry out the input and output expansion of the discrete magnitude output of system, solve the not enough problem of output pin of ARM embedded system.

Description of drawings

Fig. 1 is the output safety setting circuit synoptic diagram of ARM embedded system of the present invention.

Fig. 2 is the control signal and the Cascading Methods figure of 74595 chips.

Fig. 3 resets the circuit connecting method figure of chip MAX813.

Embodiment

As shown in Figure 1, the output safety setting circuit of ARM embedded system is made of 74595 expanded circuits, reset circuit, ARM micro controller system output circuit etc., 74595 SFTCLK (pin one 1) meets the GPC5 of ARM microcontroller, 74595 LCHCLK (pin one 2) meets the GPC6 of ARM microcontroller, 74595 RST (pin one 0) meets the chip output nRESET (pin two) that resets, 74595 OE (pin one 3) meets the GPE6 of ARM microcontroller, and 74595 OE is drawn on the R9 simultaneously.

Reset circuit provides reset signal nRESET for out-expander and ARM microcontroller.The ARM microcontroller provides control output signals such as GPC5, GPC6, GPC7 and GPE6 for out-expander, out-expander provides system output signal.The quantity of output signal is by the quantity decision of 74595 chips, and every 74595 chip can produce 8 tunnel output signals.

Be illustrated in figure 2 as the concrete signal method of attachment and the methods of attachment such as power supply, chip controls of 74595 chips, that is: the SDI of the 1st 74595 chips (pin one 4) is received the SDO (pin 9) of adjacent 74595 chips, the SDO of the 1st 74595 chips (pin 9) is unsettled, and the SDI of last 1 74595 chip (pin one 4) meets the GPC7 of ARM microcontroller.

Be illustrated in figure 3 as the concrete connecting circuit figure of reset circuit, the generation of reaction reset signal nRESET and the generation of hand-reset signal.MR (pin 3) signal of chip MAX813 of resetting connects reset switch, is used for hand-reset.

After system powers on, reset circuit produces reset signal nRESET, the ARM microcontroller enters reset mode, at this moment can carry out without any instruction, promptly output is not controlled by the ARM micro-controller instructions yet, about about 100 milliseconds of this reset time, in reseting procedure, reset signal nRESET uses on a left side on the 74595 chip RST (pin one 0) of out-expander, simultaneously because the high-impedance state of the GPE6 of ARM microcontroller for giving tacit consent to, because the existence of pull-up resistor R9, make that GPE6 is the high level output state to 74595 chips, GPE6 meets the OE (pin one 3) of 74595 chips, when the OE of 74595 chips is that " 1 " and 74595 chip RST are during for " 0 ", at this moment 74595 chip QA, QB, QC, QD, QE, QF, QG and QH are the output of high resistant " 0 " state, enter reseting period 74595 chips at the ARM microcontroller like this and are output as controllable state.After the reset signal nRESET of reset circuit becomes " 1 ", system's entry instruction running status, at this moment pass through GPE6 set " 0 ", can make output QA, QB, QC, QD, QE, QF, QG and the QH of 74595 chips by GPC5, GPC6, the cooperation of GPC7 sequential logic is one state or " 0 " state, thereby reaches the purpose of system's control.

The microcontroller of ARM embedded system is selected the S3C44B0X of SAMSUNG company or the LPC2300 series of NXP company for use, the serial parallel pio chip adopts 74595 family chips to comprise as 74HC595,74LV595 etc., and the chip that resets adopts the chip of the MAXIM MAX813 of company chip or other and this chip compatibility.

Claims (3)

1. output safety setting circuit based on the ARM embedded system, it is characterized in that constituting by 74595 chip expanded circuits, reset circuit, ARM micro controller system output circuit etc., the SFTCLK pin one 1 of 74595 chips meets the GPC5 of ARM microcontroller, the LCHCLK pin one 2 of 74595 chips meets the GPC6 of ARM microcontroller, the RST pin one 0 of 74595 chips connects the chip output nRESET pin two that resets, the OE pin one 3 of 74595 chips meets the GPE6 of ARM microcontroller, and the OE of 74595 chips is drawn on the R9 simultaneously.
2. the output safety setting circuit based on the ARM embedded system according to claim 1, it is characterized in that: 74595 chip cascade methods are as follows: the SDO pin 9 of the SDI pin one 4 of the 1st 74595 chips being received adjacent 74595 chips, the SDO pin 9 of the 1st 74595 chips is unsettled, and the SDI pin one 4 of last 1 74595 chip meets the GPC7 of ARM microcontroller.
3. the output safety setting circuit based on the ARM embedded system according to claim 1 is characterized in that: MR pin 3 signals of the chip MAX813 that resets connect reset switch, are used for hand-reset.
CN2009100950569A 2009-10-14 2009-10-14 Output safety setting circuit based on ARM embedding system CN101673135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100950569A CN101673135B (en) 2009-10-14 2009-10-14 Output safety setting circuit based on ARM embedding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100950569A CN101673135B (en) 2009-10-14 2009-10-14 Output safety setting circuit based on ARM embedding system

Publications (2)

Publication Number Publication Date
CN101673135A CN101673135A (en) 2010-03-17
CN101673135B true CN101673135B (en) 2011-07-27

Family

ID=42020386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100950569A CN101673135B (en) 2009-10-14 2009-10-14 Output safety setting circuit based on ARM embedding system

Country Status (1)

Country Link
CN (1) CN101673135B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5566335A (en) * 1993-03-16 1996-10-15 Hewlett-Packard Company Method and apparatus for firmware upgrades in embedded systems
CN100373328C (en) * 2002-12-24 2008-03-05 中兴通讯股份有限公司 Reset circuit and control method for embedded system
CN201556157U (en) * 2009-10-14 2010-08-18 昆明理工大学 Safety output setting circuit based on ARM embedded system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5566335A (en) * 1993-03-16 1996-10-15 Hewlett-Packard Company Method and apparatus for firmware upgrades in embedded systems
CN100373328C (en) * 2002-12-24 2008-03-05 中兴通讯股份有限公司 Reset circuit and control method for embedded system
CN201556157U (en) * 2009-10-14 2010-08-18 昆明理工大学 Safety output setting circuit based on ARM embedded system

Also Published As

Publication number Publication date
CN101673135A (en) 2010-03-17

Similar Documents

Publication Publication Date Title
CN105404272B (en) The automatic dynamic method of testing waken up suitable for full-automatic driving train
CN101149636B (en) Repositioning system and method
CN102561451B (en) Energy optimization system for hydraulic excavator
CN201412150Y (en) Drilling machine integration hydraulic control system
US8905157B2 (en) Control system, rock drill rig and control method
CN102169331B (en) Intelligent electric operating mechanism
GB2479839B (en) Process control and optimization technique using immunological concepts
CN102155573B (en) Control device capable of ensuring safe operation of pneumatic valve
CN101526441B (en) Large-flow safety valve test system
TW200527210A (en) A method for signaling PCI/PCI-X standard hot-plug controller (SHPC) command status
CN102026867A (en) Control system for a hydraulically actuatable horizontal stabilizer and test method for testing the integrity of a control system
CN201893962U (en) Control device for light-emitting diode (LED) street lamps
CN102134006A (en) Conveying control method for pneumatic conveying system
CN101649849B (en) Brake circuit of hydraulic motor
CN102536189B (en) A kind of rotary drilling rig pressure control method and system
CN102706154A (en) Energy-saving operating control method and system of sintering main exhaust fan
CN202000993U (en) Novel main hoist floating system for rotary drilling rig
CN202251264U (en) Potential energy recycling device for hydraulic excavator
CN103754594B (en) A kind of industrial intelligent transmits system
CN105485065B (en) A kind of Rocker coal mining machine peak load regulator control system and control method
CN104182256B (en) A kind of embedded device method for updating program
CN102540982B (en) Motion control card and motion control method
WO2012118773A3 (en) Hydraulic control system implementing pump torque limiting
WO2010080141A3 (en) Memory system controller
CN102155154B (en) Pressure controlled automatic reversing working device for punch of rock drilling machine

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
EXPY Termination of patent right or utility model
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110727

Termination date: 20141014