CN1340908A - Control method of step motor - Google Patents

Control method of step motor Download PDF

Info

Publication number
CN1340908A
CN1340908A CN 00126469 CN00126469A CN1340908A CN 1340908 A CN1340908 A CN 1340908A CN 00126469 CN00126469 CN 00126469 CN 00126469 A CN00126469 A CN 00126469A CN 1340908 A CN1340908 A CN 1340908A
Authority
CN
China
Prior art keywords
radix
aforementioned
control
triggering signal
counting
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN 00126469
Other languages
Chinese (zh)
Other versions
CN1178375C (en
Inventor
黄柏尧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor 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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CNB001264699A priority Critical patent/CN1178375C/en
Publication of CN1340908A publication Critical patent/CN1340908A/en
Application granted granted Critical
Publication of CN1178375C publication Critical patent/CN1178375C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

A method for controlling the step motor by three sets of parameters of counted value, counting base number and constant-speed period includes such steps as generating synchronous motor trigger signal by the exposing pulse generated by image detection module of scanner, clearing the accumulated base number value, accumulating the base number value by adding the accumulated base number with counting base number for each reference pulse, generating non-synchrous motor trigger signal when the accumulated base number value is greater than pulse counted value, and clearing the accumulated base number.

Description

The control method of stepper motor
The present invention relates to motor control system, particularly with the control method of the motor of the stepper motor of less parameters gated sweep device.
The moving frame of scanner (Carriage) generally is to be driven by stepper motor.For the big load of inertia that makes this moving frame etc. can accelerate to the speed running of demand, gradually adopt the linear control mode of quickening to overcome static inertia and frictional force at present.Do not start stepper motor if use the control mode of this linearity acceleration, this stepper motor is difficult for reaching the running of higher speed.
But the control mode that the linearity that is applied in the stepper motor control of scanner is at present quickened must provide nearly 7 groups of Control Parameter to control motor starting, running and recall (back-track) control.These Control Parameter comprise that motor moves trigger interval (MMTI), motor Move Mode table (MMPT), motor Move Mode table length (MMPTL), motor and stops at interval (MSI), motor reversal interval (MRI), motor slow down (MSDI) and motor speed reducing ratio (MSDR) etc. at interval.In these parameters, the setting of each parameter can interact, to such an extent as to when being applied in the different scanning device, its parameter mostly need reset, and because nearly 7 groups of parameters are therefore quite time-consuming in design.
Have owing to the problems referred to above, the purpose of this invention is to provide a kind of is the stepping motor control method that may command is applied to the stepper motor of scanner with three groups of Control Parameter only.
According to stepping motor control method of the present invention, be to utilize three groups of parameters such as MCSI during counted number of pulses PCN, counting radix CB and the constant speed to control the rotation of motor, this control method comprises the following step:
(a) produce the syncmotor triggering signal, promptly the exposed pulse CVTR that is produced with the image detection module of this scanner sends a motor triggering signal, and removes the radix accumulated value;
(b) the aforementioned radix accumulated value of accumulative total promptly at each reference pulse, adds counting radix CB with the radix accumulated value; And
(c) produce asynchronous motor triggering signal, promptly, send an asynchronous motor triggering signal, and remove this radix accumulated value when radix accumulated value during more than or equal to counted number of pulses PCN.
Stepping motor control method of the present invention is the action of mode control step motor when recalling control of depositing counting radix TCB with control, and its controlled step is as follows:
(a) initial value design is about to one and deposits counting radix TCB and set counting radix CB for, and will just change the Q-character activation;
(b) deceleration control, execution subroutine A to be exporting asynchronous motor triggering signal, and will deposit counting radix TCB and subtract 1, and repeating this step, to deposit counting radix TCB to this be 0;
(c) control is quickened in counter-rotating, will just change Q-character cancellation activation, and execution subroutine A to be exporting asynchronous motor triggering signal, and will deposit counting radix TCB and add 1, and repeats this step and deposit counting radix TCB to this and equal to count radix CB;
(d) counter-rotating constant speed control, execution subroutine A to be exporting asynchronous motor triggering signal, and repeats this step number of times that MCSI stored during the constant speed;
(e) counter-rotating deceleration control, execution subroutine A to be exporting asynchronous motor triggering signal, and will deposit counting radix TCB and subtract 1, and repeat this step this to deposit counting radix TCB be 0;
(f) just changeing acceleration control, promptly after receiving an enabling signal, will just change the Q-character activation, and execution subroutine A is to export asynchronous motor triggering signal, and will deposit counting radix TCB and add 1, and repeat this step and deposit counting radix TCB to this and equal to count radix CB; And,
(g) just changeing constant speed control, execution subroutine A to be exporting asynchronous motor triggering signal, and repeats this step number of times that MSCI stored during the constant speed; Wherein, subprogram A comprises the following step:
(a) accumulative total radix accumulated value, promptly corresponding each reference pulse adds the radix accumulated value and deposits counting radix TCB; And,
(b) produce asynchronous motor triggering signal, promptly, send an asynchronous motor triggering signal, and remove this radix accumulated value when radix accumulated value during more than or equal to counted number of pulses PCN.
Below with reference to description of drawings preferred embodiment of the present invention.
Fig. 1 shows the sequential chart of the motor triggering signal that stepper motor control system of the present invention is produced.
Fig. 2 shows when stepper motor control system of the present invention is recalled flow process control, the position view of its moving frame.
What Fig. 3 showed stepper motor control system of the present invention initiatively makes control flow chart.
Fig. 4 shows the control flow chart of the deceleration regime of stepper motor control system of the present invention when recalling control.
Fig. 5 shows the control flow chart of the counter-rotating acceleration mode of stepper motor control system of the present invention when recalling control.
Fig. 6 shows the control flow chart of the counter-rotating constant speed state of stepper motor control system of the present invention when recalling control.
Fig. 7 shows the control flow chart of the counter-rotating deceleration regime of stepper motor control system of the present invention when recalling control.
Fig. 8 shows the control flow chart that just change acceleration mode of stepper motor control system of the present invention when recalling control.
Fig. 9 shows the control flow chart that just change constant speed state of stepper motor control system of the present invention when recalling control.
Figure 10 shows the speed and the time relation figure of the motor of stepper motor control system of the present invention when recalling control.
Figure 11 shows the control flow chart of subprogram A of the present invention.
Figure 12 shows the control flow chart that just changes the constant speed state when stepper motor control system of the present invention is swept acceleration in advance.
Stepper motor control system of the present invention is to be used for controlling the rotation that is assemblied in the stepper motor in the scanner, and then the action of control moving frame.Generally speaking, the moving frame of scanner comprises several actions, the constant speed when promptly scanning advances, retreating fast when playbacking, when sweeping in advance advance fast and storage buffer stops when saturated recalls control.And this recall control comprise just change that decelerations, counter-rotating are quickened, counter-rotating constant speed, counter-rotating slow down, stop, just changeing acceleration and just changeing the stage such as constant speed.The action that it is the moving frame of the above-mentioned scanner of may command that the present invention only need import three Control Parameter.
These Control Parameter comprise counted number of pulses PCN, counting radix CB and motor constant speed interval MCSI etc.Counted number of pulses PCN is with the cycle of deciding asynchronous motor triggering signal.And counting radix CB has two functions, and a function is to adjust motor speed, is used as the accumulative total radix of asynchronous motor triggering signal, and another function is to quicken and the speed reducing ratio of slowing down as motor when recalling control.In addition, the 3rd Control Parameter is motor constant speed MCSI at interval, is to be used for being set in when recalling control, the step number of motor constant speed walking.
The account form of counted number of pulses PCN is the umber of pulse of the reference frequency R_CLK that calculated each time for exposure of image detection module (E_time) of scanner, i.e. function as the formula (1):
PCN=E_time *R_CLK…(1)
For example, be 0.25MHz, 2400dpi and can scan 8.5 that " scanner of file, if the data transmission rate of CCD is 5MB/S, then its CCD has 20400 (2400 for reference frequency *8.5) individual detecting unit, its time for exposure is 4.08ms (20400/5 (MB/s)), so its counted number of pulses PCN is 1020 (4.08ms according to formula (1) *0.25MHz).
Figure 1 shows that the sequential chart of the motor triggering signal that stepper motor control system of the present invention is produced.Show reference frequency R_CLK, exposure triggering signal CVTR, the motor synchronous triggering signal STR of image detection module and the relation of the asynchronous triggering signal ASTR of motor among the figure.General scanner all can provide the operating frequency of a higher-frequency, and conduct was with reference to frequency R_CLK after stepper motor control system of the present invention can be utilized this operating frequency process frequency elimination.And be configured in the image detection module in the scanner, for example CCD when each exposure begins, all can send exposure triggering signal CVTR.The asynchronous triggering signal ASTR of motor synchronous triggering signal STR and motor provides triggering signal to stepper motor with the OR compute mode, uses to drive this stepper motor rotation.
As shown in Figure 1, at the trailing edge generation syncmotor triggering signal STR of each exposure triggering signal CVTR, and remove a radix accumulated value BA in the leading edge of exposure triggering signal CVTR.Radix accumulated value BA calculates according to formula (2):
BA=BA+CB …(2)
When radix accumulated value BA>=PCN, except producing an asynchronous motor triggering signal ASTR, also simultaneously this radix accumulated value BA being removed is 0, again counting.Definition according to counted number of pulses PCN can be understood, and in the cycle, can produce the reference pulse number that counted number of pulses PCN sets at an exposure triggering signal CVTR.Therefore, when counting radix CB is 1, remove, therefore only have syncmotor triggering signal STR can produce the motor trigger impulse because radix accumulated value BA, promptly is exposed triggering signal CVTR as yet not more than or equal to counted number of pulses PCN.When counting radix CB was 2, then because of radix accumulated value BA adds 2 at every turn, therefore asynchronous motor triggering signal ASTR can produce a pulse in the only about half of position of exposure triggering signal CVTR.In this case, syncmotor triggering signal STR and asynchronous motor triggering signal ASTR can produce 2 motor trigger impulses at an exposure triggering signal CVTR in the cycle, and the speed of stepper motor becomes 2 times.And in example shown in Figure 1 because counting radix CB is 4, therefore asynchronous motor triggering signal ASTR can exposure triggering signal CVTR about 1/4,1/2, produce a motor trigger impulse respectively with 3/4 position.In this case, syncmotor triggering signal STR and asynchronous motor triggering signal ASTR can produce 4 motor trigger impulses at an exposure triggering signal CVTR in the cycle, and the speed of stepper motor becomes 4 times.Therefore, can come the control step motor speed by different counting radix CB values.
Reference table 1, the relation between the resolution DPI of demonstration counted number of pulses PCN, counting radix CB and scanner.
Table one
Figure A0012646900081
As shown in table 1, if in above-mentioned example, be 2400dpi and can scan 8.5 for resolution " scanner of file, its counted number of pulses PCN is PCN=1020 according to formula (1), this moment, its counting radix CB value was 1.If resolution is reduced to 1200dpi or 600dpi, change 2 or 4 into as long as then will count radix CB, the adjustment of parameter is quite simple.And, because counting radix CB has the function of adjusting the motor acceleration and deceleration concurrently, therefore can be by simultaneously counted number of pulses PCN and counting radix CB being multiplied by a radix, for example 2,4 or 8.So, can increase counting radix CB value, and the motor acceleration and deceleration are changed, but not influence the control of running speed.
Fig. 2 shows that the storage buffer when scanner is saturated and starts when recalling control, the mobile situation and the relative position thereof of its moving frame, and wherein vertical line S recalls the moving frame position of control when beginning.As shown in the drawing, state one is the constant speed forward travel state of scanner before recalling control.State two is for recalling the deceleration regime of advancing after control starts.State three retreats acceleration mode after for the deceleration regime of advancing.State four is for retreating the constant speed state that retreats behind the acceleration mode.State five is for retreating the deceleration regime that retreats behind the constant speed state.State six is for retreating the acceleration mode that advances after the deceleration regime.The state seven constant speed state that advances after for the acceleration mode that advances.Wherein, stepper motor can temporarily stop between state five and state six, waits for that the data in the memory are transmitted.Below with reference to Fig. 3~Fig. 9 the control flow of each state is described, wherein Fig. 4~Fig. 9 is the recall control flow of corresponding states two to state seven.At the control flow of state two, be to deposit counting radix TCB value by change to come control rate to each state of state seven.
Below, to Fig. 9, describe control flow of the present invention with reference to figure 3 in detail.Fig. 3 shows in the control system of the present invention, the control flow chart of motor triggering signal.In case scanner begins the CD-ROM drive motor running, promptly carries out this control flow.Being described as follows of its each step:
Step S302: will just change Q-character and be set at 1, will deposit counting radix TCB and be set at counting radix CB, and remove the radix accumulated value, be i.e. CW=1, TCB=CB, BA=0;
Step S304: whether have reference pulse R_CLK, if detect reference pulse R_CLK, then skip to step S306 if detecting, otherwise continue to detect;
Step S306: radix accumulated value BA added deposit counting radix TCB value, i.e. BA=BA+TCB:
Step S308: relatively whether radix accumulated value BA is more than or equal to counted number of pulses PCN.If more than or equal to counted number of pulses PCN, then skip to step S311, otherwise skip to step S310;
Step S310: whether have exposure triggering signal CVTR, if detect exposure triggering signal CVTR, then skip to step S312, otherwise skip to step S304 if detecting;
Step S311: send an asynchronous motor triggering signal ASTR, and remove radix accumulated value BA, and skip to step S304;
Step S312: send a synchronous motor triggering signal STR, and remove radix accumulated value BA;
Step S314: whether detection of stored device buffer is full, and promptly whether buffer saturation characteristics position BFF is 1, if then skip to step S316, otherwise skips to step S318;
Step S316: start and recall control;
Step S318: whether finish to drive,, otherwise skip to step S304 if then finish this control.
Fig. 4 reading scan device is at the deceleration regime of recalling after control starts of advancing (state two), the control flow chart of control system of the present invention.Being described as follows of its each step:
Step S402: will just change Q-character and be set at 1, and will deposit counting radix TCB and be set at counting radix CB value, be i.e. CW=1, TCB=CB;
Step S404: executive program A, and export asynchronous motor triggering signal ASTR;
Step S406: will deposit counting radix TCB and subtract 1, be i.e. TCB=TCB-1;
Step S408: deposit relatively whether counting radix TCB is 0, if 0, skip to state three controlled step, otherwise skip to step S404.
Fig. 5 reading scan device retreats acceleration mode (state three), the control flow chart of control system of the present invention after starting recalling control.Being described as follows of its each step:
Step S502: will just change Q-character and be set at 0, and remove and to deposit counting radix TCB, be i.e. CW=0, TCB=0;
Step S504: executive program A, and export asynchronous motor triggering signal ASTR;
Step S506: will deposit counting radix TCB and add 1, be i.e. TCB=TCB+1;
Step S508: relatively deposit counting radix TCB and whether equal to count radix CB value,, otherwise skip to step S504 if equal then to skip to state four controlled step.
Fig. 6 reading scan device is at the constant speed state that retreats (state four) of recalling after control starts, the control flow chart of control system of the present invention.Being described as follows of its each step:
Step S602: will just change Q-character and be set at 0, and will deposit counting TC and be set at interval MCSI of motor constant speed, be i.e. CW=0, TC=MCSI;
Step S604: executive program A, and export asynchronous motor triggering signal ASTR;
Step S606: will deposit counting TC and subtract 1, be i.e. TC=TC-1;
Step S608: deposit relatively whether counting TC is 0, if 0, skip to state five controlled step, otherwise skip to step S604.
Fig. 7 reading scan device retreats deceleration regime (state five), the control flow chart of control system of the present invention after starting recalling control.Being described as follows of its each step:
Step S702: will just change Q-character and be set at 0, and will deposit counting radix TCB and be set at counting radix CB value, be i.e. CW=0, TCB=0;
Step S704: executive program A, and export asynchronous motor triggering signal ASTR;
Step S706: will deposit counting radix TCB and subtract 1, be i.e. TCB=TCB-1;
Step S708: deposit relatively whether counting radix TCB is 0,, otherwise skip to step S704 if 0 skips to step S710;
Step S710: whether the storage buffer of checkout scanner can continue to store data, is then to skip to state six controlled step.
Fig. 8 reading scan device is at the acceleration mode that advances (state six) of recalling after control starts, the control flow chart of control system of the present invention.Being described as follows of its each step:
Step S802: will just change Q-character and be set at 1, and remove and to deposit counting radix TCB, i.e. CW=1, TCB=0:
Step S804: executive program A, and export asynchronous motor triggering signal ASTR;
Step S806: will deposit counting radix TCB and add 1, be i.e. TCB=TCB+1:
Step S808: relatively deposit counting radix TCB and whether equal to count radix CB value,, otherwise skip to step S804 if equal then to skip to state seven controlled step.
Fig. 9 reading scan device is at the constant speed state that retreats (state seven) of recalling after control starts, the control flow chart of control system of the present invention.Being described as follows of its each step:
Step S902: will just change Q-character and be set at 1, and will deposit counting TC and be set at interval MCSI of motor constant speed, i.e. CW=0, TC=MCSI:
Step S904: executive program A, and export asynchronous motor triggering signal ASTR;
Step S906: will deposit counting radix TC and subtract 1, be i.e. TC=TC-1;
Step S908: deposit relatively whether counting radix TC is 0, if 0, skip to state one controlled step, otherwise skip to step S904.
To the control flow of state seven, mainly is the variation that counting radix TCB value is deposited in control as above-mentioned state two, counts radix TCB value by different depositing, and gets final product the speed of effective control step motor.
Figure 10 shows motor when recalling control, the acceleration-deceleration curve of the stop and start of different counting radix CB values, and wherein the curve A of solid line is represented less counting radix CB value, and the curve B of dotted line is represented bigger counting radix CB value.Can be known by illustrated curve and to recognize that counting radix CB value is big more, the time of its stop and start is long more, so can select suitable counting radix CB value according to the design requirement of scanner.Table one shows the relation table of counting radix CB value, resolution and counted number of pulses PCN.If the resolution of scanner is 2400DPI, and to calculate its counted number of pulses PCN be 1020, and count radix CB value this moment is 1.When this occasion, the dwell time of its motor and start-up time only are the cycle of 1 asynchronous motor triggering signal ASTR.If want to prolong the dwell time and the start-up time of motor, then can improve counting radix CB value, for example will count radix CB value increases by 4 times, when this occasion, is extended for the dwell time of its motor and start-up time the cycle of 4 asynchronous motor triggering signal ASTR.As shown in Table 1, when will counting the increase of radix CB value multiple, also needing increase counted number of pulses PCN multiple.
The control flow of Figure 11 display subroutine A.This control flow is when detecting each reference frequency pulse, radix accumulated value BA is added deposit counting radix TCB value, i.e. BA=BA+TCB; And during more than or equal to counted number of pulses PCN, export an asynchronous motor triggering signal ASTR in radix accumulated value BA.
In addition, general scanner all has the function that prescan is provided.When carrying out this prescan function because its resolution is lower, 75DPI for example, thus its moving frame also lifting relatively of speed.But general step motor can't reach high speed rotating if not having effectively to quicken to adjust overcomes its stiction.Stepper motor control system of the present invention can reach by control counting radix CB value or counted number of pulses PCN and quicken to adjust, and stepper motor is reached at short notice run up.Figure 12 shows that this quickens the flow chart of adjusting.The control flow of Figure 12 below is described:
Step S1102: utilize main frame (figure does not show) that required many group pulses count value PCN and counting radix CB are inserted the acceleration control table;
Step S1104: be written into set of pulses count value PCN and counting radix CB, and radix accumulated value BA is removed is 0;
Step S1106: detect whether exposure triggering signal CVTR is High,, otherwise carry out next step if High then skips to step S1104;
Step S1108: whether have reference pulse R_CLK, if detect reference pulse R_CLK, then carry out next step if detecting, otherwise continue to detect;
Step S1110: radix accumulated value BA is added counting radix CB value, i.e. BA=BA+CB;
Step S1112: relatively whether radix accumulated value BA is more than or equal to counted number of pulses PCN.If more than or equal to counted number of pulses PCN, then skip to step S1114, otherwise skip to step S1116;
Step S1114: send an asynchronous motor triggering signal ASTR, and remove radix accumulated value BA, and skip to step S1120;
Step S1116: whether detect exposure triggering signal CVTR for there being negative edge to change, then do not skip to step S1120, then carry out next step if having if have;
Step S1118: send a synchronous motor triggering signal STR, and remove radix accumulated value BA, and skip to step S1120;
Step S1120: finishing control whether then skips to step S1106, if not if then finish.
According to above-mentioned control flow, as long as main frame is inserted suitable many group pulses count value PCN and is counted radix CB to accelerometer, as long as be written into set of pulses count value PCN and counting radix CB in regular turn when exposure triggering signal CVTR is High, can control the startup of motor really afterwards each the detection.And the counted number of pulses PCN that inserts accelerometer can have different variations with counting radix CB, is described below respectively:
First kind of mode is fixed pulse count value PCN, adjusts counting radix CB.Even counted number of pulses PCN fixes, change from small to big in regular turn and to adjust and will count radix CB, for example count radix CB and be adjusted to 32 from 1.Because counting radix CB progressively increases to 32 by 1 beginning, if counting radix CB is 1 o'clock, its resolution is 2400DPI, and then when counting radix CB was 32, its resolution was 75DPI.So after this control flow finished, motor promptly continued to rotate with the speed of 75DPI, with the quick scanning motion of sweeping in advance.The second way is to adjust counted number of pulses PCN, fixed count radix CB.Even counting radix CB fixes, and counted number of pulses PCN is adjusted from large to small in regular turn.And the third mode is to adjust counted number of pulses PCN and counting radix CB simultaneously.
Stepping motor control method of the present invention gets final product the speed of the stepper motor of gated sweep device because of only needing 3 Control Parameter, comprises normal rotation and high-speed starting, also support simultaneously and recall action, and parameter designing is simple.Owing to only use 3 groups of parameters, can save the GATE number of IC.Moreover, when stepping motor control method of the present invention is applied to so-called wire rate (line-rate) scanner, CIS scanner for example, only need divided by 3 reference frequency, or counted number of pulses PCN be multiply by 3, and cover two CVTR signals, promptly applicable above-mentioned control method.
The above only is a kind of embodiment, does not therefore limit protection scope of the present invention, and only otherwise break away from main idea of the present invention, those skilled in the art can carry out various distortion or change.

Claims (6)

1. the control method of the stepper motor of a scanner is to utilize three groups of parameters such as MCSI during counted number of pulses PCN, counting radix CB and the constant speed to control the rotation of motor, and this control method comprises the following step:
Produce the syncmotor triggering signal, promptly each the exposed pulse CVTR that is produced corresponding to the image detection module of this scanner produces a synchronous motor triggering signal, and removes a radix accumulated value;
The aforementioned radix accumulated value of accumulative total promptly corresponding to each reference pulse, adds aforementioned counting radix CB with aforementioned radix accumulated value;
Produce asynchronous motor triggering signal, promptly, send an asynchronous motor triggering signal, and remove this radix accumulated value when aforementioned radix accumulated value during more than or equal to aforementioned counted number of pulses PCN; And,
When the storage buffer that detects aforementioned scanners is expired, start and recall control.
2. the control method of the stepper motor of scanner according to claim 1, wherein aforementionedly recall control and comprise the following step:
Initial value design is about to one and deposits counting radix TCB and set aforementioned counting radix CB for, and will just change the Q-character activation;
Deceleration control, execution subroutine A to be exporting asynchronous motor triggering signal, and the aforementioned counting radix TCB that deposits is subtracted 1, and repeating this step, to deposit counting radix TCB to this be 0;
Control is quickened in counter-rotating, will aforementionedly just change Q-character cancellation activation, and execution subroutine A to be exporting asynchronous motor triggering signal, and will aforementionedly deposit and count radix TCB and add 1, and repeats this step and deposit to this and count radix TCB and equal to count radix CB;
Counter-rotating constant speed control, execution subroutine A to be exporting asynchronous motor triggering signal, and repeats this step number of times that MCSI stored during the aforementioned constant speed;
The counter-rotating deceleration control, execution subroutine A to be exporting asynchronous motor triggering signal, and will deposit counting radix TCB and subtract 1, and repeat this step this to deposit counting radix TCB be 0;
Just changeing and quickening control, promptly after receiving an enabling signal, just changeing the Q-character activation with aforementioned, execution subroutine A is to export asynchronous motor triggering signal, and will deposit counting radix TCB and add 1, and repeat this step and deposit counting radix TCB to this and equal to count radix CB; And,
Just changeing constant speed control, execution subroutine A to be exporting asynchronous motor triggering signal, and repeats this step number of times that MCSI stored during the aforementioned constant speed;
Wherein, aforementioned subprogram A comprises the following step:
The aforementioned radix accumulated value of accumulative total, promptly corresponding each reference pulse adds the aforementioned counting radix TCB that deposits with aforementioned radix accumulated value; And,
Produce asynchronous motor triggering signal, promptly, send an asynchronous motor triggering signal, and remove this radix accumulated value when aforementioned radix accumulated value during more than or equal to aforementioned counted number of pulses PCN.
3. the control method of the stepper motor of scanner according to claim 2 wherein is multiplied by an integer radix with aforementioned counted number of pulses PCN and counting radix CB simultaneously, can adjust aforementioned acceleration and the deceleration of recalling when controlling.
4. the control method of the stepper motor of scanner according to claim 3, also comprise this acceleration control program, this acceleration control program can be applicable to the motor starting control of this scanner when sweeping in advance, and the motor starting control when retreating, and this acceleration control program comprises:
Step 1: insert many group pulses count value PCN and quicken control table with counting radix CB to;
Step 2: be written into set of pulses count value PCN and counting radix CB from above-mentioned acceleration control table, and remove radix accumulated value BA;
Step 3: if detect exposed pulse CVTR, then export aforementioned syncmotor triggering signal, and be written into down set of pulses count value PCN and counting radix CB, remove radix accumulated value BA simultaneously;
Step 4: if when detecting reference pulse, aforementioned radix accumulated value BA is added aforementioned counting radix CB, and during more than or equal to aforementioned counted number of pulses PCN, send an asynchronous motor triggering signal, and remove this radix accumulated value in aforementioned radix accumulated value BA; And,
Step 5: repeating step three quickens control program with step 4 to this to be finished.
5. the control method of the stepper motor of scanner according to claim 3, when wherein this control method is applied to wire rate scanning, be frequency with the above-mentioned reference pulse divided by 3, and cover two exposed pulse CVTR signals.
6. the control method of the stepper motor of scanner according to claim 3 when wherein this control method is applied to wire rate scanning, is that aforementioned counted number of pulses PCN be multiply by 3, and covers two exposed pulse CVTR signals.
CNB001264699A 2000-09-01 2000-09-01 Control method of step motor Expired - Fee Related CN1178375C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB001264699A CN1178375C (en) 2000-09-01 2000-09-01 Control method of step motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB001264699A CN1178375C (en) 2000-09-01 2000-09-01 Control method of step motor

Publications (2)

Publication Number Publication Date
CN1340908A true CN1340908A (en) 2002-03-20
CN1178375C CN1178375C (en) 2004-12-01

Family

ID=4591827

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB001264699A Expired - Fee Related CN1178375C (en) 2000-09-01 2000-09-01 Control method of step motor

Country Status (1)

Country Link
CN (1) CN1178375C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100384207C (en) * 2005-06-03 2008-04-23 虹光精密工业(苏州)有限公司 Method for correcting image parameters and scanning device
CN112803846A (en) * 2015-12-07 2021-05-14 密克罗奇普技术公司 Stepping motor control circuit and method for controlling stepping motor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323486C (en) * 2005-01-13 2007-06-27 中国科学院长春光学精密机械与物理研究所 Servo controller for scanning in constant speed

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100384207C (en) * 2005-06-03 2008-04-23 虹光精密工业(苏州)有限公司 Method for correcting image parameters and scanning device
CN112803846A (en) * 2015-12-07 2021-05-14 密克罗奇普技术公司 Stepping motor control circuit and method for controlling stepping motor

Also Published As

Publication number Publication date
CN1178375C (en) 2004-12-01

Similar Documents

Publication Publication Date Title
CN1449187A (en) Image pick-up device
CN1090093C (en) Ink jet printer and drive method thereof
CN1178375C (en) Control method of step motor
CN1592070A (en) Vibration type actuator drive controller and method of controlling drive speed of vibration type actuator
CN1054016C (en) Image pickup device and system thereof
CN1161966C (en) Image sensor
CN101047354A (en) Low speed driving control device of DC motor and control method thereof
JPH07114473B2 (en) A method for minimizing residual charge in an asynchronous raster input scanner.
CN1496096A (en) Image fetch device
CN1212383A (en) Image fetch unit and method and image forming device and method
CN1738356A (en) Improve the method for CCD image collection system frame rate
CN1478936A (en) Control device of sewing machine and its control method of sewing machine
GB2062398A (en) Controlling writing timings of picture signals
CN1598703A (en) Image reading apparatus, image forming apparatus and image reading method
CN1204580A (en) Dot line printer
CN1607469A (en) Method and apparatus for controlling power of laser diodes
JP2856967B2 (en) Scanning head movement control device for cylindrical scanning device
CN2401937Y (en) Image scanner with dc motor
CN1700724A (en) Scanner and exposure control method thereof
US6388415B1 (en) System and method for controlling a step motor in a scanner
CN100351083C (en) Image forming apparatus and high-resolution printing method in a horizontal direction
CN1463074A (en) Motor driver and registering instrument including same
CN2744654Y (en) Automatic paper driving device
JPH07105864B2 (en) Image reader
CN1719505A (en) LCD driver of mobile communication terminal and its method

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20041201

Termination date: 20100901