Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HCS12 Datasheet(PDF) 373 Page - Freescale Semiconductor, Inc

Part # HCS12
Description  HCS12 Microcontrollers
PDF  452 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

HCS12 Datasheet(HTML) 373 Page - Freescale Semiconductor, Inc

Back Button HCS12 Datasheet HTML 369Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 370Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 371Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 372Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 373Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 374Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 375Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 376Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 377Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 373 / 452 page
background image
S12CPUV2 Reference Manual, Rev. 4.0
Freescale Semiconductor
373
instructions would form the working part of a 16-bit resolution fuzzy
inference routine.
There are many other methods of performing inference, but none of these
are as widely used as the min-max method. Since the CPU12 is a
general-purpose microcontroller, the programmer has complete freedom to
program any algorithm desired. A custom programmed algorithm would
typically take more code space and execution time than a routine that used
the built-in REV or REVW instructions.
9.7.3 Defuzzification Variations
Other CPU12 instructions can help with custom defuzzification routines in
two main areas:
• The first case is working with operands that are more than eight bits.
• The second case involves using an entirely different approach than
weighted average of singletons.
The primary part of the WAV instruction is a multiply and accumulate
operation to get the numerator for the weighted average calculation. When
working with operands as large as 16 bits, the EMACS instruction could at
least be used to automate the multiply and accumulate function. The CPU12
has extended math capabilities, including the EMACS instruction which
uses 16-bit input operands and accumulates the sum to a 32-bit memory
location and 32-bit by 16-bit divide instructions.
One benefit of the WAV instruction is that both a sum of products and a sum
of weights are maintained, while the fuzzy output operand is only accessed
from memory once. Since memory access time is such a significant part of
execution time, this provides a speed advantage compared to conventional
instructions.
The weighted average of singletons is the most commonly used technique
in microcontrollers because it is computationally less difficult than most
other methods. The simplest method is called max defuzzification, which
simply uses the largest fuzzy output as the system result. However, this
approach does not take into account any other fuzzy outputs, even when
they are almost as true as the chosen max output. Max defuzzification is not
a good general choice because it only works for a subset of fuzzy logic
applications.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com