[go: up one dir, main page]

TWI480880B - Online programmer device without power supply for target side, system and method thereof - Google Patents

Online programmer device without power supply for target side, system and method thereof Download PDF

Info

Publication number
TWI480880B
TWI480880B TW101136466A TW101136466A TWI480880B TW I480880 B TWI480880 B TW I480880B TW 101136466 A TW101136466 A TW 101136466A TW 101136466 A TW101136466 A TW 101136466A TW I480880 B TWI480880 B TW I480880B
Authority
TW
Taiwan
Prior art keywords
programming
power supply
signal
online
transmission line
Prior art date
Application number
TW101136466A
Other languages
Chinese (zh)
Other versions
TW201415471A (en
Inventor
Xiao Jiang
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW101136466A priority Critical patent/TWI480880B/en
Publication of TW201415471A publication Critical patent/TW201415471A/en
Application granted granted Critical
Publication of TWI480880B publication Critical patent/TWI480880B/en

Links

Landscapes

  • Programmable Controllers (AREA)

Description

無對目標端供電的線上燒錄裝置、系統及其方法Online burning device, system and method thereof without power supply to target end

本發明為有關於一種燒錄裝置、系統及其方法,特別是指一種無須對目標端供電的線上燒錄裝置、系統及其方法。The invention relates to a burning device, a system and a method thereof, in particular to an online burning device, a system and a method thereof, which do not need to supply power to a target end.

近年來,隨著積體電路的普及與蓬勃發展,各種提供使用者自行燒錄可程式控制器的技術便如雨後春筍般的產生。In recent years, with the popularization and vigorous development of integrated circuits, various technologies for providing users to self-program programmable controllers have sprung up.

一般而言,傳統燒錄技術是將可程式控制器安裝在特定的燒錄裝置進行燒錄,接著再將燒錄完成的可程式控制器設置在目標電路板上。然而,在許多情況下,如:要對銲接在目標電路板上的可程式控制器重新程式化時,由於不便將可程式控制器拆卸下來安裝在特定的燒錄裝置,故具有燒錄不便的問題。In general, the conventional programming technique is to install a programmable controller on a specific burning device for programming, and then set the programmable controller to be programmed on the target circuit board. However, in many cases, such as when the programmable controller soldered on the target circuit board is reprogrammed, the programmable controller is detached and installed in a specific burning device because of the inconvenience, so it is inconvenient to burn. problem.

有鑑於此,便有廠商提出線上燒錄(In-System Programming;In-Circuit Programming)的方式,透過電性連接的方式直接對目標電路板上的可程式控制器進行燒錄。不過,以此方式通常需要燒錄裝置對目標電路板的可程式控制器供應電源,當目標電路板需要的功率要求較高而無法被燒錄裝置滿足時,將導致燒錄失敗。另外,燒錄裝置與目標電路板之間的信號傳輸距離受限於電信號傳輸的物理特性,因此,燒錄裝置與目標電路板無法距離過遠,故上述方式仍然無法有效解決線上燒錄不便之問題。In view of this, some manufacturers have proposed In-System Programming (In-Circuit Programming), which directly burns the programmable controller on the target circuit board through electrical connection. However, in this way, the programming device is usually required to supply power to the programmable controller of the target circuit board. When the power requirement of the target circuit board is high and cannot be satisfied by the programming device, the programming failure will be caused. In addition, the signal transmission distance between the programming device and the target circuit board is limited by the physical characteristics of the electrical signal transmission. Therefore, the programming device cannot be far away from the target circuit board, so the above method cannot effectively solve the inconvenience of online programming. The problem.

綜上所述,可知先前技術中長期以來一直存在線上燒錄不便之問題,因此實有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that the prior art has long been inconvenient in online burning, so it is necessary to propose improved technical means to solve this problem.

有鑒於先前技術存在的問題,本發明遂揭露一種無對目標端 供電的線上燒錄裝置、系統及其方法。In view of the problems of the prior art, the present invention discloses a non-target end Powered online burning device, system and method therefor.

本發明所揭露之無對目標端供電的線上燒錄裝置,應用在具有供應電源及可程式控制器的目標端,其裝置包含:裝置電源、控制單元及光耦單元。其中,裝置電源提供燒錄裝置所需的電源;控制單元用以接收並編譯邏輯程序以產生編程信號;光耦單元的一端電性連接控制單元及裝置電源,且光耦單元的另一端電性連接可程式控制器及目標端的供應電源,用以將編程信號經光耦單元轉換至可程式控制器以進行線上燒錄。The online burning device with no target end power supply disclosed in the present invention is applied to a target end having a power supply and a programmable controller, and the device comprises: a device power supply, a control unit and an optocoupler unit. Wherein, the device power supply provides the power required by the programming device; the control unit is configured to receive and compile the logic program to generate the programming signal; one end of the optocoupler unit is electrically connected to the control unit and the device power source, and the other end of the optocoupler unit is electrically A programmable power supply is connected to the programmable controller and the target end for converting the programming signal to the programmable controller via the optocoupler unit for online programming.

另外,本發明所揭露之無對目標端供電的線上燒錄系統,此系統包含:目標端、燒錄裝置及傳輸線。其中,目標端具有供應電源及可程式控制器;燒錄裝置包含裝置電源及控制單元,所述裝置電源用以提供燒錄裝置所需的電源,而控制單元則用以接收並編譯邏輯程序以產生編程信號;以及傳輸線用以同時連接目標端及燒錄裝置,所述傳輸線嵌入有光耦單元用以接收編程信號,並且將此編程信號轉換至可程式控制器以進行線上燒錄。In addition, the present invention discloses an online burning system without a target end, and the system comprises: a target end, a burning device and a transmission line. The target end has a power supply and a programmable controller; the programming device includes a device power supply and a control unit, the device power supply is used to provide power required for the programming device, and the control unit is configured to receive and compile the logic program. And generating a programming signal; and the transmission line is configured to simultaneously connect the target end and the programming device, the transmission line is embedded with the optocoupler unit for receiving the programming signal, and the programming signal is converted to the programmable controller for online programming.

至於本發明之無對目標端供電的線上燒錄方法,其步驟包括:在目標端提供有供應電源及可程式控制器;在燒錄裝置提供有裝置電源;所述燒錄裝置接收並編譯邏輯程序以產生編程信號;所述燒錄裝置將編程信號傳送至光耦單元,使光耦單元將編程信號轉換至可程式控制器以進行線上燒錄。As for the online burning method for the non-target-side power supply of the present invention, the steps include: providing a power supply and a programmable controller at the target end; providing a device power supply in the programming device; and receiving and compiling the logic by the programming device The program generates a programming signal; the programming device transmits the programming signal to the optocoupler unit, causing the optocoupler unit to convert the programming signal to the programmable controller for online programming.

本發明所揭露之裝置、系統與方法如上,與先前技術之間的差異在於本發明是透過目標端對可程式控制器供電,燒錄裝置無須供電給目標端,並且以光耦單元電氣隔離相互連接的目標端與燒錄裝置,使燒錄裝置產生的編程信號經光耦單元轉換至可程式 控制器以進行線上燒錄。The apparatus, system and method disclosed in the present invention are as above, and the difference from the prior art is that the present invention supplies power to the programmable controller through the target end, the programming device does not need to supply power to the target end, and the optical coupling unit electrically isolates each other. Connected target end and programming device, so that the programming signal generated by the programming device is converted to programmable by the optocoupler unit The controller is used for online programming.

透過上述的技術手段,本發明可以達成提高線上燒錄的便利性之技術功效。Through the above technical means, the present invention can achieve the technical effect of improving the convenience of online burning.

以下將配合圖式及實施例來詳細說明本發明之實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The embodiments of the present invention will be described in detail below with reference to the drawings and embodiments, so that the application of the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.

在說明本發明所揭露之無對目標端供電的線上燒錄裝置、系統及其方法之前,先對本發明所自行定義的名詞作說明,本發明所述的目標端是具有供應電源及可程式控制器的裝置,用以供燒錄裝置進行線上燒錄,而所謂線上燒錄是指無須將可程式控制器取下放在燒錄裝置,即可直接對可程式控制器進行抹除、寫入的操作。所述邏輯程序則是指使用者欲設定可程式控制器進行相應控制而撰寫的程序,至於編程信號則是將此邏輯程序進行編譯後所產生的電子信號,在實際實施上,編譯產生的編程信號更依據不同傳輸介面及傳輸協定(如:UART、IIC)進行調整。Before describing the online programming device, system and method for power supply without the target end of the present invention, the nouns defined by the present invention are described. The target end of the present invention has a power supply and programmable control. The device is used for online programming of the programming device. The so-called online programming means that the programmable controller can be erased and written directly without removing the programmable controller and placing it in the programming device. operating. The logic program refers to a program that the user wants to set the programmable controller to perform corresponding control, and the programming signal is an electronic signal generated by compiling the logic program. In actual implementation, the compiled programming is performed. The signal is adjusted according to different transmission interfaces and transmission protocols (such as UART, IIC).

以下配合圖式對本發明無對目標端供電的線上燒錄裝置、系統及其方法作進一步說明,請參閱「第1圖」,「第1圖」為本發明無對目標端供電的線上燒錄裝置之裝置方塊圖,其應用在具有供應電源110及可程式控制器120的目標端100,此燒錄裝置200包含:裝置電源210、控制單元220及光耦單元230。其中,裝置電源210用以提供燒錄裝置200所需的電源。The following is a description of the online burning device, the system and the method for the power supply of the present invention without reference to the drawings. Please refer to "FIG. 1", and "FIG. 1" is an online burning without power supply to the target end. The device block diagram of the device is applied to a target end 100 having a power supply 110 and a programmable controller 120. The programming device 200 includes a device power supply 210, a control unit 220, and an optocoupler unit 230. The device power source 210 is used to provide power required for the programming device 200.

控制單元220用以接收使用者所輸入的邏輯程序,並且將此邏輯程序進行編譯後產生相應的編程信號。由於邏輯程序及編程 信號已於前述自行定義的名詞中作說明,故在此不再多作贅述。The control unit 220 is configured to receive a logic program input by the user, and compile the logic program to generate a corresponding programming signal. Due to logic programming and programming The signal has been described in the above-mentioned self-defined nouns, so no further details are given here.

光耦單元230的一端電性連接控制單元220及裝置電源210,光耦單元230的另一端則電性連接可程式控制器120及供應電源110,用以將編程信號經此光耦單元230轉換至可程式控制器120以進行線上燒錄。所述光耦單元230是利用光作為媒介傳輸電信號,其主要由光發射器和光偵測器組成,兩者之間不會有電氣或實體連接(也稱為實體隔離),在實際實施上,光耦單元230包含光電晶體(photo transistor)、光達靈頓電晶體(photo Darlington transistor)、光雙向閘流體(photo TRIAC)或光電積體電路(photo IC)。換句話說,光耦單元230能夠將接收到的電信號轉換成光信號,再將光信號轉換成電信號,由於沒有電氣或實體連接,所以其具有信號單向性、優良的電絕緣特性及抗干擾特性。特別要說明的是,光耦單元230除了光發射器及光偵測器之外,更可包含信號放大器用以放大輸出,在信號傳輸上至少能將編程信號的傳輸距離增加一倍以上。另外,光耦單元230亦可包含第一傳輸線及第二傳輸線,所述第一傳輸線及第二傳輸線至少具有電源線及信號線,其中第一傳輸線的電源線與裝置電源210電性連接;第一傳輸線的信號線與控制單元220電性連接;第二傳輸線的電源線與目標端100的供應電源110電性連接;第二傳輸線的信號線與可程式控制器120電性連接。One end of the optocoupler unit 230 is electrically connected to the control unit 220 and the device power supply 210. The other end of the optocoupler unit 230 is electrically connected to the programmable controller 120 and the power supply 110 for converting the programming signal through the optocoupler unit 230. To the programmable controller 120 for online programming. The optocoupler unit 230 uses light as a medium to transmit an electrical signal, which is mainly composed of a light emitter and a photodetector, and there is no electrical or physical connection (also referred to as physical isolation) between the two, in practical implementation. The photocoupler unit 230 includes a photo transistor, a photo Darlington transistor, a photo TRIAC, or a photo IC. In other words, the optocoupler unit 230 can convert the received electrical signal into an optical signal, and then convert the optical signal into an electrical signal. Since there is no electrical or physical connection, it has signal unidirectionality, excellent electrical insulation properties, and Anti-interference characteristics. In particular, the optocoupler unit 230 may include a signal amplifier for amplifying the output in addition to the optical transmitter and the photodetector, and at least the transmission distance of the programming signal may be more than doubled in signal transmission. In addition, the optocoupler unit 230 may further include a first transmission line and a second transmission line, where the first transmission line and the second transmission line have at least a power line and a signal line, wherein the power line of the first transmission line is electrically connected to the device power source 210; The signal line of a transmission line is electrically connected to the control unit 220; the power line of the second transmission line is electrically connected to the power supply 110 of the target end 100; and the signal line of the second transmission line is electrically connected to the programmable controller 120.

請參閱「第2圖」,「第2圖」為本發明無對目標端供電的線上燒錄系統之系統方塊圖,此系統包含:目標端100、燒錄裝置200及傳輸線300。其中,目標端100具有供應電源110及可程式控制器120。所述供應電源110即為目標端100所使用的電源,而 可程式控制器120則是連接至電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory,EEPROM)以進行抹除、寫入等電氣操作的元件。Please refer to FIG. 2, which is a system block diagram of an online burning system without power supply to the target end. The system includes a target end 100, a burning device 200 and a transmission line 300. The target end 100 has a power supply 110 and a programmable controller 120. The power supply 110 is the power source used by the target end 100, and The programmable controller 120 is an element that is connected to an Electrically-Erasable Programmable Read-Only Memory (EEPROM) for electrical operations such as erasing, writing, and the like.

燒錄裝置200包含:裝置電源210及控制單元220。所述裝置電源210為提供燒錄裝置200所需的電源,控制單元222能夠接收使用者撰寫用以控制可程式控制器212的原始碼(Source Code),並且進行編譯以產生編程信號。The programming device 200 includes a device power source 210 and a control unit 220. The device power source 210 is a power source required to provide the programming device 200, and the control unit 222 can receive a source code written by the user to control the programmable controller 212 and compile to generate a programming signal.

傳輸線300用以同時連接目標端100及燒錄裝置200,所述傳輸線300嵌入有光耦單元301用以接收編程信號,並且將此編程信號轉換至可程式控制器120以進行線上燒錄。所述轉換是先將電信號的編程信號轉換成光信號,再將此光信號轉換成電信號。其目的在於使目標端100與燒錄裝置200電氣隔離且延長信號傳輸距離,甚至在光耦單元301的輸入端(電信號轉光信號)及輸出端(光信號轉電信號)電性連接有不同電平的電源(如:供應電源110及裝置電源210)時,可以使轉換前後的編程信號具有不同的電平(Level)。The transmission line 300 is used for simultaneously connecting the target end 100 and the programming device 200. The transmission line 300 is embedded with the optocoupler unit 301 for receiving a programming signal, and the programming signal is converted to the programmable controller 120 for online programming. The conversion is to first convert the programming signal of the electrical signal into an optical signal, and then convert the optical signal into an electrical signal. The purpose is to electrically isolate the target end 100 from the programming device 200 and extend the signal transmission distance, even at the input end (electric signal to light signal) and the output end (optical signal to electric signal) of the optocoupler unit 301. When power supplies of different levels (such as power supply 110 and device power supply 210), the programming signals before and after conversion can have different levels.

承上所述,在實際實施上,光耦單元310可封裝成一個光電積體電路(photo IC),此光電積體電路中用以將電信號轉換成光信號的一端將與燒錄裝置200電性連接,而用以將光信號轉換成電信號的一端則與目標端100電性連接,稍後將配合圖式詳細說明其連接方式。As described above, in actual implementation, the optocoupler unit 310 can be packaged into a photo IC (photo IC), and one end of the optoelectronic integrated circuit for converting an electrical signal into an optical signal will be associated with the programming device 200. The electrical connection is connected, and the end for converting the optical signal into an electrical signal is electrically connected to the target end 100, and the connection manner will be described later in detail with reference to the drawings.

接著,請參閱「第3圖」,「第3圖」為本發明無對目標端供電的線上燒錄方法之方法流程圖,其步驟包括:在目標端100提供供應電源110及可程式控制器120(步驟310);在燒錄裝置200 提供裝置電源210(步驟320);所述燒錄裝置200接收並編譯邏輯程序以產生編程信號(步驟330);所述燒錄裝置200將編程信號傳送至光耦單元(230、301),使光耦單元(230、301)將編程信號轉換至可程式控制器120以進行線上燒錄(步驟340)。透過上述步驟,即可透過目標端100對可程式控制器120供電,燒錄裝置200無須供電給目標端100,並且以光耦單元(230、301)電氣隔離相互連接的目標端100與燒錄裝置200,使燒錄裝置200產生的編程信號經光耦單元(230、301)轉換至可程式控制器120以進行線上燒錄。Next, please refer to "Fig. 3", which is a flowchart of a method for programming an online programming method without power supply to the target end, and the steps include: providing a power supply 110 and a programmable controller at the target end 100 120 (step 310); in the burning device 200 Providing a device power supply 210 (step 320); the programming device 200 receives and compiles a logic program to generate a programming signal (step 330); the programming device 200 transmits the programming signal to the optocoupler unit (230, 301) such that The optocoupler unit (230, 301) converts the programming signal to the programmable controller 120 for online programming (step 340). Through the above steps, the programmable controller 120 can be powered by the target terminal 100. The programming device 200 does not need to supply power to the target terminal 100, and the optically coupled units (230, 301) electrically isolate the connected target terminals 100 and burn. The device 200 causes the programming signal generated by the programming device 200 to be converted to the programmable controller 120 via the optocoupler unit (230, 301) for online programming.

在實際實施上,步驟340之後,更可將光耦單元(230、301)的一端與裝置電源210電性連接,以及將光耦單元(230、301)的另一端與供應電源110電性連接,用以使轉換前的編程信號與轉換後的編程信號具有不同的電平(步驟350)。換句話說,光耦單元(230、301)轉換後的編程信號的電平(Level)與可程式控制器120的電平相同,而與轉換前的編程信號只存在邏輯高低的關係。In an actual implementation, after step 340, one end of the optocoupler unit (230, 301) is electrically connected to the device power supply 210, and the other end of the optocoupler unit (230, 301) is electrically connected to the supply power source 110. The pre-conversion programming signal has a different level than the converted programming signal (step 350). In other words, the level of the programmed signal converted by the optocoupler unit (230, 301) is the same as the level of the programmable controller 120, and has only a logic high or low relationship with the programming signal before the conversion.

以下配合「第4圖」及「第5圖」以實施例的方式進行如下說明,請先參閱「第4圖」,「第4圖」為應用本發明的控制單元及光耦單元電性連接至可程式控制器的第一實施例之示意圖。前面提到,光耦單元230的一端電性連接控制單元220及裝置電源210,光耦單元230的另一端電性連接可程式控制器120及目標端100的供應電源110,用以將編程信號經光耦單元230轉換至可程式控制器120進行線上燒錄。在實際實施上,裝置電源210及供應電源110可以是不同的電平,如此一來,經光耦單元230轉換 前的編程信號與轉換後的編程信號即可具有不同的電平。The following is a description of the following embodiments in conjunction with "4" and "5". Please refer to "4" and "4" for the control unit and optocoupler unit to which the present invention is applied. A schematic diagram of a first embodiment of a programmable controller. As mentioned above, one end of the optocoupler unit 230 is electrically connected to the control unit 220 and the device power supply 210. The other end of the optocoupler unit 230 is electrically connected to the programmable controller 120 and the supply power source 110 of the target end 100 for programming signals. The optocoupler unit 230 is switched to the programmable controller 120 for online programming. In actual implementation, the device power supply 210 and the power supply 110 may be at different levels, and thus converted by the optocoupler unit 230. The previous programming signal and the converted programming signal can have different levels.

請參閱「第5圖」,「第5圖」為應用本發明的控制單元及光耦單元電性連接至可程式控制器的第二實施例之示意圖。前面提到,傳輸線300用以連接目標端100及燒錄裝置200,所述傳輸線300嵌入有光耦單元301用以接收編程信號,並且將編程信號由電信號轉換成光信號後,再將光信號轉換成電信號並傳送至目標端100的可程式控制器120,如:電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory),用以進行線上燒錄。由於編程信號經過光耦單元301的轉換,所以信號傳輸距離增加一倍,舉例來說,假設信號傳輸距離為“70公分”,其代表使用未嵌入光耦單元301的傳輸線電性連接目標端100及燒錄裝置200時,最大的傳輸線長度僅能至“70公分”,超過則編程信號將衰減至無法辨識的程度;當使用嵌入有光耦單元301的傳輸線300時,從燒錄裝置200至光耦單元301可為“70公分”,再加上光耦單元301至目標端100同樣為“70公分”,故信號傳輸距離增加一倍。在實際實施上,可再配合信號放大器(圖中未示)增加信號傳輸距離,由於利用信號放大器增加信號傳輸距離為習知技術,故在此不再多作贅述。Please refer to FIG. 5, which is a schematic diagram of a second embodiment in which a control unit and an optocoupler unit to which the present invention is applied is electrically connected to a programmable controller. As mentioned above, the transmission line 300 is used to connect the target end 100 and the programming device 200. The transmission line 300 is embedded with the optocoupler unit 301 for receiving a programming signal, and converting the programming signal from an electrical signal into an optical signal. The signal is converted into an electrical signal and transmitted to the programmable controller 120 of the target terminal 100, such as an Electrically-Erasable Programmable Read-Only Memory for online programming. Since the programming signal is converted by the optocoupler unit 301, the signal transmission distance is doubled. For example, the signal transmission distance is assumed to be "70 cm", which represents the use of the transmission line not embedded in the optocoupler unit 301 to electrically connect the target end 100. When the device 200 is programmed, the maximum transmission line length can only be "70 cm", and if it exceeds, the programming signal will be attenuated to an unrecognizable extent; when the transmission line 300 in which the optocoupler unit 301 is embedded is used, from the programming device 200 to The optocoupler unit 301 can be "70 cm", and the optocoupler unit 301 to the target end 100 are also "70 cm", so the signal transmission distance is doubled. In actual implementation, the signal transmission distance can be increased by using a signal amplifier (not shown). Since the signal transmission distance is increased by using a signal amplifier, it will not be repeated here.

綜上所述,可知本發明與先前技術之間的差異在於透過目標端100對可程式控制器120供電,燒錄裝置200無須供電給目標端100,並且以光耦單元(230、301)電氣隔離相互連接的目標端100與燒錄裝置200,使燒錄裝置200產生的編程信號經光耦單元(230、301)轉換至可程式控制器120以進行線上燒錄,藉由此一技術手段可以解決先前技術所存在的問題,進而達成提高線上 燒錄的便利性之技術功效。In summary, it can be seen that the difference between the present invention and the prior art is that the programmable controller 120 is powered by the target terminal 100, the programming device 200 does not need to supply power to the target terminal 100, and is electrically coupled to the optocoupler unit (230, 301). The interconnected target terminal 100 and the programming device 200 are isolated, and the programming signal generated by the programming device 200 is converted to the programmable controller 120 via the optocoupler unit (230, 301) for online programming, thereby using a technical means. Can solve the problems of the prior art, and then achieve the improvement online The technical effect of the convenience of burning.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。While the present invention has been described above in the foregoing embodiments, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of patent protection shall be subject to the definition of the scope of the patent application attached to this specification.

100‧‧‧目標端100‧‧‧ Target

110‧‧‧供應電源110‧‧‧Power supply

120‧‧‧可程式控制器120‧‧‧programmable controller

200‧‧‧燒錄裝置200‧‧‧ burning device

210‧‧‧裝置電源210‧‧‧Device power supply

220‧‧‧控制單元220‧‧‧Control unit

230‧‧‧光耦單元230‧‧‧optical coupling unit

300‧‧‧傳輸線300‧‧‧ transmission line

301‧‧‧光耦單元301‧‧‧optocoupler unit

步驟310‧‧‧在目標端提供一供應電源及一可程式控制器Step 310‧‧‧ Provide a power supply and a programmable controller at the target end

步驟320‧‧‧在燒錄裝置提供一裝置電源Step 320‧‧‧ Provide a device power supply in the burning device

步驟330‧‧‧所述燒錄裝置接收並編譯一邏輯程序以產生一編程信號Step 330‧‧‧ The programming device receives and compiles a logic program to generate a programming signal

步驟340‧‧‧所述燒錄裝置將該編程信號傳送至一光耦單元,使該光耦單元將該編程信號轉換至該可程式控制器以進行線上燒錄Step 340‧‧‧ The programming device transmits the programming signal to an optocoupler unit, so that the optocoupler unit converts the programming signal to the programmable controller for online programming

步驟350‧‧‧將該光耦單元的一端與該裝置電源電性連接,以及將該光耦單元的另一端與該供應電源電性連接,用以使轉換前的該編程信號與轉換後的該編程信號具有不同的電平Step 350‧‧‧ electrically connecting one end of the optocoupler unit to the power supply of the device, and electrically connecting the other end of the optocoupler unit to the supply power source for the programming signal before conversion and the converted The programming signal has different levels

第1圖為本發明無對目標端供電的線上燒錄裝置之裝置方塊圖。1 is a block diagram of an apparatus for an online burning device without power supply to a target end according to the present invention.

第2圖為本發明無對目標端供電的線上燒錄系統之系統方塊圖。Figure 2 is a block diagram of the system of the online burning system without power supply to the target end of the present invention.

第3圖為本發明無對目標端供電的線上燒錄方法之方法流程圖。FIG. 3 is a flow chart of a method for the online burning method without power supply to the target end according to the present invention.

第4圖為應用本發明的控制單元及光耦單元電性連接至可程式控制器的第一實施例之示意圖。4 is a schematic diagram of a first embodiment in which a control unit and an optocoupler unit of the present invention are electrically connected to a programmable controller.

第5圖為應用本發明的控制單元及光耦單元電性連接至可程式控制器的第二實施例之示意圖。Figure 5 is a schematic diagram of a second embodiment of a control unit and an optocoupler unit to which the present invention is applied to a programmable controller.

100‧‧‧目標端100‧‧‧ Target

110‧‧‧供應電源110‧‧‧Power supply

120‧‧‧可程式控制器120‧‧‧programmable controller

200‧‧‧燒錄裝置200‧‧‧ burning device

210‧‧‧裝置電源210‧‧‧Device power supply

220‧‧‧控制單元220‧‧‧Control unit

230‧‧‧光耦單元230‧‧‧optical coupling unit

Claims (10)

一種無對目標端供電的線上燒錄裝置,應用在具有供應電源及一可程式控制器的目標端,該裝置包含:一裝置電源,用以提供該裝置所需的電源;一控制單元,用以接收並編譯一邏輯程序以產生一編程信號;及一光耦單元,該光耦單元的一端電性連接該控制單元及該裝置電源,該光耦單元的另一端電性連接該可程式控制器及該目標端的供應電源,用以將該編程信號經該光耦單元轉換至該可程式控制器以進行線上燒錄。 An online programming device for powering a target end is applied to a target end having a power supply and a programmable controller, the device comprising: a device power supply for providing power required by the device; and a control unit for Receiving and compiling a logic program to generate a programming signal; and an optocoupler unit, one end of the optocoupler unit is electrically connected to the control unit and the device power supply, and the other end of the optocoupler unit is electrically connected to the programmable control And a supply power of the target end for converting the programming signal to the programmable controller via the optocoupler unit for online programming. 如申請專利範圍第1項所述之無對目標端供電的線上燒錄裝置,其中該光耦單元包含一第一傳輸線及一第二傳輸線,該第一傳輸線及該第二傳輸線至少包含電源線及信號線,其中該第一傳輸線的電源線與所述裝置電源電性連接,該第一傳輸線的信號線與該控制單元電性連接,該第二傳輸線的電源線與目標端的供應電源電性連接,該第二傳輸線的信號線與該可程式控制器電性連接。 The device of claim 1 , wherein the optocoupler unit comprises a first transmission line and a second transmission line, and the first transmission line and the second transmission line at least comprise a power line. And a signal line, wherein the power line of the first transmission line is electrically connected to the power supply of the device, and the signal line of the first transmission line is electrically connected to the control unit, and the power supply line of the second transmission line and the power supply of the target end are electrically connected. Connected, the signal line of the second transmission line is electrically connected to the programmable controller. 如申請專利範圍第1項所述之無對目標端供電的線上燒錄裝置,其中該光耦單元包含光電晶體(photo transistor)、光達靈頓電晶體(photo Darlington transistor)、光雙向閘流體(photo TRIAC)或光電積體電路(photo IC)。 The in-line programming device for power supply without a target end according to claim 1, wherein the optocoupler unit comprises a photo transistor, a photo Darlington transistor, and a light bidirectional thyristor. (photo TRIAC) or optoelectronic integrated circuit (photo IC). 一種無對目標端供電的線上燒錄系統,該系統包含:一目標端,該目標端具有供應電源及一可程式控制器;一燒錄裝置,該燒錄裝置包含: 一裝置電源,用以提供該裝置所需的電源;及一控制單元,用以接收並編譯一邏輯程序以產生一編程信號;及一傳輸線,用以同時連接該目標端及該燒錄裝置,所述傳輸線嵌入有一光耦單元用以接收該編程信號,並且將該編程信號轉換至該可程式控制器以進行線上燒錄。 An online burning system without a power supply to a target end, the system comprising: a target end, the target end having a power supply and a programmable controller; and a burning device, the burning device comprising: a device power supply for providing power required by the device; and a control unit for receiving and compiling a logic program to generate a programming signal; and a transmission line for simultaneously connecting the target terminal and the programming device, The transmission line is embedded with an optocoupler unit for receiving the programming signal, and the programming signal is converted to the programmable controller for online programming. 如申請專利範圍第4項所述之線上燒錄系統,其中該可程式控制器連接至電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory)。 The online programming system of claim 4, wherein the programmable controller is connected to an Electrically-Erasable Programmable Read-Only Memory. 如申請專利範圍第4項所述之線上燒錄系統,其中該傳輸線透過該光耦單元電氣隔離該目標端及該燒錄裝置,該傳輸線包含信號線及電源線。 The online burning system of claim 4, wherein the transmission line electrically isolates the target end and the burning device through the optocoupler unit, the transmission line comprising a signal line and a power line. 如申請專利範圍第4項所述之線上燒錄系統,其中該光耦單元包含光電晶體(photo transistor)、光達靈頓電晶體(photo Darlington transistor)、光雙向閘流體(photo TRIAC)或光電積體電路(photo IC)。 The online burning system of claim 4, wherein the optocoupler unit comprises a photo transistor, a photo Darlington transistor, a photo TRIAC or a photoelectric Integrated circuit (photo IC). 一種無對目標端供電的線上燒錄方法,其步驟包括:在目標端提供一供應電源及一可程式控制器;在燒錄裝置提供一裝置電源;所述燒錄裝置接收並編譯一邏輯程序以產生一編程信號;及所述燒錄裝置將該編程信號傳送至一光耦單元,使該光耦單元將該編程信號轉換至該可程式控制器以進行線上燒錄。 An online burning method without power supply to a target end, the steps comprising: providing a power supply and a programmable controller at a target end; providing a device power supply in the programming device; and receiving and compiling a logic program by the programming device To generate a programming signal; and the programming device transmits the programming signal to an optocoupler unit, causing the optocoupler unit to convert the programming signal to the programmable controller for online programming. 如申請專利範圍第8項所述之線上燒錄方法,其中該方法更包含將該光耦單元的一端與該裝置電源電性連接,以及將該光耦單元的另一端與該供應電源電性連接,用以使轉換前的該編程信號與轉換後的該編程信號具有不同的電平的步驟。 The online burning method of claim 8, wherein the method further comprises electrically connecting one end of the optocoupler unit to the power source of the device, and electrically connecting the other end of the optocoupler unit to the power supply of the device. A step of connecting the programming signal before conversion to a different level from the converted programming signal. 如申請專利範圍第8項所述之線上燒錄方法,其中該光耦單元電氣隔離該目標端及該燒錄裝置。 The online burning method of claim 8, wherein the optocoupler unit electrically isolates the target end and the burning device.
TW101136466A 2012-10-03 2012-10-03 Online programmer device without power supply for target side, system and method thereof TWI480880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101136466A TWI480880B (en) 2012-10-03 2012-10-03 Online programmer device without power supply for target side, system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101136466A TWI480880B (en) 2012-10-03 2012-10-03 Online programmer device without power supply for target side, system and method thereof

Publications (2)

Publication Number Publication Date
TW201415471A TW201415471A (en) 2014-04-16
TWI480880B true TWI480880B (en) 2015-04-11

Family

ID=53441535

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101136466A TWI480880B (en) 2012-10-03 2012-10-03 Online programmer device without power supply for target side, system and method thereof

Country Status (1)

Country Link
TW (1) TWI480880B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM259299U (en) * 2004-03-31 2005-03-11 Dung-Liang Shiue On-line burning (ISP) apparatus having automatically switching connection function of burned pins
US7454556B1 (en) * 2005-02-02 2008-11-18 Xilinx, Inc. Method to program non-JTAG attached devices or memories using a PLD and its associated JTAG interface
TWM378440U (en) * 2009-12-17 2010-04-11 Askey Computer Corp Serial number burner
WO2011017624A2 (en) * 2009-08-06 2011-02-10 Data I/O Corporation Data programming control system with secure data management and method of operation thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM259299U (en) * 2004-03-31 2005-03-11 Dung-Liang Shiue On-line burning (ISP) apparatus having automatically switching connection function of burned pins
US7454556B1 (en) * 2005-02-02 2008-11-18 Xilinx, Inc. Method to program non-JTAG attached devices or memories using a PLD and its associated JTAG interface
WO2011017624A2 (en) * 2009-08-06 2011-02-10 Data I/O Corporation Data programming control system with secure data management and method of operation thereof
TWM378440U (en) * 2009-12-17 2010-04-11 Askey Computer Corp Serial number burner

Also Published As

Publication number Publication date
TW201415471A (en) 2014-04-16

Similar Documents

Publication Publication Date Title
TW201627862A (en) Debug circuit, debug request circuit and debug system
US20120106949A1 (en) Optical Transceiver Module, Optical Transmission Device, and Optical Transmission Method
US10484100B2 (en) Optical module, optical module system and monitor method using the same
TW201610628A (en) Programming control method for servo fan and programming control device thereof
CN203250166U (en) Isolating device and programming unit having same
TWI480880B (en) Online programmer device without power supply for target side, system and method thereof
CN110365411A (en) an optical module
CN105915898B (en) The AccessPort device and its system of a kind of television set
CN105955907A (en) Circuit and method for configuring pin of USB TYPE-C dedicated chip
CN105527520B (en) Quick charger test macro and test method
US8290372B2 (en) Optical transceiver, its communication method, and communication system
KR100770856B1 (en) Apparatus and method for performing multi-function through single port in mobile terminal
JP2019509582A (en) Peripheral device, system and method including said peripheral device
CN103310618A (en) Household appliance control system based on Android and Arduino
CN103677859A (en) On-line programming device, system and method supplying no power to target end
CN205404694U (en) Quick charger test system
CN104679123A (en) Mainboard and data burning method thereof
CN110809908B (en) Control system and control method
CN110809896B (en) Adapter and control method of adapter
CN103475421B (en) A SFF2X10 optical transceiver module
CN210377450U (en) Isolated communication circuit and induction cooker
CN216527147U (en) Remote debugging device applied to embedded product
TWI674744B (en) Four-External-Wire Motor Control System and Data Setting Method and Wirings Therefor
TWI536756B (en) Optical fiber transmission system
CN204808190U (en) Link termination

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees