CN100367261C - Selection circuit for selecting slave module in accordance with connection sequence and control mode thereof - Google Patents
Selection circuit for selecting slave module in accordance with connection sequence and control mode thereof Download PDFInfo
- Publication number
- CN100367261C CN100367261C CNB2006100377817A CN200610037781A CN100367261C CN 100367261 C CN100367261 C CN 100367261C CN B2006100377817 A CNB2006100377817 A CN B2006100377817A CN 200610037781 A CN200610037781 A CN 200610037781A CN 100367261 C CN100367261 C CN 100367261C
- Authority
- CN
- China
- Prior art keywords
- module
- level
- signal
- clock
- type flip
- 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
Landscapes
- Programmable Controllers (AREA)
Abstract
The present invention discloses a selection circuit for selecting slave modules and a control mode thereof according to the connection sequence, which is characterized in that the selection circuit of a single slave module is a D trigger, and the D triggers of the slave modules are connected in series mutually to form a shift register; the unique effective selection signal of a main module is transferred into the selected slave module according to the sequence of serial connection, and a clock signal of the main module is connected in parallel with the clock signal end of each slave module; the clear signal of the main module is connected in parallel with the clear ends of the slave modules. The selection circuit of the present invention can realize the selection of the modules connected in series according to the connecting sequence without setting addresses. When the selection circuit is used, the modules need to be connected in series gradually, and finally connected to the main module. The modules connected in series according to the connecting sequence are selected and used.
Description
Technical field:
The present invention relates to a kind of by the control method of primary module to the selection circuit selected from module.
Background introduction:
Have a lot of electronic products all to adopt modular design now, make the configuration of product more flexible, the user can select easily.Generally, the module of this product can be divided into primary module (as: main control module, CPU module etc.) and from module (as: switching value input/output module, analog quantity input/output module etc.).Each module is connected in series.Each all has the address of oneself from module.The address signal that primary module transmits by the logical circuit on module, produces corresponding module select signal, thereby control is to the visit from module.The user can change the address from module by modes such as wire jumpers.Adopt this connected mode, before using product will to product from module the address is set, and must guarantee that the address do not repeat, cumbersome.And when increasing new module, also to be provided with one with current all from module address inequality, not too convenient.
Summary of the invention:
The present invention is for avoiding above-mentioned existing in prior technology weak point, a kind of control method of selection circuit of slave module in accordance with connection sequence selection being provided.
The technical scheme that technical solution problem of the present invention is adopted is:
It is that single selection circuit from module is a d type flip flop that the present invention selects the version of circuit, each d type flip flop from module is connected in series each other, constitute shift register, primary module unique one effectively select signal CS_Input by sequence delivery connected in series to selected from module, primary module clock signal C S_Clock is in parallel to insert respectively clock signal terminal CLK from module, and primary module reset signal CS_Clear is in parallel to insert respectively clear terminal CLR from module.
The characteristics of control method of the present invention are to work in the following order:
A, primary module CS_Clear be output " low " level earlier, and the Q end of all d type flip flops all is set to " low " level, and output " height " level again makes all d type flip flops can the normal delivery signal;
B, primary module CS_Input export " height " level, and from CS_Clock output " low " level;
C, individual from module if will visit n, earlier from CS_Clock output " height " level, then from CS_Clock and CS_Input output " low " level, so repeat n time, produce n rising edge at the CS_Clock end, unique " height " level is moved on to the Q end of n d type flip flop from module, thereby make this selection signal from module effective, primary module can conduct interviews from module to this;
D, after visit finishes, from CS_Clear output " low " level, the Q end of all d type flip flops all is set to " low " level, make all invalid from the selection signal of module.
The present invention utilizes shift register, and unique of primary module is effectively selected signal, by sequence delivery connected in series to selected from module, make primary module to conduct interviews from module to this.
Compared with the prior art, beneficial effect of the present invention is embodied in:
The present invention selects circuit can realize by the order of connection module connected in series being selected, and need not to be provided with the address.During use, only needing will be connected in series one by one from module, receive primary module at last again, by the order of connection module connected in series be selected to use.
Description of drawings:
Fig. 1 is that the present invention is from module syndeton block diagram.
Fig. 2 is that the present invention is from module connecting circuit structural representation.
Fig. 3 is the master and slave module of a present invention formation shift-register circuit connected in series structural representation.
Below by embodiment the present invention is further described:
Embodiment:
Primary module is with connected in series from module, as shown in Figure 1 in the present embodiment.Primary module output 3 control signal wire: CS_Clear, CS_Clock, CS_Input.From the connecting circuit of module as shown in Figure 2.Wherein P1 is an input socket, and P2 is an accessory power outlet, and chip SN74HC74N is a d type flip flop.
The principle of work of this connecting circuit: master and slave module is connected in series, enough become a shift-register circuit, by primary module whole shift circuit is controlled.As shown in Figure 3.
In the present embodiment, when the CS_Clear signal of primary module output was " low " level, the Q end of all d type flip flops all was " low " level; When the CS_Clear signal of primary module output was " height " level, the rising edge of each CS_Clock signal all can pass to the level signal of d type flip flop D end the Q end, thus the displacement that produces signal.The output terminal Q of the d type flip flop from the module connecting circuit (or
) as selection signal from module.
The scope of application of this connecting circuit: be applicable to " one main many from " structure, module and circuit board connected in series.Particularly need by the product of the order of connection conducting interviews from module.
In concrete the enforcement: when using this connecting circuit, be not to use chip SN74HC74N.As long as several chip blocks couple together and can constitute shift register.For effective selection signal be " height " level from module, can obtain the selection signal from the Q end of d type flip flop; For effective selection signal be " low " level from module, can be from d type flip flop
End is obtained the selection signal.
Claims (1)
1. the control method of the selection circuit selected of a slave module in accordance with connection sequence, the version of described selection circuit is that single selection circuit from module is a d type flip flop, each d type flip flop from module is connected in series each other, constitute shift register, primary module unique one effectively select signal CS_Input by sequence delivery connected in series to selected from module, primary module clock signal C S_Clock is in parallel to insert respectively clock signal terminal CLK from module, primary module reset signal CS_Clear is in parallel to be inserted respectively from the clear terminal CLR of module, and the characteristics of its control method are to carry out as follows:
A, primary module CS_Clear be output " low " level earlier, and the Q end of all d type flip flops all is set to " low " level, and output " height " level again makes all d type flip flops can the normal delivery signal;
B, primary module CS_Input export " height " level, and from CS_Clock output " low " level;
C, individual from module if will visit n, earlier from CS_Clock output " height " level, then from CS_Clock and CS_Input output " low " level, so repeat n time, produce n rising edge at the CS_Clock end, unique " height " level is moved on to the Q end of n d type flip flop from module, thereby make this selection signal from module effective, primary module can conduct interviews from module to this;
D, after visit finishes, from CS_Clear output " low " level, the Q end of all d type flip flops all is set to " low " level, make all invalid from the selection signal of module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100377817A CN100367261C (en) | 2006-01-13 | 2006-01-13 | Selection circuit for selecting slave module in accordance with connection sequence and control mode thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100377817A CN100367261C (en) | 2006-01-13 | 2006-01-13 | Selection circuit for selecting slave module in accordance with connection sequence and control mode thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1801129A CN1801129A (en) | 2006-07-12 |
CN100367261C true CN100367261C (en) | 2008-02-06 |
Family
ID=36811141
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100377817A Expired - Fee Related CN100367261C (en) | 2006-01-13 | 2006-01-13 | Selection circuit for selecting slave module in accordance with connection sequence and control mode thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100367261C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374095B (en) * | 2008-09-11 | 2011-10-12 | 北京佳讯飞鸿电气股份有限公司 | Design method for multiple-unit cascade bus |
CN107025193A (en) * | 2016-01-30 | 2017-08-08 | 鸿富锦精密电子(重庆)有限公司 | Electronic installation connects system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6026350A (en) * | 1996-08-30 | 2000-02-15 | Hewlett Packard Company | Self-framing serial trigger for an oscilloscope or the like |
CN1091976C (en) * | 1998-12-03 | 2002-10-02 | 华侨大学 | Multi-channel selection controller able to extend at will |
CN2891086Y (en) * | 2006-01-13 | 2007-04-18 | 夏振宇 | Selection circuit that selects slave modules in connection sequence |
-
2006
- 2006-01-13 CN CNB2006100377817A patent/CN100367261C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6026350A (en) * | 1996-08-30 | 2000-02-15 | Hewlett Packard Company | Self-framing serial trigger for an oscilloscope or the like |
CN1091976C (en) * | 1998-12-03 | 2002-10-02 | 华侨大学 | Multi-channel selection controller able to extend at will |
CN2891086Y (en) * | 2006-01-13 | 2007-04-18 | 夏振宇 | Selection circuit that selects slave modules in connection sequence |
Non-Patent Citations (2)
Title |
---|
全加器在乘法电路中的应用. 刘丽.滁州学院学报,第7卷第4期. 2005 * |
单相时钟动态CMOS反相器分析与高速动态器件设计. 邝小飞,王敦惠,陈迪平.无线电工程,第33卷第2期. 2003 * |
Also Published As
Publication number | Publication date |
---|---|
CN1801129A (en) | 2006-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6765407B1 (en) | Digital configurable macro architecture | |
US6564275B1 (en) | Electronic switching device for a universal serial bus interface | |
CN102880088A (en) | Expander circuit of switching value input interface | |
CN100367261C (en) | Selection circuit for selecting slave module in accordance with connection sequence and control mode thereof | |
US6646513B1 (en) | Oscillator circuit having an improved capacitor discharge circuit | |
CN2891086Y (en) | Selection circuit that selects slave modules in connection sequence | |
CN208208341U (en) | The write operation control circuit and memory of memory | |
CN207457318U (en) | A kind of modular electric energy meter | |
CN202772864U (en) | Key and indicator light control circuit, and television | |
CN210867753U (en) | ARM-based edge computing gateway module | |
CN202794928U (en) | Address coding device | |
CN202904427U (en) | Clock tree generation circuit with multiple function modes | |
CN209015139U (en) | A kind of I2C bus circuit, chip and system | |
CN207367195U (en) | A kind of IIC interface expansion boards | |
CN207232950U (en) | Time-sharing multiplex is connected in series circuit | |
CN207503215U (en) | A kind of Multi-serial port integrating device | |
CN209849166U (en) | Multi-channel music fountain control device | |
CN217279309U (en) | High-speed network card | |
CN207573373U (en) | A kind of modularization things-internet gateway adapter | |
CN110123168A (en) | A kind of multi gear position toggle switch and its circuit and multi gear position identification circuit, device | |
CN209728731U (en) | A kind of circuit powering on inquiry for snap-gauge | |
CN201928258U (en) | Serial port junctor output data instruction type 2<8N>/2-channel automatic connector base for electrical household appliances | |
CN202076189U (en) | Time relay device | |
CN103870428B (en) | Serial port extender for microprocessor | |
CN202050398U (en) | Command-type 8-circuit sensor 28N/2 group appliance wire holder managed and checked by serial port junctor |
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: 20080206 Termination date: 20110113 |