?? servoparams_dv34.c
字號:
/*------------- Automatically generated parameters file ----------------/
/ /
/ ZORAN Corporation 3112 Scott Blvd., Santa Clara, CA 95054 /
/ Phone (408) 919-4111 Fax (408) 919-4122 /
/ /
/ +------------------------------------------+ /
/ | Proprietary and Confidential Information | /
/ +------------------------------------------+ /
/ /
/----------------------------- Do not edit -----------------------------*/
#include "drive_setting\DV34\ServoParams_DV34.h"
#include "Drive\ZFE\Shared\DSP\ServoParams\ServoParams.h"
#include "drive_setting\DV34\DrcParams_DV34.h"
CONST ServoParam ServoInitParams[] = {
// Defines
#define BEMF_CURR_DETECT
// Debug DACs
{DM_bEnableDebugPointers, 0x0000}, // DSP (0)
{bEnableDebugMsg, 0x0000}, // DSP (0)
// Streaming to debug dacs - for debuggin
// DM_pDebugDacB
// DM_DebugDacBShift
// DM_pDebugDacA
// DM_DebugDacAShift
// DM_pDebugDacA
// DM_DebugDacAShift
// DM_DataTrace1DS
// Drive parameters
{JoinedSledTrayMotor, 0x0000}, // DSP (0)
{FocusActuatorSign, 0xFFFF}, // DSP (-1)
{TrackingActuatorSign, 0xFFFF}, // DSP (-1)
{SledMotorSign, 0xFFFF}, // DSP (-1)
{SpindleMotorSign, 0xFFFF}, // DSP (-1)
{FocusErrorSign, 0x0001}, // DSP (1)
// Features on/off
#ifdef CD_EXT
{CdExtendedMode, 0x0001}, // DSP (1)
#else
{CdExtendedMode, 0x0000}, // DSP (0)
#endif /* CD_EXT */
{CdUseDpd, 0x0000}, // DSP (0)
{FocusBalanceOn, 0x0000}, // DSP (0)
{TrackingPullInOn, 0x0001}, // DSP (1)
{FocusDefectHandlingOn, 0x0001}, // DSP (1)
{TrackingDefectHandlingOn, 0x0001}, // DSP (1)
{FocusFailureOn, 0x0001}, // DSP (1)
{TrackingFailureOn, 0x0001}, // DSP (1)
{FocusLoopGainCalibrationOn, 0x0001}, // DSP (1)
{TrackingLoopGainCalibrationOn, 0x0001}, // DSP (1)
{ShortJumpFailureOn, 0x0001}, // DSP (1)
{LayerJumpOn, 0x0001}, // DSP (1)
{AFF_on_off, 0x0000}, // DSP (0)
{ActDacBiasCancelationOn, 0x0000}, // DSP (0)
{ShortJumpDefectHandlingOn, 0x0001}, // DSP (1)
#ifdef HD65_AAI
{HomeSwitchAvailable, 0x0001}, // DSP (1)
#else
{HomeSwitchAvailable, 0x0000}, // DSP (0)
#endif
{LeapSizeForHoming, 0xA000}, // DSP (40960)
{FeOffsetVsRfCalibOn, 0x0000}, // DSP (0)
// Media detection parameters
{MD_uUpRepetitionTime, 0x049E}, // DSP (1182): 768 Resolution adjustment of the m.d. slope
{MD_uDownRepetitionTime, 0x024F}, // DSP (591): 384 Resolution adjustment of the m.d. slope
{MD_iHighProfilePoint, 0x07D0}, // DSP (2000)
{MD_iLowProfilePoint, 0xFC6C}, // DSP (-916)
{MD_uMaxAvgFECntExp, 0x0007}, // DSP (7): Average FE offset measurement on 128 samples
{MD_uSpindleKick, 0x01CF}, // DSP (0x1cf)
// Media detection thresholds and timeout
{MD_uDvdCdTimeThreshold, 0x0E8D}, // DSP (3725)
{MD_uDvdLayer2Threshold, 0x0384}, // DSP (900)
{MD_uSurfaceDetectTimeout, 0x3B6A}, // DSP (15210)
{MD_uDataDetectTimeout, 0x1A8B}, // DSP (6795)
{MD_uCdrwDecisionTime, 0x0550}, // DSP (1360)
{MD_uPIThreshold, 0x0554}, // DSP (1364)
{MD_uCdrwDecisionLevel, 0x51D1}, // DSP (20945)
{MD_uDVDrwDecisionLevel, 0x4590}, // DSP (17808)
{MD_uDataLevel, 0x16D4}, // DSP (5844)
{MD_iFeThresholdLevel, 0x06AD}, // DSP (1709)
{MD_uSurfaceDataMinDelay, 0x05DC}, // DSP (1500)
{MD_uDualLayersMinDelay, 0x00B4}, // DSP (180)
// FE gain calibration parameters
{FG_iStartProfile, 0xFE24}, // DSP (-476)
{FG_iEndProfile, 0x03B8}, // DSP (952)
{FG_iFeThresholdLevel, 0x03E8}, // DSP (1000)
{FG_iKeepRepititionTime, 0x0014}, // DSP (20)
{FG_iTime4Change, 0x0546}, // DSP (1350)
{FG_uOffsetCalibNumExp, 0x0002}, // DSP (2)
{FG_uNumberOfChanges, 0x0008}, // DSP (8)
// Calibration parameters
{EccMeasurementTime, 0x0A8C}, // DSP (=60*45)
{CL_uAvgNumTeExp, 0x000B}, // DSP (11)
{CL_uSectionNumTeExp, 0x0002}, // DSP (2)
{CL_EF_min_amplitude, 0x0000}, // DSP (0): Min TE
{CL_uFocusDacMeasureTime, 0x1194}, // DSP (=100/1000*45000)
{CL_uAgcMeasureTime, 0x00C8}, // DSP (200)
{TEGainOffsetDelay, 0x0465}, // DSP (1125)
// Defect parameters
{DefectParameters, 0x0000}, // DSP (0)
{SrvDefectParameters, 0x8000}, // DSP (0x8000)
{SrvDefectDelay, 0x0000}, // DSP (0)
{SrvWDParameters, 0x0000}, // DSP (0)
{MirrDefectParameters, 0x8000}, // DSP (0x8000)
// Track pull in parameters
{TP_Timeout, 0x1194}, // DSP (4500): Track pull in timeout
{TP_uWhiteDotMinSize, 0x09AB}, // DSP (=55/1000*45000): 55 ms
// Flash card reader offset and gain
{uGainforFCD, 0x0008}, // DSP (0x8)
{uOffsetforFCD_CDmode, 0x00AC}, // DSP (0xac)
{uOffsetforFCD_DVDmode, 0x00A0}, // DSP (0xa0)
// NBCA SEEK parameters
{NBCA_uMaxTimeDiff, 0x000F}, // DSP (15): Maximum time difference between two consecutive NBCA's.
{NBCA_uAmpThreshold, 0x0003}, // DSP (0x3): Minimum amplitude threshold for NBCA indication.
{NBCA_uWhiteTimeThreshold, 0x03E8}, // DSP (1000): Minimum time threshold for recognizing the white area.
{NBCA_uDcOffset, 0x0300}, // DSP (0x300): DC offset of the pulses.
{NBCA_uPulseTime, 0x004B}, // DSP (0x4b): Detrmines the frequency of the pulses.
// RF SEARCH parameters
{RF_SEARCH_uDcOffset, 0x0300}, // DSP (0x300)
{RF_SEARCH_uPulseTime, 0x004B}, // DSP (0x4b)
{RF_SEARCH_uAmpThreshold, 0x0004}, // DSP (0x4)
// Focus Balance according to minimum jitter point
{FocusBalanceVsJitter, 0x0000}, // DSP (0)
{FocusBalanceThreshold, 0x00C0}, // DSP (0xc0): The minimum difference between two points in order to find a trend.
// DACs bias cancelation parameters
{iFocusBiasCancelationStepExp, 0x0003}, // DSP (3)
{iTrackingBiasCancelationStepExp, 0x0003}, // DSP (3)
{uBiasAverageNumber, 0x0010}, // DSP (0x10)
{CL_iMaxAllowedCenterBias, 0x0100}, // DSP (0x100): Limit for bias canceling
// Focus controller parameters
{FC_uFocusFailWindow, 0x5266}, // DSP (=ROUND(0.005*67500000/16,0)): 5ms*67.5Mhz/16
{FC_iFocusFailThreshold, 0x1000}, // DSP (0x1000)
// Loop gain BPF coefs
{iLGTrackingBpfB0Coef, 0x00E2}, // DSP (226)
{iLGTrackingBpfB1Coef, 0x0000}, // DSP (0)
{iLGTrackingBpfB2Coef, 0xFF1E}, // DSP (-226)
{iLGTrackingBpfA1Coef, 0x79F3}, // DSP (31219)
{iLGTrackingBpfA2Coef, 0xC1C3}, // DSP (-15933)
{iLGFocusBpfB0Coef, 0x00E2}, // DSP (226)
{iLGFocusBpfB1Coef, 0x0000}, // DSP (0)
{iLGFocusBpfB2Coef, 0xFF1E}, // DSP (-226)
{iLGFocusBpfA1Coef, 0x7CB2}, // DSP (31922)
{iLGFocusBpfA2Coef, 0xC1C3}, // DSP (-15933)
// Sled leap params
// In the following parameters each 1ms = 102.4
{LP_uLeapVelocity, 0x0400}, // DSP (0x400)
{LP_uMinTime1, 0x0629}, // DSP (1577)
{LP_uTracksTimeRatio1, 0x1540}, // DSP (5440)
{LP_uMinTime2, 0x0B70}, // DSP (2928)
{LP_uTracksTimeRatio2, 0x1102}, // DSP (4354)
{LP_uTracksThreshold, 0x03FC}, // DSP (1020)
{LP_uBrakeTimeRatio, 0x079B}, // DSP (1947)
{LP_uMaxBrakeTime, 0x0C09}, // DSP (3081): 28.44ms
{LP_uDelayAfterBrake, 0x0133}, // DSP (307): 3.00ms
// Loop gain parameters
{LG_uLoopGainNumTries, 0x0003}, // DSP (3)
{LG_iFocusSinAmplitude, 0x0040}, // DSP (0x40)
{LG_iTrackingSinAmplitude, 0x0040}, // DSP (0x40)
{LG_uFocusThreshold, 0x0100}, // DSP (0x100)
{LG_uTrackingThreshold, 0x0100}, // DSP (0x100)
{LG_uFocusSinFreq, 0x0014}, // DSP (20)
{LG_uTrackingSinFreq, 0x000C}, // DSP (12)
// Saturation parameters
// Sled output saturation
{uSledOutputMin, 0x0000}, // DSP (0)
{uSledOutputMax, 0x0FFF}, // DSP (0xfff)
// Spindle output saturation
{uSpindleOutputMin, 0x0000}, // DSP (0)
{uSpindleOutputMax, 0x0FFF}, // DSP (0xfff)
// sled output saturation during long jump
{LJ_uSledOutputMin, 0x0000}, // DSP (0)
{LJ_uSledOutputMax, 0x0FFF}, // DSP (0xfff)
// Layer jump parameters
{LC_uNumberOfTrials, 0x0000}, // DSP (0)
{LC_uSettleTime4Retry, 0x0084}, // DSP (=1.5*88): 1.5ms
{LC_iFeHiThresholdLevel, 0x0800}, // DSP (0x800)
{LC_iFeLowThresholdLevel, 0x0420}, // DSP (0x420)
{LC_iKicksSize, 0xFC18}, // DSP (-1000)
{LC_uABKicksTimes, 0x100A}, // DSP (0x100a)
{LC_uCDKicksTimes, 0x0607}, // DSP (0x0607)
{LC_iLayersCommandDiff, 0xFFFD}, // DSP (-3)
{LC_uFailTimeOut, 0x0DC0}, // DSP (=40*88): 40ms
// Spindle parameters
{CompCtrl, 0x0005}, // DSP (0x5)
#ifdef BEMF_CURR_DETECT
{BackEMFStopRotationOn, 0x0002}, // DSP (2)
{SpindleBrakePulseWidth1, 0x012C}, // DSP (300)
{SpindleBrakePulseWidth2, 0x0000}, // DSP (0)
{SpindleBrakeMuteDelay, 0x0100}, // DSP (256)
{SpindleCAVBrakeStepBEMF, 0x17FF}, // DSP (0x17ff)
{SpindleCAVBrakeStep, 0x0600}, // DSP (0x600)
{SpindleCAVAccelStep, 0x07FF}, // DSP (0x7ff)
{SP_uDirectionDelay, 0x0000}, // DSP (0)
{uBEMFReverse_Threshold, 0x0000}, // DSP (0)
{uBEMFForward_Threshold, 0x0000}, // DSP (0)
#else /* not BEMF_CURR_DETECT */
{BackEMFStopRotationOn, 0x0000}, // DSP (0)
{SpindleBrakePulseWidth1, 0x00C8}, // DSP (200)
{SpindleBrakePulseWidth2, 0x0023}, // DSP (35)
{SpindleBrakeMuteDelay, 0x0064}, // DSP (100)
{SpindleCAVBrakeStepBEMF, 0x07FF}, // DSP (0x7ff)
{SpindleCAVBrakeStep, 0x0600}, // DSP (0x600)
{SpindleCAVAccelStep, 0x07FF}, // DSP (0x7ff)
{SP_uDirectionDelay, 0x0032}, // DSP (50)
#endif
{uCalibrationSpindleSpeed, 0x0477}, // DSP (0x477)
{uCAVSpindleSpeed, 0x0300}, // DSP (0x300)
{uCalibAccelerationTime, 0x0190}, // DSP (400): 200 = One second
{uCAVAccelerationTime, 0x0190}, // DSP (400): 200 = One second
{uCalibStartRotationTime, 0x61A8}, // DSP (25000)
{uCAVStartRotationTime, 0x01F4}, // DSP (500)
// Laser handling parameters
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -