• 沒有找到結果。

From the implementation of the treadmill, we may do some improvement compared to the traditional treadmill such as user interface and the play of the audio sound and the connection to the internet. It’s the advantage of using embedded system as the electric control system, but there are still some functions that haven’t implement yet. Such as saving the files of some parameters in the memory, and the interface of Emergency Stop; in the traditional treadmill, the interface of Emergency Stop is done by hardware. But in our treadmill, we implement it by the software emulation. It’s not a safety way by doing so. And the measurement of the Heart Rate is another function that we should implement.

In the other aspect, the use of the embedded OS, WinCE.NET has some topics for discussion: The embedded system is used for the specified purpose, and the hardware is differ from each other according to the manufacturer, so the driver for the hardware may not open to the public, and it may increases the cost.

Building the WinCE.NET OS needs the driver. We should take this into consideration.

In the aspect of playing music, the format we use now is the PCM data, and it is uncompressed format. It takes much memory space, and it is improper to the embedded system; it can be improved by using the compressed format. In the aspect of drawing the playground and incline graphic, we use the basic geometric graph to form the drawing; it’s better than the traditional LED display but still can be improving.

Reference

[1]ANTHONY J.PANSINI,”Basics of Electric Motors”, PRENTICE HALL, 1989.

[2]Denis O’Kelly, “Performance and control of Electrical Machines”, McGraw-Hill, 1991.

[3]P.C. Sen, “Principles of Electric Machines and Power Electronics”, John Wiley & Sons, 1997.

[4]劉昌煥,"電機機械 ", 東華,民國 91 年.

[5]劉昌煥,"交流電機控制-向量控制與直接轉矩控制原理",東華,民國 92 年

[6]探矽工作室, “2002 嵌入式系統開發聖經", 學貫, 民國 91 年.

[7]M. Morris, “Computer System Architecture”, Prentice-Hall, 1994.

[8]黃泰一, “Windows CE 嵌入式系統理論與實務,文魁, 民國 93 年.

[9]Embedded System Design, “Frank Vahid”, John Wiley & Sons, 2002.

[10]呂文達, "C#範例精要解析",文魁, 民國 92 年.

[11]孫三才,"C#與.net Framework 實戰演練"學貫,民國 93 年

[12]Douglas Boling,”Programming Microsoft Windows CE.NET”, 3rd Edition, Microsoft Press, 2003.

[13]Chris Tacke, “P/Invoking Serial APIs in the Compact Framework”, MSDN library, 2003

[14]Jim Wilson, ” Improving .NET Compact Framework HTTP

Communications using HttpWebRequest and Custom ASP.NET Providers”, MSDN library, 2003.

[15] Seth Demsey, ” Recording and Playing Sound with the Waveform Audio Interface”, MSDN library, 2004.

[16] Alex Yakhnin, ” How to Create a Microsoft .NET Compact Framework-based Image Button”, MSDN library, 2003.

[17] 江高舉, ”PhotoImpact 10 私房書”, 志凌, 民國 94 年.

List of Figures

Figure 2.1 PCM-9575

Figure 2.2 The equivalent circuit of single phase induction motor

r

R

Figure 2.3 Mechanism of the treadmill

Figure 3.1 Direct Connection

Figure 3.2 Connect type

Figure 3.3 Picture of ActiveSync

PC (Develop AP)A i S PCM 9575 U

EI 8001

T h

Server (IIS)

Motor

Speaker

Figure 4.1 The whole architecture of the treadmill

Main

Basic Mode Training Mode

SET

Set Time Set Distance Set Calories COURSE

Walking Course Running Course Interval Course PROGRAM

CARDIO INTERVAL FAT BURN ENDURANCE RACE

Music Mode Data Setting

Figure 4.2 The program flow of the treadmill

Figure 4.3 Main (function)

Figure 4.4 DataSetting (function)

Figure 4.5 Music Mode (function)

Figure 4.6 Basic Mode (function)

Figure 4.7 Set Time (function)

Figure 4.8 Walking Course (function)

Figure 4.9 Cardio (function)

Figure 4.10 Race (function)

PCM Data

Fig 4.11 The wave file format

Lit of Tables

Table 2.1 The comparison of development board

CPU Embedded VIA low power Eden processor, On-die 128 KB L1 cache memory, Eden-667 2ndCache

Memory

64 KB on the Eden processor System

Chipset

VT8606, VT82C686B, 133 MHz FSB BIOS AWARD 256 kbit Flash BIOS System

Memory

SDRAM 168-pin DIMM x 1, Max: 512 MB PC133 DIMM for all models,

SSD CompactFlash card Type I/II and DiskOnChip Expansion

Interface

PC/104-Plus

Chipset VIA Twister chip with Integrated S3 Savage4 2D/3D/Video Accelerator

Memory Size 8/16/32 MB frame buffer using system memory

Resolution 1024 x 768

LCD Interface 4x AGP VGA/LCD interface

Table 2.2 The specification of PCM-9575

Development Tool Platform API

Embedded Visual C++

Table 3.1 Comparison of the development tool

logical address Function

FA00h Communication cmd. valid

FA01h Frequency cmd.

FE01h Drive status

0002h Output current

0003h Rotation frequency

0006h Acceleration time

0007h Deceleration time

0008h Lower limit frequency

0009h Upper limit frequency

0025h Control mode

0028h Base frequency

Table 4.1 The important register addresses of Inverter EI-8001

Bit Function 0 1

15 FA00 valid invalid valid

14 FA01 valid invalid valid

13 Reset trip OFF reset

12 Emergency stop OFF Fast stop

11 Free run command OFF Free run

10 Run/Stop Stop Run

9 Forward/Reverse Forward Reverse

8 Jog operation Off Jog

7 DC braking Off DC braking

Table 4.2 The line command register of FA00

Level 1 2 3 4 5 6 7 8 9 10

Time (min) 1 1 1 1 1 1 1 1 1 1

Incline(%) Easy 0 2 6 1 4 8 3 0 5 9

Incline(%) Normal 0 4 10 1 10 4 8 0 3 10

Incline(%) Pro. 3 10 4 0 8 15 7 0 5 12

Table 4.3 Walking course

Section 1 2 3 4 5 6 7 8 9 10

Section WARM

Section WARM UP

1 2 3 4 5 6 7 8 9 10 11 COOL

DOWN Speed

(km/hr)

WARM UP

3.5 4.2 5.0 4.2 6.0 5.0 6.0 4.2 5.0 4.2 3.5 COOL DOWN

Time (min) 3 3 2 3 2 3 4 3 2 3 2 3 2

Easy Incline (%)

0 4 2 6 2 9 2 9 2 6 2 4 0 Normal

Incline(%)

0 5 3 10 3 11 3 11 3 10 3 5 0

Pro.

Incline (%)

0 7 4 10 4 12 4 12 4 10 4 7 0

Table 4.9 Endurance 35 min

相關文件