TWI774586B - Transmission control architecture between sensing device and host device - Google Patents
Transmission control architecture between sensing device and host device Download PDFInfo
- Publication number
- TWI774586B TWI774586B TW110138521A TW110138521A TWI774586B TW I774586 B TWI774586 B TW I774586B TW 110138521 A TW110138521 A TW 110138521A TW 110138521 A TW110138521 A TW 110138521A TW I774586 B TWI774586 B TW I774586B
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- circuit
- information
- sensing
- transmission
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R19/00—Electrostatic transducers
- H04R19/04—Microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/003—Mems transducers or their use
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Communication Control (AREA)
Abstract
Description
本發明關於訊號傳輸,尤指一種在主控制裝置與感測裝置之間,使用單一訊號傳輸介面傳輸多種傳輸協議的訊號的傳輸控制架構。 The present invention relates to signal transmission, in particular, to a transmission control structure using a single signal transmission interface to transmit signals of multiple transmission protocols between a main control device and a sensing device.
現今的數位麥克風,如:數位微機電(Micro-electromechanical Systems,MEMS)麥克風,通常倚賴脈衝密度調變(Pulse-Density Modulation,PDM)介面來傳送音訊訊號。PDM介面通常具有一個1位元的資料通道,以及一個時脈通道,以序列形式進行訊號傳輸。然而,PDM介面本身並不具備控制通道,無法傳輸數位麥克風相關的控制參數,以至於數位麥克風在出廠之後,便無法改變其聲電特性,例如:取樣率、敏感度,聲學過載點(Acoustic Overload Point,AOP)、或濾波器設定等等。因此,如果需要對數位麥克風進行設定調整,則需要使用具備內頻控制(in-band control)的傳輸協議,如MIPI音訊介面(MIPI SoundWire)或者是/HD-Audio介面,又或者是增加訊號接腳來實現。然而,這兩種方式都會提升系統成本以及電路複雜度。 Today's digital microphones, such as digital MEMS (Micro-electromechanical Systems, MEMS) microphones, usually rely on a Pulse-Density Modulation (PDM) interface to transmit audio signals. The PDM interface usually has a 1-bit data channel and a clock channel for signal transmission in serial form. However, the PDM interface itself does not have a control channel and cannot transmit the control parameters related to the digital microphone, so that the digital microphone cannot change its acoustic and electrical characteristics after it leaves the factory, such as: sampling rate, sensitivity, Acoustic Overload Point (Acoustic Overload Point) Point, AOP), or filter settings, etc. Therefore, if you need to adjust the settings of the digital microphone, you need to use a transmission protocol with in-band control, such as MIPI SoundWire or /HD-Audio interface, or increase the signal connection feet to achieve. However, both approaches increase system cost and circuit complexity.
有鑒於此,本發明目的之一在於提供一種資料/控制介面的整合方式,其使用既有用於感測資訊的訊號傳輸介面,以分時多工的方式分別傳輸感測資訊與控制資訊,從而對感測裝置進行控制與感測資訊讀取,以實現對感測 裝置的設定/特性調整。由於本發明的架構將不同的訊號傳輸介面進行有效的整合,因此不會導致成本的大幅提升。 In view of this, one objective of the present invention is to provide a data/control interface integration method, which uses an existing signal transmission interface for sensing information to transmit sensing information and control information in a time-division multiplexing manner, thereby Control the sensing device and read sensing information to realize the sensing Device settings/characteristics adjustment. Since the structure of the present invention effectively integrates different signal transmission interfaces, the cost will not be greatly increased.
本發明之一實施例提供一種感測裝置。該感測裝置包含:一感測資訊傳送電路、一控制資訊從電路以及一模式切換電路。該感測資訊傳送電路用於根據一第一傳輸協議,將一感測資訊轉換成符合該第一傳輸協議的訊號格式的傳送訊號。該控制資訊從電路用於根據一第二傳輸協議,將從一訊號傳輸介面上接收到的接收訊號,轉換成一控制資訊,從而設定該感測裝置。該模式切換電路耦接於該感測資訊傳送電路與該控制資訊從電路,用於根據該訊號傳輸介面上的一時脈通道上的訊號、一資料通道上的訊號或者是該感測裝置之一電源軌上的訊號,啟動該感測資訊傳送電路與該控制資訊從電路中之一者,透過該訊號傳輸介面進行訊號傳送或接收。 An embodiment of the present invention provides a sensing device. The sensing device includes: a sensing information transmission circuit, a control information slave circuit and a mode switching circuit. The sensing information transmission circuit is used for converting a sensing information into a transmission signal conforming to a signal format of the first transmission protocol according to a first transmission protocol. The control information slave circuit is used for converting a received signal received from a signal transmission interface into a control information according to a second transmission protocol, so as to set the sensing device. The mode switching circuit is coupled to the sensing information transmission circuit and the control information slave circuit, and is used for transmitting a signal on a clock channel, a signal on a data channel or one of the sensing devices according to the signal transmission interface A signal on the power rail activates one of the sensing information transmission circuit and the control information slave circuit to transmit or receive signals through the signal transmission interface.
本發明之一實施例提供一主控裝置。該主控裝置包含:一感測資訊接收電路、一控制資訊主電路以及一模式切換電路。該感測資訊接收電路用於根據一第一傳輸協議,將從一訊號傳輸介面上接收到的接收訊號,轉換成一感測資訊。該控制資訊主電路用於根據一第二傳輸協議,將一控制資訊轉換成符合該第二傳輸協議的訊號格式的傳送訊號。該模式切換電路耦接於該感測資訊接收電路與該控制資訊主電路,用於根據主控裝置的一操作模式調整該訊號傳輸介面上的一時脈通道上的訊號、一資料通道上的訊號或者是該感測裝置之一電源軌上的訊號,並且控制該感測資訊接收電路或該控制資訊主電路中之一者使用該訊號傳輸介面,進行訊號接收或傳送。 An embodiment of the present invention provides a main control device. The main control device includes: a sensing information receiving circuit, a control information main circuit and a mode switching circuit. The sensing information receiving circuit is used for converting a received signal received from a signal transmission interface into sensing information according to a first transmission protocol. The control information main circuit is used for converting a control information into a transmission signal conforming to the signal format of the second transmission protocol according to a second transmission protocol. The mode switching circuit is coupled to the sensing information receiving circuit and the control information main circuit, and is used for adjusting a signal on a clock channel and a signal on a data channel on the signal transmission interface according to an operation mode of the main control device Or it is a signal on a power rail of the sensing device, and controls one of the sensing information receiving circuit or the control information main circuit to use the signal transmission interface to receive or transmit signals.
100:主控裝置 100: Master control device
110、110_1~110_3:感測資訊接收電路 110, 110_1~110_3: Sensing information receiving circuit
120、120_1~110_3:控制資訊主電路 120, 120_1~110_3: Control information main circuit
130:模式切換電路 130: Mode switching circuit
150:主控電路 150: main control circuit
161~169:多工器 161~169: Multiplexer
171~173:邏輯控制電路 171~173: Logic control circuit
181~186:電阻 181~186: Resistance
191:時脈接墊 191: clock pad
192、193:資料接墊 192, 193: Data pads
200、200_1~200_3:感測裝置 200, 200_1~200_3: Sensing device
210、210_1~210_3:感測資訊傳送電路 210, 210_1~210_3: Sensing information transmission circuit
220、220_1~220_3:控制資訊從電路 220, 220_1~220_3: control information slave circuit
230:模式切換電路 230: Mode switching circuit
232:模式偵測電路 232: Mode detection circuit
2321:靜止偵測單元 2321: Still Detection Unit
2322:頻率偵測單元 2322: Frequency detection unit
234:模式控制電路 234: Mode control circuit
240:感測模組 240: Sensing module
300:訊號傳輸介面 300: Signal transmission interface
310:時脈通道 310: clock channel
320、330:資料通道 320, 330: data channel
400:電源軌 400: Power rail
第1圖繪示本發明實施例中的主控裝置與感測裝置的架構示意圖。 FIG. 1 is a schematic structural diagram of a main control device and a sensing device in an embodiment of the present invention.
第2圖繪示本發明實施例中的模式偵測電路的詳細架構圖。 FIG. 2 is a detailed structural diagram of the mode detection circuit in the embodiment of the present invention.
第3圖繪示本發明實施例中的訊號時序圖。 FIG. 3 is a signal timing diagram in an embodiment of the present invention.
第4圖繪示本發明實施例中的遲滯控制示意圖。 FIG. 4 is a schematic diagram of hysteresis control in an embodiment of the present invention.
第5圖繪示本發明實施例中主控裝置同時控制與存取多個感測裝置的詳細架構圖。 FIG. 5 is a detailed structural diagram of a master device simultaneously controlling and accessing a plurality of sensing devices according to an embodiment of the present invention.
在以下內文中,描述了許多具體細節以提供閱讀者對本發明實施例的透徹理解。然而,本領域的技術人士將能理解,如何在缺少一個或多個具體細節的情況下,或者利用其他方法或元件或材料等來實現本發明。在其他情況下,眾所皆知的結構、材料或操作不會被示出或詳細描述,從而避免模糊本發明的核心概念。 In the following text, numerous specific details are described in order to provide the reader with a thorough understanding of the embodiments of the present invention. However, one skilled in the art will understand how to practice the invention in the absence of one or more of the specific details, or with other methods or elements or materials, and the like. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring the core concepts of the invention.
說明書中提到的「一實施例」意味著該實施例所描述的特定特徵、結構或特性可能被包含於本發明的至少一個實施例中。因此,本說明書中各處出現的「在一實施例中」不一定意味著同一個實施例。此外,前述的特定特徵、結構或特性可以以任何合適的形式在一個或多個實施例中結合。 Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in the embodiment may be included in at least one embodiment of the present invention. Thus, the appearances of "in an embodiment" in various places in this specification do not necessarily mean the same embodiment. Furthermore, the particular features, structures or characteristics described above may be combined in any suitable form in one or more embodiments.
請參考第1圖,該圖繪示本發明實施例中,應用本發明的訊號傳輸介面的主控裝置與感測裝置。主控裝置100可以透過本發明之訊號傳輸系統與一或多個感測裝置200進行通訊,從而實現對一或多個感測裝置200的設定調整與感
測資料讀取。在一些實施例中,訊號傳輸介面300包含有至少第一通道310與第二通道320。其中,第一通道310可用於傳送時脈訊號,第二通道320則可用於傳送資料訊號,但不以此為限。
Please refer to FIG. 1 , which illustrates a main control device and a sensing device applying the signal transmission interface of the present invention in an embodiment of the present invention. The
主控裝置100包含有感測資訊接收電路110、控制資訊主電路120以及模式切換電路130。其中,感測資訊接收電路110用於根據一第一傳輸協議,將從第二通道320上所接收到的訊號,基於第一通道310上的時脈訊號,轉換為特定感測資訊,例如,音訊資訊、震動資訊、壓力資訊、光學資訊或溫度資訊。在一實施例中,該第一傳輸協議可以是基於脈衝密度調變(Pulse Density Modulation,PDM)的傳輸協議。控制資訊主電路120用於根據一第二傳輸協議,透過第一通道310或者第二通道320中的至少一者發送控制資訊給感測裝置200。其中,該第二傳輸協議可以是同步傳輸協議或非同步傳輸協議。例如,同步傳輸協議可以是I2C或者是序列周邊介面(Serial Peripheral Interface,SPI)協議,而非同步傳輸協議可以是通用非同步收發傳輸器(Universal Asynchronous Receiver/Transmitter,UART)或者是單線(1-wire)協議。當該第二傳輸協議是同步傳輸協議時,控制資訊主電路120透過第一通道310傳送時脈訊號,以及透過至少第二通道320(根據該傳輸協議的需求,可能會需要多個非時脈通道來進行通訊)傳送控制資訊。當該第二傳輸協議是非同步傳輸協議時,控制資訊主電路120可透過第一通道310或第二通道320中的一者(如1-wire或者是UART single-ended傳輸協議),或是兩者(如UART differential傳輸協議)來傳送控制資訊。模式切換電路130則可以根據主控裝置100的需求,切換感測資訊接收電路110與控制資訊主電路120對於第一通道310和第二通道320的使用權。在本發明不同實施例中,模式切換電路130可以改變第一通道上310的訊號頻率、第二通道320上的訊號特徵,又或者是一電源軌400上的電壓準位,從而提前通知感測裝置200,當前主
控裝置100是進入一設定調整模式,由控制資訊主電路120使用訊號傳輸介面300傳送控制資訊,或者當前主控裝置100是進入一感測資訊讀取模式,由感測資訊接收電路110使用訊號傳輸介面300接收感測資訊。在一實施例中,當控制資訊主電路120欲透過訊號傳輸介面300傳送控制資訊給感測裝置200時,模式切換電路130可以在第一通道310上傳送一個頻率低於一臨界值的訊號,或者是提升電源軌400上的電壓準位。如此一來,感測裝置200可判斷訊號傳輸介面300上的傳輸訊號為控制資訊,從而調用相對應的電路模組來處理通道上的訊號。反之,當控制資訊主電路120欲透過訊號傳輸介面300接收感測資訊時,模式切換電路130可以在第一通道310上的傳送頻率高於該臨界值的訊號,或者是降低電源軌400上的電壓準位,從而讓感測裝置200調用相對應的電路模組來傳送感測資訊。請注意,以上所述的方式僅為本發明的一種實施態樣,這種實施態樣適合在第一傳輸協議(如:PDM)的基礎時脈高於第二傳輸協議(如:I2C)的基礎時脈。在其他實施例中,若第一傳輸協議的基礎時脈低於第二傳輸協議的基礎時脈時,則可使用相反的方式來通知感測裝置200關於操作模式的切換。例如,在傳送控制資訊之前,模式切換電路130可以在第一通道310上傳送一個頻率高於臨界值的訊號,或者是降低電源軌400上的電壓準位,讓感測裝置200足以判斷訊號傳輸介面300上的傳輸訊號為控制資訊。反之,在接收感測資訊之前,模式切換電路130可以在第一通道310上的傳送頻率低於該臨界值的訊號,或者是提高電源軌400上的電壓準位,從而讓感測裝置200調用相對應的電路模組來傳送感測資訊。換言之,在本發明的實施例中,可以根據第一通道310上的訊號頻率與頻率臨界值之間的高低關係,或者是電源軌400上的電壓準位與電壓臨界值之間的高低關係,來反映出主控裝置100是處在設定調整模式,還是感測資訊讀取模式。
The
除了以上的方式,在本發明其他實施例中,也可以透過第二通道320上的訊號特徵,使主控裝置100得以通知感測裝置200模式的切換。例如,模式切換電路130可以在特定的時間間隔內,在第二通道320上傳送具有特定型樣(pattern)的訊號給感測裝置200,以告知感測裝置200,當前主控裝置100所處的操作模式,使其能做出適當的應對。例如,主控裝置100以及感測裝置200之間可預先設定/約定編解碼規則以及訊號的型樣。當感測裝置200解碼來自主控裝置100的封包,且解碼後的封包內容若對應於預先約定的簡單(simple)訊號內容或一串連續(cadence)的訊號內容(例如但不限於,訊號內容顯示連續出現的上上下下左右左右BA(未轉換成二位元前)...,或者如11011100這類的特定訊號型樣),感測裝置200可判斷訊號傳輸介面300上的傳輸訊號為控制資訊,從而調用相對應的電路模組來處理第二通道320上的訊號。
In addition to the above methods, in other embodiments of the present invention, the
感測裝置200包含有感測資訊傳送電路210、控制資訊從電路220以及模式切換電路230。其中,感測資訊傳送電路210用於根據該第一傳輸協議,將感測模組240所產生的感測訊號,基於第一通道310上的時脈訊號,轉換成第二通道320上的資料訊號,傳輸給主控裝置100。在一實施例中,感測模組240(當感測裝置200為數位麥克風時)可能包含有聲電轉換裝置、類比至數位轉換器、訊號處理電路等。在另一實施例中,感測模組240(例如,當感測裝置200為溫度感測裝置時)可能包含有熱電轉換裝置、類比至數位轉換器、訊號處理電路等,但不以此為限。另外,在本發明更多的實施例中,感測模組240還有可能是震動感測器、壓力感測器或者光學感測器。再者,控制資訊從電路220用於根據該第二傳輸協議,將從第一通道310或者第二通道320至少一者上所接收到的訊號,轉換成控制資訊,從而對感測模組240或感測裝置200中的其他電路元件進行設定調整。其中,感測模組240或感測裝置200中一個或多個元件使用的設定參數,可
以透過控制資訊來調節。在一個實施例中,這些設定參數可能包含有(但不限定於):取樣率、敏感度、增益控制、聲學過載點(Acoustic Overload Point,AOP)、或濾波器設定等。再者,模式切換電路230包含有模式偵測電路232以及模式控制電路234。其中,模式偵測電路232可以根據第一通道310上的訊號頻率或者是電源軌400上的電壓準位,判斷當前主控裝置110的操作模式為設定調整模式或者是感測資訊讀取模式。模式控制電路234則根據模式偵測電路232的判斷結果,來控制感測資訊傳送電路210與控制資訊從電路220,透過訊號傳輸介面300傳送或接收訊號。
The
在本發明的實施例中,針對模式的切換還加入了遲滯控制的技巧,從而保證由主控裝置100所傳送的控制資訊不會被感測裝置200遺漏。此一特徵的細節,請進一步參考第2圖所示的架構圖以及第3圖所示的時序圖。首先,根據第2圖所示,感測裝置200的模式偵測電路232中,還包含了靜止偵測單元2321以及頻率偵測單元2322。再者,根據第3圖所示,主控裝置100在進入設定調整模式或感測資訊讀取模式之前,會要求模式切換電路130透過第一通道310傳送一直流訊號,該直流訊號可能具有邏輯高準位或是邏輯低準位,當靜止偵測單元2321偵測到第一通道310上的訊號維持直流狀態一段時間後(狀態A),便會判斷主控裝置100進入設定調整模式(狀態B),進一步要求模式控制電路234進行模式切換,讓感測裝置200進入設定調整模式,並啟動控制資訊從電路220(狀態C)。之後,控制資訊主電路120便會透過第一通道310與第二通道320,將控制資訊以該第二傳輸協議的訊號格式來傳送(狀態D)。當控制資訊主電路120完成控制資訊的傳輸後,模式切換電路130會再次在第一通道310上傳送直流訊號(狀態E)。此時頻率偵測單元2322並未偵測到頻率達到預定臨界值,這產生了遲滯效果,判斷主控裝置100仍處於設定調整模式(狀態F),因此讓模式控制電路234繼續維持
在設定調整模式,持續啟動控制資訊從電路220(狀態G)。之後,當主控裝置100打算開始讀取感測資訊時,模式控制電路234便會讓感測資訊接收電路110,在第一通道310上發出符合該第一傳輸協議的時脈訊號(狀態H)。此時,頻率偵測單元2322將會偵測到第一通道310上的訊號頻率大於一頻率臨界值TH(例如,400KHz),從而認定主控裝置100將模式切換為感測資訊讀取模式(狀態I),並且進一步要求模式控制電路234啟動感測資訊傳送電路210(狀態J)。之後,感測資訊傳送電路210將感測模組240產生的感測資訊,以相容於該第二傳輸協議的格式,透過第二通道320傳送給主控裝置100(狀態K)。然而,在感測資訊讀取模式下,倘若頻率偵測單元2322偵測到第一通道310上的訊號頻率低於頻率頻界值TH時(狀態L、狀態M),由於靜止偵測單元2321並未偵測到第一通道310上的直流狀態,因此模式切換電路230並不會立刻讓模式控制電路234啟動控制資訊從電路220,進入設定調整模式,也不會結束感測資訊讀取模式。而是必須等到靜止偵測單元2321偵測到第一通道310上的訊號維持直流狀態,才會判斷主控裝置100進入設定調整模式,讓模式控制電路234啟動控制資訊從電路220。關於以上模式切換的細節,也可以進一步從第4圖所示的示意圖來得知,其中,在設定調整模式下,頻率需要增加到高於臨界值TH,才會切換到感測資訊讀取模式。然而,一旦頻率低於臨界值TH,並不立刻切換到感測資訊讀取模式,而是要等到頻率為零(直流狀態)時,才會切換至感測資訊讀取模式。
In the embodiment of the present invention, the hysteresis control technique is also added to the mode switching, so as to ensure that the control information transmitted by the
第5圖進一步繪示了本發明實施例中,一主控裝置同時控制與存取多個感測裝置的詳細架構。如圖所示,主控裝置100透過第一通道310、第二通道320以及第三通道330來控制與存取感測裝置200_1~200_3。請注意,本實施例中,主控裝置100能同時存取的感測裝置感測裝置數量並非本發明限制。主控裝置100主要包含有主控電路150、一個或多個感測資訊接收電路110_1~110_3、控
制資訊主電路120_1~120_3、多工器161~169以及邏輯控制電路171~173。在本實施例中,控制資訊主電路120_1~120_3實質上為I2C主電路,根據I2C傳輸協議來控制感測裝置200_1~200_3。因此,多工器161~162、164~165、167~168(多工器161、164、167以ON、OFF顯示致能與否)、邏輯控制電路171~173以及電阻181~186是為了符合I2C傳輸協議所需,實現通道上的訊號被上拉或下拉(由於I2C主電路採用開汲極架構)。據此,在本發明的其他實施例中,若控制資訊主電路120_1~120_3並非I2C主電路,上述的電路元件可以被忽略。
FIG. 5 further illustrates a detailed structure of a master device simultaneously controlling and accessing a plurality of sensing devices in an embodiment of the present invention. As shown in the figure, the
主控電路150可決定主控裝置100的操作模式為設定調整模式或者感測資訊讀取模式。其中,主控電路105透過控制多工器163決定感測資訊接收電路110_1或者是控制資訊主電路120_1中何者產生的時脈訊號(標記為CLK以及CLK_Data)可以透過時脈接墊191傳送至時脈通道(即前述的第一通道)310。在設定調整模式下,多工器163使控制資訊主電路120_1產生的時脈訊號被傳送至時脈通道310,並且由感測裝置200_1~200_3所接收。與此同時,控制資訊主電路120_2以及/或120_3產生的訊號(標記為Data_O)可以透過資料接墊192、193傳送至資料通道320、330。其中,這些資料訊號中包含有具體的控制資訊,如裝置ID及控制參數等。感測裝置200_1~200_3中的模式偵測電路232_1~232_3一旦偵測到時脈通道310的訊號為直流狀態,則切換模式至設定調整模式,並且啟動控制資訊從電路(亦即,I2C從電路)220_1~220_3,這些電路會接收資料通道320與330上的訊號。並且,感測裝置200_1~200_3根據訊號中的裝置ID,來選擇性進行設定參數調整。另外,主控電路150會透過多工器166、169的切換,讓控制資訊主電路120_2以及/或120_3可以從資料接墊192、193接收資料通道320、330上的訊號(標記為Data,由控制資訊主電路120_2及120_3接收為Data_I),例如由感測裝置200_1~200_3回傳的參數設定結果。
The
另一方面,在感測資訊讀取模式下,多工器163讓感測資訊接收電路110_1產生的時脈訊號,透過時脈接墊191被傳送至時脈通道310,並且由感測裝置200_1~200_3所接收。感測裝置200_1~200_3中的模式偵測電路232_1~232_3會偵測到時脈通道310的訊號頻率大於臨界值TH,從而切換模式至感測資訊讀取模式,並且啟動感測資訊傳送電路210_1~210_3。感測資訊傳送電路210_1~210_3會將感測裝置200_1~200_3所產生的感測資訊,透過資料通道320與330回傳給主控裝置100。此時,透過多工器166、169的切換,感測資訊接收電路110_2以及/或110_3可以透過資料接墊192、193,從資料通道320、330上接收訊號(標記為Data,由感測資訊接收電路110_2及110_3接收為Data_I),從而獲得由感測裝置200_1~200_3回傳的感測資訊。請注意,儘管在本實施例中,主控裝置100包含有感測資訊接收電路110_1~110_3以及控制資訊主電路120_1~120_3。但在本發明其他實施例中,部分的感測資訊接收電路或控制資訊主電路可以被整合為同一個。例如,控制資訊主電路120_1~120_3可以被整合成同一個,而感測資訊接收電路110_1~110_3也可以被整合成兩個。
On the other hand, in the sensing information reading mode, the
再者,儘管以上的實施例中,感測裝置200中的模式偵測電路232與模式控制電路234基於時脈通道310上的訊號頻率來進行模式偵測與切換。然而,在本發明其他實施例中,感測裝置200中的模式偵測電路232與模式控制電路234亦可基於電源軌400的電壓準位來進行模式偵測與切換。舉例來說,主控裝置100中的模式切換電路130可以在主控電路150決定傳送控制資訊時,將電源軌400的電壓準位提高到2.7V,以及在決定接收感測資訊時,將電源軌400的電壓準位降低到1.8V。據此,感測裝置200中的模式偵測電路232與模式控制電路234將可以根據電源軌400的電壓準位來決定何時感測資訊傳送電路210或啟動
控制資訊從電路220。
Furthermore, although in the above embodiments, the
總結來說,本發明提供一種整合感測資訊傳輸/控制資訊傳輸的訊號傳輸架構,其可讓單一訊號傳輸介面支持多種傳輸協議的訊號。例如前述用於傳輸感測資訊的基於PDM的傳輸協議,以及用於傳輸控制資訊的I2C協議、SPI協議、UART協議或1-wire協議。因此,本發明可在不大幅增加硬體成本與電路複雜度的前提下,對感測裝置進行控制與感測資訊讀取,以實現對感測裝置的設定/特性調整。 In conclusion, the present invention provides a signal transmission architecture integrating sensing information transmission/control information transmission, which enables a single signal transmission interface to support signals of multiple transmission protocols. For example, the aforementioned PDM-based transmission protocol for transmitting sensing information, and I2C protocol, SPI protocol, UART protocol or 1-wire protocol for transmitting control information. Therefore, the present invention can control the sensing device and read sensing information without greatly increasing the hardware cost and circuit complexity, so as to realize the setting/characteristic adjustment of the sensing device.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.
100:主控裝置 100: Master control device
110:感測資訊接收電路 110: Sensing information receiving circuit
120:控制資訊主電路 120: Control information main circuit
130:模式切換電路 130: Mode switching circuit
200:感測裝置 200: Sensing device
210:感測資訊傳送電路 210: Sensing information transmission circuit
220:控制資訊從電路 220: Control information from circuit
230:模式切換電路 230: Mode switching circuit
232:模式偵測電路 232: Mode detection circuit
234:模式控制電路 234: Mode control circuit
300:訊號傳輸介面 300: Signal transmission interface
310:第一通道 310: first channel
320:第二通道 320: Second channel
400:電源軌 400: Power rail
Claims (10)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/571,559 US12174773B2 (en) | 2021-01-28 | 2022-01-10 | Transmission control architecture between sensing device and host device |
EP22152904.3A EP4036742A1 (en) | 2021-01-28 | 2022-01-24 | Transmission control architecture between sensing device and host device |
KR1020220010559A KR20220109330A (en) | 2021-01-28 | 2022-01-25 | Transmission control architecture between sensing device and host device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US202163142967P | 2021-01-28 | 2021-01-28 | |
US63/142,967 | 2021-01-28 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202231038A TW202231038A (en) | 2022-08-01 |
TWI774586B true TWI774586B (en) | 2022-08-11 |
Family
ID=82526871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110138521A TWI774586B (en) | 2021-01-28 | 2021-10-18 | Transmission control architecture between sensing device and host device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114816314A (en) |
TW (1) | TWI774586B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201834447A (en) * | 2017-03-02 | 2018-09-16 | 日商索尼半導體解決方案公司 | Image sensor and control system |
US20200202701A1 (en) * | 2018-12-25 | 2020-06-25 | Yokogawa Electric Corporation | Two-wire transmitter |
US20200267295A1 (en) * | 2017-09-01 | 2020-08-20 | Samsung Electronics Co., Ltd. | Method for controlling synchronization of plurality of image sensors and electronic device for implementing same |
-
2021
- 2021-10-18 TW TW110138521A patent/TWI774586B/en active
- 2021-10-26 CN CN202111248323.9A patent/CN114816314A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201834447A (en) * | 2017-03-02 | 2018-09-16 | 日商索尼半導體解決方案公司 | Image sensor and control system |
US20200267295A1 (en) * | 2017-09-01 | 2020-08-20 | Samsung Electronics Co., Ltd. | Method for controlling synchronization of plurality of image sensors and electronic device for implementing same |
US20200202701A1 (en) * | 2018-12-25 | 2020-06-25 | Yokogawa Electric Corporation | Two-wire transmitter |
Also Published As
Publication number | Publication date |
---|---|
CN114816314A (en) | 2022-07-29 |
TW202231038A (en) | 2022-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102535076B1 (en) | Systems and Techniques for Remote Bus Activation | |
EP2775654B1 (en) | Increased bandwidth encoding scheme and synchroniation using data edges | |
US9009379B1 (en) | Communicating with MIPI-compliant devices using non-MIPI interfaces | |
US10645553B2 (en) | Method and apparatus for processing signal in a mobile device | |
CN108351851B (en) | Multi-device synchronization of multiple devices | |
US9686609B1 (en) | Low power synchronous data interface | |
TWI469649B (en) | Digital microphone system, audio control device and controlling method thereof | |
WO2012009984A1 (en) | Method and device for sharing micro-usb interface between earphone and usb | |
US20160012007A1 (en) | Digital Microphone Interface | |
CN109964455B (en) | Coding method and system for multi-device synchronization of devices | |
CN107408098A (en) | Low Power Bidirectional Bus | |
CN204559840U (en) | A kind of earphone with Data Control plate | |
TWI774586B (en) | Transmission control architecture between sensing device and host device | |
US10725959B2 (en) | Serial peripheral interface round robin mode system and apparatus | |
US20220237140A1 (en) | Transmission control architecture between sensing device and host device | |
CN108810685B (en) | Digital microphone | |
CN109200600B (en) | Intelligent building block system and data transmission method | |
Jyothi et al. | Implementation of SPI Communication Protocol for Multipurpose Applications with I2C Power and Area Reduction | |
KR100779927B1 (en) | Information processing apparatus and method of controlling the same | |
GB2544124A (en) | Methods and apparatuses for configuring a serial interface | |
CN216673050U (en) | Telephone set | |
JP5979523B1 (en) | Slave unit, master unit, monitor and communication method | |
CN216057468U (en) | Pin multiplexing system and sound box | |
WO2013123645A1 (en) | Multi-path speech signal multiplexing circuit, equipment and method | |
KR100351375B1 (en) | Apparatus for switching signals between mobile phone and remote phone receiver |