TWI874164B - Device control system for smart clothing - Google Patents
Device control system for smart clothing Download PDFInfo
- Publication number
- TWI874164B TWI874164B TW113109249A TW113109249A TWI874164B TW I874164 B TWI874164 B TW I874164B TW 113109249 A TW113109249 A TW 113109249A TW 113109249 A TW113109249 A TW 113109249A TW I874164 B TWI874164 B TW I874164B
- Authority
- TW
- Taiwan
- Prior art keywords
- sensing
- electromyographic
- information
- discharge
- inertial
- Prior art date
Links
Landscapes
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
一種應用於智能服飾之裝置控制系統,係包括一服飾本體、一設置於該服飾本體上之主控裝置及感測裝置,該感測裝置係包含有慣性感測器、肌電感測器及肌電刺激裝置,該感測裝置係能夠產生出一慣性感測資訊及一肌電感測資訊,並合併為一總感測資訊,再以有線連接或是無線連接傳送給該主控裝置,該主控裝置能夠持續傳送一封包資訊給該感測裝置,並依據放電指令啟動該肌電刺激裝置進行放電,該感測裝置判斷若是持續數個週期未接收到該放電指令,則強制停止該肌電刺激裝置之作動。A device control system applied to smart clothing includes a clothing body, a main control device and a sensing device arranged on the clothing body. The sensing device includes an inertial sensor, an electromyographic sensor and an electromyographic stimulation device. The sensing device can generate an inertial sensing information and an electromyographic sensing information, and merge them into a total sensing information, which is then transmitted to the main control device via a wired connection or a wireless connection. The main control device can continuously transmit a packet of information to the sensing device, and activate the electromyographic stimulation device to discharge according to a discharge instruction. If the sensing device determines that the discharge instruction has not been received for several consecutive cycles, the electromyographic stimulation device is forced to stop its operation.
Description
本發明是有關一種應用於智能服飾之裝置控制系統,特別是一種能夠解決應用過程之資料壅塞掉包問題、過多雜訊、肌電放電無法停止等問題之裝置控制系統。The present invention relates to a device control system applied to smart clothing, and in particular to a device control system that can solve problems such as data congestion and packet loss, excessive noise, and inability to stop myoelectric discharge during the application process.
在現代生活忙碌的環境下,人們面對著各種龐大的壓力,間接導致了生理與心理上健康的問題,因此運動健身的觀念,則成為紓解壓力的重要管道。In the busy environment of modern life, people face various huge pressures, which indirectly lead to physical and mental health problems. Therefore, the concept of exercise and fitness has become an important channel to relieve stress.
為了更有效的運動,有相當多的職業運動員在訓練時會搭配使用電子運動器材,將運動時的生理狀態記錄下來,以提供一種現代科學化的訓練,提升運動的效率,亦進一步了解自己的身體狀況。In order to exercise more effectively, many professional athletes use electronic sports equipment during training to record their physiological status during exercise, providing a modern and scientific training method to improve exercise efficiency and further understand their physical condition.
為了方便起見,近年來許多業者開發出了於服飾上結合感測裝置的產品,而感測裝置與主控裝置本身的連接,一部分是使用導電紗線一類的材料(更有的是透過無線傳輸一類的技術,例如藍芽),用以將感測原始數據進行回傳至主控裝置,然而導電紗線信號衰減量大,故傳輸速度限制在 400 Kbps,因此當多個感測裝置同時運作時,有限的通信頻寬下,將會使得傳送多個感測原始數據有資料壅塞掉包的情況發生。For the sake of convenience, in recent years, many companies have developed products that combine sensing devices with clothing. The connection between the sensing device and the main control device itself is partly made of materials such as conductive yarn (sometimes through wireless transmission technologies such as Bluetooth) to transmit the sensing raw data back to the main control device. However, the conductive yarn has a large signal attenuation, so the transmission speed is limited to 400 Kbps. Therefore, when multiple sensing devices are operating at the same time, the limited communication bandwidth will cause data congestion and packet loss when transmitting multiple sensing raw data.
除了上述問題之外,由於感測裝置有些會直接與皮膚接觸,然而當感測裝置與皮膚間產生滑動時,則會產生過多的雜訊,這對於量測的準確性會產生很大的問題。In addition to the above problems, since some sensing devices are in direct contact with the skin, when there is slippage between the sensing device and the skin, excessive noise will be generated, which will cause great problems for the accuracy of the measurement.
除了上述問題之外,若是當傳輸發生中斷時,因為進行放電的控制大多是接收下一個指令以進行判斷作動,然而若是一旦斷電,則會因為無法接收指令,而使得前一動作無法被中斷,這是非常危險的,嚴重的話,將會使得使用人員受到持續性的電擊而受傷。In addition to the above problems, if the transmission is interrupted, the discharge control is mostly to receive the next instruction to make a judgment and action. However, if the power is cut off, the previous action cannot be interrupted because the instruction cannot be received. This is very dangerous. In serious cases, the user will be injured by continuous electric shock.
因此,針對上述三個問題,本案對感測訊號進行濾波處理以克服雜訊問題,並進行邊緣運算,以將感測原始數據先於感測裝置進行運算為特定資訊之後,再於資訊統整後再傳送至中控裝置,以避免大量感測原始數據直接湧入中控裝置;另外,本案更對放電機制進行改善,當傳輸發生中斷時,將能夠自行判斷進行斷電,以避免人員受到持續性的電擊而受傷,如此本發明應為一最佳解決方案。Therefore, in order to solve the above three problems, this case filters the sensing signal to overcome the noise problem, and performs edge operations to calculate the sensing raw data into specific information before the sensing device, and then transmits the information to the central control device after the information is integrated, so as to avoid a large amount of sensing raw data directly flooding into the central control device; in addition, this case also improves the discharge mechanism, and when the transmission is interrupted, it will be able to automatically judge and cut off the power to avoid continuous electric shock and injury to personnel. Therefore, the present invention should be an optimal solution.
本發明應用於智能服飾之裝置控制系統,係包括一服飾本體;一主控裝置,係設置於該服飾本體上,用以接收一總感測資訊;多個感測裝置,係設置於該服飾本體上,該感測裝置係與該主控裝置進行有線或是無線連接,該感測裝置係能夠接收一慣性感測原始數據及一肌電感測原始數據,該感測裝置能夠將該慣性感測原始數據進行轉換出一慣性感測資訊,該感測裝置能夠將該肌電感測原始數據進行濾波處理後以取得一肌電感測資訊,該感測裝置更能夠將該慣性感測資訊及該肌電感測資訊進行合併為該總感測資訊,並將該總感測資訊以有線連接或是無線連接傳送給該主控裝置;至少一個慣性感測器,係與該感測裝置電性連接,用以感測取得該慣性感測原始數據;至少一個肌電感測器,係與該感測裝置電性連接,用以感測取得該肌電感測原始數據;至少一個肌電刺激裝置,係與該感測裝置電性連接,用以進行放電以提供肌肉電刺激;以及其中該主控裝置能夠持續傳送一封包資訊給該感測裝置,該封包資訊若是包含有一放電指令,該感測裝置係能夠依據該放電指令啟動該肌電刺激裝置進行放電;其中該感測裝置啟動該肌電刺激裝置進行放電之後,該感測裝置判斷若是持續數個週期未接收到該放電指令,該感測裝置係強制停止該肌電刺激裝置之作動。The present invention is applied to a device control system for smart clothing, which includes a clothing body; a main control device, which is arranged on the clothing body and is used to receive a total sensing information; a plurality of sensing devices, which are arranged on the clothing body and are connected to the main control device by wire or wireless, and the sensing devices are capable of receiving an inertial sensing raw data and an electromyographic sensing raw data. The sensing device can convert the inertial sensing raw data into inertial sensing information, the sensing device can filter the electromyographic sensing raw data to obtain electromyographic sensing information, the sensing device can further combine the inertial sensing information and the electromyographic sensing information into the total sensing information, and transmit the total sensing information to the main control device via a wired connection or a wireless connection; At least one inertial sensor is electrically connected to the sensing device to sense and obtain the original inertial sensing data; at least one electromyographic sensor is electrically connected to the sensing device to sense and obtain the original electromyographic sensing data; at least one electromyographic stimulation device is electrically connected to the sensing device to discharge to provide muscle electrical stimulation; and wherein the main control device can continuously A packet of information is sent to the sensing device. If the packet of information includes a discharge instruction, the sensing device can activate the electromyographic stimulation device to discharge according to the discharge instruction. After the sensing device activates the electromyographic stimulation device to discharge, if the sensing device determines that the discharge instruction has not been received for several consecutive cycles, the sensing device will force the electromyographic stimulation device to stop operating.
更具體的說,所述感測裝置係與該主控裝置進行有線連接,該主控裝置與該感測裝置係透過多個排線與多個串列通訊匯流排進行連接。More specifically, the sensing device is wiredly connected to the main control device, and the main control device and the sensing device are connected via multiple cables and multiple serial communication buses.
更具體的說,所述感測裝置係與該主控裝置進行無線連接,該無線連接係透過藍芽傳輸技術進行連接。More specifically, the sensing device is wirelessly connected to the main control device, and the wireless connection is carried out through Bluetooth transmission technology.
更具體的說,所述慣性感測原始數據係為三軸角慣性感測原始數據及三軸加慣性感測原始數據,該感測裝置能夠將該慣性感測原始數據轉換出該慣性感測資訊,該慣性感測資訊係為歐拉角、四元數、線性加速度、重力資訊、磁力資訊之其中一種或是一種以上。More specifically, the inertial sensing raw data is three-axis angular inertial sensing raw data and three-axis inertial sensing raw data. The sensing device can convert the inertial sensing raw data into the inertial sensing information, and the inertial sensing information is one or more of Euler angles, quaternions, linear acceleration, gravity information, and magnetic information.
更具體的說,所述肌電感測原始數據能夠先透過一帶通濾波器進行濾波以輸出一肌電過濾訊號後,再透過該感測裝置對該肌電過濾訊號進行一增強頻率增益以取得該肌電感測資訊,而該增強頻率增益係將一預設頻率區間的訊號增益,並將其他頻率之訊號進行降低增益,其中該頻率區間係為5~400Hz。More specifically, the raw EMG data can first be filtered through a bandpass filter to output an EMG filter signal, and then the EMG filter signal is subjected to an enhanced frequency gain by the sensing device to obtain the EMG information. The enhanced frequency gain increases the signal gain of a preset frequency range and reduces the gain of signals of other frequencies, wherein the frequency range is 5~400Hz.
更具體的說,所述封包資訊若是包含有一量測指令,該感測裝置係能夠依據該量測指令啟動該慣性感測器及該肌電感測器進行量測。More specifically, if the packet information includes a measurement instruction, the sensing device can activate the inertial sensor and the myoelectric sensor to perform measurement according to the measurement instruction.
更具體的說,所述每一個感測裝置係對應設置有一裝置代號,該放電指令係包含該裝置代號,該感測裝置係能夠依據該放電指令啟動該肌電刺激裝置進行放電。More specifically, each of the sensing devices is provided with a device code, the discharge instruction includes the device code, and the sensing device is capable of activating the electromyographic stimulation device to discharge according to the discharge instruction.
更具體的說,所述感測裝置啟動該肌電刺激裝置進行放電之後,該感測裝置所接收之封包資訊若是具有一停止放電指令,該感測裝置係停止該肌電刺激裝置之作動。More specifically, after the sensing device activates the electromyographic stimulation device to discharge, if the packet information received by the sensing device contains a stop discharge instruction, the sensing device stops the operation of the electromyographic stimulation device.
更具體的說,所述感測裝置啟動該肌電刺激裝置進行放電之後,該感測裝置判斷若是於一預設週期內沒有接收到該放電指令,該感測裝置則重複執行先前運作過的放電指令;該感測裝置判斷若是超過該預設週期仍沒有接收到該放電指令,該感測裝置係中斷該肌電刺激裝置之電源,以強制停止該肌電刺激裝置之作動。More specifically, after the sensing device activates the electromyographic stimulation device to discharge, if the sensing device determines that the discharge instruction has not been received within a preset cycle, the sensing device will repeatedly execute the previously executed discharge instruction; if the sensing device determines that the discharge instruction has not been received after the preset cycle, the sensing device will interrupt the power supply of the electromyographic stimulation device to force the electromyographic stimulation device to stop its operation.
有關於本發明其他技術內容、特點與功效,在以下配合參考圖式之較佳實施例的詳細說明中,將可清楚的呈現。Other technical contents, features and effects of the present invention will be clearly presented in the following detailed description of the preferred embodiments with reference to the drawings.
有關於本發明以下所述之電性連接,係指透過有線或是無線連接方式產生的連接行為,用以使電子元件之間能夠產生數位訊號或/及類比訊號之單向或/及雙向傳輸。The electrical connection described below in the present invention refers to the connection behavior generated by wired or wireless connection, which is used to enable unidirectional or/and bidirectional transmission of digital signals and/or analog signals between electronic components.
如本文所用,冠詞「一」、「一個」以及「任何」是指一個或多於一個(即至少一個)物品的文法。例如,「一元件」意指一個元件或多於一個元件。As used herein, the articles "a", "an", and "any" refer to one or more than one (ie, at least one) of an item. For example, "an element" means one element or more than one element.
有關於本發明以下所述之微控制器,係為MCU(Micro Controller Unit),MCU至少包含有CPU、記憶體(例如ROM及RAM)、周邊相關裝置(例如ADC、DAC、GPIO、PWM),其中可以透過程式編寫的動作、各項指令、變數等資料寫入記憶體中,再透過 CPU 依序執行這些透過程式編寫的動作。The microcontroller described below in the present invention is an MCU (Micro Controller Unit). The MCU at least includes a CPU, a memory (such as ROM and RAM), and peripheral related devices (such as ADC, DAC, GPIO, PWM). The actions, instructions, variables and other data that can be programmed are written into the memory, and then the CPU sequentially executes these programmed actions.
本發明應用於智能服飾之裝置控制系統,如第1A、1B圖所示,係包括一服飾本體1,於該服飾本體1係設置有至少一個主控裝置11、多個感測裝置(本實施例,是以第一感測裝置12及第二感測裝置13舉例)及肌電刺激裝置14(EMS)。The device control system of the present invention applied to smart clothing, as shown in Figures 1A and 1B, includes a clothing body 1, on which is disposed at least one main control device 11, a plurality of sensing devices (in this embodiment, a first sensing device 12 and a second sensing device 13 are exemplified) and an electromyographic stimulation device 14 (EMS).
如第1B圖所示,該感測裝置(第一感測裝置12及第二感測裝置13)係與該主控裝置11進行有線連接,該主控裝置11與該感測裝置係透過多個排線(傳輸線材15)與多個串列通訊匯流排進行連接(例如I2C,Inter-Integrated Circuit)。As shown in FIG. 1B , the sensing devices (the first sensing device 12 and the second sensing device 13 ) are wiredly connected to the main control device 11 , and the main control device 11 and the sensing devices are connected to multiple serial communication buses (eg, I2C, Inter-Integrated Circuit) via multiple flat cables (transmission cables 15 ).
上述排線可以是傳輸線材,傳輸線材舉例為一伸縮彈性帶體內部係佈設有多個波浪形或鋸齒形設置的金屬導線,而該金屬導線係連接於該轉接接頭,本發明實施例之轉接接頭是使用可軟性印刷電路板(Flexible Printed Circuit Board, FPCB),用於連接插入排線接口,以便將感測裝置所產生之感測訊號或是控制訊號透過傳輸線材傳輸至傳輸線材另一端轉接接頭所連接之另一個感測裝置之排線接口、一電池裝置之排線接口或是一電極貼片之排線接口。The above-mentioned flat cable can be a transmission cable. For example, the transmission cable is a retractable elastic belt body having a plurality of wavy or saw-toothed metal wires arranged inside, and the metal wires are connected to the adapter connector. The adapter connector of the embodiment of the present invention uses a flexible printed circuit board (FPCB) for connecting and inserting a flat cable interface so as to transmit the sensing signal or control signal generated by the sensing device through the transmission cable to the flat cable interface of another sensing device connected to the adapter connector at the other end of the transmission cable, the flat cable interface of a battery device, or the flat cable interface of an electrode patch.
該感測裝置與該主控裝置11之間,除了有線連接之外,更能夠進行無線連接(例如藍芽傳輸連接)。In addition to wired connection, the sensing device and the main control device 11 can also be wirelessly connected (such as Bluetooth transmission connection).
如第2A圖所示,該主控裝置11係至少包含有一處理器111及一傳輸單元112,該傳輸單元112係與該外部設備2進行連線(WIFI連線或是藍芽連線至外部設備2,外部設備2舉例為系統平台),該外部設備2能夠依據該主控裝置11回傳的總感測資訊進行分析,並傳送一放電指令給該主控裝置11。As shown in FIG. 2A , the main control device 11 includes at least a processor 111 and a transmission unit 112. The transmission unit 112 is connected to the external device 2 (connected via WIFI or Bluetooth to the external device 2, where the external device 2 is, for example, a system platform). The external device 2 can analyze the total sensing information returned by the main control device 11 and send a discharge command to the main control device 11.
該外部設備2例如為系統平台的伺服器設備,因此主控裝置11則能以無線WIFI 網路依特定通信協議輸出整合之串流資料到系統平台,系統平台可下達肌肉電刺激指令,至肌電刺激裝置(或稱肌肉電刺激感應器,本案是以電極貼片進行舉例)進行放電。The external device 2 is, for example, a server device of the system platform, so the main control device 11 can output the integrated streaming data to the system platform via a wireless WIFI network according to a specific communication protocol. The system platform can issue a muscle electrical stimulation command to the muscle electrical stimulation device (or muscle electrical stimulation sensor, in this case, an electrode patch is used as an example) for discharge.
而主控裝置11與系統平台雙邊通信協議,舉例說明如下: (1) 主控裝置11與系統平台透過TCP或UDP溝通。 (2) 系統平台至主控裝置11(Host)之通信協議內容組成,如Header、Length(資料總長度)、Command(下達給Host的命令),其中能夠依照命令不同,欄位或有增減。 (3) 主控裝置11(Host)至系統平台之通信協議內容組成,如Header、Length(資料總長度)、Command(下達給Host的命令),其中能夠依照命令不同,欄位或有增減。 The communication protocol between the host device 11 and the system platform is described as follows: (1) The host device 11 communicates with the system platform via TCP or UDP. (2) The communication protocol content from the system platform to the host device 11 (Host) consists of, for example, Header, Length (total length of data), Command (command issued to the Host), where the fields may be increased or decreased depending on the command. (3) The communication protocol content from the host device 11 (Host) to the system platform consists of, for example, Header, Length (total length of data), Command (command issued to the Host), where the fields may be increased or decreased depending on the command.
如第2B圖所示,該第一感測裝置12係至少包含有一處理器121、一慣性感測器122、一肌電控制單元123及一傳輸單元124,該慣性感測器122(IMU)、肌電控制單元123、傳輸單元124係與該處理器121電性連接,於本案實施例中,針對該第一感測裝置12是舉例為肌肉電刺激器(Electrical Muscle Stimulation, EMS)與慣性感測單元(Inertial Measurement Unit, IMU)的封裝組合裝置(EMS-IMU),提供肌肉電刺激並感知肢體的動作。As shown in FIG. 2B , the first sensing device 12 includes at least a processor 121, an inertial sensor 122, an electromyographic control unit 123, and a transmission unit 124. The inertial sensor 122 (IMU), the electromyographic control unit 123, and the transmission unit 124 are electrically connected to the processor 121. In the embodiment of the present case, the first sensing device 12 is, for example, a packaged combination device (EMS-IMU) of an electrical muscle stimulator (EMS) and an inertial measurement unit (IMU) to provide electrical muscle stimulation and sense limb movements.
該慣性感測器122用以感測取得該慣性感測原始數據。The inertial sensor 122 is used to sense and obtain the inertial sensing raw data.
該肌電控制單元123用以控制該肌電刺激裝置14進行放電。The myoelectric control unit 123 is used to control the myoelectric stimulation device 14 to discharge.
如第2C圖所示,該第二感測裝置13係至少包含有一處理器131、一慣性感測器132(IMU)、一濾波單元133、一肌電感測器134(EMG)及一傳輸單元135,該慣性感測器132、該肌電感測器134及該傳輸單元135係與該處理器131電性連接,於本案實施例中,針對該第二感測裝置13是舉例為肌電感測器(Electromyography, EMG)與慣性感測單元的封裝組合裝置(EMG-IMU),同時提供肌電感測及肢體動作感測。As shown in FIG. 2C , the second sensing device 13 includes at least a processor 131, an inertial sensor 132 (IMU), a filtering unit 133, an electromyography sensor 134 (EMG) and a transmission unit 135. The inertial sensor 132, the electromyography sensor 134 and the transmission unit 135 are electrically connected to the processor 131. In the embodiment of the present case, the second sensing device 13 is exemplified as a packaged combination device (EMG-IMU) of an electromyography sensor (EMG) and an inertial sensor unit, which provides electromyography sensing and limb movement sensing at the same time.
該慣性感測器132用以感測取得該慣性感測原始數據,該慣性感測原始數據,該慣性感測原始數據係為三軸角慣性感測原始數據及三軸加慣性感測原始數據。The inertial sensor 132 is used to sense and obtain the inertial sensor original data, which is the three-axis angular inertial sensor original data and the three-axis added inertial sensor original data.
該處理器131能夠將該慣性感測原始數據轉換出該慣性感測資訊,該慣性感測資訊係為歐拉角(Euler)、四元數(Quaternion)、線性加速度(Linear Acceleration)、重力資訊(Gravity)、磁力資訊(Magnetometer)之其中一種或是一種以上(經過轉換之後,慣性感測資訊能夠包含Euler、Quaternion、Linear Acceleration、Gravity以及Magnetometer,共32 bytes資料)。The processor 131 can convert the inertial sensing raw data into the inertial sensing information, which is one or more of Euler angles, Quaternion, linear acceleration, gravity information, and magnetometer information (after conversion, the inertial sensing information can include Euler, Quaternion, Linear Acceleration, Gravity, and Magnetometer, a total of 32 bytes of data).
該肌電感測器134用以感測取得該肌電感測原始數據,該肌電感測原始數據,於本案實施例,舉例包含Channel 1以及Channel 2,共6 bytes資料。The electromyographic sensor 134 is used to sense and obtain the electromyographic sensing raw data. In the present embodiment, the electromyographic sensing raw data includes Channel 1 and Channel 2, a total of 6 bytes of data.
該肌電感測器134由於會與皮膚間的滑動,產生過多的雜訊,故必須先透過濾波單元133進行濾波,本案實施例先使用帶通濾波器(Band Pass Filter,頻率響應大約是7.2Hz~338.6Hz,其頻率範圍可擴大至5~400Hz)進行濾波以輸出一肌電過濾訊號。Since the myoelectric sensor 134 will slide against the skin and generate too much noise, it must first be filtered through the filter unit 133. In the embodiment of this case, a band pass filter (Band Pass Filter, frequency response is approximately 7.2Hz~338.6Hz, and its frequency range can be expanded to 5~400Hz) is first used for filtering to output an electromyographic filter signal.
之後透過處理器131內建的軟體進行Root mean square(RMS) filter運算濾掉雜訊,主要是對該肌電過濾訊號進行一增強頻率增益以取得該肌電感測資訊,而該增強頻率增益係將一預設頻率區間的訊號增益,並將其他頻率之訊號進行降低增益,其中該頻率區間係為5~400Hz。Afterwards, the built-in software of the processor 131 performs a Root mean square (RMS) filter operation to filter out noise, mainly performing an enhanced frequency gain on the electromyographic filter signal to obtain the electromyographic sensing information, and the enhanced frequency gain is to increase the signal gain of a preset frequency range and reduce the gain of signals of other frequencies, wherein the frequency range is 5~400Hz.
針對Root mean square(RMS) filter運算,說明如下: (1) 透過RMS運算濾掉不需要的訊號,提高中心頻率帶(7.2~338.6Hz,其頻率範圍可擴大至5~400Hz) 增益,而其他頻率降低增益,運算係數自行設定。 (2) 以當前取得之EMG數據與最近十筆數據運算處理 (a) 舉例數據運算(粗體字部分為初始化後設定的運算係數) xv[chx][0] = xv[chx][1]; xv[chx][1] = xv[chx][2]; xv[chx][2] = xv[chx][3]; xv[chx][3] = xv[chx][4]; xv[chx][4] = xv[chx][5]; xv[chx][5] = xv[chx][6]; xv[chx][6] = xv[chx][7]; xv[chx][7] = xv[chx][8]; xv[chx][8] = xv[chx][9]; xv[chx][9] = xv[chx][10]; xv[chx][10] = datain / GAIN; yv[chx][0] = yv[chx][1]; yv[chx][1] = yv[chx][2]; yv[chx][2] = yv[chx][3]; yv[chx][3] = yv[chx][4]; yv[chx][4] = yv[chx][5]; yv[chx][5] = yv[chx][6]; yv[chx][6] = yv[chx][7]; yv[chx][7] = yv[chx][8]; yv[chx][8] = yv[chx][9]; yv[chx][9] = yv[chx][10]; yv[chx][10] = (xv[chx][10] - xv[chx][0]) + 5 * (xv[chx][2] - xv[chx][8]) + 10 * (xv[chx][6] - xv[chx][4]) + ( 0.0808708884* yv[chx][0]) + ( 0.1326205622* yv[chx][1]) + ( -0.4834914457* yv[chx][2]) + ( -0.8042994770* yv[chx][3]) + ( 1.2039048423* yv[chx][4]) + ( 2.0098577742* yv[chx][5]) + ( -1.7300411014* yv[chx][6]) + ( -2.3922861021* yv[chx][7]) + ( 1.3439199929* yv[chx][8]) + ( 1.6386257741 * yv[chx][9]); (b) 最終數據 ouput = yv[chx][10]; The explanation of the Root mean square (RMS) filter operation is as follows: (1) The RMS operation is used to filter out unwanted signals, increase the gain of the center frequency band (7.2~338.6Hz, the frequency range can be expanded to 5~400Hz), and reduce the gain of other frequencies. The operation coefficient is set by yourself. (2) Perform calculations using the currently acquired EMG data and the ten most recent data (a) Example data calculations (the boldface parts are the calculation coefficients set after initialization) xv[chx][0] = xv[chx][1]; xv[chx][1] = xv[chx][2]; xv[chx][2] = xv[chx][3]; xv[chx][3] = xv[chx][4]; xv[chx][4] = xv[chx][5]; xv[chx][5] = xv[chx][6]; xv[chx][6] = xv[chx][7]; xv[chx][7] = xv[chx][8]; xv[chx][8] = xv[chx][9]; xv[chx][9] = xv[chx][10]; xv[chx][10] = datain / GAIN; yv[chx][0] = yv[chx][1]; yv[chx][1] = yv[chx][2]; yv[chx][2] = yv[chx][3]; yv[chx][3] = yv[chx][4]; yv[chx][4] = yv[chx][5]; yv[chx][5] = yv[chx][6]; yv[chx][6] = yv[chx][7]; yv[chx][7] = yv[chx][8]; yv[chx][8] = yv[chx][9]; yv[chx][9] = yv[chx][10]; yv[chx][10] = (xv[chx][10] - xv[chx][0]) + 5 * (xv[chx][2] - xv[chx][8]) + 10 * (xv[chx][6] - xv[chx][4]) + ( 0.0808708884 * yv[chx][0]) + ( 0.1326205622 * yv[chx][1]) + ( -0.4834914457 * yv[chx][2]) + ( -0.8042994770 * yv[chx][3]) + ( 1.2039048423 * yv[chx][4]) + ( 2.0098577742 * yv[chx][5]) + ( -1.7300411014 * yv[chx][6]) + ( -2.3922861021 * yv[chx][7]) + ( 1.3439199929 * yv[chx][8]) + ( 1.6386257741 * yv[chx][9]); (b) Final data ouput = yv[chx][10];
該處理器131內部之軟體更能夠將該慣性感測資訊及該肌電感測資訊進行合併為該總感測資訊,並將該總感測資訊以有線連接或是無線連接傳送給該主控裝置11,整合之運作如下:
(1) 將慣性感測資訊及該肌電感測資訊,加上Header(0xFE5A)、Length(單一裝置資料總長度)、Command(0x06, 代表Sensor data)、Position ID(1~99, 裝置ID)等,詳細舉例如下表一所述。
本案對於傳輸資訊前處理之流程,如第4圖所示,流程如下: (1) 步驟401,處理器下達EMG / IMU 感應器初始化指令; (2) 步驟402,處理器設定EMG / IMU 感應器量測參數及RMS 軟體 filter 係數; (3) 步驟403,處理器校正 EMG / IMU 感測器; (4) 步驟404,處理器收到外部設備之外部指令開始量測並接收 EMG / IMU 訊號; (5) 步驟405,將肌電感測原始數據經Band pass filter 過濾雜訊為一肌電過濾訊號; (6) 步驟406,處理器以軟體RMS filter運算過濾肌電過濾訊號,以濾除EMG雜訊; (7) 步驟407,處理器運算三軸加速度及三軸角加速度,並輸出歐拉角、四元數、線性加速度、重力、磁力數值; (8) 步驟408,處理器以特定通信協定合併EMG / IMU 資料格式,並將合併之資料格式以 BLE(藍芽)或I2C介面(傳輸線)傳輸至主控裝置。 The process of information processing before transmission in this case is shown in Figure 4. The process is as follows: (1) Step 401, the processor issues an EMG/IMU sensor initialization command; (2) Step 402, the processor sets the EMG/IMU sensor measurement parameters and RMS software filter coefficient; (3) Step 403, the processor calibrates the EMG/IMU sensor; (4) Step 404, the processor receives an external command from an external device to start measuring and receive EMG/IMU signals; (5) Step 405, the raw electromyographic sensing data is filtered through a band pass filter to obtain an electromyographic filtered signal; (6) Step 406, the processor uses software RMS The filter calculates and filters the electromyographic filter signal to filter out EMG noise; (7) Step 407, the processor calculates the three-axis acceleration and three-axis angular acceleration, and outputs the Euler angle, quaternion, linear acceleration, gravity, and magnetic force values; (8) Step 408, the processor merges the EMG/IMU data format using a specific communication protocol, and transmits the merged data format to the main control device via a BLE (Bluetooth) or I2C interface (transmission line).
本案主控裝置11能夠持續傳送一封包資訊給該感測裝置,因此當接收到外部設備傳送的封包資訊後,若封包資訊具有放電指令,則能夠依據該放電指令啟動該肌電刺激裝置進行放電;該封包資訊若是包含有一量測指令,該感測裝置係能夠依據該量測指令啟動該慣性感測器及該肌電感測器進行量測。The main control device 11 in this case can continuously transmit a packet information to the sensing device. Therefore, after receiving the packet information transmitted by the external device, if the packet information has a discharge instruction, the electromyographic stimulation device can be activated to discharge according to the discharge instruction; if the packet information includes a measurement instruction, the sensing device can activate the inertial sensor and the electromyographic sensor to perform measurement according to the measurement instruction.
針對放電指令,進一步說明如下:
(1) Sensor ID為感測裝置的唯一識別碼,系統平台透過網路傳送TCP/UDP指令至Host後,Host根據ID以及設定傳送至感測裝置,令對應的感測裝置動作
(2) 放電指令舉例如下表二(EX: 5A FE 09 D0 73 03 28 05 00 (hex)):
本發明之感測裝置與主控裝置,可以設置裝置底座在服飾上,以形成智慧服飾,且裝置底座可與電子裝置(感測裝置或主控裝置)結合,提供使用者在運動時進行心電或肌電訊號量測、肌肉刺激或其他監控或量測之運算控制。The sensing device and the main control device of the present invention can be installed on the clothing to form smart clothing, and the device base can be combined with an electronic device (sensing device or main control device) to provide users with electrocardiogram or electromyography signal measurement, muscle stimulation or other monitoring or measurement calculation control during exercise.
電子裝置可以為一感測裝置、一刺激裝置、一處理運算裝置或其結合,依照設計者者及製造商的需求封裝成一體的裝置。The electronic device can be a sensing device, a stimulating device, a processing device, or a combination thereof, packaged into an integrated device according to the requirements of designers and manufacturers.
電子裝置可以為肌肉電刺激器(Electrical Muscle Stimulation, EMS)與慣性感測單元(Inertial Measurement Unit, IMU)的封裝組合裝置(EMS-IMU),提供肌肉電刺激並感知肢體的動作。在第二實施態樣中,電子裝置可以為肌電感測器(Electromyography, EMG)與慣性感測單元的封裝組合裝置(EMG-IMU),同時提供肌電感測及肢體動作感測。The electronic device may be a packaged combination device (EMS-IMU) of an electrical muscle stimulator (EMS) and an inertial measurement unit (IMU), providing electrical muscle stimulation and sensing limb movements. In a second embodiment, the electronic device may be a packaged combination device (EMG-IMU) of an electromyography (EMG) and an inertial measurement unit, providing both electromyography sensing and limb movement sensing.
電子裝置可以為運算控制裝置。裝置底座可以配合電子裝置的大小、電性接觸點之位置與數量,以及電子裝置與其他裝置的連接需求進行調整。The electronic device may be a computing control device. The device base may be adjusted according to the size of the electronic device, the location and number of electrical contact points, and the connection requirements between the electronic device and other devices.
本案服飾本體以傳輸線材連接進行舉例,服飾本體能夠包含一表布層及一防水保護層,將裝置底座結合於一服飾本體時,需先將表布層挖開一開孔後,再將裝置底座由開孔穿出,而裝置底座之軟墊片則會貼附(使用熱壓方式黏合)固定於表布層內表面,而上殼體則會外露於該表布層外側,而該電路基板之排線接口係朝向該表布層內側。In this case, the clothing body is connected with a transmission cable as an example. The clothing body can include a surface fabric layer and a waterproof protective layer. When the device base is combined with a clothing body, an opening must be dug in the surface fabric layer first, and then the device base is passed through the opening. The soft pad of the device base will be attached (bonded using hot pressing) and fixed to the inner surface of the surface fabric layer, and the upper shell will be exposed on the outside of the surface fabric layer, and the cable interface of the circuit board will face the inside of the surface fabric layer.
該傳輸線材任一端之一轉接接頭沿著該排線凹槽插入排線接口後,該傳輸線材另一端則在該表布層內側依照傳輸需求往任一方向延伸佈設出去。為了進一步保護電路元件及傳輸線材,再於該表布層內表面結合(縫合或是熱壓黏合)防水保護層以向上覆蓋住該下殼體底面及該傳輸線材延伸範圍。After an adapter connector at either end of the transmission cable is inserted into the cable interface along the cable groove, the other end of the transmission cable is extended in any direction on the inner side of the surface fabric layer according to the transmission requirements. In order to further protect the circuit components and the transmission cable, a waterproof protective layer is bonded (sewn or hot-pressed) on the inner surface of the surface fabric layer to cover the bottom surface of the lower shell and the extension range of the transmission cable upwards.
為了增加防水性,表布層內表面可以進一步鋪設一防水表層,該防水表層可與該防水保護層係相對應設置黏貼,以將傳輸線材完整包覆;或著,傳輸線材之上表面可以進一步鋪設一防水表層,且該防水保護層係以黏合或是縫合方式固定貼合於該表布層內表面。In order to increase the waterproof property, a waterproof surface layer can be further provided on the inner surface of the surface fabric layer, and the waterproof surface layer can be pasted correspondingly to the waterproof protective layer to completely cover the transmission wire; or, a waterproof surface layer can be further provided on the upper surface of the transmission wire, and the waterproof protective layer is fixedly adhered to the inner surface of the surface fabric layer by bonding or sewing.
當配戴者要進行運動時,則能夠於裝置底座上裝上電子裝置,而電子裝置用以進行感測並將感測訊號經由裝置底座傳送給該裝置底座,並由與裝置底座連結的該電子裝置接收並進行運算與控制,例如控制該電子裝置供電給電極貼片,以透過該電極貼片進行肌肉刺激。因此,本案不但可以接收心電訊號、肌電訊號、肢體慣性訊號,藉以了解運動狀況,還可以依照運動狀況給予肌肉刺激,增進訓練成果。When the wearer wants to exercise, he can install an electronic device on the device base, and the electronic device is used to sense and transmit the sensing signal to the device base through the device base, and the electronic device connected to the device base receives and performs calculation and control, such as controlling the electronic device to supply power to the electrode patch to stimulate the muscle through the electrode patch. Therefore, this case can not only receive electrocardiogram signals, myoelectric signals, and limb inertia signals to understand the exercise status, but also provide muscle stimulation according to the exercise status to improve the training results.
上述雖然提及裝置底座上裝上電子裝置(感測裝置或主控裝置),然而本案不限於此種實施方式,也能夠直接將電子裝置直接固定於服飾本體上,或是其他結合方式,但傳輸之控制技術與放電之中斷技術,皆可應用於多種不同的結合方式上。Although the above mentioned that an electronic device (sensing device or main control device) is installed on the device base, the present case is not limited to this implementation method. The electronic device can also be directly fixed to the clothing body, or other combination methods can be used. However, the transmission control technology and discharge interruption technology can be applied to a variety of different combination methods.
本發明所提供之應用於智能服飾之裝置控制系統,與其他習用技術相互比較時,其優點如下: (1) 本案對感測訊號進行濾波處理以克服雜訊問題,並進行邊緣運算,以將感測原始數據先於感測裝置進行運算為特定資訊之後,再於資訊統整後再傳送至中控裝置,以避免大量感測原始數據直接湧入中控裝置。 (2) 本案為避免網路失效 EMS 無法接收指令停止放電,當通訊中斷,感測裝置將能夠自行判斷進行斷電,以避免人員受到持續性的電擊而受傷。 The device control system for smart clothing provided by the present invention has the following advantages when compared with other conventional technologies: (1) This case filters the sensing signal to overcome the noise problem and performs edge operations to convert the raw sensing data into specific information before the sensing device performs operations, and then transmits the information to the central control device after the information is integrated, so as to avoid a large amount of raw sensing data directly flooding into the central control device. (2) In order to avoid the EMS being unable to receive instructions to stop discharging due to network failure, this case will be able to automatically judge and cut off the power when the communication is interrupted to prevent personnel from being injured by continuous electric shock.
本發明已透過上述之實施例揭露如上,然其並非用以限定本發明,任何熟悉此一技術領域具有通常知識者,在瞭解本發明前述的技術特徵及實施例,不可作些許之更動與潤飾。The present invention has been disclosed through the above embodiments, but they are not used to limit the present invention. Any person familiar with this technical field with common knowledge can understand the above technical features and embodiments of the present invention and make some changes and modifications.
1:服飾本體 11:主控裝置 111:處理器 112:傳輸單元 12:第一感測裝置 121:處理器 122:慣性感測器 123:肌電控制單元 124:傳輸單元 13:第二感測裝置 131:處理器 132:慣性感測器 133:濾波單元 134:肌電感測器 135:傳輸單元 14:肌電刺激裝置 15:傳輸線材 2:外部設備 3:資料整合內容1: Garment body 11: Main control device 111: Processor 112: Transmission unit 12: First sensing device 121: Processor 122: Inertial sensor 123: Myoelectric control unit 124: Transmission unit 13: Second sensing device 131: Processor 132: Inertial sensor 133: Filter unit 134: Myoelectric sensor 135: Transmission unit 14: Myoelectric stimulation device 15: Transmission cable 2: External equipment 3: Data integration content
[第1A圖] 係本發明應用於智能服飾之裝置控制系統之整體架構示意圖。 [第1B圖] 係本發明應用於智能服飾之裝置控制系統之服飾本體設置結構示意圖。 [第2A圖]係本發明應用於智能服飾之裝置控制系統之主控裝置之架構示意圖。 [第2B圖]係本發明應用於智能服飾之裝置控制系統之第一感測裝置之架構示意圖。 [第2C圖]係本發明應用於智能服飾之裝置控制系統之第二感測裝置之架構示意圖。 [第3圖]係本發明應用於智能服飾之裝置控制系統之EMG/IMU資料範例示意圖。 [第4圖]係本發明應用於智能服飾之裝置控制系統之傳輸資訊前處理流程示意圖。 [Figure 1A] is a schematic diagram of the overall structure of the device control system of the present invention applied to smart clothing. [Figure 1B] is a schematic diagram of the clothing body structure of the device control system of the present invention applied to smart clothing. [Figure 2A] is a schematic diagram of the structure of the main control device of the device control system of the present invention applied to smart clothing. [Figure 2B] is a schematic diagram of the structure of the first sensing device of the device control system of the present invention applied to smart clothing. [Figure 2C] is a schematic diagram of the structure of the second sensing device of the device control system of the present invention applied to smart clothing. [Figure 3] is a schematic diagram of the EMG/IMU data example of the device control system of the present invention applied to smart clothing. [Figure 4] is a schematic diagram of the pre-processing process of the transmission information of the device control system of the present invention applied to smart clothing.
1:服飾本體 1: Clothing body
11:主控裝置 11: Main control device
12:第一感測裝置 12: First sensing device
13:第二感測裝置 13: Second sensing device
14:肌電刺激裝置 14: Electromyography device
2:外部設備 2: External equipment
Claims (9)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113109249A TWI874164B (en) | 2024-03-13 | 2024-03-13 | Device control system for smart clothing |
| CN202510262053.9A CN120643831A (en) | 2024-03-13 | 2025-03-06 | Device control system applied to intelligent clothing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113109249A TWI874164B (en) | 2024-03-13 | 2024-03-13 | Device control system for smart clothing |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI874164B true TWI874164B (en) | 2025-02-21 |
| TW202535297A TW202535297A (en) | 2025-09-16 |
Family
ID=95557460
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113109249A TWI874164B (en) | 2024-03-13 | 2024-03-13 | Device control system for smart clothing |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN120643831A (en) |
| TW (1) | TWI874164B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10437335B2 (en) * | 2015-04-14 | 2019-10-08 | John James Daniels | Wearable electronic, multi-sensory, human/machine, human/human interfaces |
| US20200237031A1 (en) * | 2019-01-13 | 2020-07-30 | Kinaptic, LLC | Fabric, Connections and Functional Structures for Wearable Electronic Garments and Applications for the Same |
| CN107943285B (en) * | 2017-11-10 | 2021-01-01 | 上海交通大学 | Man-machine interaction wrist ring, system and method based on biological myoelectricity |
| US20230404277A1 (en) * | 2013-03-15 | 2023-12-21 | Sleepme Inc. | Article comprising a temperature-conditioned surface, thermoelectric control unit, and method for temperature-conditioning the surface of an article |
| TWM660689U (en) * | 2024-03-13 | 2024-09-21 | 正基科技股份有限公司 | Device control system for smart clothing |
-
2024
- 2024-03-13 TW TW113109249A patent/TWI874164B/en active
-
2025
- 2025-03-06 CN CN202510262053.9A patent/CN120643831A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20230404277A1 (en) * | 2013-03-15 | 2023-12-21 | Sleepme Inc. | Article comprising a temperature-conditioned surface, thermoelectric control unit, and method for temperature-conditioning the surface of an article |
| US10437335B2 (en) * | 2015-04-14 | 2019-10-08 | John James Daniels | Wearable electronic, multi-sensory, human/machine, human/human interfaces |
| CN107943285B (en) * | 2017-11-10 | 2021-01-01 | 上海交通大学 | Man-machine interaction wrist ring, system and method based on biological myoelectricity |
| US20200237031A1 (en) * | 2019-01-13 | 2020-07-30 | Kinaptic, LLC | Fabric, Connections and Functional Structures for Wearable Electronic Garments and Applications for the Same |
| TWM660689U (en) * | 2024-03-13 | 2024-09-21 | 正基科技股份有限公司 | Device control system for smart clothing |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202535297A (en) | 2025-09-16 |
| CN120643831A (en) | 2025-09-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20160157779A1 (en) | Wearable sensor apparatus with multiple flexible substrates | |
| CN204708829U (en) | A kind of wireless breathing, pulse monitoring device | |
| CN106413547B (en) | Physiological monitoring garment | |
| EP1455640B1 (en) | Garment comprising medical sensors | |
| CN1985752A (en) | Distributed physiological signal monitoring equipment | |
| JPH09503937A (en) | Wearable mantle that applies controlled electrical stimulation to restore motor function | |
| WO2005044090A2 (en) | Respiration motion detection and health state assessment system | |
| CN112384133A (en) | Wearable sphygmomanometer with actuated cuff | |
| CN107106048A (en) | Apparatus and methods for use with physiological monitoring garments | |
| US20210100460A1 (en) | Conformable Garment for Physiological Sensing | |
| KR100670809B1 (en) | Smart clothing to measure bio signals | |
| EP3024382B1 (en) | Devices and methods for measuring blood pressure | |
| TWM660689U (en) | Device control system for smart clothing | |
| CN112773666A (en) | Hand motion detection device, control method, rehabilitation device and autonomous control system | |
| CN107943285B (en) | Man-machine interaction wrist ring, system and method based on biological myoelectricity | |
| CN106580336A (en) | Intelligent wearable monitoring system based on flexible fabric sensor and monitoring method | |
| JP2020513910A (en) | Electrophysiological measurement electrode carrier | |
| TWI874164B (en) | Device control system for smart clothing | |
| CN208677852U (en) | Muscle rehabilitation device | |
| CN205683091U (en) | A kind of restoring gloves | |
| CN221813928U (en) | A kind of vital sign detection sleeve that is easy to wear | |
| KR102129469B1 (en) | Wearable strap device for generating midium/low frequency | |
| CN108523900A (en) | Physiological compensation effects device and method | |
| CN216294019U (en) | Sleep detection device | |
| JPWO2020240480A5 (en) |