出租车计价器毕业设计外文资料

时间:2019-05-13 23:54:38下载本文作者:会员上传
简介:写写帮文库小编为你整理了多篇相关的《出租车计价器毕业设计外文资料》,但愿对你工作学习有帮助,当然你在写写帮文库还可以找到更多《出租车计价器毕业设计外文资料》。

第一篇:出租车计价器毕业设计外文资料

ABSTRACT In this paper, a multi-channel taximeter that is able to deal with more than one passenger simultaneously is proposed.In order to demonstrate the theory of operation of the proposed system, a complete design for an experimental three-channel taximeter(whose prototype has been built under grant from the Egyptian Academy for Scientific and Technological Research)is presented.System location, outline, block diagrams as well as detailed circuit diagrams for the experimental taximeter are also included.1.INTRODUCTION Transporting people in the morning from their homes to their works and back in the afternoon has become a big problem in big cities especially in undeveloped countries.As a partial solution of this problem, the authorities in some countries had, unofficially, left the taxicab drivers to carry different passengers to different places at the Same time.For example, a taxicab with four seats may carry four different passengers without any relation between them except that their way of travelling is the same.Accordingly, it has become very difficult to rely on the present conventional single-channel taximeter to determine the fare required from each passenger separately.Accordingly, an unfair financial relation was created between the taxicab driver, owner, passengers and the state taxation department.Under these circumstances, taxicab drivers force the passengers to pay more than what they should pay.In some cases passengers had to pay double fare they should pay.With the present conventional single-channel taximeter, taxicab owners are not able to determine the daily income of their taxicab.In some cases(a taxicab with four seats)they may only get one quarter of the income of the taxicab(collected by the taxicab driver).From which they should pay the salary of the taxicab driver as well as the cost of fuel, minor and major repairs in addition to the car depreciation.As a matter of fact the position of the taxicab owners is not so bad as it seems.A general agreement has been reached between the taxicab drivers and owners such that the drivers should guarantee a fixed daily income to the owners as well as the paying for the cost of fuel as well as the minor repaires.Even though the taxicab drivers still share the large portion ofthe income of the taxicab.Also with the presence of the single-channel taximeter, it has become very difficult for the state taxation department to know the yearly income of the taxicab and accordingly it has become very difficult to estimate the taxes to be paid by the taxicab owners.In order to face this problem, the state taxation department had to impose a fixed estimated taxes for each seat of the taxicab whatever the income of the taxicab.In this paper, we introduced a multichannel taximeter that can deal with more than one passenger simultaneously.I t should be pointed out that by the term passenger we mean a one person or a group of related persons.I t should also be pointed out that our proposed multi-channel taximeter is not, simply, a multi display readouts.As a matter of fact it contains logic circuits that automatically changes the fare per killometer of travelling distance or per minutes of 'waiting time according to the number of passengers hiring the taxicab.In the following part and as an example, we will present a complete design for a three-channel taximeter.Block diagrams as well as detailed circuit diagrams of the experimental three-channel taximeter are also included.A prototype has been built under grant from the Egyptian Academy for Scientific and Technological Research.2.AN EXPERIMENTAL THREECHANNEL TAXIMETER Theory of operation of our experimental device to work as an electronic digital taximeter is based on t h e fact thathe speedometer cable rotates one revolution for each meter of travelling distance.Accordingly, if the speedometer cable is coupled with a speed sensor that generates a single pulse for each meter of travelling distance, then our taximeter could be three up counter modules associated with a speed sensor unit.However, our experimental taximeter is not simply a three display readouts.As a matter offact it contains logic circuits that automatically changes the fare per kilometer of travelling distance or per minutes of waiting time according to the number of passengers hiring the taxicab.The device may be splitted into two main parts: The first is the speed sensor unit which may be located anywhere in the taxicab such that an easy coupling to the speedometer cable can be achieved.The second unit contains the main electronic circuit, the displayand control panel.The unit should be located somewhere in front of both the driver and the passengers.A possible components locations is shown in Figure 1.A.Speed Sensor Unit The main function of this unit is to supply train of pulses whose frequency is proportional to the angular rotation of the wheels.A possible form of a speed sensor is shown in Figure 2.If may consist of a tj.pica1 permanent magnet sine wave generator with its output connected to a pulse shapping circuit(two general purpose silicon diodes, 1K ohms resistor and a schmit trigger inverter).In order to find some way to detect the movement of the taxicab, the output of the sine wave generator is rectified through a general purpose silicon diode Dl then smoothed by a 1000 F capacitor.The output voltage at terminal Q is then limited to the value of 4.7 volts by using a Ik ohms resistor as well as a zener diode ZD.The level of the voltage at terminal Q would be high whenever the taxicab is moving and will be zero otherwise.This voltage can be used for the automatic switching from distance fare to time fare.B.Main Electronic and Display Unit A suggested shape for the main electronic and display unit is shown in Figure 3.The control and display panel contains all ' controls necessary for operating the taximeter as well as four readout displays.The first channel will give the sum of money required from the first passenger, while the second and third readouts are for the second and third passengers, respectively.The fourth readout will give the total income of the taxicab.The contents of the last readout should be nonvolatile and be able to be retained even during parking the taxicab.The channel rotary selector switchs 1 , 2 and 3 have fully clockwise/anticlockwise positions.In the fully anticlockwise position, the counter of the corresponding readout is blancked and disabled.In the fully clockwise position, the counter is unblanked, cleared to zero and enabled to be ready for counting the sum of money required from the first, second and third passengers, respectively.Pushing the total sum pushbutton 4 unblanks the fourth readout enabling any person to retain the readout corresponding to the total income.After the release of the pushbutton, the fourth readout will be blanked again.This unit also contains the main electronic circuit which will be fully described in the following section.3.DESCRIBTION OF THE MAIN ELECTRONIC CIRCUIT The general block diagram of the main electronic circuit is shown in Figure 4.It consists of five subcircuits designated by the symboles CTI up to CT4supporting circuits, these are: The number of passenger deticition circuit CTI, travelling distance scaling circuit CT2, waiting time scaling circuit CT3, circuit CT4 which generates clock pulses for the display circuit.A.Number of Passengers Detection Circuit CT1 As shown from the general block diagram, the circuit CTI has three inputs I, 2 and 3 as well as three outputs J, K and L.The function of the circuit is to supply a high level voltage at terminals J, K or L if and only if one, two or three passengers are hiring the taxicab, respectively.The term passenger, here, means one person or a group of related persons.When a passenger is getting into the cab, we simply turn on a free readout display by turning the corresponding rotary selector switch to a fully clockwise direction.This will automatically disconnect the corresponding terminal I, 2 or 3 from ground.The logical relation between various input terminals I, 2 and 3 and the output terminals J, K and L is shown in Table 1.As a combinational circuit we start the design by deriving a set of boolean functions.A possible simplified boolean functions that gives minimum number of inputs to gates may be obtained from Table I.A possible logical diagram that is based on the above derived expressions is shown in Figure 5.It consists of two inverters, four 2-input AND, to3-input AND two 3-input OR gates B.Tavelling Distance Scaling Circuit CT2 As shown from the block diagram of Figure 4, the circuit CT2 has four input J, K, L and E and one output M.The function of the circuit is to supply a single pulse at the output M for a certain number of pulses generated at the output of the speed sensor(certain number of meters travelled by the taxicab), according to the number of passengers hiring the car.A suggested fare per kilometer of travelling distance is shown in colomn two of Table 2.the circuit, in this case, should supply a single pulse at the output M for every 100, 125 or 143 pulses generated at the input terminal E according to the level of voltage at input terminale 3, K or L, respectively.Our circuit could be, as shown in Figure 5, three decade counters, connected as a three digit frequency divider whose dividing ratios 100, 125 and 143 are automatically selected by the voltage level at terminals J, K and L, respectively.A possible circuit diagram that may verify the above function is shown in Figure 6.It consists of three decade counters type 7490, one BCD-to decimal decoder type 7445, three 4-input AND, one 3-input ANDone 2-input AND two 3-input OR gates.C.Time Scaling Circuit CT3 As shown in the block diagram, the time scalingcircuit will have four inputs J, K, L and F and one output N.The function of this circuit and accordingto colomn three of Table 2(fare per 2 minuts of waiting time)is to supply a single pulse at the output N for every 120, 240 or 360 pulses supplied at the input terminal F from the I Hz clock according to level of voltage at inputs J, K and L, respectively.Time scaling circuit would be similar to the distance scaling circuit but with different diving ratios.A Possible circuit diagram is shown in figure 7.It consists, in this case, of three decade counter type 7490, two 3-input AND, one 5-input AND, one 2-input AND one 3-input OR gates.D.Circuit CT4 Which Generates Clock Pulses for Display Circuit The function of this circuit is to supply one, two or three pulses at the output terminal R for each pulse generated at any of the terminals N or M, according to the voltage level at the input terminals J, K or L, respectively.The output P will receive a pulse for each pulse generated at any of the input terminals N or M.This function can be performed by the circuit shown in Figure 8, it consists of one ripple counter type 7493, one half of a dual JK masterslave flip-flops circuit type 7476, three inverters, three 2-input AND, one 3-input AND, one 2-input OR and one 3-input OR gates.When a pulse is generated at either input terminals N or M, a high level voltage will be generated at the output Q of the flip-flop.This will g a t e t h e I Khz signal to be connected to the input A of the ripple counter as well as to the output terminal R.When one, two or three pulses are counted by the ripple counter, according to the level of voltage at the input terminals J, K and L, respectively, a high is generated to reset the counter and change the state of the flip-flopsuch that Q becomes low.Hence, the 1 KHz signal is disabled to reach the outputerminal R or the input A of the ripple counter.In order to ensure the proper function of the circuit, the flip-flop should be cleared whenever a new channel is operated.This has been achieved by the input 5 and will be explained later when describing the function of the channels rotary selector switchs.E.Display Circuit As shown in Figure 2, the display panel would contain three 4-digit displays that give the sum of money required from each passenger separately as well as a one six-digit display that gives the total income of the taxicab.A possible wiring diagram for the display circuit is shown in Figure 9.Rotating any of the rotary selector switches to fully clockwise direction will supply the corresponding display by5 volts through terminals 1, 2 and 3, respectively.The corresponding display will be unblanked by supplying a low level of voltage through terminals A, C and G, respectively.Keeping terminals 8, D and H, respectively, at low level will keep them reset to zero.The corresponding display is then enabled by removing the low voltage from terminals B, D, and H, respectively, to be ready for counting the sum of money required from the corresponding passenger starting from zero.The counting pulses for these three displays are supplied through terminal P.The total sum display will be enabled whenever any of the three displays is enabled(this is done by a 3-input OR gate as shown in Figure 8).Retaining the contents of the last display will be done by unblanking it by supplying a low level of voltage to terminal I as shown in Figure 10 b.F.Changing Over Between Time and Distance Fares In the following part, two different methods for changing over between time andistance fares are suggested: The first is to switch to time fare whenever the distance fare is less than the time fare.Hence, a simple look to fares table(Table 2)can show that time fare should be used whenever the taxicab moves with speed less than 50 m/min.A possible circuit that can perform this switching action is shown in Figure IO c.It contains one rpm limit switch and a one inverter as well as two 2-input AND gates.The contacts of the limit switch are normally closed and will be opened whenever the angular speed of the speedometer cablexceeds 50 rmp.The second alternation is to connect the input of the inverter in Figure 10 c.to the output terminal Q of the speedometer circuit, Figure 2.In this case, the switching into time fare will be done whenever the taxicab is at stand still.G.Function of the Rotary Selector Switches The voltage levels that should be supplied by the terminals of the rotary selector switches in order to ensure proper operation by the electronic circuit are given in Table 3.Connection of three rotary selector switches each witb four decks of five poles each, that satisfy the logic function of Table 3, is shown in Figure 10 a.Rotating any of the three switches into fully clockwise direction will pass through five positions.The function of the rotary selector switches can be described starting from the first position passing through variousteps until reaching the final position as follows: Initial position: In this position a low voltage level is applied to terminals I, 2 and 3, this will disconnect the 5 volts supply from the three first displays, set the three inputs of the number of passenger detection circuit CTI to low level.A low voltage level is applied to terminals 8, D and H, this is to ensure that the total income display is disabled.Voltage levels at terminals A, C, G and S are at no care condition.Step I: Rotating any of the rotary selector switches one step toward clockwise direction will supply 5 volts to the corresponding display, provides a high level voltage at terminals 1, 2 or 3 indicating that one passenger have entered the taxicab.A high level voltage should be applied to terminals A, C or G in order to ensure that the corresponding display is still blanked.Other terminals B, D, H and S are kept unchanged.Step 2: Rotating the rotary selector switch one step further, will change the state of voltages at terminal A, C or G to be at low level and unblanks the corresponding display.States of voltages at terminals I, 2, 3 and S are remained unchanged.Terminals B, D and H should be remained at low level to ensure that the corresponding readout is cleared to zero while unblanking the display.

第二篇:出租车计价器毕业设计中英文翻译

ABSTRACT 1.INTRODUCTION Transporting people in the morning from their homes to their works and back in the afternoon has become a big problem in big cities especially in undeveloped countries.As a partial solution of this problem, the authorities in some countries had, unofficially, left the taxicab drivers to carry different passengers to different places at the Same time.For example, a taxicab with four seats may carry four different passengers without any relation between them except that their way of travelling is the same.Accordingly, it has become very difficult to rely on the present conventional single-channel taximeter to determine the fare required from each passenger separately.Accordingly, an unfair financial relation was created between the taxicab driver, owner, passengers and the state taxation department.Under these circumstances, taxicab drivers force the passengers to pay more than what they should pay.In some cases passengers had to pay double fare they should pay.With the present conventional single-channel taximeter, taxicab owners are not able to determine the daily income of their taxicab.In some cases(a taxicab with four seats)they may only get one quarter of the income of the taxicab(collected by the taxicab driver).From which they should pay the salary of the taxicab driver as well as the cost of fuel, minor and major repairs in addition to the car depreciation.As a matter of fact the position of the taxicab owners is not so bad as it seems.A general agreement has been reached between the taxicab drivers and owners such that the drivers should guarantee a fixed daily income to the owners as well as the paying for the cost of fuel as well as the minor repaires.Even though the taxicab drivers still share the large portion ofthe income of the taxicab.Also with the presence of the single-channel taximeter, it has become very difficult for the state taxation department to know the yearly income of the taxicab and accordingly it has become very difficult to estimate the taxes to be paid by the taxicab owners.In order to face this problem, the state taxation department had to impose a fixed estimated taxes for each seat of the taxicab whatever the income of the taxicab.In this paper, we introduced a multichannel taximeter that can deal with more than one passenger simultaneously.I t should be pointed out that by the term passenger we mean a one person or a group of related persons.I t should also be pointed out that our proposed multi-channel taximeter is not, simply, a multi display readouts.As a matter of fact it contains logic circuits that automatically changes the fare per killometer of travelling distance or per minutes of 'waiting time according to the number of passengers hiring the taxicab.In the following part and as an example, we will present a complete design for a three-channel taximeter.Block diagrams as well as detailed circuit diagrams of the experimental three-channel taximeter are also included.A prototype has been built under grant from the Egyptian Academy for Scientific and Technological Research.2.AN EXPERIMENTAL THREECHANNEL TAXIMETER Theory of operation of our experimental device to work as an electronic digital taximeter is based on t h e fact thathe speedometer cable rotates one revolution for each meter of travelling distance.Accordingly, if the speedometer cable is coupled with a speed sensor that generates a single pulse for each meter of travelling distance, then our taximeter could be three up counter modules associated with a speed sensor unit.However, our experimental taximeter is not simply a three display readouts.As a matter offact it contains logic circuits that automatically changes the fare per kilometer of travelling distance or per minutes of waiting time according to the number of passengers hiring the taxicab.The device may be splitted into two main parts: The first is the speed sensor unit which may be located anywhere in the taxicab such that an easy coupling to the speedometer cable can be achieved.The second unit contains the main electronic circuit, the displayand control panel.The unit should be located somewhere in front of both the driver and the passengers.A possible components locations is shown in Figure 1.A.Speed Sensor Unit The main function of this unit is to supply train of pulses whose frequency is proportional to the angular rotation of the wheels.A possible form of a speed sensor is shown in Figure 2.If may consist of a tj.pica1 permanent magnet sine wave generator with its output connected to a pulse shapping circuit(two general purpose silicon diodes, 1K ohms resistor and a schmit trigger inverter).In order to find some way to detect the movement of the taxicab, the output of the sine wave generator is rectified through a general purpose silicon diode Dl then smoothed by a 1000 F capacitor.The output voltage at terminal Q is then limited to the value of 4.7 volts by using a Ik ohms resistor as well as a zener diode ZD.The level of the voltage at terminal Q would be high whenever the taxicab is moving and will be zero otherwise.This voltage can be used for the automatic switching from distance fare to time fare.B.Main Electronic and Display Unit A suggested shape for the main electronic and display unit is shown in Figure 3.The control and display panel contains all ' controls necessary for operating the taximeter as well as four readout displays.The first channel will give the sum of money required from the first passenger, while the second and third readouts are for the second and third passengers, respectively.The fourth readout will give the total income of the taxicab.The contents of the last readout should be nonvolatile and be able to be retained even during parking the taxicab.The channel rotary selector switchs 1 , 2 and 3 have fully clockwise/anticlockwise positions.In the fully anticlockwise position, the counter of the corresponding readout is blancked and disabled.In the fully clockwise position, the counter is unblanked, cleared to zero and enabled to be ready for counting the sum of money required from the first, second and third passengers, respectively.Pushing the total sum pushbutton 4 unblanks the fourth readout enabling any person to retain the readout corresponding to the total income.After the release of the pushbutton, the fourth readout will be blanked again.This unit also contains the main electronic circuit which will be fully described in the following section.3.DESCRIBTION OF THE MAIN ELECTRONIC CIRCUIT The general block diagram of the main electronic circuit is shown in Figure 4.It consists of five subcircuits designated by the symboles CTI up to CT4supporting circuits, these are: The number of passenger deticition circuit CTI, travelling distance scaling circuit CT2, waiting time scaling circuit CT3, circuit CT4 which generates clock pulses for the display circuit.A.Number of Passengers Detection Circuit CT1 As shown from the general block diagram, the circuit CTI has three inputs I, 2 and 3 as well as three outputs J, K and L.The function of the circuit is to supply a high level voltage at terminals J, K or L if and only if one, two or three passengers are hiring the taxicab, respectively.The term passenger, here, means one person or a group of related persons.When a passenger is getting into the cab, we simply turn on a free readout display by turning the corresponding rotary selector switch to a fully clockwise direction.This will automatically disconnect the corresponding terminal I, 2 or 3 from ground.The logical relation between various input terminals I, 2 and 3 and the output terminals J, K and L is shown in Table 1.As a combinational circuit we start the design by deriving a set of boolean functions.A possible simplified boolean functions that gives minimum number of inputs to gates may be obtained from Table I.A possible logical diagram that is based on the above derived expressions is shown in Figure 5.It consists of two inverters, four 2-input AND, to3-input AND two 3-input OR gates B.Tavelling Distance Scaling Circuit CT2 As shown from the block diagram of Figure 4, the circuit CT2 has four input J, K, L and E and one output M.The function of the circuit is to supply a single pulse at the output M for a certain number of pulses generated at the output of the speed sensor(certain number of meters travelled by the taxicab), according to the number of passengers hiring the car.A suggested fare per kilometer of travelling distance is shown in colomn two of Table 2.the circuit, in this case, should supply a single pulse at the output M for every 100, 125 or 143 pulses generated at the input terminal E according to the level of voltage at input terminale 3, K or L, respectively.Our circuit could be, as shown in Figure 5, three decade counters, connected as a three digit frequency divider whose dividing ratios 100, 125 and 143 are automatically selected by the voltage level at terminals J, K and L, respectively.A possible circuit diagram that may verify the above function is shown in Figure 6.It consists of three decade counters type 7490, one BCD-to decimal decoder type 7445, three 4-input AND, one 3-input ANDone 2-input AND two 3-input OR gates.C.Time Scaling Circuit CT3 As shown in the block diagram, the time scalingcircuit will have four inputs J, K, L and F and one output N.The function of this circuit and accordingto colomn three of Table 2(fare per 2 minuts of waiting time)is to supply a single pulse at the output N for every 120, 240 or 360 pulses supplied at the input terminal F from the I Hz clock according to level of voltage at inputs J, K and L, respectively.Time scaling circuit would be similar to the distance scaling circuit but with different diving ratios.A Possible circuit diagram is shown in figure 7.It consists, in this case, of three decade counter type 7490, two 3-input AND, one 5-input AND, one 2-input AND one 3-input OR gates.D.Circuit CT4 Which Generates Clock Pulses for Display Circuit The function of this circuit is to supply one, two or three pulses at the output terminal R for each pulse generated at any of the terminals N or M, according to the voltage level at the input terminals J, K or L, respectively.The output P will receive a pulse for each pulse generated at any of the input terminals N or M.This function can be performed by the circuit shown in Figure 8, it consists of one ripple counter type 7493, one half of a dual JK masterslave flip-flops circuit type 7476, three inverters, three 2-input AND, one 3-input AND, one 2-input OR and one 3-input OR gates.When a pulse is generated at either input terminals N or M, a high level voltage will be generated at the output Q of the flip-flop.This will g a t e t h e I Khz signal to be connected to the input A of the ripple counter as well as to the output terminal R.When one, two or three pulses are counted by the ripple counter, according to the level of voltage at the input terminals J, K and L, respectively, a high is generated to reset the counter and change the state of the flip-flopsuch that Q becomes low.Hence, the 1 KHz signal is disabled to reach the outputerminal R or the input A of the ripple counter.In order to ensure the proper function of the circuit, the flip-flop should be cleared whenever a new channel is operated.This has been achieved by the input 5 and will be explained later when describing the function of the channels rotary selector switchs.E.Display Circuit As shown in Figure 2, the display panel would contain three 4-digit displays that give the sum of money required from each passenger separately as well as a one six-digit display that gives the total income of the taxicab.A possible wiring diagram for the display circuit is shown in Figure 9.Rotating any of the rotary selector switches to fully clockwise direction will supply the corresponding display by5 volts through terminals 1, 2 and 3, respectively.The corresponding display will be unblanked by supplying a low level of voltage through terminals A, C and G, respectively.Keeping terminals 8, D and H, respectively, at low level will keep them reset to zero.The corresponding display is then enabled by removing the low voltage from terminals B, D, and H, respectively, to be ready for counting the sum of money required from the corresponding passenger starting from zero.The counting pulses for these three displays are supplied through terminal P.The total sum display will be enabled whenever any of the three displays is enabled(this is done by a 3-input OR gate as shown in Figure 8).Retaining the contents of the last display will be done by unblanking it by supplying a low level of voltage to terminal I as shown in Figure 10 b.F.Changing Over Between Time and Distance Fares In the following part, two different methods for changing over between time andistance fares are suggested: The first is to switch to time fare whenever the distance fare is less than the time fare.Hence, a simple look to fares table can show that time fare should be used whenever the taxicab moves with speed less than 50 m/min.A possible circuit that can perform this switching action is shown in Figure IO c.It contains one rpm limit switch and a one inverter as well as two 2-input AND gates.The contacts of the limit switch are normally closed and will be opened whenever the angular speed of the speedometer cablexceeds 50 rmp.The second alternation is to connect the input of the inverter in Figure 10 c.to the output terminal Q of the speedometer circuit, Figure 2.In this case, the switching into time fare will be done whenever the taxicab is at stand still.G.Function of the Rotary Selector Switches The voltage levels that should be supplied by the terminals of the rotary selector switches in order to ensure proper operation by the electronic circuit are given in Table 3.Connection of three rotary selector switches each witb four decks of five poles each, that satisfy the logic function of Table 3, is shown in Figure 10 a.Rotating any of the three switches into fully clockwise direction will pass through five positions.The function of the rotary selector switches can be described starting from the first position passing through variousteps until reaching the final position as follows: Initial position: In this position a low voltage level is applied to terminals I, 2 and 3, this will disconnect the 5 volts supply from the three first displays, set the three inputs of the number of passenger detection circuit CTI to low level.A low voltage level is applied to terminals 8, D and H, this is to ensure that the total income display is disabled.Voltage levels at terminals A, C, G and S are at no care condition.Step I: Rotating any of the rotary selector switches one step toward clockwise direction will supply 5 volts to the corresponding display, provides a high level voltage at terminals 1, 2 or 3 indicating that one passenger have entered the taxicab.A high level voltage should be applied to terminals A, C or G in order to ensure that the corresponding display is still blanked.Other terminals B, D, H and S are kept unchanged.Step 2: Rotating the rotary selector switch one step further, will change the state of voltages at terminal A, C or G to be at low level and unblanks the corresponding display.States of voltages at terminals I, 2, 3 and S are remained unchanged.Terminals B, D and H should be remained at low level to ensure that the corresponding readout is cleared to zero while unblanking the display.二、中文翻译.导言

在不发达的国家,早上把人们从他们家送到工作的地方,然后下午送回来已成为一个大问题,尤其是在大城市。

作为解决这个问题的一个部分,在某些国家出租车用来解决这个问题,送人们从一个地方到另外一个地方。例如,出租车的四个席位可携带四个不同的没有任何关系的乘客,除了他们的路线是相同的。

因此,依靠目前的传统的单车道计价以确定所需的票价,把每个乘客的计费分开,这已成为一个非常困难的问题。因此,在出租车司机,车主,乘客和国家税务部门之间存在着不公平的财政关系。

在这种情况下,出租车司机强迫乘客支付多于他们所应付的。在某些情况下乘客支付了他们应付车费的双倍。

本常规单频道计程车,出租车司机不能够确定出租车日常收入。在某些情况下(出租车的4个席位),他们可能只有出租车四分之一的收入(大部分的出租车司机)。从这些支付工资的出租车司机以及作为燃料费用外,还要维修以及汽车折旧等费用。事实上,出租车业主并非似乎如此糟糕。一项在出租车司机和车主之间的协议已经达成,司机应保证每天固定收入,以及向业主支付燃料以及维修的费用。即使如此,还是有的出租车司机的很大一部分份额之收入的出租车。现在还存在的单声道计价,已经变得非常,国家税务部门也知道这种困难 每年估计出租车业主的收入支出,以及应支付的税务也很困难。

为了应对这一问题,国家税务部已实行固定估计税,每个座位的出租车不论收入。在本文中,我们介绍了多通道的士计程表,可处理超过一名乘客同时进行的情况。我应该指出,我所说的长期旅客指一个人或一组相关的人。我同时也应指出,我们提出的多渠道的计价,不是简单地说,一个多显示读数。作为一个先进的事项,事实上它包含逻辑电路,可以自动计算变化的车费以及每公里行走距离或每分钟的候车时间按照乘客人数雇用出租车。在下面的部分,我举出一个例子,我们将介绍一个完整的三通道计价。框图以及详细的电路图,实验三通道计价功能也包括在内。原型下已建成 埃及赠款科学学院 和技术研究。2.实验

出租车计价器理论的运作我们的实验装置从事电子数字计价依据。事实上速度电缆旋转1 圈的每米距离行驶。因此,如果车速电缆耦合与速度传感器,产生一个单脉冲每平方米的旅行距离,那么,我们的的士可以三倍于反模块相与速度传感器的单位。然而,我们的实验是计价而不仅仅是只显示三个读数。事实上,它包含逻辑电路,可以根据每公里的行驶距离或每分钟等候时间按照乘客人数雇用出租车来自动改变车费。该装置可能会分成两个主要部分组成:第一是速度传感器,这个传感器可位于任何地方,在出租车内进行这样一个简单的耦合车速电缆是可以实现的。

单位包含了主要的电子电路,显示器以及控制面板。该单位应位于前排的司机和乘客之间。

A. 速度传感器

其主要职能是本单位提供脉冲的培训,这个脉冲的频率会于旋转角度相适合。一种可能的形式一个速度传感器。如果可以包含正弦波发生器的输出连接到脉冲整形电路的永磁器件(2通用芯片二极管,1000欧姆的电阻和施密特触发逆变器)。

为了找到某种方式来检测出租车的运动,正弦波发生器的输出是纠正通过一个通用的硅二极管延胡索乙然后平滑的1000年F电容。那个输出电压在终端Q是当时限于价值4.7伏特用益欧姆的电阻以及一个齐纳二极管ZD。出租车的终端电压在终端Q将高电压降为零。这电压可作为改变出租车从距离计费到时间计费方式的开关电压。

主要的电子和显示单元

一个建议是主要形式的电子和显示单元。控制和显示器面板包含所有'控制所必需的经营的士以及四个可读显示器。第一频道将给出从第一乘客,第二乘客,第三乘客分别应付的费用,第四个会给出总收入给予出租车。最后读出的数据会包括停车的费用等等费用。频道选择器开关1,第2和第3个,按顺时针/逆时针的立场。在充分逆时针的立场,反相应的读出是未标明和残疾人。以顺时针方向则是未定义的,清除为零,对于第一第二第三的乘客分别计费。第四号推进总钮第四次读出,使任何人保留读出相应的总收入。经过释放按钮,第四次读出将再次保留。这个单位还包含主要电子电路将在下一节充分描述。

描述的主要电子电路

电路一般框图主要电子电路。它由五个部分指定的电脑符号与电话系统整合成为4个支撑电路,它们是:判断乘客数量电路CT1,旅行距离电路CT2,等待时间电路CT3,时钟脉冲显示电路CT4。

乘客人数检测电路CT1,该电路电脑与电话系统整合有三个输出:1,2和3相对应于三个输出J,K和L。

这个循环电路函数包含高电压的终端 J,K或L,如果有1个或者2,3个乘客分别租用出租车。这个组里的任意乘客都是一组相关的人。当一个乘客进入出租车后,我们只是表示这样一种情况,自由读出显示在谈到相应的旋转选择开关,以一个完全顺时针方向。这将自动断开相应的终端1,2或3个从地面。逻辑关系各种输入端子之间第1,第2和第3个输出端J,K和L是列于表1。作为一个组合电路,我们开始设计产生了一系列布尔函数。

一种可能的逻辑图的基础上,上述源性表达。它包括两个变频器,4个2输入和3输入以及2个3输入或门。B.行驶距离标量环路CT2 如图所示的方框图图4,电路CT2有4个输入J,K,L及E和1个输出M,输出功能的电路是供应单脉冲的输出M的某一些脉冲产生的输出的速度传感器(出租车行驶了一定得距离),根据乘客的人数租用的汽车。我们建议票价按每公里行驶距离显示在两个表格2里面。

这个环路,在这种情况下,应提供单脉冲的输出M的每100,125或143脉冲所产生的输入端根据级别的电压输入终端3,K或L。

我们的电路显示,三个十年的计数器,作为一个三位数分频器的分比率100,125和143个自动选定的电压一级终端J,K和L分别。一种可能的线路图可被验证,上述功能如图6。它包括三个十年的计数器7490,一个声BCD-以杜威解码器输入7445,3个4输入和1个3输入以及1个2输入和2个3输入或门。

时间缩放电路CT3.时间缩放电路含有4个输入端 J,K,L及F和一个输出端N,这个电路的函数根据表格2的意思(车费每2分钟的等待时间)是在J,K和L分别供应单脉冲到输出端N时,提供单脉冲的输出N。时间缩放电路将类似于距离标量环路,但是有不同的行驶比率。它包括3个十进制计数器7490,2个3输入与门和一个5输入与门,1个2输入与门和一个3输入或门。

电路产生时钟脉冲的显示电路CT4 这条电路的作用根据电压电平在输入终端J、K或者L,分别供应1,2或者脉冲在每脉冲的输出终端R引起在任何终端N或M。无论输入端N或者M中的谁发送脉冲,都只有一个脉冲能被输出端P接收。它由一个反向计数器7493构成,其中一半是双JK主从触发器电路,型号为7476,包括三个变频器,三个2输入与门,一个3输入与门,1 2输入或门以及一个3输入或门。当脉冲引起在输入的终端N或M,触发器的输入Q上将产生高级电压。这个门信号将被连接到计数器的输入A并且连接到输出终端R。当第一,第二或第三个脉冲由涟波计数器开始计数,J,K,L端会分别根据电压的大小来使产生重置或者翻转来改变状态,然后Q端变为输出低电压。因此,1 KHz信号没有能力到达输出端R或是计数器的输入端A。为了确保电路的函数准确无误,当切换到新频道时,触发器要清零。对于功能选择开关旋转渠道的描述,稍后会以一个成功的5输入门函数来解释。

显示电路

该显示面板将包含三个4位数显示器,这样可以给出每个乘客应付车费的总和,一个六位数显示器可以给出出租车的总收入。一种可能的接线图的显示电路。以顺时针方向旋转所选择的开关将提供相应的显示,这可以通过5伏电压来分别控制1,第2和3终端。对应的显示通过供应低级电压通过终端A、C和G,分别。保持终端D和H在低级状态下重置为零对应的显示分别通过终端B,D,H而改变低压状态,并准备好从对应的乘客那里计算出相应的计数款额,计数脉冲这三个显示器通过终端提供总额。计数器还将通过终端P为3个显示器提供脉冲只要这三个显示器中任意一个是正常的,那么总额将被显示出来。

时间和距离变化时车费的改变

在下面的部分,两种不同的方法使得时间和距离改变从而导致车费发生变化,有如下建议:首先是当以路程计价的费用低于以时间计费的费用时,采用时间计费。从此,一个简单的票价表显示当出租车移动速度小于50米/分时应该采用时间计费方式。一种可能的电路可以执行此开关行动,它包含一个转速限位开关和一个反转器以及两个2输入与门。接触的限位开关通常是封闭,只有当角速度超过50RMP的时候才会打开。第二个改变将中断连接到图10C的输入端,输出端Q连接速度的电路。在这种情况下,只要出租车的状态保持静止,那么计费开关就会处于关闭状态。

功能选择旋转开关

功能选择开关旋转的电压应提供的该终端的旋转选择开关,以确保正常运行的电子电路列于表3。每5个杆就有4个板连接着3个旋转选择开关,每个符合逻辑功能表3,旋转任何三个切换到完全顺时针方向将通过5个职位。功能的旋转选择开关可以说是从第一的位置通过直到达到最后的立场如下:

初始位置:在这个位置上的低电压电平适用于第一第二和第三终端,浙江断开来自三个中一个显示器的5伏特电压供应,设置三个显示器,乘客检测电路并与电路系统整合到较低的水平。终端D,H采用低电压,这是为了确保显示的总收入选项已被禁用。

步骤1:以顺时针方向旋转任何旋转选择开关一格将提供5伏特电压到相应的显示,提供一个高等级的电压终端1,2或3,这表明一名乘客已经进入了出租车。终端C,G应为高电平,以确保相应的显示仍然是笼罩。其他端口,如D,H端口保持不变。

步骤2:旋转旋转选择开关1,然后将在终端A,C或G上改变电压使其处于低电压状态,并会产生相应的显示。终端1,2,3以及S上的电压状态保持不变。终端B,D和H应保持在较低水平,以确保当显示为无数据时相应的读出清除为零。

第三篇:出租车计价器

基于单片机的出租车计价器设计

摘要

出租车计价器的数字系统的设计正是基于一些专用的芯片,才发挥其有效特性,从而实现出租车的计价功能。此数字系统主要分为三个单元,即里程计数及显示单元、价格计数及显示单元、脉冲产生。本设计是一个基于单片机AT89C51的出租车自动计费设计,附有复位电路,时钟电路等。关键词:出租车计费器;单片机;控制

Abstract Taximeter design digital system is based on some special chip, to play their effective characteristics, thus realizing the taxi valuation function.This system is mainly divided into there modules, namely the mileage counting and display unit, and display unit price counting, pulsing.The design is based on a single chip AT89C51taxis design, a reset circuit, clock circuit.Keywords:taximeter,a single-chip microcomputer,control

1引言

1.1 设计目的

近几年来,出租汽车行业在各地得以蓬勃发展,但采用模拟电路和数字电路设计的计价器整体电路的规模较大,用到的器件多,造成故障率高,难调试。而采用单片机进行的设计,相对来说功能强大,用较少的硬件和适当的软件相互配合可以很容易地实现设计要求,且灵活性强。

1.2 功能要求

(1)用前4位数码管实时显示里程数,单位为千米,最后一位为小数位;用后4位数码管时时显示金额数,单位为元,最后一位为小数位。

(2)规定出租车里程小于2千米收费5元,超过2千米收费为8*(way-20)/5。

1.3 设计方法

本设计采用AT89C51单片机为主控器,并用频率信号发生器模拟车速,利用AT89C51的定时器工作在方式1下定时实现对出租车的计价设计,输出采用共阴极的集成8位7段数码显示管。设计方案及原理

2.1 设计方案

采用AT89C51单片机为主控器,并用频率信号发生器模拟车速,利用AT89C51的定时器/定时器T1工作在方式1下定时实现对出租车的计价设计,输出采用共阴极的集成8位7段数码显示管。本电路设计的计价器不但能实现基本的计价,而且

单片机原理及系统课程设计报告

还能根据里程来调节单价。

2.2 设计原理

出租车计价是根据车所行驶的路程以及乘客乘车的里程综合决定的。出租车行驶总路程可以通过车轮的周长乘车轮旋转圈数得到。即可计算得到车轮旋转几周出租车能行驶一公里的路程。通过计数接收到的脉冲个数,计算出当前所行驶的路程。同时,通过数码管显示当前的行驶里程和需支付的车费。出租车计价器用于记录里程、起步公里数与价格的关系。模拟出租车计价器能根据总里程数、起步公里数的情况作出相应报价等。这个系统以AT89C51单片机为主控器,单片机的计数器/定时器T1工作在方式1下来对外部脉冲计数,最后通过集成的8位7段LED数码管显示里程数和价钱。总体模块框图如图1所示。

总金额显示单价显示AT89C51脉冲产生动态扫描数码管显示

图1 总体框图 硬件设计

对于AT89C51的计数器/定时器T1,通过对寄存器TCON的设置,即使它的M1M0=01,计数器/定时器T1工作在方式1下,构成16位计数器/定时器。此时TH0、TL0都是8位加法计数器。此设计中,T1为计数工作方式,计数范围为1~2^16=1~65536(个外部脉冲)。当计数溢出时则置位并申请中断,进入中断服务 执行中断程序。

通过74HC138接P20、P21、P22输出来对8位7段的智能扫描LED进行段选,并且通过P1口对LED进行位选,最后将结果显示在LED上。硬件设计图如图2所示。

74HC138是三八译码器,在工作之前,使74HC138的使能端有效,再使74HC138的A、B、C接P20、P21、P22的输出达到对LED位选线的控制,使相应的位显示相应的结果。硬件总设计图如图2所示。

第四篇:!出租车计价器毕业设计中英文翻译

毕业论文准备

ABSTRACT In this paper, a multi-channel taximeter that is able to deal with more than one passenger simultaneously is proposed.In order to demonstrate the theory of operation of the proposed system, a complete design for an experimental three-channel taximeter(whose prototype has been built under grant from the Egyptian Academy for Scientific and Technological Research)is presented.System location, outline, block diagrams as well as detailed circuit diagrams for the experimental taximeter are also included.1.INTRODUCTION Transporting people in the morning from their homes to their works and back in the afternoon has become a big problem in big cities especially in undeveloped countries.As a partial solution of this problem, the authorities in some countries had, unofficially, left the taxicab drivers to carry different passengers to different places at the Same time.For example, a taxicab with four seats may carry four different passengers without any relation between them except that their way of travelling is the same.Accordingly, it has become very difficult to rely on the present conventional single-channel taximeter to determine the fare required from each passenger separately.Accordingly, an unfair financial relation was created between the taxicab driver, owner, passengers and the state taxation department.Under these circumstances, taxicab drivers force the passengers to pay more than what they should pay.In some cases passengers had to pay double fare they should pay.With the present conventional single-channel taximeter, taxicab owners are not able to determine the daily income of their taxicab.In some cases(a taxicab with four seats)they may only get one quarter of the income of the taxicab(collected by the taxicab driver).From which they should pay the salary of the taxicab driver as well as the cost of fuel, minor and major repairs in addition to the car depreciation.As a matter of fact the position of the taxicab owners is not so bad as it seems.A general agreement has been reached between the taxicab drivers and owners such that the drivers should guarantee a fixed daily income to the owners as well as the paying for the cost of fuel as well as the minor repaires.Even though the taxicab drivers still share the large portion ofthe income of the taxicab.Also with the presence of the single-channel taximeter, it has become very difficult for the state taxation department to know the yearly income of the taxicab and accordingly it has become very difficult to estimate the taxes to be paid by the taxicab owners.In order to face this problem, the state taxation department had to impose a fixed estimated taxes for each seat of the taxicab whatever the income of the taxicab.In this paper, we introduced a multichannel taximeter that can deal with more than one passenger simultaneously.I t should be pointed out that by the term passenger we mean a one person or a group of related persons.I t should also be pointed out that our proposed multi-channel taximeter is not, simply, a multi display readouts.As a matter of fact it contains logic circuits that automatically changes the fare per killometer of travelling distance or per minutes of 'waiting time according to the number of passengers hiring the taxicab.In the following part and as an example, we will present a complete design for a three-channel taximeter.Block diagrams as well as detailed circuit diagrams of the experimental three-channel taximeter are also included.A prototype has been built under grant from the Egyptian Academy for Scientific and Technological Research.2.AN EXPERIMENTAL THREECHANNEL TAXIMETER Theory of operation of our experimental device to work as an electronic digital taximeter is based on t h e fact thathe speedometer cable rotates one revolution for each meter of travelling distance.Accordingly, if the speedometer cable is coupled with a speed sensor that generates a single pulse for each meter of travelling distance, then our taximeter could be three up counter modules associated with a speed sensor unit.However, our experimental taximeter is not simply a three display readouts.As a matter offact it contains logic circuits that automatically changes the fare per kilometer of travelling distance or per minutes of waiting time according to the number of passengers hiring the taxicab.The device may be splitted into two main parts: The first is the speed sensor unit which may be located anywhere in the taxicab such that an easy coupling to the speedometer cable can be achieved.The second unit contains the main electronic circuit, the displayand control panel.The unit should be located somewhere in front of both the driver and the passengers.A possible components locations is shown in Figure 1.A.Speed Sensor Unit The main function of this unit is to supply train of pulses whose frequency is proportional to the angular rotation of the wheels.A possible form of a speed sensor is shown in Figure 2.If may consist of a tj.pica1 permanent magnet sine wave generator with its output connected to a pulse shapping circuit(two general purpose silicon diodes, 1K ohms resistor and a schmit trigger inverter).In order to find some way to detect the movement of the taxicab, the output of the sine wave generator is rectified through a general purpose silicon diode Dl then smoothed by a 1000 F capacitor.The output voltage at terminal Q is then limited to the value of 4.7 volts by using a Ik ohms resistor as well as a zener diode ZD.The level of the voltage at terminal Q would be high whenever the taxicab is moving and will be zero otherwise.This voltage can be used for the automatic switching from distance fare to time fare.B.Main Electronic and Display Unit A suggested shape for the main electronic and display unit is shown in Figure 3.The control and display panel contains all ' controls necessary for operating the taximeter as well as four readout displays.The first channel will give the sum of money required from the first passenger, while the second and third readouts are for the second and third passengers, respectively.The fourth readout will give the total income of the taxicab.The contents of the last readout should be nonvolatile and be able to be retained even during parking the taxicab.The channel rotary selector switchs 1 , 2 and 3 have fully clockwise/anticlockwise positions.In the fully anticlockwise position, the counter of the corresponding readout is blancked and disabled.In the fully clockwise position, the counter is unblanked, cleared to zero and enabled to be ready for counting the sum of money required from the first, second and third passengers, respectively.Pushing the total sum pushbutton 4 unblanks the fourth readout enabling any person to retain the readout corresponding to the total income.After the release of the pushbutton, the fourth readout will be blanked again.This unit also contains the main electronic circuit which will be fully described in the following section.3.DESCRIBTION OF THE MAIN ELECTRONIC CIRCUIT The general block diagram of the main electronic circuit is shown in Figure 4.It consists of five subcircuits designated by the symboles CTI up to CT4supporting circuits, these are: The number of passenger deticition circuit CTI, travelling distance scaling circuit CT2, waiting time scaling circuit CT3, circuit CT4 which generates clock pulses for the display circuit.A.Number of Passengers Detection Circuit CT1 As shown from the general block diagram, the circuit CTI has three inputs I, 2 and 3 as well as three outputs J, K and L.The function of the circuit is to supply a high level voltage at terminals J, K or L if and only if one, two or three passengers are hiring the taxicab, respectively.The term passenger, here, means one person or a group of related persons.When a passenger is getting into the cab, we simply turn on a free readout display by turning the corresponding rotary selector switch to a fully clockwise direction.This will automatically disconnect the corresponding terminal I, 2 or 3 from ground.The logical relation between various input terminals I, 2 and 3 and the output terminals J, K and L is shown in Table 1.As a combinational circuit we start the design by deriving a set of boolean functions.A possible simplified boolean functions that gives minimum number of inputs to gates may be obtained from Table I.A possible logical diagram that is based on the above derived expressions is shown in Figure 5.It consists of two inverters, four 2-input AND, to3-input AND two 3-input OR gates B.Tavelling Distance Scaling Circuit CT2 As shown from the block diagram of Figure 4, the circuit CT2 has four input J, K, L and E and one output M.The function of the circuit is to supply a single pulse at the output M for a certain number of pulses generated at the output of the speed sensor(certain number of meters travelled by the taxicab), according to the number of passengers hiring the car.A suggested fare per kilometer of travelling distance is shown in colomn two of Table 2.the circuit, in this case, should supply a single pulse at the output M for every 100, 125 or 143 pulses generated at the input terminal E according to the level of voltage at input terminale 3, K or L, respectively.Our circuit could be, as shown in Figure 5, three decade counters, connected as a three digit frequency divider whose dividing ratios 100, 125 and 143 are automatically selected by the voltage level at terminals J, K and L, respectively.A possible circuit diagram that may verify the above function is shown in Figure 6.It consists of three decade counters type 7490, one BCD-to decimal decoder type 7445, three 4-input AND, one 3-input ANDone 2-input AND two 3-input OR gates.C.Time Scaling Circuit CT3 As shown in the block diagram, the time scalingcircuit will have four inputs J, K, L and F and one output N.The function of this circuit and accordingto colomn three of Table 2(fare per 2 minuts of waiting time)is to supply a single pulse at the output N for every 120, 240 or 360 pulses supplied at the input terminal F from the I Hz clock according to level of voltage at inputs J, K and L, respectively.Time scaling circuit would be similar to the distance scaling circuit but with different diving ratios.A Possible circuit diagram is shown in figure 7.It consists, in this case, of three decade counter type 7490, two 3-input AND, one 5-input AND, one 2-input AND one 3-input OR gates.D.Circuit CT4 Which Generates Clock Pulses for Display Circuit The function of this circuit is to supply one, two or three pulses at the output terminal R for each pulse generated at any of the terminals N or M, according to the voltage level at the input terminals J, K or L, respectively.The output P will receive a pulse for each pulse generated at any of the input terminals N or M.This function can be performed by the circuit shown in Figure 8, it consists of one ripple counter type 7493, one half of a dual JK masterslave flip-flops circuit type 7476, three inverters, three 2-input AND, one 3-input AND, one 2-input OR and one 3-input OR gates.When a pulse is generated at either input terminals N or M, a high level voltage will be generated at the output Q of the flip-flop.This will g a t e t h e I Khz signal to be connected to the input A of the ripple counter as well as to the output terminal R.When one, two or three pulses are counted by the ripple counter, according to the level of voltage at the input terminals J, K and L, respectively, a high is generated to reset the counter and change the state of the flip-flopsuch that Q becomes low.Hence, the 1 KHz signal is disabled to reach the outputerminal R or the input A of the ripple counter.In order to ensure the proper function of the circuit, the flip-flop should be cleared whenever a new channel is operated.This has been achieved by the input 5 and will be explained later when describing the function of the channels rotary selector switchs.E.Display Circuit As shown in Figure 2, the display panel would contain three 4-digit displays that give the sum of money required from each passenger separately as well as a one six-digit display that gives the total income of the taxicab.A possible wiring diagram for the display circuit is shown in Figure 9.Rotating any of the rotary selector switches to fully clockwise direction will supply the corresponding display by5 volts through terminals 1, 2 and 3, respectively.The corresponding display will be unblanked by supplying a low level of voltage through terminals A, C and G, respectively.Keeping terminals 8, D and H, respectively, at low level will keep them reset to zero.The corresponding display is then enabled by removing the low voltage from terminals B, D, and H, respectively, to be ready for counting the sum of money required from the corresponding passenger starting from zero.The counting pulses for these three displays are supplied through terminal P.The total sum display will be enabled whenever any of the three displays is enabled(this is done by a 3-input OR gate as shown in Figure 8).Retaining the contents of the last display will be done by unblanking it by supplying a low level of voltage to terminal I as shown in Figure 10 b.F.Changing Over Between Time and Distance Fares In the following part, two different methods for changing over between time andistance fares are suggested: The first is to switch to time fare whenever the distance fare is less than the time fare.Hence, a simple look to fares table(Table 2)can show that time fare should be used whenever the taxicab moves with speed less than 50 m/min.A possible circuit that can perform this switching action is shown in Figure IO c.It contains one rpm limit switch and a one inverter as well as two 2-input AND gates.The contacts of the limit switch are normally closed and will be opened whenever the angular speed of the speedometer cablexceeds 50 rmp.The second alternation is to connect the input of the inverter in Figure 10 c.to the output terminal Q of the speedometer circuit, Figure 2.In this case, the switching into time fare will be done whenever the taxicab is at stand still.G.Function of the Rotary Selector Switches The voltage levels that should be supplied by the terminals of the rotary selector switches in order to ensure proper operation by the electronic circuit are given in Table 3.Connection of three rotary selector switches each witb four decks of five poles each, that satisfy the logic function of Table 3, is shown in Figure 10 a.Rotating any of the three switches into fully clockwise direction will pass through five positions.The function of the rotary selector switches can be described starting from the first position passing through variousteps until reaching the final position as follows: Initial position: In this position a low voltage level is applied to terminals I, 2 and 3, this will disconnect the 5 volts supply from the three first displays, set the three inputs of the number of passenger detection circuit CTI to low level.A low voltage level is applied to terminals 8, D and H, this is to ensure that the total income display is disabled.Voltage levels at terminals A, C, G and S are at no care condition.Step I: Rotating any of the rotary selector switches one step toward clockwise direction will supply 5 volts to the corresponding display, provides a high level voltage at terminals 1, 2 or 3 indicating that one passenger have entered the taxicab.A high level voltage should be applied to terminals A, C or G in order to ensure that the corresponding display is still blanked.Other terminals B, D, H and S are kept unchanged.Step 2: Rotating the rotary selector switch one step further, will change the state of voltages at terminal A, C or G to be at low level and unblanks the corresponding display.States of voltages at terminals I, 2, 3 and S are remained unchanged.Terminals B, D and H should be remained at low level to ensure that the corresponding readout is cleared to zero while unblanking the display.二、中文翻译

摘要

本文提出了一种出租车多通道计价的方案,能同时处理一个以上乘客的情形。为了从理论上说明本方案,提出了一个实验上的三通道型的士的完整设计(其原型是根据埃及科学和技术研究学院的研究而建成得)。.导言

在不发达的国家,早上把人们从他们家送到工作的地方,然后下午送回来已成为一个大问题,尤其是在大城市。

作为解决这个问题的一个部分,在某些国家出租车用来解决这个问题,送人们从一个地方到另外一个地方。例如,出租车的四个席位可携带四个不同的没有任何关系的乘客,除了他们的路线是相同的。

因此,依靠目前的传统的单车道计价以确定所需的票价,把每个乘客的计费分开,这已成为一个非常困难的问题。因此,在出租车司机,车主,乘客和国家税务部门之间存在着不公平的财政关系。

在这种情况下,出租车司机强迫乘客支付多于他们所应付的。在某些情况下乘客支付了他们应付车费的双倍。

本常规单频道计程车,出租车司机不能够确定出租车日常收入。在某些情况下(出租车的4个席位),他们可能只有出租车四分之一的收入(大部分的出租车司机)。从这些支付工资的出租车司机以及作为燃料费用外,还要维修以及汽车折旧等费用。事实上,出租车业主并非似乎如此糟糕。一项在出租车司机和车主之间的协议已经达成,司机应保证每天固定收入,以及向业主支付燃料以及维修的费用。即使如此,还是有的出租车司机的很大一部分份额之收入的出租车。现在还存在的单声道计价,已经变得非常,国家税务部门也知道这种困难 每年估计出租车业主的收入支出,以及应支付的税务也很困难。

为了应对这一问题,国家税务部已实行固定估计税,每个座位的出租车不论收入。在本文中,我们介绍了多通道的士计程表,可处理超过一名乘客同时进行的情况。我应该指出,我所说的长期旅客指一个人或一组相关的人。我同时也应指出,我们提出的多渠道的计价,不是简单地说,一个多显示读数。作为一个先进的事项,事实上它包含逻辑电路,可以自动计算变化的车费以及每公里行走距离或每分钟的候车时间按照乘客人数雇用出租车。在下面的部分,我举出一个例子,我们将介绍一个完整的三通道计价。框图以及详细的电路图,实验三通道计价功能也包括在内。原型下已建成 埃及赠款科学学院 和技术研究。.实验THREECHANNEL

出租车计价器理论的运作我们的实验装置从事电子数字计价依据。事实上速度电缆旋转1 圈的每米距离行驶。因此,如果车速电缆耦合与速度传感器,产生一个单脉冲每平方米的旅行距离,那么,我们的的士可以三倍于反模块相与速度传感器的单位。然而,我们的实验是计价而不仅仅是只显示三个读数。事实上,它包含逻辑电路,可以根据每公里的行驶距离或每分钟等候时间按照乘客人数雇用出租车来自动改变车费。该装置可能会分成两个主要部分组成:第一是速度传感器,这个传感器可位于任何地方,在出租车内进行这样一个简单的耦合车速电缆是可以实现的。

单位包含了主要的电子电路,显示器以及控制面板。该单位应位于前排的司机和乘客之间。

A. 速度传感器

其主要职能是本单位提供脉冲的培训,这个脉冲的频率会于旋转角度相适合。一种可能的形式一个速度传感器。如果可以包含正弦波发生器的输出连接到脉冲整形电路的永磁器件(2通用芯片二极管,1000欧姆的电阻和施密特触发逆变器)。

为了找到某种方式来检测出租车的运动,正弦波发生器的输出是纠正通过一个通用的硅二极管延胡索乙然后平滑的1000年F电容。那个输出电压在终端Q是当时限于价值4.7伏特用益欧姆的电阻以及一个齐纳二极管ZD。出租车的终端电压在终端Q将高电压降为零。这电压可作为改变出租车从距离计费到时间计费方式的开关电压。

主要的电子和显示单元

一个建议是主要形式的电子和显示单元。控制和显示器面板包含所有'控制所必需的经营的士以及四个可读显示器。第一频道将给出从第一乘客,第二乘客,第三乘客分别应付的费用,第四个会给出总收入给予出租车。最后读出的数据会包括停车的费用等等费用。频道选择器开关1,第2和第3个,按顺时针/逆时针的立场。在充分逆时针的立场,反相应的读出是未标明和残疾人。以顺时针方向则是未定义的,清除为零,对于第一第二第三的乘客分别计费。第四号推进总钮第四次读出,使任何人保留读出相应的总收入。经过释放按钮,第四次读出将再次保留。这个单位还包含主要电子电路将在下一节充分描述。描述的主要电子电路

它由五个部分指定的电脑符号与电话系统整合成为4个支撑电路,它们是:判断乘客数量电路CT1,旅行距离电路CT2,等待时间电路CT3,时钟脉冲显示电路CT4。

乘客人数检测电路CT1如图所示的一般框图,该电路电脑与电话系统整合有三个输出:1,2和3相对应于三个输出J,K和L。

这个循环电路函数包含高电压的终端 J,K或L,如果有1个或者2,3个乘客分别租用出租车。这个组里的任意乘客都是一组相关的人。当一个乘客进入出租车后,我们只是表示这样一种情况,自由读出显示在谈到相应的旋转选择开关,以一个完全顺时针方向。这将自动断开相应的终端1,2或3个从地面。逻辑关系各种输入端子之间第1,第2和第3个输出端J,K和L是列于表1。作为一个组合电路,我们开始设计产生了一系列布尔函数。

一种可能的逻辑图的基础上,它包括两个变频器,4个2输入和3输入以及2个3输入或门。B.行驶距离标量环路CT2,电路CT2有4个输入J,K,L及E和1个输出M,输出功能的电路是供应单脉冲的输出M的某一些脉冲产生的输出的速度传感器(出租车行驶了一定得距离),根据乘客的人数租用的汽车。我们建议票价按每公里行驶距离显示在两个表格2里面。

表2 这个环路,在这种情况下,应提供单脉冲的输出M的每100,125或143脉冲所产生的输入端根据级别的电压输入终端3,K或L。

我们的电路按图5显示,三个十年的计数器,作为一个三位数分频器的分比率100,125和143个自动选定的电压一级终端J,K和L分别。一种可能的线路图可被验证,它包括三个十年的计数器7490,一个声BCD-以杜威解码器输入7445,3个4输入和1个3输入以及1个2输入和2个3输入或门。

时间缩放电路CT3.时间缩放电路含有4个输入端 J,K,L及F和一个输出端N,这个电路的函数根据表格2的意思(车费每2分钟的等待时间)是在J,K和L分别供应单脉冲到输出端N时,提供单脉冲的输出N。时间缩放电路将类似于距离标量环路,但是有不同的行驶比率。它包括3个十进制计数器7490,2个3输入与门和一个5输入与门,1个2输入与门和一个3输入或门。

电路产生时钟脉冲的显示电路CT4 这条电路的作用根据电压电平在输入终端J、K或者L,分别供应1,2或者脉冲在每脉冲的输出终端R引起在任何终端N或M。无论输入端N或者M中的谁发送脉冲,都只有一个脉冲能被输出端P接收。它由一个反向计数器7493构成,其中一半是双JK主从触发器电路,型号为7476,包括三个变频器,三个2输入与门,一个3输入与门,1 2输入或门以及一个3输入或门。当脉冲引起在输入的终端N或M,触发器的输入Q上将产生高级电压。这个门信号将被连接到计数器的输入A并且连接到输出终端R。当第一,第二或第三个脉冲由涟波计数器开始计数,J,K,L端会分别根据电压的大小来使产生重置或者翻转来改变状态,然后Q端变为输出低电压。因此,1 KHz信号没有能力到达输出端R或是计数器的输入端A。为了确保电路的函数准确无误,当切换到新频道时,触发器要清零。对于功能选择开关旋转渠道的描述,稍后会以一个成功的5输入门函数来解释。

显示电路

该显示面板将包含三个4位数显示器,这样可以给出每个乘客应付车费的总和,一个六位数显示器可以给出出租车的总收入。以顺时针方向旋转所选择的开关将提供相应的显示,这可以通过5伏电压来分别控制1,第2和3终端。对应的显示通过供应低级电压通过终端A、C和G,分别。保持终端D和H在低级状态下重置为零对应的显示分别通过终端B,D,H而改变低压状态,并准备好从对应的乘客那里计算出相应的计数款额,计数脉冲这三个显示器通过终端提供总额。计数器还将通过终端P为3个显示器提供脉冲只要这三个显示器中任意一个是正常的,那么总额将被显示出来。

时间和距离变化时车费的改变

在下面的部分,两种不同的方法使得时间和距离改变从而导致车费发生变化,有如下建议:首先是当以路程计价的费用低于以时间计费的费用时,采用时间计费。从此,一个简单的票价表显示当出租车移动速度小于50米/分时应该采用时间计费方式。一种可能的电路可以执行此开关行动如图10c,它包含一个转速限位开关和一个反转器以及两个2输入与门。接触的限位开关通常是封闭,只有当角速度超过50RMP的时候才会打开。第二个改变将中断连接到图10C的输入端,输出端Q连接速度的电路。在这种情况下,只要出租车的状态保持静止,那么计费开关就会处于关闭状态。

功能选择旋转开关

功能选择开关旋转的电压应提供的该终端的旋转选择开关,以确保正常运行的电子电路列于表3。每5个杆就有4个板连接着3个旋转选择开关,每个符合逻辑功能表3,旋转任何三个切换到完全顺时针方向将通过5个职位。功能的旋转选择开关可以说是从第一的位置通过直到达到最后的立场如下:

初始位置:在这个位置上的低电压电平适用于第一第二和第三终端,浙江断开来自三个中一个显示器的5伏特电压供应,设置三个显示器,乘客检测电路并与电路系统整合到较低的水平。终端D,H采用低电压,这是为了确保显示的总收入选项已被禁用。

步骤1:以顺时针方向旋转任何旋转选择开关一格将提供5伏特电压到相应的显示,提供一个高等级的电压终端1,2或3,这表明一名乘客已经进入了出租车。终端C,G应为高电平,以确保相应的显示仍然是笼罩。其他端口,如D,H端口保持不变。

步骤2:旋转旋转选择开关1,然后将在终端A,C或G上改变电压使其处于低电压状态,并会产生相应的显示。终端1,2,3以及S上的电压状态保持不变。终端B,D和H应保持在较低水平,以确保当显示为无数据时相应的读出清除为零。

第五篇:毕业设计开题报告(出租车计价器).

毕业设计开题报告 题 目 新型出租车计价器控制电路设计 姓 名 牛敏 学 号 120433322 专 业 班 级 电气 123 指 导 老 师 黄俊梅

电子工程系电气自动化教研室 2014年 12月 2 日 一.选题背景和意义

随着我国经济的迅速发展, 人民生活水平的显著提高, 我国出租汽车行业迅 猛发展,出租汽车已经成为我国城 市公共交通的重要组成部分和现代化城市必 备的基础设施, 成为人们工作、生活中不可缺少的交通工具。出租汽车服务行业 和出租汽车计价器紧密相关, 因为出租汽车必须安装出租汽车计价器才能投入营 运。出租汽车计价器是一种能根据乘客乘坐汽车行驶距离和等候时间的多少进行 计价, 并直接显示车费值的计量器具。计价器是出租汽车的经营者和乘坐出租汽 车的消费者之间用于公平贸易结算的工具, 因而计价器计价准确与否, 直接关系 到经营者和消费者的经济利益。依据国家有关法律、法规, 出租汽车计价器是列 入国家首批强制检定的工作计量器具之一, 也是近年来国家质量技术监督部门强 化管理的六类重点计量器具之一。

二、国内外研究现状、发展动态

出租车行业在我国是八十年代初兴起的一项新兴行业,随着我国国民经济 的高速发展, 出租汽车已成为城市公共交通的重要组成部分。多年来国内普遍使 用的计价器只具备单一的计量功能。目前全世界的计价器中有 90%为台湾所生 产。现今我国生产计价器的企业有上百家,主要是集中在北京,上海,沈阳和广 州等地。当单片机出现并应用于计价器后, 现代出租车计价器的模型也就基本具 备了,它可以完成计程,计价,显示等基本工作。单片机以及外围芯片的不断发 展促进了计价器的发展。出租车计价器在最初使用时具备的主要功能是根据行驶 里程计价,要求精度高,可靠性好。

三、研究的内容及可行性分析 1.研究的内容 : 计价器显示的营运金额是营运里程与价格的函数(等候时间一般折算成一 定比例的里程来计算。出租车计价器通过传感器与行驶车辆连接。出租汽车的 实际里程通过传感器的脉冲信号在计价器里折算成一定的计价营运里程。针对这 一点我们来利用单片机作为控制核心,设计一款出租车计价器,具有计价显示、等待时间计价,公里数显示,时间显示等相关功能。

2设计要求 :(1 4位数码管用于实时显示行车里程数(0.0,单位为公里;4位数码管用 于实时显示金额数(000.0,单位为元。

(2规定白天出租车单程价格为 1.5元 /公里 , 往返则价格为 1.0元每公里。夜间出租车单程价格为 1.8元 /公里 , 往返则价格为 1.2元每公里。设置单程往返 按键。

(3 起步公里数为 3公里, 价格为 10元, 若实际运行大于 3公里, 按 “基 本要求 2”计算价格。

2.设计任务 :

1.单片机控制电路原理与设计

2.键盘电路原理与设计---按钮来实现乘车方式、状态操作、查询、清除、参数 调整等操作。

3.车速检测与里程计算电路原理与设计---霍尔传感器输出的里程信号经过光耦 隔离后送到计量 CPU 的外部中断 1, 计量 CPU 通过中断计数并和 K 值进行相关运 算得出行驶里程和车速。

4.数码管显示电路原理与设计;5.蜂鸣提示原理与设计---利用普通蜂鸣器来进行语音提示;为了避免司机由于 工作紧张而无法确定是否按下各个按钮,我们增加了蜂鸣提示功能。6.软件编程, protues 仿真模拟 四总体设计方案

实验箱有六个数码管,故起步价、大的费用以及单价均由 P4、P5(即最左 边两个数码管显示,里程由 P2、P3(即中间两个数码管显示,脉冲计数由 P0、P1(即最右边两个数码管显示。由于缺少霍尔传感器,因此只能通过输入 脉冲模拟。因此电路由时钟脉冲电路(8MHZ 接 P1.0、复位电路、数码管显示电 路构成。

2-1 出租车计价器总体设计图

2-2 单片机单元框图 五计价器设计思想 5.1具体设计思想

利用 80C51单片机控制出租车计价系统工作。

单片机 P1.0口作为脉冲输入。8255的 PB 口连接一个 74LS245芯片(双向 总线驱动器 ,再与外部六个数码管连接, PB 口连接一个 74LS245芯片与 6个数 码管的公共 COM 端连接, 用于选择数据输出的地址, 这样就可以实现起始价、单 价、里程、脉冲计数的动态显示,并且节省了端口数。数码管的段控制信号是由 8255的 PB 口经 74LS245缓冲器后输出得到, 6位位控制信号由 8255的 PA 口经 74LS245缓冲器后输出得到。键盘电路由 8255构成,其中 8255的 PC0-PC3作为 矩阵式键盘行扫描线, 8255的 PA 口为矩阵键盘列入线。

5.2计价器相应控制

通过软件编程实现计价器起始价、单价、脉冲技术的显示以及按下相应键实 现开始暂停、设置单价、复位功能,各个键按下的功能如表 2-2所示。

在白天,不用调节价格,当里程超过 3公里即按照每公里 1.5元计算, 3公 里以内则均按起始价 10元计费。操作如下:白天只要顾客上车,就按下 0键, 到达目的地按下 E 键,然后读数码管上的 L6、L5(最左边两位数码管即为费 用,中间两位即为里程。顾客付费完后按下 F 键复位,恢复起始价格,等待下一 个顾客的到来。

在晚上, 由于夜间行车风显以及司机加班状态, 3公里内还是按照起始价 10元计费;超过 3公里则按照每公里 1.2元计价。操作如下:按下 2键显示单程 1.8元 /公里,按下 3键确定往返是 1.2元 /公里并恢复起始价 10元,待顾客上 车按 0键开始计价,到达目的地按下 E 键,然后读数码管上的 L6、L5(最左边

两位数码管即为费用,中间两位即为里程。顾客付费完后按下 F 键复位,恢复 起始价格,等待下一个顾客的到来。

5.3出租车计价显示电路

出租车计价器显示电路主要由代码实现。显示电路如下图所示。

图 3-7 出租车计价器显示电路

六、工作进度

1.查阅资料,撰写开题报告 第 1周~第 2周 2.英文资料翻译 第 3周~第 4周

3.查阅相关资料,设计总体方案 第 5周~第 6周

4.熟悉单片机控制系统,设计系统硬件电路 第 7周~第 10周 5.熟悉 proteus 或 protel 电路设计软件,画出电路图 第 11周~第 13周 6.编写并调试程序,模拟实现部分控制功能 第 14周~第 15周 7.毕业设计审查、毕业答辩 第 16周~第 17周

七、参考文献

[1].冯先成, 常翠芝.单片机应用系统设计 [M].北京:北京航空航天大学出版社, 2009.[2].元增民.模拟电子技术 [M].北京:中国电力出版社, 2009.[3].南建辉等.MCS-51单片机原理及应用实例 [M].北京:清华大学出版社, 2004.3.[4] 王幸之等.单片机应用系统抗干扰技术 [M].北京:北京航空航天大学出版 社,2000.[5] 童诗白,等.仿真电子技术基础[M].北京:高等教育出版社,2001.[6] 张毅刚.单片机原理及应用.北京:高等教育出版社,2004.[7] 李秉操.单片机接口技术及在工业控制中的应用[M].陕西:陕西电子出版 社,1992.[8] 丁元杰.单片微机原理及应用(第二版.北京:机械工业出版社,2002 [9] 蔡惟铮.集成电子技术.哈尔滨:哈尔滨工业大学出版社,2003.[10]冯博情,吴宁.微型计算机原理与接口技术.北京:清华大学出版社,2010.题目 新型出租车计价器控制电路 进 度 安 排(1)2014 年 10 月——2014 年 11 月:进一步收集和阅读与论文相关的 资料。(2)2014 年 10 月——2014 年 11 月:根据阅读的资料,构思毕业设计 框架。(3)2014 年 11 月——20114 年 12 月:初步设计出 kappa 值软测量数 学模型。(4)2014 年 11 月——20114 年 12 月:根据老师的安排安排思路。(5)2014 年 11 月——20114 年 12 月:实验、分析实验结果,改进数学 模型。(6)2014 年 11 月——20114 年 12 月:确定论文最终方案及完成论文 的撰写。(7)2014 年 12 月:准备答辩。指导老师意见: 签字: 年 月 日

下载出租车计价器毕业设计外文资料word格式文档
下载出租车计价器毕业设计外文资料.doc
将本文档下载到自己电脑,方便修改和收藏,请勿使用迅雷等下载。
点此处下载文档

文档为doc格式


声明:本文内容由互联网用户自发贡献自行上传,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任。如果您发现有涉嫌版权的内容,欢迎发送邮件至:645879355@qq.com 进行举报,并提供相关证据,工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。

相关范文推荐

    出租车计价器设计范文

    平顶山工业职业技术学院 目录 目录 .....................................................................................................................................

    出租车计价器 硬件课程设计

    硬件课程设计报告 题目:出租车计价器 目录 1. 引言 ........................................................................................................................

    出租车计价器毕业论文附录

    北京信息科技大学 毕业设计(论文)附录 题 目:学 院: 专 业:学生姓名: 班级/学号 指导老师/督导老师:起止时间:2012 年 月 日 至 2012 年 月 日 目录 附件1 原理图·······......

    出租车计价器调试报告

    出租车计价器调试报告 本设计可分为单片机主控模块、键盘、显示器、温度检测、状态指示、时钟日历、语音收录播报、分频器电路、脉冲信号发生器等9部分。仔细分析系统的工作......

    出租车计价器信息(精选5篇)

    霍市质监局集中对全市出租车计价器进行安装检定 切实规范运营行为近期,霍市质监局下属检测中心对全市范围内具有交通主管部门颁发经营许可证的500余辆出租车计价器进行统一......

    出租车计价器课程设计2

    出租车计价器课程设计 目录 前言 1、 系统工作原理 1.1 功能说明 1.2 基本原理 2、 硬件设计 2.1 单片机最小系统单元 2.2 A44E霍尔传感器检测单元 2.3 AT24C01存储单元 2.......

    单片机出租车计价器源程序

    出租车计价器设计与制作 设计并制作一台出租车计价器。调试时采用10Hz方波信号模拟,每个方波代表10m。基本要求: (1)不同情况具有不同的收费标准 白天 1元/公里 晚上 2元/ 公......

    出租车计价器设计方案(5篇范例)

    1 系统硬件组成 总体结构如图一所示。硬件上主要由HT46RU24单片机,霍尔传感器,空载开关,键盘电路,数据存储电路,时钟电路,显示电路,蜂鸣器,IC卡电路以及串口电路组成。1.1 HT46RU24......