CN100390704C - Electric circuit construction of saving circuit pins by using concept of analog/digital conversion - Google Patents
Electric circuit construction of saving circuit pins by using concept of analog/digital conversion Download PDFInfo
- Publication number
- CN100390704C CN100390704C CNB2005100905688A CN200510090568A CN100390704C CN 100390704 C CN100390704 C CN 100390704C CN B2005100905688 A CNB2005100905688 A CN B2005100905688A CN 200510090568 A CN200510090568 A CN 200510090568A CN 100390704 C CN100390704 C CN 100390704C
- Authority
- CN
- China
- Prior art keywords
- circuit
- code
- resistor
- processing unit
- pull
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Abstract
An electric circuit utilizing A/D conversion to save circuit pin is prepared as setting a processing unit and an A / D conversion circuit as well as a code generation circuit in control circuit of host board, receiving a voltage dividing power supply in analog mode generated by said generation circuit by A / D conversion circuit being connected to code generation circuit, converting it to be machine code in digital mode, sending out said code by A / D conversion circuit being connected with processing unit, judging out hardware configuration represented by said voltage dividing power supply and using it on starting up operation of host board by processing unit.
Description
Technical field
The present invention relates to the structure of electronic circuit, relate in particular to a kind of analog/digital conversion notion of utilizing, to save the electric circuit construction of circuit pins position.
Background technology
General traditional at present computing machine (Computer) motherboard (Main Board) in design, can use machine code (Machine ID), substantially output/input system can be after obtaining described machine code for one on the motherboard, analyzed, judge the hardware configuration of this machine code representative, to carry out general traditional start flow process, and in conventional design, each machine code promptly needs to use the combination of a pull-up resistor (Pull Up Resistance) and a pull down resistor (Pull Down Resistance), see also shown in Figure 1, it must be made of eight pull-up resistors 10 and eight pull down resistors 11, the common and working power V of an end of described pull-up resistor 10
sConnect, to form high levle, the other end of described pull-up resistor 10 a then end of corresponding with it respectively pull down resistor 11 is connected, the then common and earth terminal V of the other end of described pull down resistor 11
GroundBe connected, to form low level, and 11 of each pull-up resistor 10 and corresponding pull down resistors thereof, then be connected with an output terminal 12 respectively again, the combination (being described high levle and low level) of the voltage quasi position that eight output terminals 12 are exported, can use and be output as one group of machine code that is constituted by two bit codes (Binary), for example: 00000001 represents 1,10101010 to represent 170 and 11111111 to represent 255 etc., and the voltage quasi position of described output terminal 12 is controlled by the resistance value size of each corresponding pull down resistor 11.
In addition, 12 of each output terminals again respectively with a control chip of described motherboard on a multi-usage output and input pins (General Purpose Input Output Pin, be called for short GPIO Pin) be connected, use that described machine code is sent in the described control chip.Yet, such design, when transmitting a machine code (1Byte), promptly need eight multi-usage output and input pins, in other words, control chip must be wasted eight pin positions, just received one group of machine code, this not only causes the waste of cost of parts, can utilize the space to reduce on the control circuit, does not also meet economic benefit.Therefore, how to design a kind of electric circuit construction of saving the circuit pins position, and can save using of resistance cost, saving multi-usage output and input pins and make things convenient for production line to judge that this computing machine is which kind of configuration etc. by this design, be a present very urgent important topic that needs to be resolved hurrily.
Summary of the invention
Because can use machine code in the design of general traditional computing machine, and one group of machine code just needs a pull-up resistor and a pull down resistor, and each machine code promptly needs to waste a multi-usage output and input pins, therefore, the object of the present invention is to provide a kind of electric circuit construction that utilizes the analog/digital conversion notion to save the circuit pins position, with by design of the present invention, can save the resistance cost, save using and making things convenient for production line to judge which kind of configuration this computing machine is of multi-usage output and input pins.
The electric circuit construction that utilizes the analog/digital conversion notion to save the circuit pins position of the present invention, it can be provided with a control circuit on a motherboard, this control circuit includes a processing unit, one analog/digital conversion (Analog-To-Digital Converter, be called for short ADC) circuit, one power supply circuit and a code produce circuit, wherein said power supply circuit respectively with described processing unit, described A/D conversion circuit and described code produce circuit and are connected, so that a stable working power to be provided, and described A/D conversion circuit is connected with described code generation circuit, produce the dividing voltage supply that circuit was produced to receive from described code, and converted to the machine code (Machine ID) of corresponding digital (Digital), described A/D conversion circuit is connected with described processing unit in addition, to transmit described machine code, so, after obtaining machine code etc. described processing unit, can analyze, judge the hardware configuration of described dividing voltage supply representative, carry out in-cycle work for described motherboard.
Described analog-to-digital converting module is built in the described processing unit in can be in advance.
Described processing unit built-in one is output/input system substantially, described basic output/input system stores each machine code and corresponding hardware configuration thereof, after receiving described machine code at described processing unit, find out corresponding hardware configuration at described machine code, to carry out follow-up in-cycle work.
The present invention is by a power input, one earth terminal, one voltage output end, the combination of one pull-up resistor and a drop-down resistive module, produce circuit and form code, wherein pull-up resistor one end is connected with power input, to receive this power input from the obtained power supply of described power supply circuit, the pull-up resistor other end is connected with pull down resistor module one end, the described pull down resistor module other end then is connected with described earth terminal, with zero accurate position as described code generation circuit, and described pull-up resistor and pull down resistor intermodule are connected together with described voltage output end.The dividing voltage supply that described pull-up resistor and pull down resistor intermodule are produced is sent out described code via described voltage output end and is produced outside the circuit.
Described pull down resistor module by a precision resistance or a plurality of precision resistance be connected in parallel the institute form, the resistance value of wherein said a plurality of precision resistances is equal to the resistance value of described pull-up resistor.
The formula of the total resistance value of described pull down resistor module is
Wherein n is the number of the precision resistance of composition pull down resistor module.
With described a plurality of precision resistances, be arranged in regular turn on the described control circuit, and in the position of adjacent each precision resistance, be respectively equipped with one and write the district, for the manufacturer of described control circuit in design, when developing this control circuit, the quantity that indicates described precision resistance that can understand, with convenient production (Production), debug (Debug) and maintenance personnel such as (Maintenance), in inspection, when keeping in repair this control circuit, can be directly by observing the described district of writing, and learn apace why described code produces machine code that circuit produced.
Electric circuit construction of the present invention, the use of not only can save the resistance cost, saving the multi-usage output and input pins has also made things convenient for production line to judge which kind of configuration this computing machine is.
Description of drawings
Fig. 1 is the electrical block diagram of general tradition machine code commonly used;
Fig. 2 is the circuit block diagram of a control circuit of the present invention;
Fig. 3 is the structural representation that a code of the present invention produces circuit.
The primary clustering symbol description:
A/D conversion circuit 22 processing units 23
Dividing voltage supply V
oZero accurate position V
Ground
Machine code D
CodePull-up resistor R
Up
Pull down resistor module R
DownPrecision resistance R
1
Precision resistance R
2Precision resistance R
3
Precision resistance R
N-1Precision resistance R
n
Embodiment
For ease of to purpose of the present invention, shape, constructing apparatus feature and effect thereof, do further understanding and understand, now cooperate graphicly for embodiment, be described in detail as follows:
The present invention is a kind of electric circuit construction that utilizes the analog/digital conversion notion to save the circuit pins position, see also shown in Figure 2, can be at a motherboard (Main Board, not shown in the figures) a control circuit 20 in, be provided with a processing unit 23, one analog/digital conversion (Analog-To-Digital Converter, be called for short ADC) circuit 22, one power supply circuit 24 and a code produce circuit 21, wherein said power supply circuit 24 respectively with described processing unit 23, A/D conversion circuit 22 and code produce circuit 21 and are connected, so that a stable working power V to be provided
s, and described A/D conversion circuit 22 is connected with described code generation circuit 21, produces the dividing voltage supply V that circuit 21 is produced to receive from described code
o, and convert the machine code D of corresponding digital (Digital) to
Code(Machine ID), described A/D conversion circuit 22 is connected with described processing unit 23 in addition, makes described processing unit 23 be received the machine code D that is produced from described A/D conversion circuit 22
Code, like this, obtain machine code D at described processing unit 23
CodeAfter, analyze, judge described dividing voltage supply V
oThe hardware configuration of representative carries out in-cycle work for described motherboard.
See also Fig. 2 again, have an output/input system 25 (BasicInput/Output System, be called for short BIOS) substantially in the described processing unit 23, described basic output/input system 25 stores each machine code D
CodeAnd the corresponding hardware configuration, therefore, obtain described machine code D at described processing unit 23
Code, and after being sent to described basic output/input system 25, described basic output/input system 25 can be sought and described machine code D
CodeCorresponding hardware configuration, simultaneously, the manufacturer of described control circuit 20 also can pass through the tough body renewal supervisor, and is revised easily or increase each machine code D
OodeAnd corresponding hardware configuration.
As shown in Figures 2 and 3, described code produces circuit 21 and includes a power input 30, an earth terminal 31, a voltage output end 32, a pull-up resistor R
UpAn and drop-down resistive module R
Down, wherein said pull-up resistor R
UpOne end is connected with described power input 30, to receive described power input 30 from the obtained working power V of described power supply circuit 24
s, described pull-up resistor R
UpThe other end and described pull down resistor module R
DownOne end is connected, described pull down resistor module R
DownThe other end then is connected with described earth terminal 31, to produce zero accurate position V of circuit 21 as described code
Ground, and described pull-up resistor R
UpWith described pull down resistor module R
DownBetween be connected together with voltage output end 32 again, so, at described pull-up resistor R
UpWith pull down resistor module R
DownBetween produce dividing voltage supply V
oThe time, described dividing voltage supply V
oCan send out described code via described voltage output end 32 and produce outside the circuit 21, receive wherein said dividing voltage supply V for described A/D conversion circuit 22
oEqual (R
Down/ (R
Up+ R
Down)) * (V
s-V
Ground).
In the present invention, described pull down resistor module R
DownCan be an accurate variable resistor (not shown), or as shown in Figure 3, described pull down resistor module R
DownBy a plurality of precision resistance R
1, R
2, R
3..., R
N-1And R
nForm wherein said a plurality of precision resistance R Deng being connected in parallel
1, R
2, R
3..., R
N-1And R
nResistance value be equal to described pull-up resistor R
UpResistance value, described pull down resistor module R
DownThe formula of total resistance value be
Wherein n is the number of the precision resistance of composition pull down resistor module.
Based on above-listed described, in a preferred embodiment of the present invention, described working power V
sBe to use a fixed voltage source (3 volts), described pull-up resistor R
UpBe to use a fixed resistance value (10000 ohm), and described pull down resistor module R
DownIn the present invention, then be to use three accurate electricity group R
1, R
2And R
3Be connected in parallel form described precision resistance R
1, R
2And R
3Resistance value be equal to described pull-up resistor R
Up(pull down resistor module R then
DownTotal resistance value be 3333 ohm), then described dividing voltage supply V
oEqual (R
Down/ (R
Up+ R
Down)) * (V
s-V
Ground) (be V
o=(3333/ (10000+3333)) * (3-0)=0.75 volt), so, can learn described dividing voltage supply V
oEqual 0.25 times working power V
sIn addition, if in the present embodiment, described pull down resistor module R
DownOnly use two accurate electricity group R
1And R
2(pull down resistor module R is formed in parallel
DownTotal resistance value be 5000 ohm), then described dividing voltage supply V
oEqual (R
Down/ (R
Up+ R
Down)) * (V
s-V
Ground) (be V
o=(5000/ (10000+5000)) * (3-0)=1 volt), so, can learn described dividing voltage supply V
oEqual 0.33 times working power V
sAgain, if in the present embodiment, described pull down resistor module R
DownOnly use an accurate electricity group R
1(pull down resistor module R
DownTotal resistance value be 10000 ohm), then described dividing voltage supply V
oEqual (R
Down/ (R
Up+ R
Down)) * (V
s-V
Ground) (be V
o=(10000/ (10000+10000)) * (3-0)=1.5 volt), so, can learn described dividing voltage supply V
oEqual 0.5 times working power Vs.
According to described in the specific embodiment as can be known, by changing described pull down resistor module R
DownTotal resistance value (as: 0.25,0.333 and 0.5 ohm), can produce and have the dividing voltage supply V that fixed proportion changes
o(as: 0.75,1 and 1.5 volt), then described A/D conversion circuit 22 is being obtained each dividing voltage supply V
oEach machine code D that the back is changed out
Code, that is possess the variation of fixed proportion, for example: when described A/D conversion circuit 22 with working power V
s(promptly 3 volts) are made as the 255th rank, and zero accurate position V
Ground(promptly 0 volt) when being made as the 0th rank, machine code D such as then described
CodeTo be respectively the 63.75th rank (at volt dividing voltage supply V
oWhen being 0.75 volt), the 85th rank are (at volt dividing voltage supply V
oWhen being 1 volt) and the 127.5th rank (at volt dividing voltage supply V
oWhen being 1.5 volts), so, described processing unit 23 is being obtained described machine code D
CodeAfter, described basic output/input system 25 can be at described machine code D
Code, analyze, judge described dividing voltage supply V
oThe hardware configuration of representative.
What this palpus special one was carried be, described a plurality of precision resistances of the present invention are arranged on the described control circuit 20 in regular turn, and at adjacent each precision resistance R
1, R
2, R
3..., R
N-1And R
nThe position, being respectively equipped with one, to write the district (not shown in the figures, as the form that can Gong write, the round framework that can remove for picture or paster etc.), in design, when developing this control circuit 20, that can understand indicates described precision resistance R for the manufacturer of described control circuit 20
1, R
2, R
3..., R
N-1And R
nQuantity, produce (Production), debug (Debug) and maintenance personnel such as (Maintenance) in inspection, when keeping in repair this control circuit 20 with convenient, can be directly by observing the described district of writing, and learn that apace described code produces the machine code D that circuit 21 is produced
CodeWhy.
Be that described A/D conversion circuit 22 is built in the described processing unit 23 in can be in advance, uses it with being packaged into same chip, to separate cost-saving and space what this must special one carries.
The above is only for the preferable specific embodiment of the present invention, but structural attitude of the present invention is not limited thereto, and any those skilled in the art are in the technology of the present invention field, and the variation that can expect easily or modification all should be encompassed in protection scope of the present invention.
Claims (6)
1. electric circuit construction that utilizes the analog/digital conversion notion to save the circuit pins position, it is applied to it is characterized in that comprising on the control circuit:
One power supply circuit is in order to provide a stable working power;
One processing unit, built-in one output/input system substantially, described basic output/input system stores each machine code and corresponding hardware configuration thereof, after receiving described machine code at described processing unit, find out corresponding hardware configuration at described machine code, to carry out follow-up in-cycle work;
One code produces circuit, comprising:
One power input is connected with described power supply circuit, to receive described working power;
One earth terminal is connected with described power supply circuit, to form zero accurate position;
One voltage output end is connected with an A/D conversion circuit, to transmit described dividing voltage supply;
One pull-up resistor, the one end is connected with described power input, and to obtain described working power, the described pull-up resistor other end is connected with an end of a drop-down resistive module;
Described pull down resistor module, its other end is connected with described earth terminal, to produce zero accurate position of circuit as described code; And described pull-up resistor and described pull down resistor intermodule are connected together with described voltage output end, the dividing voltage supply that described pull-up resistor and described pull down resistor intermodule are produced is sent out described code and is produced outside the circuit via described voltage output end; And
Described A/D conversion circuit, it is connected with described processing unit, voltage output end with described code generation circuit is connected in addition, described A/D conversion circuit receives described code and produces the dividing voltage supply that circuit produced, and convert a corresponding machine code to, described A/D conversion circuit is sent to described machine code in the described processing unit, for described processing unit analysis, judge the hardware configuration of described dividing voltage supply representative.
2. electric circuit construction according to claim 1 is characterized in that: described analog-to-digital converting module is built in the described processing unit in advance.
3. electric circuit construction according to claim 1 is characterized in that: the formula of described dividing voltage supply is V
o=(R
Down/ (R
Up+ R
Down)) * (V
s-V
Ground).
4. electric circuit construction according to claim 1 is characterized in that: described pull down resistor module by a precision resistance or a plurality of precision resistance be connected in parallel the institute form.
5. electric circuit construction according to claim 4 is characterized in that: the resistance value of described precision resistance is equal to the resistance value of described pull-up resistor.
6. electric circuit construction according to claim 4 is characterized in that: the formula of the total resistance value of described pull down resistor module is
Wherein n is the number of the precision resistance of composition pull down resistor module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100905688A CN100390704C (en) | 2005-08-17 | 2005-08-17 | Electric circuit construction of saving circuit pins by using concept of analog/digital conversion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100905688A CN100390704C (en) | 2005-08-17 | 2005-08-17 | Electric circuit construction of saving circuit pins by using concept of analog/digital conversion |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1916819A CN1916819A (en) | 2007-02-21 |
CN100390704C true CN100390704C (en) | 2008-05-28 |
Family
ID=37737827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100905688A Expired - Fee Related CN100390704C (en) | 2005-08-17 | 2005-08-17 | Electric circuit construction of saving circuit pins by using concept of analog/digital conversion |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100390704C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113867813A (en) * | 2021-09-13 | 2021-12-31 | 广州朗国电子科技股份有限公司 | DDR self-adaptation method and self-adaptation circuit |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002057561A (en) * | 2000-05-17 | 2002-02-22 | Hewlett Packard Co <Hp> | Device and method for detecting closing of switch, remote controller and earphone set |
US6686726B1 (en) * | 2002-08-08 | 2004-02-03 | Innoveta Technologies, Inc. | Tracking or independent output voltage adjustment for multiple output supplies |
CN1538185A (en) * | 2003-04-15 | 2004-10-20 | 瑞昱半导体股份有限公司 | Multiple socket detector |
-
2005
- 2005-08-17 CN CNB2005100905688A patent/CN100390704C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002057561A (en) * | 2000-05-17 | 2002-02-22 | Hewlett Packard Co <Hp> | Device and method for detecting closing of switch, remote controller and earphone set |
US6686726B1 (en) * | 2002-08-08 | 2004-02-03 | Innoveta Technologies, Inc. | Tracking or independent output voltage adjustment for multiple output supplies |
CN1538185A (en) * | 2003-04-15 | 2004-10-20 | 瑞昱半导体股份有限公司 | Multiple socket detector |
Also Published As
Publication number | Publication date |
---|---|
CN1916819A (en) | 2007-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201628954U (en) | Electronic product identification device and electronic equipment | |
CN101592706A (en) | Digital and analog mixed signal chip test card | |
CN104142160A (en) | Telemetering system converter ground testing system | |
RU2279718C1 (en) | Stand for studying electronic automation means | |
CN100390704C (en) | Electric circuit construction of saving circuit pins by using concept of analog/digital conversion | |
CN201434901Y (en) | Test card for digital and analog mixed signal chip on chip tester | |
CN101109638B (en) | Optic fiber gyroscope analogue quantity angular velocity output circuit with zeroing function | |
CN108304339B (en) | Serial port expansion circuit of dynamic management and control system and working method thereof | |
CN111203886B (en) | Multi-axis driving and controlling system | |
CN209103124U (en) | A kind of digital display unit of collection in worksite signal | |
CN207752145U (en) | A kind of Potable weather radar pulse signal generation device based on PXIe | |
CN106097701A (en) | A kind of infrared chip test platform based on FPGA | |
CN212255466U (en) | Mini simple digital voltmeter driving control circuit based on AT single-chip microcomputer | |
CN201184970Y (en) | Embedded board for acquiring data of watercraft engine compartment | |
Chen | Data Acquisition System based on Serial Port | |
CN210720558U (en) | Low-cost portable voltage measurement device | |
CN203133136U (en) | Testing device based on FPGA | |
CN104238404A (en) | Modular industrial control board | |
RU206871U1 (en) | Mezzanine digital-to-analog converter (DAC) module | |
CN205027872U (en) | Voltage module of electromechanical survey system of needle test flies | |
RU2487393C1 (en) | Device for inputting command matrix signals | |
CN103268079A (en) | Digital-to-analogue conversion output control device with externally arranged module interconnection standard interface | |
CN203241759U (en) | Digital-to-analogue conversion output control device with peripheral component interconnect standard interface | |
CN220730667U (en) | Signal simulator of marine lead-through equipment | |
CN100447541C (en) | Multi-path output resistance signal generator |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080528 Termination date: 20110817 |